[INFO] fetching crate libvips-sys 0.1.0... [INFO] testing libvips-sys-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate libvips-sys 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate libvips-sys 0.1.0 [INFO] finished tweaking crates.io crate libvips-sys 0.1.0 [INFO] tweaked toml for crates.io crate libvips-sys 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libvips-sys 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 48 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.33.2 (available: v0.72.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93b2bcbb0809892e1e93ebdbe11f1fda4625f6e6a37cb64b20eabcf657545144 [INFO] running `Command { std: "docker" "start" "-a" "93b2bcbb0809892e1e93ebdbe11f1fda4625f6e6a37cb64b20eabcf657545144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93b2bcbb0809892e1e93ebdbe11f1fda4625f6e6a37cb64b20eabcf657545144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93b2bcbb0809892e1e93ebdbe11f1fda4625f6e6a37cb64b20eabcf657545144", kill_on_drop: false }` [INFO] [stdout] 93b2bcbb0809892e1e93ebdbe11f1fda4625f6e6a37cb64b20eabcf657545144 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3748f1001cb82755f71b22ac88f1dfd7bf9fb3c00b9e1608fb95535185c94de [INFO] running `Command { std: "docker" "start" "-a" "c3748f1001cb82755f71b22ac88f1dfd7bf9fb3c00b9e1608fb95535185c94de", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.33.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling clang-sys v0.22.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling libvips-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, or `<`, found `/` [INFO] [stdout] --> /opt/rustwide/target/debug/build/libvips-sys-14491896871e6ba3/out/bindings.rs:85:70989 [INFO] [stdout] | [INFO] [stdout] 85 | ...ne ) ] pub union _GFloatIEEE754 { pub v_float : gfloat , pub mpn : _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/g... [INFO] [stdout] | -------------- while parsing this union ^ expected one of `!`, `(`, `+`, `::`, or `<` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `/` [INFO] [stdout] --> /opt/rustwide/target/debug/build/libvips-sys-14491896871e6ba3/out/bindings.rs:85:71165 [INFO] [stdout] | [INFO] [stdout] 85 | ...] pub struct _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) { pub _bitfield_1 : __BindgenBitfieldUn... [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `__locale_data` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/libvips-sys-14491896871e6ba3/out/bindings.rs:85:62859 [INFO] [stdout] | [INFO] [stdout] 85 | ...ut __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 ; pu... [INFO] [stdout] | ^^^^^^^^^^^^^ help: a type alias with a similar name exists: `__locale_t` --------------------------------------------- similarly named type alias `__locale_t` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `__locale_data` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/libvips-sys-14491896871e6ba3/out/bindings.rs:85:62859 [INFO] [stdout] | [INFO] [stdout] 85 | ...ut __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 ; pu... [INFO] [stdout] | ^^^^^^^^^^^^^ --------------------------------------------- similarly named type alias `__locale_t` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 85 - pub const G_ANALYZER_ANALYZING : u32 = 0 ; pub const FALSE : u32 = 0 ; pub const G_HAVE_GNUC_VISIBILITY : u32 = 1 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C2X_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 39 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const G_GINT16_MODIFIER : & 'static [ u8 ; 2usize ] = b"h\0" ; pub const G_GINT16_FORMAT : & 'static [ u8 ; 3usize ] = b"hi\0" ; pub const G_GUINT16_FORMAT : & 'static [ u8 ; 3usize ] = b"hu\0" ; pub const G_GINT32_MODIFIER : & 'static [ u8 ; 1usize ] = b"\0" ; pub const G_GINT32_FORMAT : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const G_GUINT32_FORMAT : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const G_HAVE_GINT64 : u32 = 1 ; pub const G_GINT64_MODIFIER : & 'static [ u8 ; 2usize ] = b"l\0" ; pub const G_GINT64_FORMAT : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const G_GUINT64_FORMAT : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const GLIB_SIZEOF_VOID_P : u32 = 8 ; pub const GLIB_SIZEOF_LONG : u32 = 8 ; pub const GLIB_SIZEOF_SIZE_T : u32 = 8 ; pub const GLIB_SIZEOF_SSIZE_T : u32 = 8 ; pub const G_GSIZE_MODIFIER : & 'static [ u8 ; 2usize ] = b"l\0" ; pub const G_GSSIZE_MODIFIER : & 'static [ u8 ; 2usize ] = b"l\0" ; pub const G_GSIZE_FORMAT : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const G_GSSIZE_FORMAT : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const G_GOFFSET_MODIFIER : & 'static [ u8 ; 2usize ] = b"l\0" ; pub const G_GOFFSET_FORMAT : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const G_POLLFD_FORMAT : & 'static [ u8 ; 3usize ] = b"%d\0" ; pub const G_GINTPTR_MODIFIER : & 'static [ u8 ; 2usize ] = b"l\0" ; pub const G_GINTPTR_FORMAT : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const G_GUINTPTR_FORMAT : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const GLIB_MAJOR_VERSION : u32 = 2 ; pub const GLIB_MINOR_VERSION : u32 = 80 ; pub const GLIB_MICRO_VERSION : u32 = 0 ; pub const G_VA_COPY_AS_ARRAY : u32 = 1 ; pub const G_HAVE_ISO_VARARGS : u32 = 1 ; pub const G_HAVE_GROWING_STACK : u32 = 0 ; pub const G_HAVE_GNUC_VARARGS : u32 = 1 ; pub const G_MODULE_SUFFIX : & 'static [ u8 ; 3usize ] = b"so\0" ; pub const G_PID_FORMAT : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const GLIB_SYSDEF_AF_UNIX : u32 = 1 ; pub const GLIB_SYSDEF_AF_INET : u32 = 2 ; pub const GLIB_SYSDEF_AF_INET6 : u32 = 10 ; pub const GLIB_SYSDEF_MSG_OOB : u32 = 1 ; pub const GLIB_SYSDEF_MSG_PEEK : u32 = 2 ; pub const GLIB_SYSDEF_MSG_DONTROUTE : u32 = 4 ; pub const G_DIR_SEPARATOR : u8 = 47u8 ; pub const G_DIR_SEPARATOR_S : & 'static [ u8 ; 2usize ] = b"/\0" ; pub const G_SEARCHPATH_SEPARATOR : u8 = 58u8 ; pub const G_SEARCHPATH_SEPARATOR_S : & 'static [ u8 ; 2usize ] = b":\0" ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_H : 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 __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const CLOCK_REALTIME : u32 = 0 ; pub const CLOCK_MONOTONIC : u32 = 1 ; pub const CLOCK_PROCESS_CPUTIME_ID : u32 = 2 ; pub const CLOCK_THREAD_CPUTIME_ID : u32 = 3 ; pub const CLOCK_MONOTONIC_RAW : u32 = 4 ; pub const CLOCK_REALTIME_COARSE : u32 = 5 ; pub const CLOCK_MONOTONIC_COARSE : u32 = 6 ; pub const CLOCK_BOOTTIME : u32 = 7 ; pub const CLOCK_REALTIME_ALARM : u32 = 8 ; pub const CLOCK_BOOTTIME_ALARM : u32 = 9 ; pub const CLOCK_TAI : u32 = 11 ; pub const TIMER_ABSTIME : u32 = 1 ; pub const __clock_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __struct_tm_defined : u32 = 1 ; pub const _STRUCT_TIMESPEC : u32 = 1 ; pub const _BITS_ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const _BITS_ENDIANNESS_H : u32 = 1 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const __clockid_t_defined : u32 = 1 ; pub const __timer_t_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const G_E : f64 = 2.718281828459045 ; pub const G_LN2 : f64 = 0.6931471805599453 ; pub const G_LN10 : f64 = 2.302585092994046 ; pub const G_PI : f64 = 3.141592653589793 ; pub const G_PI_2 : f64 = 1.5707963267948966 ; pub const G_PI_4 : f64 = 0.7853981633974483 ; pub const G_SQRT2 : f64 = 1.4142135623730951 ; pub const G_LITTLE_ENDIAN : u32 = 1234 ; pub const G_BIG_ENDIAN : u32 = 4321 ; pub const G_PDP_ENDIAN : u32 = 3412 ; pub const G_IEEE754_FLOAT_BIAS : u32 = 127 ; pub const G_IEEE754_DOUBLE_BIAS : u32 = 1023 ; pub const G_LOG_2_BASE_10 : f64 = 0.3010299956639812 ; pub const _STRING_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; pub const _STDLIB_H : u32 = 1 ; pub const WNOHANG : u32 = 1 ; pub const WUNTRACED : u32 = 2 ; pub const WSTOPPED : u32 = 2 ; pub const WEXITED : u32 = 4 ; pub const WCONTINUED : u32 = 8 ; pub const WNOWAIT : u32 = 16777216 ; pub const __WNOTHREAD : u32 = 536870912 ; pub const __WALL : u32 = 1073741824 ; pub const __WCLONE : u32 = 2147483648 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; pub const __HAVE_FLOAT128 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 0 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const __ldiv_t_defined : u32 = 1 ; pub const __lldiv_t_defined : u32 = 1 ; pub const RAND_MAX : u32 = 2147483647 ; pub const EXIT_FAILURE : u32 = 1 ; pub const EXIT_SUCCESS : u32 = 0 ; pub const _SYS_TYPES_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const __BIT_TYPES_DEFINED__ : u32 = 1 ; 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 _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _BITS_PTHREADTYPES_COMMON_H : u32 = 1 ; pub const _THREAD_SHARED_TYPES_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_ARCH_H : u32 = 1 ; pub const __SIZEOF_PTHREAD_MUTEX_T : u32 = 40 ; pub const __SIZEOF_PTHREAD_ATTR_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_RWLOCK_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_BARRIER_T : u32 = 32 ; pub const __SIZEOF_PTHREAD_MUTEXATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_COND_T : u32 = 48 ; pub const __SIZEOF_PTHREAD_CONDATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_RWLOCKATTR_T : u32 = 8 ; pub const __SIZEOF_PTHREAD_BARRIERATTR_T : u32 = 4 ; pub const _THREAD_MUTEX_INTERNAL_H : u32 = 1 ; pub const __PTHREAD_MUTEX_HAVE_PREV : u32 = 1 ; pub const __have_pthread_attr_t : u32 = 1 ; pub const _ALLOCA_H : u32 = 1 ; pub const _BITS_SIGNUM_GENERIC_H : u32 = 1 ; pub const SIGINT : u32 = 2 ; pub const SIGILL : u32 = 4 ; pub const SIGABRT : u32 = 6 ; pub const SIGFPE : u32 = 8 ; pub const SIGSEGV : u32 = 11 ; pub const SIGTERM : u32 = 15 ; pub const SIGHUP : u32 = 1 ; pub const SIGQUIT : u32 = 3 ; pub const SIGTRAP : u32 = 5 ; pub const SIGKILL : u32 = 9 ; pub const SIGPIPE : u32 = 13 ; pub const SIGALRM : u32 = 14 ; pub const SIGIOT : u32 = 6 ; pub const _BITS_SIGNUM_ARCH_H : u32 = 1 ; pub const SIGSTKFLT : u32 = 16 ; pub const SIGPWR : u32 = 30 ; pub const SIGBUS : u32 = 7 ; pub const SIGSYS : u32 = 31 ; pub const SIGURG : u32 = 23 ; pub const SIGSTOP : u32 = 19 ; pub const SIGTSTP : u32 = 20 ; pub const SIGCONT : u32 = 18 ; pub const SIGCHLD : u32 = 17 ; pub const SIGTTIN : u32 = 21 ; pub const SIGTTOU : u32 = 22 ; pub const SIGPOLL : u32 = 29 ; pub const SIGXFSZ : u32 = 25 ; pub const SIGXCPU : u32 = 24 ; pub const SIGVTALRM : u32 = 26 ; pub const SIGPROF : u32 = 27 ; pub const SIGUSR1 : u32 = 10 ; pub const SIGUSR2 : u32 = 12 ; pub const SIGWINCH : u32 = 28 ; pub const SIGIO : u32 = 29 ; pub const SIGCLD : u32 = 17 ; pub const __SIGRTMIN : u32 = 32 ; pub const __SIGRTMAX : u32 = 64 ; pub const _NSIG : u32 = 65 ; pub const __sig_atomic_t_defined : u32 = 1 ; pub const __siginfo_t_defined : u32 = 1 ; pub const __SI_MAX_SIZE : u32 = 128 ; pub const _BITS_SIGINFO_ARCH_H : u32 = 1 ; pub const __SI_ERRNO_THEN_CODE : u32 = 1 ; pub const __SI_HAVE_SIGSYS : u32 = 1 ; pub const _BITS_SIGINFO_CONSTS_H : u32 = 1 ; pub const __SI_ASYNCIO_AFTER_SIGIO : u32 = 1 ; pub const __sigevent_t_defined : u32 = 1 ; pub const __SIGEV_MAX_SIZE : u32 = 64 ; pub const _BITS_SIGEVENT_CONSTS_H : u32 = 1 ; pub const NSIG : u32 = 65 ; pub const _BITS_SIGACTION_H : u32 = 1 ; pub const SA_NOCLDSTOP : u32 = 1 ; pub const SA_NOCLDWAIT : u32 = 2 ; pub const SA_SIGINFO : u32 = 4 ; pub const SA_ONSTACK : u32 = 134217728 ; pub const SA_RESTART : u32 = 268435456 ; pub const SA_NODEFER : u32 = 1073741824 ; pub const SA_RESETHAND : u32 = 2147483648 ; pub const SA_INTERRUPT : u32 = 536870912 ; pub const SA_NOMASK : u32 = 1073741824 ; pub const SA_ONESHOT : u32 = 2147483648 ; pub const SA_STACK : u32 = 134217728 ; pub const SIG_BLOCK : u32 = 0 ; pub const SIG_UNBLOCK : u32 = 1 ; pub const SIG_SETMASK : u32 = 2 ; pub const _BITS_SIGCONTEXT_H : u32 = 1 ; pub const FP_XSTATE_MAGIC1 : u32 = 1179670611 ; pub const FP_XSTATE_MAGIC2 : u32 = 1179670597 ; pub const __stack_t_defined : u32 = 1 ; pub const _SYS_UCONTEXT_H : u32 = 1 ; pub const __NGREG : u32 = 23 ; pub const NGREG : u32 = 23 ; pub const _BITS_SIGSTACK_H : u32 = 1 ; pub const MINSIGSTKSZ : u32 = 2048 ; pub const SIGSTKSZ : u32 = 8192 ; pub const _BITS_SS_FLAGS_H : u32 = 1 ; pub const __sigstack_defined : u32 = 1 ; pub const _BITS_SIGTHREAD_H : u32 = 1 ; pub const G_DATALIST_FLAGS_MASK : u32 = 3 ; pub const G_DATE_BAD_JULIAN : u32 = 0 ; pub const G_DATE_BAD_DAY : u32 = 0 ; pub const G_DATE_BAD_YEAR : u32 = 0 ; pub const _DIRENT_H : u32 = 1 ; pub const _DIRENT_MATCHES_DIRENT64 : u32 = 1 ; pub const MAXNAMLEN : u32 = 255 ; pub const G_MEM_ALIGN : u32 = 8 ; pub const G_HOOK_FLAG_USER_SHIFT : u32 = 4 ; pub const G_PRIORITY_HIGH : i32 = -100 ; pub const G_PRIORITY_DEFAULT : u32 = 0 ; pub const G_PRIORITY_HIGH_IDLE : u32 = 100 ; pub const G_PRIORITY_DEFAULT_IDLE : u32 = 200 ; pub const G_PRIORITY_LOW : u32 = 300 ; pub const G_SOURCE_REMOVE : u32 = 0 ; pub const G_UNICHAR_MAX_DECOMPOSITION_LENGTH : u32 = 18 ; pub const G_STR_DELIMITERS : & 'static [ u8 ; 8usize ] = b"_-|> <.\0" ; pub const G_ASCII_DTOSTR_BUF_SIZE : u32 = 39 ; pub const G_KEY_FILE_DESKTOP_GROUP : & 'static [ u8 ; 14usize ] = b"Desktop Entry\0" ; pub const G_KEY_FILE_DESKTOP_KEY_TYPE : & 'static [ u8 ; 5usize ] = b"Type\0" ; pub const G_KEY_FILE_DESKTOP_KEY_VERSION : & 'static [ u8 ; 8usize ] = b"Version\0" ; pub const G_KEY_FILE_DESKTOP_KEY_NAME : & 'static [ u8 ; 5usize ] = b"Name\0" ; pub const G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME : & 'static [ u8 ; 12usize ] = b"GenericName\0" ; pub const G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY : & 'static [ u8 ; 10usize ] = b"NoDisplay\0" ; pub const G_KEY_FILE_DESKTOP_KEY_COMMENT : & 'static [ u8 ; 8usize ] = b"Comment\0" ; pub const G_KEY_FILE_DESKTOP_KEY_ICON : & 'static [ u8 ; 5usize ] = b"Icon\0" ; pub const G_KEY_FILE_DESKTOP_KEY_HIDDEN : & 'static [ u8 ; 7usize ] = b"Hidden\0" ; pub const G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN : & 'static [ u8 ; 11usize ] = b"OnlyShowIn\0" ; pub const G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN : & 'static [ u8 ; 10usize ] = b"NotShowIn\0" ; pub const G_KEY_FILE_DESKTOP_KEY_TRY_EXEC : & 'static [ u8 ; 8usize ] = b"TryExec\0" ; pub const G_KEY_FILE_DESKTOP_KEY_EXEC : & 'static [ u8 ; 5usize ] = b"Exec\0" ; pub const G_KEY_FILE_DESKTOP_KEY_PATH : & 'static [ u8 ; 5usize ] = b"Path\0" ; pub const G_KEY_FILE_DESKTOP_KEY_TERMINAL : & 'static [ u8 ; 9usize ] = b"Terminal\0" ; pub const G_KEY_FILE_DESKTOP_KEY_MIME_TYPE : & 'static [ u8 ; 9usize ] = b"MimeType\0" ; pub const G_KEY_FILE_DESKTOP_KEY_CATEGORIES : & 'static [ u8 ; 11usize ] = b"Categories\0" ; pub const G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY : & 'static [ u8 ; 14usize ] = b"StartupNotify\0" ; pub const G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS : & 'static [ u8 ; 15usize ] = b"StartupWMClass\0" ; pub const G_KEY_FILE_DESKTOP_KEY_URL : & 'static [ u8 ; 4usize ] = b"URL\0" ; pub const G_KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE : & 'static [ u8 ; 16usize ] = b"DBusActivatable\0" ; pub const G_KEY_FILE_DESKTOP_KEY_ACTIONS : & 'static [ u8 ; 8usize ] = b"Actions\0" ; pub const G_KEY_FILE_DESKTOP_TYPE_APPLICATION : & 'static [ u8 ; 12usize ] = b"Application\0" ; pub const G_KEY_FILE_DESKTOP_TYPE_LINK : & 'static [ u8 ; 5usize ] = b"Link\0" ; pub const G_KEY_FILE_DESKTOP_TYPE_DIRECTORY : & 'static [ u8 ; 10usize ] = b"Directory\0" ; pub const G_LOG_LEVEL_USER_SHIFT : u32 = 8 ; pub const G_OPTION_REMAINING : & 'static [ u8 ; 1usize ] = b"\0" ; pub const G_REF_COUNT_INIT : i32 = -1 ; pub const G_ATOMIC_REF_COUNT_INIT : u32 = 1 ; pub const G_CSET_A_2_Z : & 'static [ u8 ; 27usize ] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZ\0" ; pub const G_CSET_a_2_z : & 'static [ u8 ; 27usize ] = b"abcdefghijklmnopqrstuvwxyz\0" ; pub const G_CSET_DIGITS : & 'static [ u8 ; 11usize ] = b"0123456789\0" ; pub const G_CSET_LATINC : [ u8 ; 31usize ] = [ 192u8 , 193u8 , 194u8 , 195u8 , 196u8 , 197u8 , 198u8 , 199u8 , 200u8 , 201u8 , 202u8 , 203u8 , 204u8 , 205u8 , 206u8 , 207u8 , 208u8 , 209u8 , 210u8 , 211u8 , 212u8 , 213u8 , 214u8 , 216u8 , 217u8 , 218u8 , 219u8 , 220u8 , 221u8 , 222u8 , 0u8 , ] ; pub const G_CSET_LATINS : [ u8 ; 33usize ] = [ 223u8 , 224u8 , 225u8 , 226u8 , 227u8 , 228u8 , 229u8 , 230u8 , 231u8 , 232u8 , 233u8 , 234u8 , 235u8 , 236u8 , 237u8 , 238u8 , 239u8 , 240u8 , 241u8 , 242u8 , 243u8 , 244u8 , 245u8 , 246u8 , 248u8 , 249u8 , 250u8 , 251u8 , 252u8 , 253u8 , 254u8 , 255u8 , 0u8 , ] ; pub const _ERRNO_H : u32 = 1 ; pub const _BITS_ERRNO_H : u32 = 1 ; pub const EPERM : u32 = 1 ; pub const ENOENT : u32 = 2 ; pub const ESRCH : u32 = 3 ; pub const EINTR : u32 = 4 ; pub const EIO : u32 = 5 ; pub const ENXIO : u32 = 6 ; pub const E2BIG : u32 = 7 ; pub const ENOEXEC : u32 = 8 ; pub const EBADF : u32 = 9 ; pub const ECHILD : u32 = 10 ; pub const EAGAIN : u32 = 11 ; pub const ENOMEM : u32 = 12 ; pub const EACCES : u32 = 13 ; pub const EFAULT : u32 = 14 ; pub const ENOTBLK : u32 = 15 ; pub const EBUSY : u32 = 16 ; pub const EEXIST : u32 = 17 ; pub const EXDEV : u32 = 18 ; pub const ENODEV : u32 = 19 ; pub const ENOTDIR : u32 = 20 ; pub const EISDIR : u32 = 21 ; pub const EINVAL : u32 = 22 ; pub const ENFILE : u32 = 23 ; pub const EMFILE : u32 = 24 ; pub const ENOTTY : u32 = 25 ; pub const ETXTBSY : u32 = 26 ; pub const EFBIG : u32 = 27 ; pub const ENOSPC : u32 = 28 ; pub const ESPIPE : u32 = 29 ; pub const EROFS : u32 = 30 ; pub const EMLINK : u32 = 31 ; pub const EPIPE : u32 = 32 ; pub const EDOM : u32 = 33 ; pub const ERANGE : u32 = 34 ; pub const EDEADLK : u32 = 35 ; pub const ENAMETOOLONG : u32 = 36 ; pub const ENOLCK : u32 = 37 ; pub const ENOSYS : u32 = 38 ; pub const ENOTEMPTY : u32 = 39 ; pub const ELOOP : u32 = 40 ; pub const EWOULDBLOCK : u32 = 11 ; pub const ENOMSG : u32 = 42 ; pub const EIDRM : u32 = 43 ; pub const ECHRNG : u32 = 44 ; pub const EL2NSYNC : u32 = 45 ; pub const EL3HLT : u32 = 46 ; pub const EL3RST : u32 = 47 ; pub const ELNRNG : u32 = 48 ; pub const EUNATCH : u32 = 49 ; pub const ENOCSI : u32 = 50 ; pub const EL2HLT : u32 = 51 ; pub const EBADE : u32 = 52 ; pub const EBADR : u32 = 53 ; pub const EXFULL : u32 = 54 ; pub const ENOANO : u32 = 55 ; pub const EBADRQC : u32 = 56 ; pub const EBADSLT : u32 = 57 ; pub const EDEADLOCK : u32 = 35 ; pub const EBFONT : u32 = 59 ; pub const ENOSTR : u32 = 60 ; pub const ENODATA : u32 = 61 ; pub const ETIME : u32 = 62 ; pub const ENOSR : u32 = 63 ; pub const ENONET : u32 = 64 ; pub const ENOPKG : u32 = 65 ; pub const EREMOTE : u32 = 66 ; pub const ENOLINK : u32 = 67 ; pub const EADV : u32 = 68 ; pub const ESRMNT : u32 = 69 ; pub const ECOMM : u32 = 70 ; pub const EPROTO : u32 = 71 ; pub const EMULTIHOP : u32 = 72 ; pub const EDOTDOT : u32 = 73 ; pub const EBADMSG : u32 = 74 ; pub const EOVERFLOW : u32 = 75 ; pub const ENOTUNIQ : u32 = 76 ; pub const EBADFD : u32 = 77 ; pub const EREMCHG : u32 = 78 ; pub const ELIBACC : u32 = 79 ; pub const ELIBBAD : u32 = 80 ; pub const ELIBSCN : u32 = 81 ; pub const ELIBMAX : u32 = 82 ; pub const ELIBEXEC : u32 = 83 ; pub const EILSEQ : u32 = 84 ; pub const ERESTART : u32 = 85 ; pub const ESTRPIPE : u32 = 86 ; pub const EUSERS : u32 = 87 ; pub const ENOTSOCK : u32 = 88 ; pub const EDESTADDRREQ : u32 = 89 ; pub const EMSGSIZE : u32 = 90 ; pub const EPROTOTYPE : u32 = 91 ; pub const ENOPROTOOPT : u32 = 92 ; pub const EPROTONOSUPPORT : u32 = 93 ; pub const ESOCKTNOSUPPORT : u32 = 94 ; pub const EOPNOTSUPP : u32 = 95 ; pub const EPFNOSUPPORT : u32 = 96 ; pub const EAFNOSUPPORT : u32 = 97 ; pub const EADDRINUSE : u32 = 98 ; pub const EADDRNOTAVAIL : u32 = 99 ; pub const ENETDOWN : u32 = 100 ; pub const ENETUNREACH : u32 = 101 ; pub const ENETRESET : u32 = 102 ; pub const ECONNABORTED : u32 = 103 ; pub const ECONNRESET : u32 = 104 ; pub const ENOBUFS : u32 = 105 ; pub const EISCONN : u32 = 106 ; pub const ENOTCONN : u32 = 107 ; pub const ESHUTDOWN : u32 = 108 ; pub const ETOOMANYREFS : u32 = 109 ; pub const ETIMEDOUT : u32 = 110 ; pub const ECONNREFUSED : u32 = 111 ; pub const EHOSTDOWN : u32 = 112 ; pub const EHOSTUNREACH : u32 = 113 ; pub const EALREADY : u32 = 114 ; pub const EINPROGRESS : u32 = 115 ; pub const ESTALE : u32 = 116 ; pub const EUCLEAN : u32 = 117 ; pub const ENOTNAM : u32 = 118 ; pub const ENAVAIL : u32 = 119 ; pub const EISNAM : u32 = 120 ; pub const EREMOTEIO : u32 = 121 ; pub const EDQUOT : u32 = 122 ; pub const ENOMEDIUM : u32 = 123 ; pub const EMEDIUMTYPE : u32 = 124 ; pub const ECANCELED : u32 = 125 ; pub const ENOKEY : u32 = 126 ; pub const EKEYEXPIRED : u32 = 127 ; pub const EKEYREVOKED : u32 = 128 ; pub const EKEYREJECTED : u32 = 129 ; pub const EOWNERDEAD : u32 = 130 ; pub const ENOTRECOVERABLE : u32 = 131 ; pub const ERFKILL : u32 = 132 ; pub const EHWPOISON : u32 = 133 ; pub const ENOTSUP : u32 = 95 ; pub const G_TEST_OPTION_ISOLATE_DIRS : & 'static [ u8 ; 13usize ] = b"isolate_dirs\0" ; pub const G_USEC_PER_SEC : u32 = 1000000 ; pub const G_URI_RESERVED_CHARS_GENERIC_DELIMITERS : & 'static [ u8 ; 8usize ] = b":/?#[]@\0" ; pub const G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS : & 'static [ u8 ; 12usize ] = b"!$&'()*+,;=\0" ; pub const G_URI_RESERVED_CHARS_ALLOWED_IN_PATH_ELEMENT : & 'static [ u8 ; 14usize ] = b"!$&'()*+,;=:@\0" ; pub const G_URI_RESERVED_CHARS_ALLOWED_IN_PATH : & 'static [ u8 ; 15usize ] = b"!$&'()*+,;=:@/\0" ; pub const G_URI_RESERVED_CHARS_ALLOWED_IN_USERINFO : & 'static [ u8 ; 13usize ] = b"!$&'()*+,;=:\0" ; pub const G_ALLOC_ONLY : u32 = 1 ; pub const G_ALLOC_AND_FREE : u32 = 2 ; pub const G_ALLOCATOR_LIST : u32 = 1 ; pub const G_ALLOCATOR_SLIST : u32 = 2 ; pub const G_ALLOCATOR_NODE : u32 = 3 ; pub const _PTHREAD_H : u32 = 1 ; pub const _SCHED_H : u32 = 1 ; pub const _BITS_SCHED_H : u32 = 1 ; pub const SCHED_OTHER : u32 = 0 ; pub const SCHED_FIFO : u32 = 1 ; pub const SCHED_RR : u32 = 2 ; pub const _BITS_TYPES_STRUCT_SCHED_PARAM : u32 = 1 ; pub const _BITS_CPU_SET_H : u32 = 1 ; pub const __CPU_SETSIZE : u32 = 1024 ; pub const _BITS_SETJMP_H : u32 = 1 ; pub const __jmp_buf_tag_defined : u32 = 1 ; pub const PTHREAD_ONCE_INIT : u32 = 0 ; pub const PTHREAD_BARRIER_SERIAL_THREAD : i32 = -1 ; pub const _STDIO_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = -1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [ u8 ; 5usize ] = b"/tmp\0" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _SYS_STAT_H : u32 = 1 ; pub const _BITS_STAT_H : u32 = 1 ; pub const _BITS_STRUCT_STAT_H : u32 = 1 ; pub const __S_IFMT : u32 = 61440 ; pub const __S_IFDIR : u32 = 16384 ; pub const __S_IFCHR : u32 = 8192 ; pub const __S_IFBLK : u32 = 24576 ; pub const __S_IFREG : u32 = 32768 ; pub const __S_IFIFO : u32 = 4096 ; pub const __S_IFLNK : u32 = 40960 ; pub const __S_IFSOCK : u32 = 49152 ; pub const __S_ISUID : u32 = 2048 ; pub const __S_ISGID : u32 = 1024 ; pub const __S_ISVTX : u32 = 512 ; pub const __S_IREAD : u32 = 256 ; pub const __S_IWRITE : u32 = 128 ; pub const __S_IEXEC : u32 = 64 ; pub const UTIME_NOW : u32 = 1073741823 ; pub const UTIME_OMIT : u32 = 1073741822 ; pub const S_IFMT : u32 = 61440 ; pub const S_IFDIR : u32 = 16384 ; pub const S_IFCHR : u32 = 8192 ; pub const S_IFBLK : u32 = 24576 ; pub const S_IFREG : u32 = 32768 ; pub const S_IFIFO : u32 = 4096 ; pub const S_IFLNK : u32 = 40960 ; pub const S_IFSOCK : u32 = 49152 ; pub const S_ISUID : u32 = 2048 ; pub const S_ISGID : u32 = 1024 ; pub const S_ISVTX : u32 = 512 ; pub const S_IRUSR : u32 = 256 ; pub const S_IWUSR : u32 = 128 ; pub const S_IXUSR : u32 = 64 ; pub const S_IRWXU : u32 = 448 ; pub const S_IREAD : u32 = 256 ; pub const S_IWRITE : u32 = 128 ; pub const S_IEXEC : u32 = 64 ; pub const S_IRGRP : u32 = 32 ; pub const S_IWGRP : u32 = 16 ; pub const S_IXGRP : u32 = 8 ; pub const S_IRWXG : u32 = 56 ; pub const S_IROTH : u32 = 4 ; pub const S_IWOTH : u32 = 2 ; pub const S_IXOTH : u32 = 1 ; pub const S_IRWXO : u32 = 7 ; pub const ACCESSPERMS : u32 = 511 ; pub const ALLPERMS : u32 = 4095 ; pub const DEFFILEMODE : u32 = 438 ; pub const S_BLKSIZE : u32 = 512 ; pub const G_TYPE_FUNDAMENTAL_SHIFT : u32 = 2 ; pub const G_TYPE_FUNDAMENTAL_MAX : u32 = 1020 ; pub const G_TYPE_RESERVED_GLIB_FIRST : u32 = 22 ; pub const G_TYPE_RESERVED_GLIB_LAST : u32 = 31 ; pub const G_TYPE_RESERVED_BSE_FIRST : u32 = 32 ; pub const G_TYPE_RESERVED_BSE_LAST : u32 = 48 ; pub const G_TYPE_RESERVED_USER_FIRST : u32 = 49 ; pub const G_VALUE_NOCOPY_CONTENTS : u32 = 134217728 ; pub const G_VALUE_INTERNED_STRING : u32 = 268435456 ; pub const G_PARAM_MASK : u32 = 255 ; pub const G_PARAM_USER_SHIFT : u32 = 8 ; pub const G_SIGNAL_FLAGS_MASK : u32 = 511 ; pub const G_SIGNAL_MATCH_MASK : u32 = 63 ; pub const _UNISTD_H : u32 = 1 ; pub const _POSIX_VERSION : u32 = 200809 ; pub const __POSIX2_THIS_VERSION : u32 = 200809 ; pub const _POSIX2_VERSION : u32 = 200809 ; pub const _POSIX2_C_VERSION : u32 = 200809 ; pub const _POSIX2_C_BIND : u32 = 200809 ; pub const _POSIX2_C_DEV : u32 = 200809 ; pub const _POSIX2_SW_DEV : u32 = 200809 ; pub const _POSIX2_LOCALEDEF : u32 = 200809 ; pub const _XOPEN_VERSION : u32 = 700 ; pub const _XOPEN_XCU_VERSION : u32 = 4 ; pub const _XOPEN_XPG2 : u32 = 1 ; pub const _XOPEN_XPG3 : u32 = 1 ; pub const _XOPEN_XPG4 : u32 = 1 ; pub const _XOPEN_UNIX : u32 = 1 ; pub const _XOPEN_ENH_I18N : u32 = 1 ; pub const _XOPEN_LEGACY : u32 = 1 ; pub const _BITS_POSIX_OPT_H : u32 = 1 ; pub const _POSIX_JOB_CONTROL : u32 = 1 ; pub const _POSIX_SAVED_IDS : u32 = 1 ; pub const _POSIX_PRIORITY_SCHEDULING : u32 = 200809 ; pub const _POSIX_SYNCHRONIZED_IO : u32 = 200809 ; pub const _POSIX_FSYNC : u32 = 200809 ; pub const _POSIX_MAPPED_FILES : u32 = 200809 ; pub const _POSIX_MEMLOCK : u32 = 200809 ; pub const _POSIX_MEMLOCK_RANGE : u32 = 200809 ; pub const _POSIX_MEMORY_PROTECTION : u32 = 200809 ; pub const _POSIX_CHOWN_RESTRICTED : u32 = 0 ; pub const _POSIX_VDISABLE : u8 = 0u8 ; pub const _POSIX_NO_TRUNC : u32 = 1 ; pub const _XOPEN_REALTIME : u32 = 1 ; pub const _XOPEN_REALTIME_THREADS : u32 = 1 ; pub const _XOPEN_SHM : u32 = 1 ; pub const _POSIX_THREADS : u32 = 200809 ; pub const _POSIX_REENTRANT_FUNCTIONS : u32 = 1 ; pub const _POSIX_THREAD_SAFE_FUNCTIONS : u32 = 200809 ; pub const _POSIX_THREAD_PRIORITY_SCHEDULING : u32 = 200809 ; pub const _POSIX_THREAD_ATTR_STACKSIZE : u32 = 200809 ; pub const _POSIX_THREAD_ATTR_STACKADDR : u32 = 200809 ; pub const _POSIX_THREAD_PRIO_INHERIT : u32 = 200809 ; pub const _POSIX_THREAD_PRIO_PROTECT : u32 = 200809 ; pub const _POSIX_THREAD_ROBUST_PRIO_INHERIT : u32 = 200809 ; pub const _POSIX_THREAD_ROBUST_PRIO_PROTECT : i32 = -1 ; pub const _POSIX_SEMAPHORES : u32 = 200809 ; pub const _POSIX_REALTIME_SIGNALS : u32 = 200809 ; pub const _POSIX_ASYNCHRONOUS_IO : u32 = 200809 ; pub const _POSIX_ASYNC_IO : u32 = 1 ; pub const _LFS_ASYNCHRONOUS_IO : u32 = 1 ; pub const _POSIX_PRIORITIZED_IO : u32 = 200809 ; pub const _LFS64_ASYNCHRONOUS_IO : u32 = 1 ; pub const _LFS_LARGEFILE : u32 = 1 ; pub const _LFS64_LARGEFILE : u32 = 1 ; pub const _LFS64_STDIO : u32 = 1 ; pub const _POSIX_SHARED_MEMORY_OBJECTS : u32 = 200809 ; pub const _POSIX_CPUTIME : u32 = 0 ; pub const _POSIX_THREAD_CPUTIME : u32 = 0 ; pub const _POSIX_REGEXP : u32 = 1 ; pub const _POSIX_READER_WRITER_LOCKS : u32 = 200809 ; pub const _POSIX_SHELL : u32 = 1 ; pub const _POSIX_TIMEOUTS : u32 = 200809 ; pub const _POSIX_SPIN_LOCKS : u32 = 200809 ; pub const _POSIX_SPAWN : u32 = 200809 ; pub const _POSIX_TIMERS : u32 = 200809 ; pub const _POSIX_BARRIERS : u32 = 200809 ; pub const _POSIX_MESSAGE_PASSING : u32 = 200809 ; pub const _POSIX_THREAD_PROCESS_SHARED : u32 = 200809 ; pub const _POSIX_MONOTONIC_CLOCK : u32 = 0 ; pub const _POSIX_CLOCK_SELECTION : u32 = 200809 ; pub const _POSIX_ADVISORY_INFO : u32 = 200809 ; pub const _POSIX_IPV6 : u32 = 200809 ; pub const _POSIX_RAW_SOCKETS : u32 = 200809 ; pub const _POSIX2_CHAR_TERM : u32 = 200809 ; pub const _POSIX_SPORADIC_SERVER : i32 = -1 ; pub const _POSIX_THREAD_SPORADIC_SERVER : i32 = -1 ; pub const _POSIX_TRACE : i32 = -1 ; pub const _POSIX_TRACE_EVENT_FILTER : i32 = -1 ; pub const _POSIX_TRACE_INHERIT : i32 = -1 ; pub const _POSIX_TRACE_LOG : i32 = -1 ; pub const _POSIX_TYPED_MEMORY_OBJECTS : i32 = -1 ; pub const _POSIX_V7_LPBIG_OFFBIG : i32 = -1 ; pub const _POSIX_V6_LPBIG_OFFBIG : i32 = -1 ; pub const _XBS5_LPBIG_OFFBIG : i32 = -1 ; pub const _POSIX_V7_LP64_OFF64 : u32 = 1 ; pub const _POSIX_V6_LP64_OFF64 : u32 = 1 ; pub const _XBS5_LP64_OFF64 : u32 = 1 ; pub const __ILP32_OFF32_CFLAGS : & 'static [ u8 ; 5usize ] = b"-m32\0" ; pub const __ILP32_OFF32_LDFLAGS : & 'static [ u8 ; 5usize ] = b"-m32\0" ; pub const __ILP32_OFFBIG_CFLAGS : & 'static [ u8 ; 48usize ] = b"-m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\0" ; pub const __ILP32_OFFBIG_LDFLAGS : & 'static [ u8 ; 5usize ] = b"-m32\0" ; pub const __LP64_OFF64_CFLAGS : & 'static [ u8 ; 5usize ] = b"-m64\0" ; pub const __LP64_OFF64_LDFLAGS : & 'static [ u8 ; 5usize ] = b"-m64\0" ; pub const STDIN_FILENO : u32 = 0 ; pub const STDOUT_FILENO : u32 = 1 ; pub const STDERR_FILENO : u32 = 2 ; pub const R_OK : u32 = 4 ; pub const W_OK : u32 = 2 ; pub const X_OK : u32 = 1 ; pub const F_OK : u32 = 0 ; pub const L_SET : u32 = 0 ; pub const L_INCR : u32 = 1 ; pub const L_XTND : u32 = 2 ; pub const _GETOPT_POSIX_H : u32 = 1 ; pub const _GETOPT_CORE_H : u32 = 1 ; pub const F_ULOCK : u32 = 0 ; pub const F_LOCK : u32 = 1 ; pub const F_TLOCK : u32 = 2 ; pub const F_TEST : u32 = 3 ; pub const G_DBUS_METHOD_INVOCATION_UNHANDLED : u32 = 0 ; pub const G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME : & 'static [ u8 ; 21usize ] = b"gio-debug-controller\0" ; pub const G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE : & 'static [ u8 ; 12usize ] = b"unix-device\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_TYPE : & 'static [ u8 ; 15usize ] = b"standard::type\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN : & 'static [ u8 ; 20usize ] = b"standard::is-hidden\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP : & 'static [ u8 ; 20usize ] = b"standard::is-backup\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK : & 'static [ u8 ; 21usize ] = b"standard::is-symlink\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL : & 'static [ u8 ; 21usize ] = b"standard::is-virtual\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE : & 'static [ u8 ; 22usize ] = b"standard::is-volatile\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_NAME : & 'static [ u8 ; 15usize ] = b"standard::name\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME : & 'static [ u8 ; 23usize ] = b"standard::display-name\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME : & 'static [ u8 ; 20usize ] = b"standard::edit-name\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_COPY_NAME : & 'static [ u8 ; 20usize ] = b"standard::copy-name\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION : & 'static [ u8 ; 22usize ] = b"standard::description\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_ICON : & 'static [ u8 ; 15usize ] = b"standard::icon\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON : & 'static [ u8 ; 24usize ] = b"standard::symbolic-icon\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE : & 'static [ u8 ; 23usize ] = b"standard::content-type\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE : & 'static [ u8 ; 28usize ] = b"standard::fast-content-type\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_SIZE : & 'static [ u8 ; 15usize ] = b"standard::size\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE : & 'static [ u8 ; 25usize ] = b"standard::allocated-size\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET : & 'static [ u8 ; 25usize ] = b"standard::symlink-target\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_TARGET_URI : & 'static [ u8 ; 21usize ] = b"standard::target-uri\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER : & 'static [ u8 ; 21usize ] = b"standard::sort-order\0" ; pub const G_FILE_ATTRIBUTE_ETAG_VALUE : & 'static [ u8 ; 12usize ] = b"etag::value\0" ; pub const G_FILE_ATTRIBUTE_ID_FILE : & 'static [ u8 ; 9usize ] = b"id::file\0" ; pub const G_FILE_ATTRIBUTE_ID_FILESYSTEM : & 'static [ u8 ; 15usize ] = b"id::filesystem\0" ; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_READ : & 'static [ u8 ; 17usize ] = b"access::can-read\0" ; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE : & 'static [ u8 ; 18usize ] = b"access::can-write\0" ; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE : & 'static [ u8 ; 20usize ] = b"access::can-execute\0" ; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE : & 'static [ u8 ; 19usize ] = b"access::can-delete\0" ; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH : & 'static [ u8 ; 18usize ] = b"access::can-trash\0" ; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME : & 'static [ u8 ; 19usize ] = b"access::can-rename\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT : & 'static [ u8 ; 21usize ] = b"mountable::can-mount\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT : & 'static [ u8 ; 23usize ] = b"mountable::can-unmount\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT : & 'static [ u8 ; 21usize ] = b"mountable::can-eject\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE : & 'static [ u8 ; 23usize ] = b"mountable::unix-device\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE : & 'static [ u8 ; 28usize ] = b"mountable::unix-device-file\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI : & 'static [ u8 ; 19usize ] = b"mountable::hal-udi\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START : & 'static [ u8 ; 21usize ] = b"mountable::can-start\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED : & 'static [ u8 ; 30usize ] = b"mountable::can-start-degraded\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP : & 'static [ u8 ; 20usize ] = b"mountable::can-stop\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE : & 'static [ u8 ; 27usize ] = b"mountable::start-stop-type\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL : & 'static [ u8 ; 20usize ] = b"mountable::can-poll\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC : & 'static [ u8 ; 36usize ] = b"mountable::is-media-check-automatic\0" ; pub const G_FILE_ATTRIBUTE_TIME_MODIFIED : & 'static [ u8 ; 15usize ] = b"time::modified\0" ; pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC : & 'static [ u8 ; 20usize ] = b"time::modified-usec\0" ; pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC : & 'static [ u8 ; 20usize ] = b"time::modified-nsec\0" ; pub const G_FILE_ATTRIBUTE_TIME_ACCESS : & 'static [ u8 ; 13usize ] = b"time::access\0" ; pub const G_FILE_ATTRIBUTE_TIME_ACCESS_USEC : & 'static [ u8 ; 18usize ] = b"time::access-usec\0" ; pub const G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC : & 'static [ u8 ; 18usize ] = b"time::access-nsec\0" ; pub const G_FILE_ATTRIBUTE_TIME_CHANGED : & 'static [ u8 ; 14usize ] = b"time::changed\0" ; pub const G_FILE_ATTRIBUTE_TIME_CHANGED_USEC : & 'static [ u8 ; 19usize ] = b"time::changed-usec\0" ; pub const G_FILE_ATTRIBUTE_TIME_CHANGED_NSEC : & 'static [ u8 ; 19usize ] = b"time::changed-nsec\0" ; pub const G_FILE_ATTRIBUTE_TIME_CREATED : & 'static [ u8 ; 14usize ] = b"time::created\0" ; pub const G_FILE_ATTRIBUTE_TIME_CREATED_USEC : & 'static [ u8 ; 19usize ] = b"time::created-usec\0" ; pub const G_FILE_ATTRIBUTE_TIME_CREATED_NSEC : & 'static [ u8 ; 19usize ] = b"time::created-nsec\0" ; pub const G_FILE_ATTRIBUTE_UNIX_DEVICE : & 'static [ u8 ; 13usize ] = b"unix::device\0" ; pub const G_FILE_ATTRIBUTE_UNIX_INODE : & 'static [ u8 ; 12usize ] = b"unix::inode\0" ; pub const G_FILE_ATTRIBUTE_UNIX_MODE : & 'static [ u8 ; 11usize ] = b"unix::mode\0" ; pub const G_FILE_ATTRIBUTE_UNIX_NLINK : & 'static [ u8 ; 12usize ] = b"unix::nlink\0" ; pub const G_FILE_ATTRIBUTE_UNIX_UID : & 'static [ u8 ; 10usize ] = b"unix::uid\0" ; pub const G_FILE_ATTRIBUTE_UNIX_GID : & 'static [ u8 ; 10usize ] = b"unix::gid\0" ; pub const G_FILE_ATTRIBUTE_UNIX_RDEV : & 'static [ u8 ; 11usize ] = b"unix::rdev\0" ; pub const G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE : & 'static [ u8 ; 17usize ] = b"unix::block-size\0" ; pub const G_FILE_ATTRIBUTE_UNIX_BLOCKS : & 'static [ u8 ; 13usize ] = b"unix::blocks\0" ; pub const G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT : & 'static [ u8 ; 20usize ] = b"unix::is-mountpoint\0" ; pub const G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE : & 'static [ u8 ; 16usize ] = b"dos::is-archive\0" ; pub const G_FILE_ATTRIBUTE_DOS_IS_SYSTEM : & 'static [ u8 ; 15usize ] = b"dos::is-system\0" ; pub const G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT : & 'static [ u8 ; 19usize ] = b"dos::is-mountpoint\0" ; pub const G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG : & 'static [ u8 ; 23usize ] = b"dos::reparse-point-tag\0" ; pub const G_FILE_ATTRIBUTE_OWNER_USER : & 'static [ u8 ; 12usize ] = b"owner::user\0" ; pub const G_FILE_ATTRIBUTE_OWNER_USER_REAL : & 'static [ u8 ; 17usize ] = b"owner::user-real\0" ; pub const G_FILE_ATTRIBUTE_OWNER_GROUP : & 'static [ u8 ; 13usize ] = b"owner::group\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH : & 'static [ u8 ; 16usize ] = b"thumbnail::path\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED : & 'static [ u8 ; 18usize ] = b"thumbnail::failed\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID : & 'static [ u8 ; 20usize ] = b"thumbnail::is-valid\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL : & 'static [ u8 ; 23usize ] = b"thumbnail::path-normal\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL : & 'static [ u8 ; 25usize ] = b"thumbnail::failed-normal\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL : & 'static [ u8 ; 27usize ] = b"thumbnail::is-valid-normal\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE : & 'static [ u8 ; 22usize ] = b"thumbnail::path-large\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE : & 'static [ u8 ; 24usize ] = b"thumbnail::failed-large\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE : & 'static [ u8 ; 26usize ] = b"thumbnail::is-valid-large\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE : & 'static [ u8 ; 23usize ] = b"thumbnail::path-xlarge\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE : & 'static [ u8 ; 25usize ] = b"thumbnail::failed-xlarge\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE : & 'static [ u8 ; 27usize ] = b"thumbnail::is-valid-xlarge\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE : & 'static [ u8 ; 24usize ] = b"thumbnail::path-xxlarge\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE : & 'static [ u8 ; 26usize ] = b"thumbnail::failed-xxlarge\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE : & 'static [ u8 ; 28usize ] = b"thumbnail::is-valid-xxlarge\0" ; pub const G_FILE_ATTRIBUTE_PREVIEW_ICON : & 'static [ u8 ; 14usize ] = b"preview::icon\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_SIZE : & 'static [ u8 ; 17usize ] = b"filesystem::size\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_FREE : & 'static [ u8 ; 17usize ] = b"filesystem::free\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_USED : & 'static [ u8 ; 17usize ] = b"filesystem::used\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_TYPE : & 'static [ u8 ; 17usize ] = b"filesystem::type\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_READONLY : & 'static [ u8 ; 21usize ] = b"filesystem::readonly\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW : & 'static [ u8 ; 24usize ] = b"filesystem::use-preview\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE : & 'static [ u8 ; 19usize ] = b"filesystem::remote\0" ; pub const G_FILE_ATTRIBUTE_GVFS_BACKEND : & 'static [ u8 ; 14usize ] = b"gvfs::backend\0" ; pub const G_FILE_ATTRIBUTE_SELINUX_CONTEXT : & 'static [ u8 ; 17usize ] = b"selinux::context\0" ; pub const G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT : & 'static [ u8 ; 18usize ] = b"trash::item-count\0" ; pub const G_FILE_ATTRIBUTE_TRASH_ORIG_PATH : & 'static [ u8 ; 17usize ] = b"trash::orig-path\0" ; pub const G_FILE_ATTRIBUTE_TRASH_DELETION_DATE : & 'static [ u8 ; 21usize ] = b"trash::deletion-date\0" ; pub const G_FILE_ATTRIBUTE_RECENT_MODIFIED : & 'static [ u8 ; 17usize ] = b"recent::modified\0" ; pub const G_MEMORY_MONITOR_EXTENSION_POINT_NAME : & 'static [ u8 ; 19usize ] = b"gio-memory-monitor\0" ; pub const G_MENU_ATTRIBUTE_ACTION : & 'static [ u8 ; 7usize ] = b"action\0" ; pub const G_MENU_ATTRIBUTE_ACTION_NAMESPACE : & 'static [ u8 ; 17usize ] = b"action-namespace\0" ; pub const G_MENU_ATTRIBUTE_TARGET : & 'static [ u8 ; 7usize ] = b"target\0" ; pub const G_MENU_ATTRIBUTE_LABEL : & 'static [ u8 ; 6usize ] = b"label\0" ; pub const G_MENU_ATTRIBUTE_ICON : & 'static [ u8 ; 5usize ] = b"icon\0" ; pub const G_MENU_LINK_SUBMENU : & 'static [ u8 ; 8usize ] = b"submenu\0" ; pub const G_MENU_LINK_SECTION : & 'static [ u8 ; 8usize ] = b"section\0" ; pub const G_MENU_EXPORTER_MAX_SECTION_SIZE : u32 = 1000 ; pub const G_VOLUME_MONITOR_EXTENSION_POINT_NAME : & 'static [ u8 ; 19usize ] = b"gio-volume-monitor\0" ; pub const G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME : & 'static [ u8 ; 26usize ] = b"gio-native-volume-monitor\0" ; pub const G_NETWORK_MONITOR_EXTENSION_POINT_NAME : & 'static [ u8 ; 20usize ] = b"gio-network-monitor\0" ; pub const G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME : & 'static [ u8 ; 26usize ] = b"gio-power-profile-monitor\0" ; pub const G_PROXY_EXTENSION_POINT_NAME : & 'static [ u8 ; 10usize ] = b"gio-proxy\0" ; pub const G_PROXY_RESOLVER_EXTENSION_POINT_NAME : & 'static [ u8 ; 19usize ] = b"gio-proxy-resolver\0" ; pub const G_TLS_BACKEND_EXTENSION_POINT_NAME : & 'static [ u8 ; 16usize ] = b"gio-tls-backend\0" ; pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER : & 'static [ u8 ; 18usize ] = b"1.3.6.1.5.5.7.3.1\0" ; pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT : & 'static [ u8 ; 18usize ] = b"1.3.6.1.5.5.7.3.2\0" ; pub const G_VFS_EXTENSION_POINT_NAME : & 'static [ u8 ; 8usize ] = b"gio-vfs\0" ; pub const G_VOLUME_IDENTIFIER_KIND_HAL_UDI : & 'static [ u8 ; 8usize ] = b"hal-udi\0" ; pub const G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE : & 'static [ u8 ; 12usize ] = b"unix-device\0" ; pub const G_VOLUME_IDENTIFIER_KIND_LABEL : & 'static [ u8 ; 6usize ] = b"label\0" ; pub const G_VOLUME_IDENTIFIER_KIND_UUID : & 'static [ u8 ; 5usize ] = b"uuid\0" ; pub const G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT : & 'static [ u8 ; 10usize ] = b"nfs-mount\0" ; pub const G_VOLUME_IDENTIFIER_KIND_CLASS : & 'static [ u8 ; 6usize ] = b"class\0" ; pub const _MATH_H : u32 = 1 ; pub const _BITS_LIBM_SIMD_DECL_STUBS_H : u32 = 1 ; pub const __FP_LOGB0_IS_MIN : u32 = 1 ; pub const __FP_LOGBNAN_IS_MIN : u32 = 1 ; pub const FP_ILOGB0 : i32 = -2147483648 ; pub const FP_ILOGBNAN : i32 = -2147483648 ; pub const __MATH_DECLARING_DOUBLE : u32 = 1 ; pub const __MATH_DECLARING_FLOATN : u32 = 0 ; pub const __MATH_DECLARE_LDOUBLE : u32 = 1 ; pub const FP_NAN : u32 = 0 ; pub const FP_INFINITE : u32 = 1 ; pub const FP_ZERO : u32 = 2 ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 3 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const VIPS_PI : f64 = 3.141592653589793 ; pub const VIPS_PATH_MAX : u32 = 4096 ; pub const VIPS_TARGET_BUFFER_SIZE : u32 = 8500 ; pub const VIPS_TARGET_CUSTOM_BUFFER_SIZE : u32 = 4096 ; pub const VIPS_SBUF_BUFFER_SIZE : u32 = 4096 ; pub const VIPS_VERSION : & 'static [ u8 ; 7usize ] = b"8.15.1\0" ; pub const VIPS_VERSION_STRING : & 'static [ u8 ; 7usize ] = b"8.15.1\0" ; pub const VIPS_MAJOR_VERSION : u32 = 8 ; pub const VIPS_MINOR_VERSION : u32 = 15 ; pub const VIPS_MICRO_VERSION : u32 = 1 ; pub const VIPS_LIBRARY_CURRENT : u32 = 59 ; pub const VIPS_LIBRARY_REVISION : u32 = 1 ; pub const VIPS_LIBRARY_AGE : u32 = 17 ; pub const VIPS_CONFIG : & 'static [ u8 ; 1329usize ] = b"enable debug: false\\nenable deprecated: true\\nenable modules: true\\nenable cplusplus: true\\nenable RAD load/save: true\\nenable Analyze7 load/save: true\\nenable PPM load/save: true\\nenable GIF load: true\\nuse fftw for FFTs: true\\nSIMD support with highway: true\\naccelerate loops with ORC: false\\nICC profile support with lcms: true\\nzlib: true\\ntext rendering with pangocairo: true\\nfont file support with fontconfig: true\\nEXIF metadata support with libexif: true\\nJPEG load/save with libjpeg: true\\nJXL load/save with libjxl: true (dynamic module: true)\\nJPEG2000 load/save with OpenJPEG: true\\nPNG load/save with libspng: true\\nPNG load/save with libpng: false\\nselected quantisation package: imagequant\\nTIFF load/save with libtiff: true\\nimage pyramid save with libarchive: true\\nHEIC/AVIF load/save with libheif: true (dynamic module: true)\\nWebP load/save with libwebp: true\\nPDF load with PDFium: false\\nPDF load with poppler-glib: true (dynamic module: true)\\nSVG load with librsvg: true\\nEXR load with OpenEXR: true\\nOpenSlide load: true (dynamic module: true)\\nMatlab load with libmatio: true\\nNIfTI load/save with niftiio: false\\nFITS load/save with cfitsio: true\\nGIF save with cgif: true\\nselected Magick package: MagickCore (dynamic module: true)\\nMagick API version: magick6\\nMagick load: true\\nMagick save: true\0" ; pub const VIPS_ENABLE_DEPRECATED : u32 = 1 ; pub const VIPS_SPARE : u32 = 8 ; pub const VIPS__WINDOW_MARGIN_PIXELS : u32 = 128 ; pub const VIPS__WINDOW_MARGIN_BYTES : u32 = 10485760 ; pub const VIPS_SIZEOF_HEADER : u32 = 64 ; pub const VIPS__TILE_WIDTH : u32 = 128 ; pub const VIPS__TILE_HEIGHT : u32 = 128 ; pub const VIPS__THINSTRIP_HEIGHT : u32 = 1 ; pub const VIPS__FATSTRIP_HEIGHT : u32 = 16 ; pub const VIPS_MAGIC_INTEL : u32 = 3064394248 ; pub const VIPS_MAGIC_SPARC : u32 = 150120118 ; pub const VIPS_MAX_COORD : u32 = 10000000 ; pub const VIPS_TRANSFORM_SHIFT : u32 = 6 ; pub const VIPS_TRANSFORM_SCALE : u32 = 64 ; pub const VIPS_INTERPOLATE_SHIFT : u32 = 12 ; pub const VIPS_INTERPOLATE_SCALE : u32 = 4096 ; pub const VIPS_META_EXIF_NAME : & 'static [ u8 ; 10usize ] = b"exif-data\0" ; pub const VIPS_META_XMP_NAME : & 'static [ u8 ; 9usize ] = b"xmp-data\0" ; pub const VIPS_META_IPTC_NAME : & 'static [ u8 ; 10usize ] = b"iptc-data\0" ; pub const VIPS_META_PHOTOSHOP_NAME : & 'static [ u8 ; 15usize ] = b"photoshop-data\0" ; pub const VIPS_META_ICC_NAME : & 'static [ u8 ; 17usize ] = b"icc-profile-data\0" ; pub const VIPS_META_IMAGEDESCRIPTION : & 'static [ u8 ; 18usize ] = b"image-description\0" ; pub const VIPS_META_RESOLUTION_UNIT : & 'static [ u8 ; 16usize ] = b"resolution-unit\0" ; pub const VIPS_META_BITS_PER_SAMPLE : & 'static [ u8 ; 16usize ] = b"bits-per-sample\0" ; pub const VIPS_META_LOADER : & 'static [ u8 ; 12usize ] = b"vips-loader\0" ; pub const VIPS_META_SEQUENTIAL : & 'static [ u8 ; 16usize ] = b"vips-sequential\0" ; pub const VIPS_META_ORIENTATION : & 'static [ u8 ; 12usize ] = b"orientation\0" ; pub const VIPS_META_PAGE_HEIGHT : & 'static [ u8 ; 12usize ] = b"page-height\0" ; pub const VIPS_META_N_PAGES : & 'static [ u8 ; 8usize ] = b"n-pages\0" ; pub const VIPS_META_N_SUBIFDS : & 'static [ u8 ; 10usize ] = b"n-subifds\0" ; pub const VIPS_META_CONCURRENCY : & 'static [ u8 ; 12usize ] = b"concurrency\0" ; pub const VIPS_D93_X0 : f64 = 89.74 ; pub const VIPS_D93_Y0 : f64 = 100. ; pub const VIPS_D93_Z0 : f64 = 130.77 ; pub const VIPS_D75_X0 : f64 = 94.9682 ; pub const VIPS_D75_Y0 : f64 = 100. ; pub const VIPS_D75_Z0 : f64 = 122.571 ; pub const VIPS_D65_X0 : f64 = 95.047 ; pub const VIPS_D65_Y0 : f64 = 100. ; pub const VIPS_D65_Z0 : f64 = 108.8827 ; pub const VIPS_D55_X0 : f64 = 95.6831 ; pub const VIPS_D55_Y0 : f64 = 100. ; pub const VIPS_D55_Z0 : f64 = 92.0871 ; pub const VIPS_D50_X0 : f64 = 96.425 ; pub const VIPS_D50_Y0 : f64 = 100. ; pub const VIPS_D50_Z0 : f64 = 82.468 ; pub const VIPS_A_X0 : f64 = 109.8503 ; pub const VIPS_A_Y0 : f64 = 100. ; pub const VIPS_A_Z0 : f64 = 35.5849 ; pub const VIPS_B_X0 : f64 = 99.072 ; pub const VIPS_B_Y0 : f64 = 100. ; pub const VIPS_B_Z0 : f64 = 85.223 ; pub const VIPS_C_X0 : f64 = 98.07 ; pub const VIPS_C_Y0 : f64 = 100. ; pub const VIPS_C_Z0 : f64 = 118.23 ; pub const VIPS_E_X0 : f64 = 100. ; pub const VIPS_E_Y0 : f64 = 100. ; pub const VIPS_E_Z0 : f64 = 100. ; pub const VIPS_D3250_X0 : f64 = 105.659 ; pub const VIPS_D3250_Y0 : f64 = 100. ; pub const VIPS_D3250_Z0 : f64 = 45.8501 ; pub type wchar_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ 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 : f64 , } # [ 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 ! ( 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 gint8 = :: std :: os :: raw :: c_schar ; pub type guint8 = :: std :: os :: raw :: c_uchar ; pub type gint16 = :: std :: os :: raw :: c_short ; pub type guint16 = :: std :: os :: raw :: c_ushort ; pub type gint32 = :: std :: os :: raw :: c_int ; pub type guint32 = :: std :: os :: raw :: c_uint ; pub type gint64 = :: std :: os :: raw :: c_long ; pub type guint64 = :: std :: os :: raw :: c_ulong ; pub type gssize = :: std :: os :: raw :: c_long ; pub type gsize = :: std :: os :: raw :: c_ulong ; pub type goffset = gint64 ; pub type gintptr = :: std :: os :: raw :: c_long ; pub type guintptr = :: std :: os :: raw :: c_ulong ; pub type GPid = :: std :: os :: raw :: c_int ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __fsid_t { pub __val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __fsid_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type clock_t = __clock_t ; pub type time_t = __time_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tm { pub tm_sec : :: std :: os :: raw :: c_int , pub tm_min : :: std :: os :: raw :: c_int , pub tm_hour : :: std :: os :: raw :: c_int , pub tm_mday : :: std :: os :: raw :: c_int , pub tm_mon : :: std :: os :: raw :: c_int , pub tm_year : :: std :: os :: raw :: c_int , pub tm_wday : :: std :: os :: raw :: c_int , pub tm_yday : :: std :: os :: raw :: c_int , pub tm_isdst : :: std :: os :: raw :: c_int , pub tm_gmtoff : :: std :: os :: raw :: c_long , pub tm_zone : * const :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_tm ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tm > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( tm ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tm > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_min as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_hour as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_hour ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_mday as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_mday ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_mon as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_mon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_year as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_year ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_wday as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_wday ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_yday as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_yday ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_isdst as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_isdst ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_gmtoff as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_gmtoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_zone as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_zone ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct timespec { pub tv_sec : __time_t , pub tv_nsec : __syscall_slong_t , } # [ test ] fn bindgen_test_layout_timespec ( ) { assert_eq ! ( :: std :: mem :: size_of :: < timespec > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( timespec ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < timespec > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( timespec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timespec > ( ) ) ) . tv_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( timespec ) , "::" , stringify ! ( tv_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timespec > ( ) ) ) . tv_nsec as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( timespec ) , "::" , stringify ! ( tv_nsec ) ) ) ; } pub type clockid_t = __clockid_t ; pub type timer_t = __timer_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct itimerspec { pub it_interval : timespec , pub it_value : timespec , } # [ test ] fn bindgen_test_layout_itimerspec ( ) { assert_eq ! ( :: std :: mem :: size_of :: < itimerspec > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( itimerspec ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < itimerspec > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( itimerspec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < itimerspec > ( ) ) ) . it_interval as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( itimerspec ) , "::" , stringify ! ( it_interval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < itimerspec > ( ) ) ) . it_value as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( itimerspec ) , "::" , stringify ! ( it_value ) ) ) ; } pub type pid_t = __pid_t ; # [ 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 clock ( ) -> clock_t ; } extern "C" { pub fn time ( __timer : * mut time_t ) -> time_t ; } extern "C" { pub fn difftime ( __time1 : time_t , __time0 : time_t ) -> f64 ; } extern "C" { pub fn mktime ( __tp : * mut tm ) -> time_t ; } extern "C" { pub fn strftime ( __s : * mut :: std :: os :: raw :: c_char , __maxsize : usize , __format : * const :: std :: os :: raw :: c_char , __tp : * const tm ) -> usize ; } extern "C" { pub fn strftime_l ( __s : * mut :: std :: os :: raw :: c_char , __maxsize : usize , __format : * const :: std :: os :: raw :: c_char , __tp : * const tm , __loc : locale_t ) -> usize ; } extern "C" { pub fn gmtime ( __timer : * const time_t ) -> * mut tm ; } extern "C" { pub fn localtime ( __timer : * const time_t ) -> * mut tm ; } extern "C" { pub fn gmtime_r ( __timer : * const time_t , __tp : * mut tm ) -> * mut tm ; } extern "C" { pub fn localtime_r ( __timer : * const time_t , __tp : * mut tm ) -> * mut tm ; } extern "C" { pub fn asctime ( __tp : * const tm ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ctime ( __timer : * const time_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn asctime_r ( __tp : * const tm , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ctime_r ( __timer : * const time_t , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}__tzname" ] pub static mut __tzname : [ * mut :: std :: os :: raw :: c_char ; 2usize ] ; } extern "C" { # [ link_name = "\u{1}__daylight" ] pub static mut __daylight : :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__timezone" ] pub static mut __timezone : :: std :: os :: raw :: c_long ; } extern "C" { # [ link_name = "\u{1}tzname" ] pub static mut tzname : [ * mut :: std :: os :: raw :: c_char ; 2usize ] ; } extern "C" { pub fn tzset ( ) ; } extern "C" { # [ link_name = "\u{1}daylight" ] pub static mut daylight : :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}timezone" ] pub static mut timezone : :: std :: os :: raw :: c_long ; } extern "C" { pub fn timegm ( __tp : * mut tm ) -> time_t ; } extern "C" { pub fn timelocal ( __tp : * mut tm ) -> time_t ; } extern "C" { pub fn dysize ( __year : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nanosleep ( __requested_time : * const timespec , __remaining : * mut timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clock_getres ( __clock_id : clockid_t , __res : * mut timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clock_gettime ( __clock_id : clockid_t , __tp : * mut timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clock_settime ( __clock_id : clockid_t , __tp : * const timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clock_nanosleep ( __clock_id : clockid_t , __flags : :: std :: os :: raw :: c_int , __req : * const timespec , __rem : * mut timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clock_getcpuclockid ( __pid : pid_t , __clock_id : * mut clockid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn timer_create ( __clock_id : clockid_t , __evp : * mut sigevent , __timerid : * mut timer_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn timer_delete ( __timerid : timer_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn timer_settime ( __timerid : timer_t , __flags : :: std :: os :: raw :: c_int , __value : * const itimerspec , __ovalue : * mut itimerspec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn timer_gettime ( __timerid : timer_t , __value : * mut itimerspec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn timer_getoverrun ( __timerid : timer_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn timespec_get ( __ts : * mut timespec , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type gchar = :: std :: os :: raw :: c_char ; pub type gshort = :: std :: os :: raw :: c_short ; pub type glong = :: std :: os :: raw :: c_long ; pub type gint = :: std :: os :: raw :: c_int ; pub type gboolean = gint ; pub type guchar = :: std :: os :: raw :: c_uchar ; pub type gushort = :: std :: os :: raw :: c_ushort ; pub type gulong = :: std :: os :: raw :: c_ulong ; pub type guint = :: std :: os :: raw :: c_uint ; pub type gfloat = f32 ; pub type gdouble = f64 ; pub type gpointer = * mut :: std :: os :: raw :: c_void ; pub type gconstpointer = * const :: std :: os :: raw :: c_void ; pub type GCompareFunc = :: std :: option :: Option < unsafe extern "C" fn ( a : gconstpointer , b : gconstpointer ) -> gint > ; pub type GCompareDataFunc = :: std :: option :: Option < unsafe extern "C" fn ( a : gconstpointer , b : gconstpointer , user_data : gpointer ) -> gint > ; pub type GEqualFunc = :: std :: option :: Option < unsafe extern "C" fn ( a : gconstpointer , b : gconstpointer ) -> gboolean > ; pub type GEqualFuncFull = :: std :: option :: Option < unsafe extern "C" fn ( a : gconstpointer , b : gconstpointer , user_data : gpointer ) -> gboolean > ; pub type GDestroyNotify = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer ) > ; pub type GFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer , user_data : gpointer ) > ; pub type GHashFunc = :: std :: option :: Option < unsafe extern "C" fn ( key : gconstpointer ) -> guint > ; pub type GHFunc = :: std :: option :: Option < unsafe extern "C" fn ( key : gpointer , value : gpointer , user_data : gpointer ) > ; pub type GCopyFunc = :: std :: option :: Option < unsafe extern "C" fn ( src : gconstpointer , data : gpointer ) -> gpointer > ; pub type GFreeFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer ) > ; pub type GTranslateFunc = :: std :: option :: Option < unsafe extern "C" fn ( str : * const gchar , data : gpointer ) -> * const gchar > ; pub type GDoubleIEEE754 = _GDoubleIEEE754 ; pub type GFloatIEEE754 = _GFloatIEEE754 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GFloatIEEE754 { pub v_float : gfloat , pub mpn : _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) , _bindgen_union_align : u32 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > , pub __bindgen_align : [ u32 ; 0usize ] , } # [ test ] fn bindgen_test_layout__GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) ) ) ) ; } impl _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) { # [ inline ] pub fn mantissa ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 23u8 ) as u32 ) } } # [ inline ] pub fn set_mantissa ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 23u8 , val as u64 ) } } # [ inline ] pub fn biased_exponent ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 23usize , 8u8 ) as u32 ) } } # [ inline ] pub fn set_biased_exponent ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 23usize , 8u8 , val as u64 ) } } # [ inline ] pub fn sign ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 31usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_sign ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 31usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( mantissa : guint , biased_exponent : guint , sign : guint ) -> __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 23u8 , { let mantissa : u32 = unsafe { :: std :: mem :: transmute ( mantissa ) } ; mantissa as u64 } ) ; __bindgen_bitfield_unit . set ( 23usize , 8u8 , { let biased_exponent : u32 = unsafe { :: std :: mem :: transmute ( biased_exponent ) } ; biased_exponent as u64 } ) ; __bindgen_bitfield_unit . set ( 31usize , 1u8 , { let sign : u32 = unsafe { :: std :: mem :: transmute ( sign ) } ; sign as u64 } ) ; __bindgen_bitfield_unit } } # [ test ] fn bindgen_test_layout__GFloatIEEE754 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFloatIEEE754 > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _GFloatIEEE754 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFloatIEEE754 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GFloatIEEE754 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFloatIEEE754 > ( ) ) ) . v_float as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFloatIEEE754 ) , "::" , stringify ! ( v_float ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFloatIEEE754 > ( ) ) ) . mpn as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFloatIEEE754 ) , "::" , stringify ! ( mpn ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GDoubleIEEE754 { pub v_double : gdouble , pub mpn : _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 8usize ] , u32 > , pub __bindgen_align : [ u32 ; 0usize ] , } # [ test ] fn bindgen_test_layout__GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) ) ) ) ; } impl _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) { # [ inline ] pub fn mantissa_low ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 32u8 ) as u32 ) } } # [ inline ] pub fn set_mantissa_low ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 32u8 , val as u64 ) } } # [ inline ] pub fn mantissa_high ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 32usize , 20u8 ) as u32 ) } } # [ inline ] pub fn set_mantissa_high ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 32usize , 20u8 , val as u64 ) } } # [ inline ] pub fn biased_exponent ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 52usize , 11u8 ) as u32 ) } } # [ inline ] pub fn set_biased_exponent ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 52usize , 11u8 , val as u64 ) } } # [ inline ] pub fn sign ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 63usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_sign ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 63usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( mantissa_low : guint , mantissa_high : guint , biased_exponent : guint , sign : guint ) -> __BindgenBitfieldUnit < [ u8 ; 8usize ] , u32 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 8usize ] , u32 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 32u8 , { let mantissa_low : u32 = unsafe { :: std :: mem :: transmute ( mantissa_low ) } ; mantissa_low as u64 } ) ; __bindgen_bitfield_unit . set ( 32usize , 20u8 , { let mantissa_high : u32 = unsafe { :: std :: mem :: transmute ( mantissa_high ) } ; mantissa_high as u64 } ) ; __bindgen_bitfield_unit . set ( 52usize , 11u8 , { let biased_exponent : u32 = unsafe { :: std :: mem :: transmute ( biased_exponent ) } ; biased_exponent as u64 } ) ; __bindgen_bitfield_unit . set ( 63usize , 1u8 , { let sign : u32 = unsafe { :: std :: mem :: transmute ( sign ) } ; sign as u64 } ) ; __bindgen_bitfield_unit } } # [ test ] fn bindgen_test_layout__GDoubleIEEE754 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDoubleIEEE754 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GDoubleIEEE754 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDoubleIEEE754 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDoubleIEEE754 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDoubleIEEE754 > ( ) ) ) . v_double as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDoubleIEEE754 ) , "::" , stringify ! ( v_double ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDoubleIEEE754 > ( ) ) ) . mpn as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDoubleIEEE754 ) , "::" , stringify ! ( mpn ) ) ) ; } pub type GTimeVal = _GTimeVal ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTimeVal { pub tv_sec : glong , pub tv_usec : glong , } # [ test ] fn bindgen_test_layout__GTimeVal ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTimeVal > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GTimeVal ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTimeVal > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTimeVal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTimeVal > ( ) ) ) . tv_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTimeVal ) , "::" , stringify ! ( tv_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTimeVal > ( ) ) ) . tv_usec as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GTimeVal ) , "::" , stringify ! ( tv_usec ) ) ) ; } pub type grefcount = gint ; pub type gatomicrefcount = gint ; extern "C" { pub fn memcpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memmove ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memccpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memset ( __s : * mut :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memcmp ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __memcmpeq ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn memchr ( __s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcoll ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strcoll_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm_l ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize , __l : locale_t ) -> usize ; } extern "C" { pub fn strdup ( __s : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strndup ( __string : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strrchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchrnul ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcspn ( __s : * const :: std :: os :: raw :: c_char , __reject : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strspn ( __s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strpbrk ( __s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strstr ( __haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok ( __s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __strtok_r ( __s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok_r ( __s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcasestr ( __haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn memmem ( __haystack : * const :: std :: os :: raw :: c_void , __haystacklen : usize , __needle : * const :: std :: os :: raw :: c_void , __needlelen : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn __mempcpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn mempcpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strlen ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strnlen ( __string : * const :: std :: os :: raw :: c_char , __maxlen : usize ) -> usize ; } extern "C" { pub fn strerror ( __errnum : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}__xpg_strerror_r" ] pub fn strerror_r ( __errnum : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __buflen : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strerror_l ( __errnum : :: std :: os :: raw :: c_int , __l : locale_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn bcmp ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bcopy ( __src : * const :: std :: os :: raw :: c_void , __dest : * mut :: std :: os :: raw :: c_void , __n : usize ) ; } extern "C" { pub fn bzero ( __s : * mut :: std :: os :: raw :: c_void , __n : usize ) ; } extern "C" { pub fn index ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn rindex ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ffs ( __i : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsl ( __l : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsll ( __ll : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn explicit_bzero ( __s : * mut :: std :: os :: raw :: c_void , __n : usize ) ; } extern "C" { pub fn strsep ( __stringp : * mut * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strsignal ( __sig : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strlcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> usize ; } extern "C" { pub fn strlcat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> usize ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBytes { _unused : [ u8 ; 0 ] , } pub type GBytes = _GBytes ; pub type GArray = _GArray ; pub type GByteArray = _GByteArray ; pub type GPtrArray = _GPtrArray ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GArray { pub data : * mut gchar , pub len : guint , } # [ test ] fn bindgen_test_layout__GArray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GArray > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GArray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GArray > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GArray > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GArray ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GArray > ( ) ) ) . len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GArray ) , "::" , stringify ! ( len ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GByteArray { pub data : * mut guint8 , pub len : guint , } # [ test ] fn bindgen_test_layout__GByteArray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GByteArray > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GByteArray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GByteArray > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GByteArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GByteArray > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GByteArray ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GByteArray > ( ) ) ) . len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GByteArray ) , "::" , stringify ! ( len ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPtrArray { pub pdata : * mut gpointer , pub len : guint , } # [ test ] fn bindgen_test_layout__GPtrArray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPtrArray > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GPtrArray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPtrArray > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPtrArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPtrArray > ( ) ) ) . pdata as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPtrArray ) , "::" , stringify ! ( pdata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPtrArray > ( ) ) ) . len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GPtrArray ) , "::" , stringify ! ( len ) ) ) ; } extern "C" { pub fn g_array_new ( zero_terminated : gboolean , clear_ : gboolean , element_size : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_new_take ( data : gpointer , len : gsize , clear : gboolean , element_size : gsize ) -> * mut GArray ; } extern "C" { pub fn g_array_new_take_zero_terminated ( data : gpointer , clear : gboolean , element_size : gsize ) -> * mut GArray ; } extern "C" { pub fn g_array_steal ( array : * mut GArray , len : * mut gsize ) -> gpointer ; } extern "C" { pub fn g_array_sized_new ( zero_terminated : gboolean , clear_ : gboolean , element_size : guint , reserved_size : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_copy ( array : * mut GArray ) -> * mut GArray ; } extern "C" { pub fn g_array_free ( array : * mut GArray , free_segment : gboolean ) -> * mut gchar ; } extern "C" { pub fn g_array_ref ( array : * mut GArray ) -> * mut GArray ; } extern "C" { pub fn g_array_unref ( array : * mut GArray ) ; } extern "C" { pub fn g_array_get_element_size ( array : * mut GArray ) -> guint ; } extern "C" { pub fn g_array_append_vals ( array : * mut GArray , data : gconstpointer , len : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_prepend_vals ( array : * mut GArray , data : gconstpointer , len : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_insert_vals ( array : * mut GArray , index_ : guint , data : gconstpointer , len : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_set_size ( array : * mut GArray , length : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_remove_index ( array : * mut GArray , index_ : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_remove_index_fast ( array : * mut GArray , index_ : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_remove_range ( array : * mut GArray , index_ : guint , length : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_sort ( array : * mut GArray , compare_func : GCompareFunc ) ; } extern "C" { pub fn g_array_sort_with_data ( array : * mut GArray , compare_func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_array_binary_search ( array : * mut GArray , target : gconstpointer , compare_func : GCompareFunc , out_match_index : * mut guint ) -> gboolean ; } extern "C" { pub fn g_array_set_clear_func ( array : * mut GArray , clear_func : GDestroyNotify ) ; } extern "C" { pub fn g_ptr_array_new ( ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_with_free_func ( element_free_func : GDestroyNotify ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_take ( data : * mut gpointer , len : gsize , element_free_func : GDestroyNotify ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_from_array ( data : * mut gpointer , len : gsize , copy_func : GCopyFunc , copy_func_user_data : gpointer , element_free_func : GDestroyNotify ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_steal ( array : * mut GPtrArray , len : * mut gsize ) -> * mut gpointer ; } extern "C" { pub fn g_ptr_array_copy ( array : * mut GPtrArray , func : GCopyFunc , user_data : gpointer ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_sized_new ( reserved_size : guint ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_full ( reserved_size : guint , element_free_func : GDestroyNotify ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_null_terminated ( reserved_size : guint , element_free_func : GDestroyNotify , null_terminated : gboolean ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_take_null_terminated ( data : * mut gpointer , element_free_func : GDestroyNotify ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_from_null_terminated_array ( data : * mut gpointer , copy_func : GCopyFunc , copy_func_user_data : gpointer , element_free_func : GDestroyNotify ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_free ( array : * mut GPtrArray , free_seg : gboolean ) -> * mut gpointer ; } extern "C" { pub fn g_ptr_array_ref ( array : * mut GPtrArray ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_unref ( array : * mut GPtrArray ) ; } extern "C" { pub fn g_ptr_array_set_free_func ( array : * mut GPtrArray , element_free_func : GDestroyNotify ) ; } extern "C" { pub fn g_ptr_array_set_size ( array : * mut GPtrArray , length : gint ) ; } extern "C" { pub fn g_ptr_array_remove_index ( array : * mut GPtrArray , index_ : guint ) -> gpointer ; } extern "C" { pub fn g_ptr_array_remove_index_fast ( array : * mut GPtrArray , index_ : guint ) -> gpointer ; } extern "C" { pub fn g_ptr_array_steal_index ( array : * mut GPtrArray , index_ : guint ) -> gpointer ; } extern "C" { pub fn g_ptr_array_steal_index_fast ( array : * mut GPtrArray , index_ : guint ) -> gpointer ; } extern "C" { pub fn g_ptr_array_remove ( array : * mut GPtrArray , data : gpointer ) -> gboolean ; } extern "C" { pub fn g_ptr_array_remove_fast ( array : * mut GPtrArray , data : gpointer ) -> gboolean ; } extern "C" { pub fn g_ptr_array_remove_range ( array : * mut GPtrArray , index_ : guint , length : guint ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_add ( array : * mut GPtrArray , data : gpointer ) ; } extern "C" { pub fn g_ptr_array_extend ( array_to_extend : * mut GPtrArray , array : * mut GPtrArray , func : GCopyFunc , user_data : gpointer ) ; } extern "C" { pub fn g_ptr_array_extend_and_steal ( array_to_extend : * mut GPtrArray , array : * mut GPtrArray ) ; } extern "C" { pub fn g_ptr_array_insert ( array : * mut GPtrArray , index_ : gint , data : gpointer ) ; } extern "C" { pub fn g_ptr_array_sort ( array : * mut GPtrArray , compare_func : GCompareFunc ) ; } extern "C" { pub fn g_ptr_array_sort_with_data ( array : * mut GPtrArray , compare_func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_ptr_array_sort_values ( array : * mut GPtrArray , compare_func : GCompareFunc ) ; } extern "C" { pub fn g_ptr_array_sort_values_with_data ( array : * mut GPtrArray , compare_func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_ptr_array_foreach ( array : * mut GPtrArray , func : GFunc , user_data : gpointer ) ; } extern "C" { pub fn g_ptr_array_find ( haystack : * mut GPtrArray , needle : gconstpointer , index_ : * mut guint ) -> gboolean ; } extern "C" { pub fn g_ptr_array_find_with_equal_func ( haystack : * mut GPtrArray , needle : gconstpointer , equal_func : GEqualFunc , index_ : * mut guint ) -> gboolean ; } extern "C" { pub fn g_ptr_array_is_null_terminated ( array : * mut GPtrArray ) -> gboolean ; } extern "C" { pub fn g_byte_array_new ( ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_new_take ( data : * mut guint8 , len : gsize ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_steal ( array : * mut GByteArray , len : * mut gsize ) -> * mut guint8 ; } extern "C" { pub fn g_byte_array_sized_new ( reserved_size : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_free ( array : * mut GByteArray , free_segment : gboolean ) -> * mut guint8 ; } extern "C" { pub fn g_byte_array_free_to_bytes ( array : * mut GByteArray ) -> * mut GBytes ; } extern "C" { pub fn g_byte_array_ref ( array : * mut GByteArray ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_unref ( array : * mut GByteArray ) ; } extern "C" { pub fn g_byte_array_append ( array : * mut GByteArray , data : * const guint8 , len : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_prepend ( array : * mut GByteArray , data : * const guint8 , len : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_set_size ( array : * mut GByteArray , length : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_remove_index ( array : * mut GByteArray , index_ : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_remove_index_fast ( array : * mut GByteArray , index_ : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_remove_range ( array : * mut GByteArray , index_ : guint , length : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_sort ( array : * mut GByteArray , compare_func : GCompareFunc ) ; } extern "C" { pub fn g_byte_array_sort_with_data ( array : * mut GByteArray , compare_func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_atomic_int_get ( atomic : * const gint ) -> gint ; } extern "C" { pub fn g_atomic_int_set ( atomic : * mut gint , newval : gint ) ; } extern "C" { pub fn g_atomic_int_inc ( atomic : * mut gint ) ; } extern "C" { pub fn g_atomic_int_dec_and_test ( atomic : * mut gint ) -> gboolean ; } extern "C" { pub fn g_atomic_int_compare_and_exchange ( atomic : * mut gint , oldval : gint , newval : gint ) -> gboolean ; } extern "C" { pub fn g_atomic_int_compare_and_exchange_full ( atomic : * mut gint , oldval : gint , newval : gint , preval : * mut gint ) -> gboolean ; } extern "C" { pub fn g_atomic_int_exchange ( atomic : * mut gint , newval : gint ) -> gint ; } extern "C" { pub fn g_atomic_int_add ( atomic : * mut gint , val : gint ) -> gint ; } extern "C" { pub fn g_atomic_int_and ( atomic : * mut guint , val : guint ) -> guint ; } extern "C" { pub fn g_atomic_int_or ( atomic : * mut guint , val : guint ) -> guint ; } extern "C" { pub fn g_atomic_int_xor ( atomic : * mut guint , val : guint ) -> guint ; } extern "C" { pub fn g_atomic_pointer_get ( atomic : * const :: std :: os :: raw :: c_void ) -> gpointer ; } extern "C" { pub fn g_atomic_pointer_set ( atomic : * mut :: std :: os :: raw :: c_void , newval : gpointer ) ; } extern "C" { pub fn g_atomic_pointer_compare_and_exchange ( atomic : * mut :: std :: os :: raw :: c_void , oldval : gpointer , newval : gpointer ) -> gboolean ; } extern "C" { pub fn g_atomic_pointer_compare_and_exchange_full ( atomic : * mut :: std :: os :: raw :: c_void , oldval : gpointer , newval : gpointer , preval : * mut :: std :: os :: raw :: c_void ) -> gboolean ; } extern "C" { pub fn g_atomic_pointer_exchange ( atomic : * mut :: std :: os :: raw :: c_void , newval : gpointer ) -> gpointer ; } extern "C" { pub fn g_atomic_pointer_add ( atomic : * mut :: std :: os :: raw :: c_void , val : gssize ) -> gintptr ; } extern "C" { pub fn g_atomic_pointer_and ( atomic : * mut :: std :: os :: raw :: c_void , val : gsize ) -> guintptr ; } extern "C" { pub fn g_atomic_pointer_or ( atomic : * mut :: std :: os :: raw :: c_void , val : gsize ) -> guintptr ; } extern "C" { pub fn g_atomic_pointer_xor ( atomic : * mut :: std :: os :: raw :: c_void , val : gsize ) -> guintptr ; } extern "C" { pub fn g_atomic_int_exchange_and_add ( atomic : * mut gint , val : gint ) -> gint ; } pub type __gnuc_va_list = __builtin_va_list ; pub type va_list = __builtin_va_list ; pub type GQuark = guint32 ; extern "C" { pub fn g_quark_try_string ( string : * const gchar ) -> GQuark ; } extern "C" { pub fn g_quark_from_static_string ( string : * const gchar ) -> GQuark ; } extern "C" { pub fn g_quark_from_string ( string : * const gchar ) -> GQuark ; } extern "C" { pub fn g_quark_to_string ( quark : GQuark ) -> * const gchar ; } extern "C" { pub fn g_intern_string ( string : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_intern_static_string ( string : * const gchar ) -> * const gchar ; } pub type GError = _GError ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GError { pub domain : GQuark , pub code : gint , pub message : * mut gchar , } # [ test ] fn bindgen_test_layout__GError ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GError > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GError ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GError > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GError ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GError > ( ) ) ) . domain as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GError ) , "::" , stringify ! ( domain ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GError > ( ) ) ) . code as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _GError ) , "::" , stringify ! ( code ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GError > ( ) ) ) . message as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GError ) , "::" , stringify ! ( message ) ) ) ; } pub type GErrorInitFunc = :: std :: option :: Option < unsafe extern "C" fn ( error : * mut GError ) > ; pub type GErrorCopyFunc = :: std :: option :: Option < unsafe extern "C" fn ( src_error : * const GError , dest_error : * mut GError ) > ; pub type GErrorClearFunc = :: std :: option :: Option < unsafe extern "C" fn ( error : * mut GError ) > ; extern "C" { pub fn g_error_domain_register_static ( error_type_name : * const :: std :: os :: raw :: c_char , error_type_private_size : gsize , error_type_init : GErrorInitFunc , error_type_copy : GErrorCopyFunc , error_type_clear : GErrorClearFunc ) -> GQuark ; } extern "C" { pub fn g_error_domain_register ( error_type_name : * const :: std :: os :: raw :: c_char , error_type_private_size : gsize , error_type_init : GErrorInitFunc , error_type_copy : GErrorCopyFunc , error_type_clear : GErrorClearFunc ) -> GQuark ; } extern "C" { pub fn g_error_new ( domain : GQuark , code : gint , format : * const gchar , ... ) -> * mut GError ; } extern "C" { pub fn g_error_new_literal ( domain : GQuark , code : gint , message : * const gchar ) -> * mut GError ; } extern "C" { pub fn g_error_new_valist ( domain : GQuark , code : gint , format : * const gchar , args : * mut __va_list_tag ) -> * mut GError ; } extern "C" { pub fn g_error_free ( error : * mut GError ) ; } extern "C" { pub fn g_error_copy ( error : * const GError ) -> * mut GError ; } extern "C" { pub fn g_error_matches ( error : * const GError , domain : GQuark , code : gint ) -> gboolean ; } extern "C" { pub fn g_set_error ( err : * mut * mut GError , domain : GQuark , code : gint , format : * const gchar , ... ) ; } extern "C" { pub fn g_set_error_literal ( err : * mut * mut GError , domain : GQuark , code : gint , message : * const gchar ) ; } extern "C" { pub fn g_propagate_error ( dest : * mut * mut GError , src : * mut GError ) ; } extern "C" { pub fn g_clear_error ( err : * mut * mut GError ) ; } extern "C" { pub fn g_prefix_error ( err : * mut * mut GError , format : * const gchar , ... ) ; } extern "C" { pub fn g_prefix_error_literal ( err : * mut * mut GError , prefix : * const gchar ) ; } extern "C" { pub fn g_propagate_prefixed_error ( dest : * mut * mut GError , src : * mut GError , format : * const gchar , ... ) ; } extern "C" { pub fn g_get_user_name ( ) -> * const gchar ; } extern "C" { pub fn g_get_real_name ( ) -> * const gchar ; } extern "C" { pub fn g_get_home_dir ( ) -> * const gchar ; } extern "C" { pub fn g_get_tmp_dir ( ) -> * const gchar ; } extern "C" { pub fn g_get_host_name ( ) -> * const gchar ; } extern "C" { pub fn g_get_prgname ( ) -> * const gchar ; } extern "C" { pub fn g_set_prgname ( prgname : * const gchar ) ; } extern "C" { pub fn g_get_application_name ( ) -> * const gchar ; } extern "C" { pub fn g_set_application_name ( application_name : * const gchar ) ; } extern "C" { pub fn g_get_os_info ( key_name : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_reload_user_special_dirs_cache ( ) ; } extern "C" { pub fn g_get_user_data_dir ( ) -> * const gchar ; } extern "C" { pub fn g_get_user_config_dir ( ) -> * const gchar ; } extern "C" { pub fn g_get_user_cache_dir ( ) -> * const gchar ; } extern "C" { pub fn g_get_user_state_dir ( ) -> * const gchar ; } extern "C" { pub fn g_get_system_data_dirs ( ) -> * const * const gchar ; } extern "C" { pub fn g_get_system_config_dirs ( ) -> * const * const gchar ; } extern "C" { pub fn g_get_user_runtime_dir ( ) -> * const gchar ; } pub const GUserDirectory_G_USER_DIRECTORY_DESKTOP : GUserDirectory = 0 ; pub const GUserDirectory_G_USER_DIRECTORY_DOCUMENTS : GUserDirectory = 1 ; pub const GUserDirectory_G_USER_DIRECTORY_DOWNLOAD : GUserDirectory = 2 ; pub const GUserDirectory_G_USER_DIRECTORY_MUSIC : GUserDirectory = 3 ; pub const GUserDirectory_G_USER_DIRECTORY_PICTURES : GUserDirectory = 4 ; pub const GUserDirectory_G_USER_DIRECTORY_PUBLIC_SHARE : GUserDirectory = 5 ; pub const GUserDirectory_G_USER_DIRECTORY_TEMPLATES : GUserDirectory = 6 ; pub const GUserDirectory_G_USER_DIRECTORY_VIDEOS : GUserDirectory = 7 ; pub const GUserDirectory_G_USER_N_DIRECTORIES : GUserDirectory = 8 ; pub type GUserDirectory = u32 ; extern "C" { pub fn g_get_user_special_dir ( directory : GUserDirectory ) -> * const gchar ; } pub type GDebugKey = _GDebugKey ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDebugKey { pub key : * const gchar , pub value : guint , } # [ test ] fn bindgen_test_layout__GDebugKey ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDebugKey > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GDebugKey ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDebugKey > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDebugKey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugKey > ( ) ) ) . key as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugKey ) , "::" , stringify ! ( key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugKey > ( ) ) ) . value as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugKey ) , "::" , stringify ! ( value ) ) ) ; } extern "C" { pub fn g_parse_debug_string ( string : * const gchar , keys : * const GDebugKey , nkeys : guint ) -> guint ; } extern "C" { pub fn g_snprintf ( string : * mut gchar , n : gulong , format : * const gchar , ... ) -> gint ; } extern "C" { pub fn g_vsnprintf ( string : * mut gchar , n : gulong , format : * const gchar , args : * mut __va_list_tag ) -> gint ; } extern "C" { pub fn g_nullify_pointer ( nullify_location : * mut gpointer ) ; } pub const GFormatSizeFlags_G_FORMAT_SIZE_DEFAULT : GFormatSizeFlags = 0 ; pub const GFormatSizeFlags_G_FORMAT_SIZE_LONG_FORMAT : GFormatSizeFlags = 1 ; pub const GFormatSizeFlags_G_FORMAT_SIZE_IEC_UNITS : GFormatSizeFlags = 2 ; pub const GFormatSizeFlags_G_FORMAT_SIZE_BITS : GFormatSizeFlags = 4 ; pub const GFormatSizeFlags_G_FORMAT_SIZE_ONLY_VALUE : GFormatSizeFlags = 8 ; pub const GFormatSizeFlags_G_FORMAT_SIZE_ONLY_UNIT : GFormatSizeFlags = 16 ; pub type GFormatSizeFlags = u32 ; extern "C" { pub fn g_format_size_full ( size : guint64 , flags : GFormatSizeFlags ) -> * mut gchar ; } extern "C" { pub fn g_format_size ( size : guint64 ) -> * mut gchar ; } extern "C" { pub fn g_format_size_for_display ( size : goffset ) -> * mut gchar ; } pub type GVoidFunc = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub fn g_atexit ( func : GVoidFunc ) ; } extern "C" { pub fn g_find_program_in_path ( program : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_bit_nth_lsf ( mask : gulong , nth_bit : gint ) -> gint ; } extern "C" { pub fn g_bit_nth_msf ( mask : gulong , nth_bit : gint ) -> gint ; } extern "C" { pub fn g_bit_storage ( number : gulong ) -> guint ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = f64 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct div_t { pub quot : :: std :: os :: raw :: c_int , pub rem : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_div_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < div_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( div_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < div_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( div_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < div_t > ( ) ) ) . quot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( div_t ) , "::" , stringify ! ( quot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < div_t > ( ) ) ) . rem as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( div_t ) , "::" , stringify ! ( rem ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldiv_t { pub quot : :: std :: os :: raw :: c_long , pub rem : :: std :: os :: raw :: c_long , } # [ test ] fn bindgen_test_layout_ldiv_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ldiv_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( ldiv_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ldiv_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( ldiv_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ldiv_t > ( ) ) ) . quot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ldiv_t ) , "::" , stringify ! ( quot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ldiv_t > ( ) ) ) . rem as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( ldiv_t ) , "::" , stringify ! ( rem ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lldiv_t { pub quot : :: std :: os :: raw :: c_longlong , pub rem : :: std :: os :: raw :: c_longlong , } # [ test ] fn bindgen_test_layout_lldiv_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lldiv_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( lldiv_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lldiv_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lldiv_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lldiv_t > ( ) ) ) . quot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lldiv_t ) , "::" , stringify ! ( quot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lldiv_t > ( ) ) ) . rem as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lldiv_t ) , "::" , stringify ! ( rem ) ) ) ; } extern "C" { pub fn __ctype_get_mb_cur_max ( ) -> usize ; } extern "C" { pub fn atof ( __nptr : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn atoi ( __nptr : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn atol ( __nptr : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn atoll ( __nptr : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtod ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn strtof ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn strtold ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn strtol ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn strtoul ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strtoq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtouq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn strtoll ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtoull ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn l64a ( __n : :: std :: os :: raw :: c_long ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn a64l ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type off_t = __off_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = __uint8_t ; pub type u_int16_t = __uint16_t ; pub type u_int32_t = __uint32_t ; pub type u_int64_t = __uint64_t ; pub type register_t = :: std :: os :: raw :: c_long ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __sigset_t { pub __val : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___sigset_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __sigset_t > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __sigset_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __sigset_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __sigset_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __sigset_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __sigset_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type sigset_t = __sigset_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct timeval { pub tv_sec : __time_t , pub tv_usec : __suseconds_t , } # [ test ] fn bindgen_test_layout_timeval ( ) { assert_eq ! ( :: std :: mem :: size_of :: < timeval > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( timeval ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < timeval > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( timeval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timeval > ( ) ) ) . tv_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( timeval ) , "::" , stringify ! ( tv_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timeval > ( ) ) ) . tv_usec as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( timeval ) , "::" , stringify ! ( tv_usec ) ) ) ; } pub type suseconds_t = __suseconds_t ; pub type __fd_mask = :: std :: os :: raw :: c_long ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct fd_set { pub __fds_bits : [ __fd_mask ; 16usize ] , } # [ test ] fn bindgen_test_layout_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fd_set > ( ) ) ) . __fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( fd_set ) , "::" , stringify ! ( __fds_bits ) ) ) ; } pub type fd_mask = __fd_mask ; extern "C" { pub fn select ( __nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pselect ( __nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t ) -> :: std :: os :: raw :: c_int ; } pub type blksize_t = __blksize_t ; pub type blkcnt_t = __blkcnt_t ; pub type fsblkcnt_t = __fsblkcnt_t ; pub type fsfilcnt_t = __fsfilcnt_t ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __atomic_wide_counter { pub __value64 : :: std :: os :: raw :: c_ulonglong , pub __value32 : __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___atomic_wide_counter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __atomic_wide_counter > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __atomic_wide_counter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __atomic_wide_counter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __atomic_wide_counter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __atomic_wide_counter > ( ) ) ) . __value64 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __atomic_wide_counter ) , "::" , stringify ! ( __value64 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __atomic_wide_counter > ( ) ) ) . __value32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __atomic_wide_counter ) , "::" , stringify ! ( __value32 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [ test ] fn bindgen_test_layout___pthread_internal_list ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_internal_list > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( __pthread_internal_list ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_internal_list > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_internal_list ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_internal_list > ( ) ) ) . __prev as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_internal_list ) , "::" , stringify ! ( __prev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_internal_list > ( ) ) ) . __next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_internal_list ) , "::" , stringify ! ( __next ) ) ) ; } pub type __pthread_list_t = __pthread_internal_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_internal_slist { pub __next : * mut __pthread_internal_slist , } # [ test ] fn bindgen_test_layout___pthread_internal_slist ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_internal_slist > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_internal_slist ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_internal_slist > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_internal_slist ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_internal_slist > ( ) ) ) . __next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_internal_slist ) , "::" , stringify ! ( __next ) ) ) ; } pub type __pthread_slist_t = __pthread_internal_slist ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_mutex_s { pub __lock : :: std :: os :: raw :: c_int , pub __count : :: std :: os :: raw :: c_uint , pub __owner : :: std :: os :: raw :: c_int , pub __nusers : :: std :: os :: raw :: c_uint , pub __kind : :: std :: os :: raw :: c_int , pub __spins : :: std :: os :: raw :: c_short , pub __elision : :: std :: os :: raw :: c_short , pub __list : __pthread_list_t , } # [ test ] fn bindgen_test_layout___pthread_mutex_s ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_mutex_s > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( __pthread_mutex_s ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_mutex_s > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_mutex_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __lock as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __owner as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __owner ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __nusers as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __nusers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __kind as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __kind ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __spins as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __spins ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __elision as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __elision ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __list as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __list ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_rwlock_arch_t { pub __readers : :: std :: os :: raw :: c_uint , pub __writers : :: std :: os :: raw :: c_uint , pub __wrphase_futex : :: std :: os :: raw :: c_uint , pub __writers_futex : :: std :: os :: raw :: c_uint , pub __pad3 : :: std :: os :: raw :: c_uint , pub __pad4 : :: std :: os :: raw :: c_uint , pub __cur_writer : :: std :: os :: raw :: c_int , pub __shared : :: std :: os :: raw :: c_int , pub __rwelision : :: std :: os :: raw :: c_schar , pub __pad1 : [ :: std :: os :: raw :: c_uchar ; 7usize ] , pub __pad2 : :: std :: os :: raw :: c_ulong , pub __flags : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_rwlock_arch_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_rwlock_arch_t > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( __pthread_rwlock_arch_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_rwlock_arch_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_rwlock_arch_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __readers as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __readers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __writers as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __writers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __wrphase_futex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __wrphase_futex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __writers_futex as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __writers_futex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad3 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad4 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __cur_writer as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __cur_writer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __shared as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __shared ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __rwelision as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __rwelision ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad1 as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad2 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __flags as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __flags ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct __pthread_cond_s { pub __wseq : __atomic_wide_counter , pub __g1_start : __atomic_wide_counter , pub __g_refs : [ :: std :: os :: raw :: c_uint ; 2usize ] , pub __g_size : [ :: std :: os :: raw :: c_uint ; 2usize ] , pub __g1_orig_size : :: std :: os :: raw :: c_uint , pub __wrefs : :: std :: os :: raw :: c_uint , pub __g_signals : [ :: std :: os :: raw :: c_uint ; 2usize ] , } # [ test ] fn bindgen_test_layout___pthread_cond_s ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __wseq as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __wseq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g1_start as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g1_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g_refs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g_refs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g_size as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g1_orig_size as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g1_orig_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __wrefs as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __wrefs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g_signals as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g_signals ) ) ) ; } pub type __tss_t = :: std :: os :: raw :: c_uint ; pub type __thrd_t = :: std :: os :: raw :: c_ulong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __once_flag { pub __data : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout___once_flag ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __once_flag > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( __once_flag ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __once_flag > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __once_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __once_flag > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __once_flag ) , "::" , stringify ! ( __data ) ) ) ; } pub type pthread_t = :: std :: os :: raw :: c_ulong ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_mutexattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 4usize ] , pub __align : :: std :: os :: raw :: c_int , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_pthread_mutexattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_mutexattr_t > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( pthread_mutexattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_mutexattr_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( pthread_mutexattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutexattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutexattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutexattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutexattr_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_condattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 4usize ] , pub __align : :: std :: os :: raw :: c_int , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_pthread_condattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_condattr_t > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( pthread_condattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_condattr_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( pthread_condattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_condattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_condattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_condattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_condattr_t ) , "::" , stringify ! ( __align ) ) ) ; } pub type pthread_key_t = :: std :: os :: raw :: c_uint ; pub type pthread_once_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_attr_t { pub __size : [ :: std :: os :: raw :: c_char ; 56usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 7usize ] , } # [ test ] fn bindgen_test_layout_pthread_attr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_attr_t > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( pthread_attr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_attr_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_attr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_attr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_attr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_attr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_attr_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [ :: std :: os :: raw :: c_char ; 40usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 5usize ] , } # [ test ] fn bindgen_test_layout_pthread_mutex_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_mutex_t > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( pthread_mutex_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_mutex_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_mutex_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutex_t > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutex_t ) , "::" , stringify ! ( __data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutex_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutex_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutex_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutex_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_cond_t { pub __data : __pthread_cond_s , pub __size : [ :: std :: os :: raw :: c_char ; 48usize ] , pub __align : :: std :: os :: raw :: c_longlong , _bindgen_union_align : [ u64 ; 6usize ] , } # [ test ] fn bindgen_test_layout_pthread_cond_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_cond_t > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( pthread_cond_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_cond_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_cond_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_cond_t > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_cond_t ) , "::" , stringify ! ( __data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_cond_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_cond_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_cond_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_cond_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_rwlock_t { pub __data : __pthread_rwlock_arch_t , pub __size : [ :: std :: os :: raw :: c_char ; 56usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 7usize ] , } # [ test ] fn bindgen_test_layout_pthread_rwlock_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_rwlock_t > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( pthread_rwlock_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_rwlock_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_rwlock_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlock_t > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlock_t ) , "::" , stringify ! ( __data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlock_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlock_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlock_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlock_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_rwlockattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 8usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_pthread_rwlockattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_rwlockattr_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( pthread_rwlockattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_rwlockattr_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_rwlockattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlockattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlockattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlockattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlockattr_t ) , "::" , stringify ! ( __align ) ) ) ; } pub type pthread_spinlock_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_barrier_t { pub __size : [ :: std :: os :: raw :: c_char ; 32usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 4usize ] , } # [ test ] fn bindgen_test_layout_pthread_barrier_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_barrier_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( pthread_barrier_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_barrier_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_barrier_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrier_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrier_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrier_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrier_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_barrierattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 4usize ] , pub __align : :: std :: os :: raw :: c_int , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_pthread_barrierattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_barrierattr_t > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( pthread_barrierattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_barrierattr_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( pthread_barrierattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrierattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrierattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrierattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrierattr_t ) , "::" , stringify ! ( __align ) ) ) ; } extern "C" { pub fn random ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srandom ( __seed : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn initstate ( __seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn setstate ( __statebuf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct random_data { pub fptr : * mut i32 , pub rptr : * mut i32 , pub state : * mut i32 , pub rand_type : :: std :: os :: raw :: c_int , pub rand_deg : :: std :: os :: raw :: c_int , pub rand_sep : :: std :: os :: raw :: c_int , pub end_ptr : * mut i32 , } # [ test ] fn bindgen_test_layout_random_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < random_data > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( random_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < random_data > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( random_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . fptr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( fptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rptr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . state as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rand_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rand_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rand_deg as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rand_deg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rand_sep as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rand_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . end_ptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( end_ptr ) ) ) ; } extern "C" { pub fn random_r ( __buf : * mut random_data , __result : * mut i32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srandom_r ( __seed : :: std :: os :: raw :: c_uint , __buf : * mut random_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initstate_r ( __seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize , __buf : * mut random_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setstate_r ( __statebuf : * mut :: std :: os :: raw :: c_char , __buf : * mut random_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rand ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand ( __seed : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rand_r ( __seed : * mut :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drand48 ( ) -> f64 ; } extern "C" { pub fn erand48 ( __xsubi : * mut :: std :: os :: raw :: c_ushort ) -> f64 ; } extern "C" { pub fn lrand48 ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn nrand48 ( __xsubi : * mut :: std :: os :: raw :: c_ushort ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn mrand48 ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn jrand48 ( __xsubi : * mut :: std :: os :: raw :: c_ushort ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srand48 ( __seedval : :: std :: os :: raw :: c_long ) ; } extern "C" { pub fn seed48 ( __seed16v : * mut :: std :: os :: raw :: c_ushort ) -> * mut :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn lcong48 ( __param : * mut :: std :: os :: raw :: c_ushort ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct drand48_data { pub __x : [ :: std :: os :: raw :: c_ushort ; 3usize ] , pub __old_x : [ :: std :: os :: raw :: c_ushort ; 3usize ] , pub __c : :: std :: os :: raw :: c_ushort , pub __init : :: std :: os :: raw :: c_ushort , pub __a : :: std :: os :: raw :: c_ulonglong , } # [ test ] fn bindgen_test_layout_drand48_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < drand48_data > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( drand48_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < drand48_data > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( drand48_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __old_x as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __old_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __c as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __c ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __init as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __a as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __a ) ) ) ; } extern "C" { pub fn drand48_r ( __buffer : * mut drand48_data , __result : * mut f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erand48_r ( __xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lrand48_r ( __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nrand48_r ( __xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mrand48_r ( __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn jrand48_r ( __xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand48_r ( __seedval : :: std :: os :: raw :: c_long , __buffer : * mut drand48_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn seed48_r ( __seed16v : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lcong48_r ( __param : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn arc4random ( ) -> __uint32_t ; } extern "C" { pub fn arc4random_buf ( __buf : * mut :: std :: os :: raw :: c_void , __size : usize ) ; } extern "C" { pub fn arc4random_uniform ( __upper_bound : __uint32_t ) -> __uint32_t ; } extern "C" { pub fn malloc ( __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc ( __nmemb : usize , __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free ( __ptr : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn reallocarray ( __ptr : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn alloca ( __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn valloc ( __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn posix_memalign ( __memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : usize , __size : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn aligned_alloc ( __alignment : usize , __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn abort ( ) ; } extern "C" { pub fn atexit ( __func : :: std :: option :: Option < unsafe extern "C" fn ( ) > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn at_quick_exit ( __func : :: std :: option :: Option < unsafe extern "C" fn ( ) > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn on_exit ( __func : :: std :: option :: Option < unsafe extern "C" fn ( __status : :: std :: os :: raw :: c_int , __arg : * mut :: std :: os :: raw :: c_void ) > , __arg : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn exit ( __status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn quick_exit ( __status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn _Exit ( __status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn getenv ( __name : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putenv ( __string : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setenv ( __name : * const :: std :: os :: raw :: c_char , __value : * const :: std :: os :: raw :: c_char , __replace : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unsetenv ( __name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearenv ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mktemp ( __template : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn mkstemp ( __template : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkstemps ( __template : * mut :: std :: os :: raw :: c_char , __suffixlen : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkdtemp ( __template : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn system ( __command : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn realpath ( __name : * const :: std :: os :: raw :: c_char , __resolved : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } pub type __compar_fn_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const :: std :: os :: raw :: c_void , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn bsearch ( __key : * const :: std :: os :: raw :: c_void , __base : * const :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn qsort ( __base : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t ) ; } extern "C" { pub fn abs ( __x : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn labs ( __x : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llabs ( __x : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn div ( __numer : :: std :: os :: raw :: c_int , __denom : :: std :: os :: raw :: c_int ) -> div_t ; } extern "C" { pub fn ldiv ( __numer : :: std :: os :: raw :: c_long , __denom : :: std :: os :: raw :: c_long ) -> ldiv_t ; } extern "C" { pub fn lldiv ( __numer : :: std :: os :: raw :: c_longlong , __denom : :: std :: os :: raw :: c_longlong ) -> lldiv_t ; } extern "C" { pub fn ecvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fcvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn gcvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qecvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qfcvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qgcvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ecvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fcvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qecvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qfcvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mblen ( __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbtowc ( __pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wctomb ( __s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbstowcs ( __pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> usize ; } extern "C" { pub fn wcstombs ( __s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : usize ) -> usize ; } extern "C" { pub fn rpmatch ( __response : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsubopt ( __optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * const :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getloadavg ( __loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_thread_error_quark ( ) -> GQuark ; } pub const GThreadError_G_THREAD_ERROR_AGAIN : GThreadError = 0 ; pub type GThreadError = u32 ; pub type GThreadFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer ) -> gpointer > ; pub type GThread = _GThread ; pub type GMutex = _GMutex ; pub type GRecMutex = _GRecMutex ; pub type GRWLock = _GRWLock ; pub type GCond = _GCond ; pub type GPrivate = _GPrivate ; pub type GOnce = _GOnce ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GMutex { pub p : gpointer , pub i : [ guint ; 2usize ] , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout__GMutex ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMutex > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GMutex ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMutex > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMutex > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMutex ) , "::" , stringify ! ( p ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMutex > ( ) ) ) . i as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMutex ) , "::" , stringify ! ( i ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRWLock { pub p : gpointer , pub i : [ guint ; 2usize ] , } # [ test ] fn bindgen_test_layout__GRWLock ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GRWLock > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GRWLock ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GRWLock > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GRWLock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRWLock > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GRWLock ) , "::" , stringify ! ( p ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRWLock > ( ) ) ) . i as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GRWLock ) , "::" , stringify ! ( i ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCond { pub p : gpointer , pub i : [ guint ; 2usize ] , } # [ test ] fn bindgen_test_layout__GCond ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GCond > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GCond ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GCond > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GCond ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCond > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GCond ) , "::" , stringify ! ( p ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCond > ( ) ) ) . i as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GCond ) , "::" , stringify ! ( i ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRecMutex { pub p : gpointer , pub i : [ guint ; 2usize ] , } # [ test ] fn bindgen_test_layout__GRecMutex ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GRecMutex > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GRecMutex ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GRecMutex > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GRecMutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRecMutex > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GRecMutex ) , "::" , stringify ! ( p ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRecMutex > ( ) ) ) . i as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GRecMutex ) , "::" , stringify ! ( i ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPrivate { pub p : gpointer , pub notify : GDestroyNotify , pub future : [ gpointer ; 2usize ] , } # [ test ] fn bindgen_test_layout__GPrivate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPrivate > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GPrivate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPrivate > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPrivate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPrivate > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPrivate ) , "::" , stringify ! ( p ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPrivate > ( ) ) ) . notify as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GPrivate ) , "::" , stringify ! ( notify ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPrivate > ( ) ) ) . future as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GPrivate ) , "::" , stringify ! ( future ) ) ) ; } pub const GOnceStatus_G_ONCE_STATUS_NOTCALLED : GOnceStatus = 0 ; pub const GOnceStatus_G_ONCE_STATUS_PROGRESS : GOnceStatus = 1 ; pub const GOnceStatus_G_ONCE_STATUS_READY : GOnceStatus = 2 ; pub type GOnceStatus = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOnce { pub status : GOnceStatus , pub retval : gpointer , } # [ test ] fn bindgen_test_layout__GOnce ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GOnce > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GOnce ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GOnce > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GOnce ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOnce > ( ) ) ) . status as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GOnce ) , "::" , stringify ! ( status ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOnce > ( ) ) ) . retval as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GOnce ) , "::" , stringify ! ( retval ) ) ) ; } extern "C" { pub fn g_thread_ref ( thread : * mut GThread ) -> * mut GThread ; } extern "C" { pub fn g_thread_unref ( thread : * mut GThread ) ; } extern "C" { pub fn g_thread_new ( name : * const gchar , func : GThreadFunc , data : gpointer ) -> * mut GThread ; } extern "C" { pub fn g_thread_try_new ( name : * const gchar , func : GThreadFunc , data : gpointer , error : * mut * mut GError ) -> * mut GThread ; } extern "C" { pub fn g_thread_self ( ) -> * mut GThread ; } extern "C" { pub fn g_thread_exit ( retval : gpointer ) ; } extern "C" { pub fn g_thread_join ( thread : * mut GThread ) -> gpointer ; } extern "C" { pub fn g_thread_yield ( ) ; } extern "C" { pub fn g_mutex_init ( mutex : * mut GMutex ) ; } extern "C" { pub fn g_mutex_clear ( mutex : * mut GMutex ) ; } extern "C" { pub fn g_mutex_lock ( mutex : * mut GMutex ) ; } extern "C" { pub fn g_mutex_trylock ( mutex : * mut GMutex ) -> gboolean ; } extern "C" { pub fn g_mutex_unlock ( mutex : * mut GMutex ) ; } extern "C" { pub fn g_rw_lock_init ( rw_lock : * mut GRWLock ) ; } extern "C" { pub fn g_rw_lock_clear ( rw_lock : * mut GRWLock ) ; } extern "C" { pub fn g_rw_lock_writer_lock ( rw_lock : * mut GRWLock ) ; } extern "C" { pub fn g_rw_lock_writer_trylock ( rw_lock : * mut GRWLock ) -> gboolean ; } extern "C" { pub fn g_rw_lock_writer_unlock ( rw_lock : * mut GRWLock ) ; } extern "C" { pub fn g_rw_lock_reader_lock ( rw_lock : * mut GRWLock ) ; } extern "C" { pub fn g_rw_lock_reader_trylock ( rw_lock : * mut GRWLock ) -> gboolean ; } extern "C" { pub fn g_rw_lock_reader_unlock ( rw_lock : * mut GRWLock ) ; } extern "C" { pub fn g_rec_mutex_init ( rec_mutex : * mut GRecMutex ) ; } extern "C" { pub fn g_rec_mutex_clear ( rec_mutex : * mut GRecMutex ) ; } extern "C" { pub fn g_rec_mutex_lock ( rec_mutex : * mut GRecMutex ) ; } extern "C" { pub fn g_rec_mutex_trylock ( rec_mutex : * mut GRecMutex ) -> gboolean ; } extern "C" { pub fn g_rec_mutex_unlock ( rec_mutex : * mut GRecMutex ) ; } extern "C" { pub fn g_cond_init ( cond : * mut GCond ) ; } extern "C" { pub fn g_cond_clear ( cond : * mut GCond ) ; } extern "C" { pub fn g_cond_wait ( cond : * mut GCond , mutex : * mut GMutex ) ; } extern "C" { pub fn g_cond_signal ( cond : * mut GCond ) ; } extern "C" { pub fn g_cond_broadcast ( cond : * mut GCond ) ; } extern "C" { pub fn g_cond_wait_until ( cond : * mut GCond , mutex : * mut GMutex , end_time : gint64 ) -> gboolean ; } extern "C" { pub fn g_private_get ( key : * mut GPrivate ) -> gpointer ; } extern "C" { pub fn g_private_set ( key : * mut GPrivate , value : gpointer ) ; } extern "C" { pub fn g_private_replace ( key : * mut GPrivate , value : gpointer ) ; } extern "C" { pub fn g_once_impl ( once : * mut GOnce , func : GThreadFunc , arg : gpointer ) -> gpointer ; } extern "C" { pub fn g_once_init_enter ( location : * mut :: std :: os :: raw :: c_void ) -> gboolean ; } extern "C" { pub fn g_once_init_leave ( location : * mut :: std :: os :: raw :: c_void , result : gsize ) ; } extern "C" { pub fn g_once_init_enter_pointer ( location : * mut :: std :: os :: raw :: c_void ) -> gboolean ; } extern "C" { pub fn g_once_init_leave_pointer ( location : * mut :: std :: os :: raw :: c_void , result : gpointer ) ; } extern "C" { pub fn g_get_num_processors ( ) -> guint ; } pub type GMutexLocker = :: std :: os :: raw :: c_void ; pub type GRecMutexLocker = :: std :: os :: raw :: c_void ; pub type GRWLockWriterLocker = :: std :: os :: raw :: c_void ; pub type GRWLockReaderLocker = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAsyncQueue { _unused : [ u8 ; 0 ] , } pub type GAsyncQueue = _GAsyncQueue ; extern "C" { pub fn g_async_queue_new ( ) -> * mut GAsyncQueue ; } extern "C" { pub fn g_async_queue_new_full ( item_free_func : GDestroyNotify ) -> * mut GAsyncQueue ; } extern "C" { pub fn g_async_queue_lock ( queue : * mut GAsyncQueue ) ; } extern "C" { pub fn g_async_queue_unlock ( queue : * mut GAsyncQueue ) ; } extern "C" { pub fn g_async_queue_ref ( queue : * mut GAsyncQueue ) -> * mut GAsyncQueue ; } extern "C" { pub fn g_async_queue_unref ( queue : * mut GAsyncQueue ) ; } extern "C" { pub fn g_async_queue_ref_unlocked ( queue : * mut GAsyncQueue ) ; } extern "C" { pub fn g_async_queue_unref_and_unlock ( queue : * mut GAsyncQueue ) ; } extern "C" { pub fn g_async_queue_push ( queue : * mut GAsyncQueue , data : gpointer ) ; } extern "C" { pub fn g_async_queue_push_unlocked ( queue : * mut GAsyncQueue , data : gpointer ) ; } extern "C" { pub fn g_async_queue_push_sorted ( queue : * mut GAsyncQueue , data : gpointer , func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_async_queue_push_sorted_unlocked ( queue : * mut GAsyncQueue , data : gpointer , func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_async_queue_pop ( queue : * mut GAsyncQueue ) -> gpointer ; } extern "C" { pub fn g_async_queue_pop_unlocked ( queue : * mut GAsyncQueue ) -> gpointer ; } extern "C" { pub fn g_async_queue_try_pop ( queue : * mut GAsyncQueue ) -> gpointer ; } extern "C" { pub fn g_async_queue_try_pop_unlocked ( queue : * mut GAsyncQueue ) -> gpointer ; } extern "C" { pub fn g_async_queue_timeout_pop ( queue : * mut GAsyncQueue , timeout : guint64 ) -> gpointer ; } extern "C" { pub fn g_async_queue_timeout_pop_unlocked ( queue : * mut GAsyncQueue , timeout : guint64 ) -> gpointer ; } extern "C" { pub fn g_async_queue_length ( queue : * mut GAsyncQueue ) -> gint ; } extern "C" { pub fn g_async_queue_length_unlocked ( queue : * mut GAsyncQueue ) -> gint ; } extern "C" { pub fn g_async_queue_sort ( queue : * mut GAsyncQueue , func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_async_queue_sort_unlocked ( queue : * mut GAsyncQueue , func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_async_queue_remove ( queue : * mut GAsyncQueue , item : gpointer ) -> gboolean ; } extern "C" { pub fn g_async_queue_remove_unlocked ( queue : * mut GAsyncQueue , item : gpointer ) -> gboolean ; } extern "C" { pub fn g_async_queue_push_front ( queue : * mut GAsyncQueue , item : gpointer ) ; } extern "C" { pub fn g_async_queue_push_front_unlocked ( queue : * mut GAsyncQueue , item : gpointer ) ; } extern "C" { pub fn g_async_queue_timed_pop ( queue : * mut GAsyncQueue , end_time : * mut GTimeVal ) -> gpointer ; } extern "C" { pub fn g_async_queue_timed_pop_unlocked ( queue : * mut GAsyncQueue , end_time : * mut GTimeVal ) -> gpointer ; } pub type sig_atomic_t = __sig_atomic_t ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union sigval { pub sival_int : :: std :: os :: raw :: c_int , pub sival_ptr : * mut :: std :: os :: raw :: c_void , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_sigval ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigval > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( sigval ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigval > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigval > ( ) ) ) . sival_int as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigval ) , "::" , stringify ! ( sival_int ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigval > ( ) ) ) . sival_ptr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigval ) , "::" , stringify ! ( sival_ptr ) ) ) ; } pub type __sigval_t = sigval ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct siginfo_t { pub si_signo : :: std :: os :: raw :: c_int , pub si_errno : :: std :: os :: raw :: c_int , pub si_code : :: std :: os :: raw :: c_int , pub __pad0 : :: std :: os :: raw :: c_int , pub _sifields : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) { pub _pad : [ :: std :: os :: raw :: c_int ; 28usize ] , pub _kill : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) , pub _timer : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) , pub _rt : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) , pub _sigchld : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) , pub _sigfault : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) , pub _sigpoll : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) , pub _sigsys : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) , _bindgen_union_align : [ u64 ; 14usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) { pub si_pid : __pid_t , pub si_uid : __uid_t , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) > ( ) ) ) . si_pid as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) ) , "::" , stringify ! ( si_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) > ( ) ) ) . si_uid as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) ) , "::" , stringify ! ( si_uid ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) { pub si_tid : :: std :: os :: raw :: c_int , pub si_overrun : :: std :: os :: raw :: c_int , pub si_sigval : __sigval_t , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) > ( ) ) ) . si_tid as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) ) , "::" , stringify ! ( si_tid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) > ( ) ) ) . si_overrun as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) ) , "::" , stringify ! ( si_overrun ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) > ( ) ) ) . si_sigval as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) ) , "::" , stringify ! ( si_sigval ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) { pub si_pid : __pid_t , pub si_uid : __uid_t , pub si_sigval : __sigval_t , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) > ( ) ) ) . si_pid as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) ) , "::" , stringify ! ( si_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) > ( ) ) ) . si_uid as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) ) , "::" , stringify ! ( si_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) > ( ) ) ) . si_sigval as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) ) , "::" , stringify ! ( si_sigval ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) { pub si_pid : __pid_t , pub si_uid : __uid_t , pub si_status : :: std :: os :: raw :: c_int , pub si_utime : __clock_t , pub si_stime : __clock_t , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) ) ) . si_pid as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) , "::" , stringify ! ( si_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) ) ) . si_uid as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) , "::" , stringify ! ( si_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) ) ) . si_status as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) , "::" , stringify ! ( si_status ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) ) ) . si_utime as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) , "::" , stringify ! ( si_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) ) ) . si_stime as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) , "::" , stringify ! ( si_stime ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) { pub si_addr : * mut :: std :: os :: raw :: c_void , pub si_addr_lsb : :: std :: os :: raw :: c_short , pub _bounds : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) { pub _addr_bnd : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) , pub _pkey : __uint32_t , _bindgen_union_align : [ u64 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) { pub _lower : * mut :: std :: os :: raw :: c_void , pub _upper : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) > ( ) ) ) . _lower as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) ) , "::" , stringify ! ( _lower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) > ( ) ) ) . _upper as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) ) , "::" , stringify ! ( _upper ) ) ) ; } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) > ( ) ) ) . _addr_bnd as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) ) , "::" , stringify ! ( _addr_bnd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) > ( ) ) ) . _pkey as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) ) , "::" , stringify ! ( _pkey ) ) ) ; } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) > ( ) ) ) . si_addr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) ) , "::" , stringify ! ( si_addr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) > ( ) ) ) . si_addr_lsb as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) ) , "::" , stringify ! ( si_addr_lsb ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) > ( ) ) ) . _bounds as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) ) , "::" , stringify ! ( _bounds ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) { pub si_band : :: std :: os :: raw :: c_long , pub si_fd : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) > ( ) ) ) . si_band as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) ) , "::" , stringify ! ( si_band ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) > ( ) ) ) . si_fd as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) ) , "::" , stringify ! ( si_fd ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) { pub _call_addr : * mut :: std :: os :: raw :: c_void , pub _syscall : :: std :: os :: raw :: c_int , pub _arch : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) > ( ) ) ) . _call_addr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) ) , "::" , stringify ! ( _call_addr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) > ( ) ) ) . _syscall as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) ) , "::" , stringify ! ( _syscall ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) > ( ) ) ) . _arch as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) ) , "::" , stringify ! ( _arch ) ) ) ; } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) , 112usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _pad as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _kill as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _kill ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _timer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _timer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _rt as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _rt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _sigchld as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _sigchld ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _sigfault as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _sigfault ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _sigpoll as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _sigpoll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _sigsys as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _sigsys ) ) ) ; } # [ test ] fn bindgen_test_layout_siginfo_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( siginfo_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t > ( ) ) ) . si_signo as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t ) , "::" , stringify ! ( si_signo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t > ( ) ) ) . si_errno as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t ) , "::" , stringify ! ( si_errno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t > ( ) ) ) . si_code as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t ) , "::" , stringify ! ( si_code ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t > ( ) ) ) . __pad0 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t ) , "::" , stringify ! ( __pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t > ( ) ) ) . _sifields as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t ) , "::" , stringify ! ( _sifields ) ) ) ; } pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_ASYNCNL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -60 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_DETHREAD : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -7 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_TKILL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -6 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_SIGIO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_ASYNCIO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_MESGQ : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_TIMER : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_QUEUE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_USER : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = 0 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_KERNEL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = 128 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = i32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_ILLOPC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_ILLOPN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_ILLADR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_ILLTRP : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_PRVOPC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_PRVREG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 6 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_COPROC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 7 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_BADSTK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 8 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_BADIADDR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 9 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_INTDIV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_INTOVF : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTDIV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTOVF : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTUND : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTRES : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 6 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTINV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 7 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTSUB : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 8 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTUNK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 14 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_CONDTRAP : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 15 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_MAPERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_ACCERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_BNDERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_PKUERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_ACCADI : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_ADIDERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 6 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_ADIPERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 7 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_MTEAERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 8 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_MTESERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 9 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_CPERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 10 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1)_BUS_ADRALN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1)_BUS_ADRERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1)_BUS_OBJERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1)_BUS_MCEERR_AR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1)_BUS_MCEERR_AO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1) = 5 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1)_CLD_EXITED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1)_CLD_KILLED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1)_CLD_DUMPED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1)_CLD_TRAPPED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1)_CLD_STOPPED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1)_CLD_CONTINUED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = 6 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1)_POLL_IN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1)_POLL_OUT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1)_POLL_MSG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1)_POLL_ERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1)_POLL_PRI : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1)_POLL_HUP : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = 6 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = u32 ; pub type sigval_t = __sigval_t ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct sigevent { pub sigev_value : __sigval_t , pub sigev_signo : :: std :: os :: raw :: c_int , pub sigev_notify : :: std :: os :: raw :: c_int , pub _sigev_un : sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) { pub _pad : [ :: std :: os :: raw :: c_int ; 12usize ] , pub _tid : __pid_t , pub _sigev_thread : sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) , _bindgen_union_align : [ u64 ; 6usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) { pub _function : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : __sigval_t ) > , pub _attribute : * mut pthread_attr_t , } # [ test ] fn bindgen_test_layout_sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) > ( ) ) ) . _function as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) ) , "::" , stringify ! ( _function ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) > ( ) ) ) . _attribute as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) ) , "::" , stringify ! ( _attribute ) ) ) ; } # [ test ] fn bindgen_test_layout_sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) > ( ) ) ) . _pad as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) > ( ) ) ) . _tid as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) ) , "::" , stringify ! ( _tid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) > ( ) ) ) . _sigev_thread as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) ) , "::" , stringify ! ( _sigev_thread ) ) ) ; } # [ test ] fn bindgen_test_layout_sigevent ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigevent > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( sigevent ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigevent > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigevent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent > ( ) ) ) . sigev_value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigevent ) , "::" , stringify ! ( sigev_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent > ( ) ) ) . sigev_signo as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( sigevent ) , "::" , stringify ! ( sigev_signo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent > ( ) ) ) . sigev_notify as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( sigevent ) , "::" , stringify ! ( sigev_notify ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent > ( ) ) ) . _sigev_un as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( sigevent ) , "::" , stringify ! ( _sigev_un ) ) ) ; } pub type sigevent_t = sigevent ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1)_SIGEV_SIGNAL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1) = 0 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1)_SIGEV_NONE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1)_SIGEV_THREAD : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1)_SIGEV_THREAD_ID : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1) = 4 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1) = u32 ; pub type __sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; extern "C" { pub fn __sysv_signal ( __sig : :: std :: os :: raw :: c_int , __handler : __sighandler_t ) -> __sighandler_t ; } extern "C" { pub fn signal ( __sig : :: std :: os :: raw :: c_int , __handler : __sighandler_t ) -> __sighandler_t ; } extern "C" { pub fn kill ( __pid : __pid_t , __sig : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killpg ( __pgrp : __pid_t , __sig : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn raise ( __sig : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ssignal ( __sig : :: std :: os :: raw :: c_int , __handler : __sighandler_t ) -> __sighandler_t ; } extern "C" { pub fn gsignal ( __sig : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn psignal ( __sig : :: std :: os :: raw :: c_int , __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn psiginfo ( __pinfo : * const siginfo_t , __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn sigblock ( __mask : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigsetmask ( __mask : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn siggetmask ( ) -> :: std :: os :: raw :: c_int ; } pub type sig_t = __sighandler_t ; extern "C" { pub fn sigemptyset ( __set : * mut sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigfillset ( __set : * mut sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigaddset ( __set : * mut sigset_t , __signo : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigdelset ( __set : * mut sigset_t , __signo : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigismember ( __set : * const sigset_t , __signo : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct sigaction { pub __sigaction_handler : sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) , pub sa_mask : __sigset_t , pub sa_flags : :: std :: os :: raw :: c_int , pub sa_restorer : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) { pub sa_handler : __sighandler_t , pub sa_sigaction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut siginfo_t , arg3 : * mut :: std :: os :: raw :: c_void ) > , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) > ( ) ) ) . sa_handler as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) ) , "::" , stringify ! ( sa_handler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) > ( ) ) ) . sa_sigaction as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) ) , "::" , stringify ! ( sa_sigaction ) ) ) ; } # [ test ] fn bindgen_test_layout_sigaction ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigaction > ( ) , 152usize , concat ! ( "Size of: " , stringify ! ( sigaction ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigaction > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigaction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigaction > ( ) ) ) . __sigaction_handler as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigaction ) , "::" , stringify ! ( __sigaction_handler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigaction > ( ) ) ) . sa_mask as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( sigaction ) , "::" , stringify ! ( sa_mask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigaction > ( ) ) ) . sa_flags as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( sigaction ) , "::" , stringify ! ( sa_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigaction > ( ) ) ) . sa_restorer as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( sigaction ) , "::" , stringify ! ( sa_restorer ) ) ) ; } extern "C" { pub fn sigprocmask ( __how : :: std :: os :: raw :: c_int , __set : * const sigset_t , __oset : * mut sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigsuspend ( __set : * const sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigaction ( __sig : :: std :: os :: raw :: c_int , __act : * const sigaction , __oact : * mut sigaction ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigpending ( __set : * mut sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigwait ( __set : * const sigset_t , __sig : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigwaitinfo ( __set : * const sigset_t , __info : * mut siginfo_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigtimedwait ( __set : * const sigset_t , __info : * mut siginfo_t , __timeout : * const timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigqueue ( __pid : __pid_t , __sig : :: std :: os :: raw :: c_int , __val : sigval ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _fpx_sw_bytes { pub magic1 : __uint32_t , pub extended_size : __uint32_t , pub xstate_bv : __uint64_t , pub xstate_size : __uint32_t , pub __glibc_reserved1 : [ __uint32_t ; 7usize ] , } # [ test ] fn bindgen_test_layout__fpx_sw_bytes ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _fpx_sw_bytes > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _fpx_sw_bytes ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _fpx_sw_bytes > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _fpx_sw_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpx_sw_bytes > ( ) ) ) . magic1 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _fpx_sw_bytes ) , "::" , stringify ! ( magic1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpx_sw_bytes > ( ) ) ) . extended_size as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _fpx_sw_bytes ) , "::" , stringify ! ( extended_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpx_sw_bytes > ( ) ) ) . xstate_bv as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _fpx_sw_bytes ) , "::" , stringify ! ( xstate_bv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpx_sw_bytes > ( ) ) ) . xstate_size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _fpx_sw_bytes ) , "::" , stringify ! ( xstate_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpx_sw_bytes > ( ) ) ) . __glibc_reserved1 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _fpx_sw_bytes ) , "::" , stringify ! ( __glibc_reserved1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _fpreg { pub significand : [ :: std :: os :: raw :: c_ushort ; 4usize ] , pub exponent : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout__fpreg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _fpreg > ( ) , 10usize , concat ! ( "Size of: " , stringify ! ( _fpreg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _fpreg > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _fpreg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpreg > ( ) ) ) . significand as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _fpreg ) , "::" , stringify ! ( significand ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpreg > ( ) ) ) . exponent as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _fpreg ) , "::" , stringify ! ( exponent ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _fpxreg { pub significand : [ :: std :: os :: raw :: c_ushort ; 4usize ] , pub exponent : :: std :: os :: raw :: c_ushort , pub __glibc_reserved1 : [ :: std :: os :: raw :: c_ushort ; 3usize ] , } # [ test ] fn bindgen_test_layout__fpxreg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _fpxreg > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _fpxreg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _fpxreg > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _fpxreg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpxreg > ( ) ) ) . significand as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _fpxreg ) , "::" , stringify ! ( significand ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpxreg > ( ) ) ) . exponent as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _fpxreg ) , "::" , stringify ! ( exponent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpxreg > ( ) ) ) . __glibc_reserved1 as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _fpxreg ) , "::" , stringify ! ( __glibc_reserved1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _xmmreg { pub element : [ __uint32_t ; 4usize ] , } # [ test ] fn bindgen_test_layout__xmmreg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _xmmreg > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _xmmreg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _xmmreg > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _xmmreg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xmmreg > ( ) ) ) . element as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _xmmreg ) , "::" , stringify ! ( element ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _fpstate { pub cwd : __uint16_t , pub swd : __uint16_t , pub ftw : __uint16_t , pub fop : __uint16_t , pub rip : __uint64_t , pub rdp : __uint64_t , pub mxcsr : __uint32_t , pub mxcr_mask : __uint32_t , pub _st : [ _fpxreg ; 8usize ] , pub _xmm : [ _xmmreg ; 16usize ] , pub __glibc_reserved1 : [ __uint32_t ; 24usize ] , } # [ test ] fn bindgen_test_layout__fpstate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _fpstate > ( ) , 512usize , concat ! ( "Size of: " , stringify ! ( _fpstate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _fpstate > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _fpstate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . cwd as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( cwd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . swd as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( swd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . ftw as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( ftw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . fop as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( fop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . rip as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( rip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . rdp as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( rdp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . mxcsr as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( mxcsr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . mxcr_mask as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( mxcr_mask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . _st as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( _st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . _xmm as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( _xmm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . __glibc_reserved1 as * const _ as usize } , 416usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( __glibc_reserved1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct sigcontext { pub r8 : __uint64_t , pub r9 : __uint64_t , pub r10 : __uint64_t , pub r11 : __uint64_t , pub r12 : __uint64_t , pub r13 : __uint64_t , pub r14 : __uint64_t , pub r15 : __uint64_t , pub rdi : __uint64_t , pub rsi : __uint64_t , pub rbp : __uint64_t , pub rbx : __uint64_t , pub rdx : __uint64_t , pub rax : __uint64_t , pub rcx : __uint64_t , pub rsp : __uint64_t , pub rip : __uint64_t , pub eflags : __uint64_t , pub cs : :: std :: os :: raw :: c_ushort , pub gs : :: std :: os :: raw :: c_ushort , pub fs : :: std :: os :: raw :: c_ushort , pub __pad0 : :: std :: os :: raw :: c_ushort , pub err : __uint64_t , pub trapno : __uint64_t , pub oldmask : __uint64_t , pub cr2 : __uint64_t , pub __bindgen_padding_0 : u64 , pub __reserved1 : [ __uint64_t ; 8usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) { pub fpstate : * mut _fpstate , pub __fpstate_word : __uint64_t , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) > ( ) ) ) . fpstate as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) ) , "::" , stringify ! ( fpstate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) > ( ) ) ) . __fpstate_word as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) ) , "::" , stringify ! ( __fpstate_word ) ) ) ; } # [ test ] fn bindgen_test_layout_sigcontext ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigcontext > ( ) , 256usize , concat ! ( "Size of: " , stringify ! ( sigcontext ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigcontext > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigcontext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r8 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r8 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r9 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r9 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r10 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r10 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r11 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r11 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r12 as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r12 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r13 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r13 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r14 as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r14 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r15 as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r15 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rdi as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rdi ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rsi as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rsi ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rbp as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rbp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rbx as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rbx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rdx as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rdx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rax as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rax ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rcx as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rcx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rsp as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rsp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rip as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . eflags as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( eflags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . cs as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( cs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . gs as * const _ as usize } , 146usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( gs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . fs as * const _ as usize } , 148usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( fs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . __pad0 as * const _ as usize } , 150usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( __pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . err as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( err ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . trapno as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( trapno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . oldmask as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( oldmask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . cr2 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( cr2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . __reserved1 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( __reserved1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _xsave_hdr { pub xstate_bv : __uint64_t , pub __glibc_reserved1 : [ __uint64_t ; 2usize ] , pub __glibc_reserved2 : [ __uint64_t ; 5usize ] , } # [ test ] fn bindgen_test_layout__xsave_hdr ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _xsave_hdr > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _xsave_hdr ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _xsave_hdr > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _xsave_hdr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xsave_hdr > ( ) ) ) . xstate_bv as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _xsave_hdr ) , "::" , stringify ! ( xstate_bv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xsave_hdr > ( ) ) ) . __glibc_reserved1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _xsave_hdr ) , "::" , stringify ! ( __glibc_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xsave_hdr > ( ) ) ) . __glibc_reserved2 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _xsave_hdr ) , "::" , stringify ! ( __glibc_reserved2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ymmh_state { pub ymmh_space : [ __uint32_t ; 64usize ] , } # [ test ] fn bindgen_test_layout__ymmh_state ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ymmh_state > ( ) , 256usize , concat ! ( "Size of: " , stringify ! ( _ymmh_state ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ymmh_state > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _ymmh_state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ymmh_state > ( ) ) ) . ymmh_space as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ymmh_state ) , "::" , stringify ! ( ymmh_space ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _xstate { pub fpstate : _fpstate , pub xstate_hdr : _xsave_hdr , pub ymmh : _ymmh_state , } # [ test ] fn bindgen_test_layout__xstate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _xstate > ( ) , 832usize , concat ! ( "Size of: " , stringify ! ( _xstate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _xstate > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _xstate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xstate > ( ) ) ) . fpstate as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _xstate ) , "::" , stringify ! ( fpstate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xstate > ( ) ) ) . xstate_hdr as * const _ as usize } , 512usize , concat ! ( "Offset of field: " , stringify ! ( _xstate ) , "::" , stringify ! ( xstate_hdr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xstate > ( ) ) ) . ymmh as * const _ as usize } , 576usize , concat ! ( "Offset of field: " , stringify ! ( _xstate ) , "::" , stringify ! ( ymmh ) ) ) ; } extern "C" { pub fn sigreturn ( __scp : * mut sigcontext ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stack_t { pub ss_sp : * mut :: std :: os :: raw :: c_void , pub ss_flags : :: std :: os :: raw :: c_int , pub ss_size : usize , } # [ test ] fn bindgen_test_layout_stack_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stack_t > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stack_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stack_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stack_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stack_t > ( ) ) ) . ss_sp as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stack_t ) , "::" , stringify ! ( ss_sp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stack_t > ( ) ) ) . ss_flags as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stack_t ) , "::" , stringify ! ( ss_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stack_t > ( ) ) ) . ss_size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stack_t ) , "::" , stringify ! ( ss_size ) ) ) ; } pub type greg_t = :: std :: os :: raw :: c_longlong ; pub type gregset_t = [ greg_t ; 23usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _libc_fpxreg { pub significand : [ :: std :: os :: raw :: c_ushort ; 4usize ] , pub exponent : :: std :: os :: raw :: c_ushort , pub __glibc_reserved1 : [ :: std :: os :: raw :: c_ushort ; 3usize ] , } # [ test ] fn bindgen_test_layout__libc_fpxreg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _libc_fpxreg > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _libc_fpxreg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _libc_fpxreg > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _libc_fpxreg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpxreg > ( ) ) ) . significand as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpxreg ) , "::" , stringify ! ( significand ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpxreg > ( ) ) ) . exponent as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpxreg ) , "::" , stringify ! ( exponent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpxreg > ( ) ) ) . __glibc_reserved1 as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpxreg ) , "::" , stringify ! ( __glibc_reserved1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _libc_xmmreg { pub element : [ __uint32_t ; 4usize ] , } # [ test ] fn bindgen_test_layout__libc_xmmreg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _libc_xmmreg > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _libc_xmmreg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _libc_xmmreg > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _libc_xmmreg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_xmmreg > ( ) ) ) . element as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _libc_xmmreg ) , "::" , stringify ! ( element ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _libc_fpstate { pub cwd : __uint16_t , pub swd : __uint16_t , pub ftw : __uint16_t , pub fop : __uint16_t , pub rip : __uint64_t , pub rdp : __uint64_t , pub mxcsr : __uint32_t , pub mxcr_mask : __uint32_t , pub _st : [ _libc_fpxreg ; 8usize ] , pub _xmm : [ _libc_xmmreg ; 16usize ] , pub __glibc_reserved1 : [ __uint32_t ; 24usize ] , } # [ test ] fn bindgen_test_layout__libc_fpstate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _libc_fpstate > ( ) , 512usize , concat ! ( "Size of: " , stringify ! ( _libc_fpstate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _libc_fpstate > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _libc_fpstate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . cwd as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( cwd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . swd as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( swd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . ftw as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( ftw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . fop as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( fop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . rip as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( rip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . rdp as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( rdp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . mxcsr as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( mxcsr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . mxcr_mask as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( mxcr_mask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . _st as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( _st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . _xmm as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( _xmm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . __glibc_reserved1 as * const _ as usize } , 416usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( __glibc_reserved1 ) ) ) ; } pub type fpregset_t = * mut _libc_fpstate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct mcontext_t { pub gregs : gregset_t , pub fpregs : fpregset_t , pub __reserved1 : [ :: std :: os :: raw :: c_ulonglong ; 8usize ] , } # [ test ] fn bindgen_test_layout_mcontext_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < mcontext_t > ( ) , 256usize , concat ! ( "Size of: " , stringify ! ( mcontext_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < mcontext_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( mcontext_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mcontext_t > ( ) ) ) . gregs as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( mcontext_t ) , "::" , stringify ! ( gregs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mcontext_t > ( ) ) ) . fpregs as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( mcontext_t ) , "::" , stringify ! ( fpregs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mcontext_t > ( ) ) ) . __reserved1 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( mcontext_t ) , "::" , stringify ! ( __reserved1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ucontext_t { pub uc_flags : :: std :: os :: raw :: c_ulong , pub uc_link : * mut ucontext_t , pub uc_stack : stack_t , pub uc_mcontext : mcontext_t , pub uc_sigmask : sigset_t , pub __fpregs_mem : _libc_fpstate , pub __ssp : [ :: std :: os :: raw :: c_ulonglong ; 4usize ] , } # [ test ] fn bindgen_test_layout_ucontext_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ucontext_t > ( ) , 968usize , concat ! ( "Size of: " , stringify ! ( ucontext_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ucontext_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( ucontext_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . uc_flags as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( uc_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . uc_link as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( uc_link ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . uc_stack as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( uc_stack ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . uc_mcontext as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( uc_mcontext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . uc_sigmask as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( uc_sigmask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . __fpregs_mem as * const _ as usize } , 424usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( __fpregs_mem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . __ssp as * const _ as usize } , 936usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( __ssp ) ) ) ; } extern "C" { pub fn siginterrupt ( __sig : :: std :: os :: raw :: c_int , __interrupt : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/ss_flags_h_27_1)_SS_ONSTACK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/ss_flags_h_27_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/ss_flags_h_27_1)_SS_DISABLE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/ss_flags_h_27_1) = 2 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/ss_flags_h_27_1) = u32 ; extern "C" { pub fn sigaltstack ( __ss : * const stack_t , __oss : * mut stack_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct sigstack { pub ss_sp : * mut :: std :: os :: raw :: c_void , pub ss_onstack : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_sigstack ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigstack > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( sigstack ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigstack > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigstack ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigstack > ( ) ) ) . ss_sp as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigstack ) , "::" , stringify ! ( ss_sp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigstack > ( ) ) ) . ss_onstack as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( sigstack ) , "::" , stringify ! ( ss_onstack ) ) ) ; } extern "C" { pub fn sigstack ( __ss : * mut sigstack , __oss : * mut sigstack ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_sigmask ( __how : :: std :: os :: raw :: c_int , __newmask : * const __sigset_t , __oldmask : * mut __sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_kill ( __threadid : pthread_t , __signo : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __libc_current_sigrtmin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __libc_current_sigrtmax ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_on_error_query ( prg_name : * const gchar ) ; } extern "C" { pub fn g_on_error_stack_trace ( prg_name : * const gchar ) ; } extern "C" { pub fn g_base64_encode_step ( in_ : * const guchar , len : gsize , break_lines : gboolean , out : * mut gchar , state : * mut gint , save : * mut gint ) -> gsize ; } extern "C" { pub fn g_base64_encode_close ( break_lines : gboolean , out : * mut gchar , state : * mut gint , save : * mut gint ) -> gsize ; } extern "C" { pub fn g_base64_encode ( data : * const guchar , len : gsize ) -> * mut gchar ; } extern "C" { pub fn g_base64_decode_step ( in_ : * const gchar , len : gsize , out : * mut guchar , state : * mut gint , save : * mut guint ) -> gsize ; } extern "C" { pub fn g_base64_decode ( text : * const gchar , out_len : * mut gsize ) -> * mut guchar ; } extern "C" { pub fn g_base64_decode_inplace ( text : * mut gchar , out_len : * mut gsize ) -> * mut guchar ; } extern "C" { pub fn g_bit_lock ( address : * mut gint , lock_bit : gint ) ; } extern "C" { pub fn g_bit_trylock ( address : * mut gint , lock_bit : gint ) -> gboolean ; } extern "C" { pub fn g_bit_unlock ( address : * mut gint , lock_bit : gint ) ; } extern "C" { pub fn g_pointer_bit_lock ( address : * mut :: std :: os :: raw :: c_void , lock_bit : gint ) ; } extern "C" { pub fn g_pointer_bit_lock_and_get ( address : gpointer , lock_bit : guint , out_ptr : * mut guintptr ) ; } extern "C" { pub fn g_pointer_bit_trylock ( address : * mut :: std :: os :: raw :: c_void , lock_bit : gint ) -> gboolean ; } extern "C" { pub fn g_pointer_bit_unlock ( address : * mut :: std :: os :: raw :: c_void , lock_bit : gint ) ; } extern "C" { pub fn g_pointer_bit_lock_mask_ptr ( ptr : gpointer , lock_bit : guint , set : gboolean , preserve_mask : guintptr , preserve_ptr : gpointer ) -> gpointer ; } extern "C" { pub fn g_pointer_bit_unlock_and_set ( address : * mut :: std :: os :: raw :: c_void , lock_bit : guint , ptr : gpointer , preserve_mask : guintptr ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTimeZone { _unused : [ u8 ; 0 ] , } pub type GTimeZone = _GTimeZone ; pub const GTimeType_G_TIME_TYPE_STANDARD : GTimeType = 0 ; pub const GTimeType_G_TIME_TYPE_DAYLIGHT : GTimeType = 1 ; pub const GTimeType_G_TIME_TYPE_UNIVERSAL : GTimeType = 2 ; pub type GTimeType = u32 ; extern "C" { pub fn g_time_zone_new ( identifier : * const gchar ) -> * mut GTimeZone ; } extern "C" { pub fn g_time_zone_new_identifier ( identifier : * const gchar ) -> * mut GTimeZone ; } extern "C" { pub fn g_time_zone_new_utc ( ) -> * mut GTimeZone ; } extern "C" { pub fn g_time_zone_new_local ( ) -> * mut GTimeZone ; } extern "C" { pub fn g_time_zone_new_offset ( seconds : gint32 ) -> * mut GTimeZone ; } extern "C" { pub fn g_time_zone_ref ( tz : * mut GTimeZone ) -> * mut GTimeZone ; } extern "C" { pub fn g_time_zone_unref ( tz : * mut GTimeZone ) ; } extern "C" { pub fn g_time_zone_find_interval ( tz : * mut GTimeZone , type_ : GTimeType , time_ : gint64 ) -> gint ; } extern "C" { pub fn g_time_zone_adjust_time ( tz : * mut GTimeZone , type_ : GTimeType , time_ : * mut gint64 ) -> gint ; } extern "C" { pub fn g_time_zone_get_abbreviation ( tz : * mut GTimeZone , interval : gint ) -> * const gchar ; } extern "C" { pub fn g_time_zone_get_offset ( tz : * mut GTimeZone , interval : gint ) -> gint32 ; } extern "C" { pub fn g_time_zone_is_dst ( tz : * mut GTimeZone , interval : gint ) -> gboolean ; } extern "C" { pub fn g_time_zone_get_identifier ( tz : * mut GTimeZone ) -> * const gchar ; } pub type GTimeSpan = gint64 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDateTime { _unused : [ u8 ; 0 ] , } pub type GDateTime = _GDateTime ; extern "C" { pub fn g_date_time_unref ( datetime : * mut GDateTime ) ; } extern "C" { pub fn g_date_time_ref ( datetime : * mut GDateTime ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_now ( tz : * mut GTimeZone ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_now_local ( ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_now_utc ( ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_unix_local ( t : gint64 ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_unix_utc ( t : gint64 ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_unix_local_usec ( usecs : gint64 ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_unix_utc_usec ( usecs : gint64 ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_timeval_local ( tv : * const GTimeVal ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_timeval_utc ( tv : * const GTimeVal ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_iso8601 ( text : * const gchar , default_tz : * mut GTimeZone ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new ( tz : * mut GTimeZone , year : gint , month : gint , day : gint , hour : gint , minute : gint , seconds : gdouble ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_local ( year : gint , month : gint , day : gint , hour : gint , minute : gint , seconds : gdouble ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_utc ( year : gint , month : gint , day : gint , hour : gint , minute : gint , seconds : gdouble ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add ( datetime : * mut GDateTime , timespan : GTimeSpan ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_years ( datetime : * mut GDateTime , years : gint ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_months ( datetime : * mut GDateTime , months : gint ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_weeks ( datetime : * mut GDateTime , weeks : gint ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_days ( datetime : * mut GDateTime , days : gint ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_hours ( datetime : * mut GDateTime , hours : gint ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_minutes ( datetime : * mut GDateTime , minutes : gint ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_seconds ( datetime : * mut GDateTime , seconds : gdouble ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_full ( datetime : * mut GDateTime , years : gint , months : gint , days : gint , hours : gint , minutes : gint , seconds : gdouble ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_compare ( dt1 : gconstpointer , dt2 : gconstpointer ) -> gint ; } extern "C" { pub fn g_date_time_difference ( end : * mut GDateTime , begin : * mut GDateTime ) -> GTimeSpan ; } extern "C" { pub fn g_date_time_hash ( datetime : gconstpointer ) -> guint ; } extern "C" { pub fn g_date_time_equal ( dt1 : gconstpointer , dt2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_date_time_get_ymd ( datetime : * mut GDateTime , year : * mut gint , month : * mut gint , day : * mut gint ) ; } extern "C" { pub fn g_date_time_get_year ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_month ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_day_of_month ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_week_numbering_year ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_week_of_year ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_day_of_week ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_day_of_year ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_hour ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_minute ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_second ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_microsecond ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_seconds ( datetime : * mut GDateTime ) -> gdouble ; } extern "C" { pub fn g_date_time_to_unix ( datetime : * mut GDateTime ) -> gint64 ; } extern "C" { pub fn g_date_time_to_unix_usec ( datetime : * mut GDateTime ) -> gint64 ; } extern "C" { pub fn g_date_time_to_timeval ( datetime : * mut GDateTime , tv : * mut GTimeVal ) -> gboolean ; } extern "C" { pub fn g_date_time_get_utc_offset ( datetime : * mut GDateTime ) -> GTimeSpan ; } extern "C" { pub fn g_date_time_get_timezone ( datetime : * mut GDateTime ) -> * mut GTimeZone ; } extern "C" { pub fn g_date_time_get_timezone_abbreviation ( datetime : * mut GDateTime ) -> * const gchar ; } extern "C" { pub fn g_date_time_is_daylight_savings ( datetime : * mut GDateTime ) -> gboolean ; } extern "C" { pub fn g_date_time_to_timezone ( datetime : * mut GDateTime , tz : * mut GTimeZone ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_to_local ( datetime : * mut GDateTime ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_to_utc ( datetime : * mut GDateTime ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_format ( datetime : * mut GDateTime , format : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_date_time_format_iso8601 ( datetime : * mut GDateTime ) -> * mut gchar ; } pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_INVALID_URI : GBookmarkFileError = 0 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_INVALID_VALUE : GBookmarkFileError = 1 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED : GBookmarkFileError = 2 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND : GBookmarkFileError = 3 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_READ : GBookmarkFileError = 4 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING : GBookmarkFileError = 5 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_WRITE : GBookmarkFileError = 6 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND : GBookmarkFileError = 7 ; pub type GBookmarkFileError = u32 ; extern "C" { pub fn g_bookmark_file_error_quark ( ) -> GQuark ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBookmarkFile { _unused : [ u8 ; 0 ] , } pub type GBookmarkFile = _GBookmarkFile ; extern "C" { pub fn g_bookmark_file_new ( ) -> * mut GBookmarkFile ; } extern "C" { pub fn g_bookmark_file_free ( bookmark : * mut GBookmarkFile ) ; } extern "C" { pub fn g_bookmark_file_copy ( bookmark : * mut GBookmarkFile ) -> * mut GBookmarkFile ; } extern "C" { pub fn g_bookmark_file_load_from_file ( bookmark : * mut GBookmarkFile , filename : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_load_from_data ( bookmark : * mut GBookmarkFile , data : * const gchar , length : gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_load_from_data_dirs ( bookmark : * mut GBookmarkFile , file : * const gchar , full_path : * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_to_data ( bookmark : * mut GBookmarkFile , length : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_bookmark_file_to_file ( bookmark : * mut GBookmarkFile , filename : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_set_title ( bookmark : * mut GBookmarkFile , uri : * const gchar , title : * const gchar ) ; } extern "C" { pub fn g_bookmark_file_get_title ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_bookmark_file_set_description ( bookmark : * mut GBookmarkFile , uri : * const gchar , description : * const gchar ) ; } extern "C" { pub fn g_bookmark_file_get_description ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_bookmark_file_set_mime_type ( bookmark : * mut GBookmarkFile , uri : * const gchar , mime_type : * const gchar ) ; } extern "C" { pub fn g_bookmark_file_get_mime_type ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_bookmark_file_set_groups ( bookmark : * mut GBookmarkFile , uri : * const gchar , groups : * mut * const gchar , length : gsize ) ; } extern "C" { pub fn g_bookmark_file_add_group ( bookmark : * mut GBookmarkFile , uri : * const gchar , group : * const gchar ) ; } extern "C" { pub fn g_bookmark_file_has_group ( bookmark : * mut GBookmarkFile , uri : * const gchar , group : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_get_groups ( bookmark : * mut GBookmarkFile , uri : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_bookmark_file_add_application ( bookmark : * mut GBookmarkFile , uri : * const gchar , name : * const gchar , exec : * const gchar ) ; } extern "C" { pub fn g_bookmark_file_has_application ( bookmark : * mut GBookmarkFile , uri : * const gchar , name : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_get_applications ( bookmark : * mut GBookmarkFile , uri : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_bookmark_file_set_app_info ( bookmark : * mut GBookmarkFile , uri : * const gchar , name : * const gchar , exec : * const gchar , count : gint , stamp : time_t , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_set_application_info ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , name : * const :: std :: os :: raw :: c_char , exec : * const :: std :: os :: raw :: c_char , count : :: std :: os :: raw :: c_int , stamp : * mut GDateTime , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_get_app_info ( bookmark : * mut GBookmarkFile , uri : * const gchar , name : * const gchar , exec : * mut * mut gchar , count : * mut guint , stamp : * mut time_t , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_get_application_info ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , name : * const :: std :: os :: raw :: c_char , exec : * mut * mut :: std :: os :: raw :: c_char , count : * mut :: std :: os :: raw :: c_uint , stamp : * mut * mut GDateTime , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_set_is_private ( bookmark : * mut GBookmarkFile , uri : * const gchar , is_private : gboolean ) ; } extern "C" { pub fn g_bookmark_file_get_is_private ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_set_icon ( bookmark : * mut GBookmarkFile , uri : * const gchar , href : * const gchar , mime_type : * const gchar ) ; } extern "C" { pub fn g_bookmark_file_get_icon ( bookmark : * mut GBookmarkFile , uri : * const gchar , href : * mut * mut gchar , mime_type : * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_set_added ( bookmark : * mut GBookmarkFile , uri : * const gchar , added : time_t ) ; } extern "C" { pub fn g_bookmark_file_set_added_date_time ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , added : * mut GDateTime ) ; } extern "C" { pub fn g_bookmark_file_get_added ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> time_t ; } extern "C" { pub fn g_bookmark_file_get_added_date_time ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GDateTime ; } extern "C" { pub fn g_bookmark_file_set_modified ( bookmark : * mut GBookmarkFile , uri : * const gchar , modified : time_t ) ; } extern "C" { pub fn g_bookmark_file_set_modified_date_time ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , modified : * mut GDateTime ) ; } extern "C" { pub fn g_bookmark_file_get_modified ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> time_t ; } extern "C" { pub fn g_bookmark_file_get_modified_date_time ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GDateTime ; } extern "C" { pub fn g_bookmark_file_set_visited ( bookmark : * mut GBookmarkFile , uri : * const gchar , visited : time_t ) ; } extern "C" { pub fn g_bookmark_file_set_visited_date_time ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , visited : * mut GDateTime ) ; } extern "C" { pub fn g_bookmark_file_get_visited ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> time_t ; } extern "C" { pub fn g_bookmark_file_get_visited_date_time ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GDateTime ; } extern "C" { pub fn g_bookmark_file_has_item ( bookmark : * mut GBookmarkFile , uri : * const gchar ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_get_size ( bookmark : * mut GBookmarkFile ) -> gint ; } extern "C" { pub fn g_bookmark_file_get_uris ( bookmark : * mut GBookmarkFile , length : * mut gsize ) -> * mut * mut gchar ; } extern "C" { pub fn g_bookmark_file_remove_group ( bookmark : * mut GBookmarkFile , uri : * const gchar , group : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_remove_application ( bookmark : * mut GBookmarkFile , uri : * const gchar , name : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_remove_item ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_move_item ( bookmark : * mut GBookmarkFile , old_uri : * const gchar , new_uri : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bytes_new ( data : gconstpointer , size : gsize ) -> * mut GBytes ; } extern "C" { pub fn g_bytes_new_take ( data : gpointer , size : gsize ) -> * mut GBytes ; } extern "C" { pub fn g_bytes_new_static ( data : gconstpointer , size : gsize ) -> * mut GBytes ; } extern "C" { pub fn g_bytes_new_with_free_func ( data : gconstpointer , size : gsize , free_func : GDestroyNotify , user_data : gpointer ) -> * mut GBytes ; } extern "C" { pub fn g_bytes_new_from_bytes ( bytes : * mut GBytes , offset : gsize , length : gsize ) -> * mut GBytes ; } extern "C" { pub fn g_bytes_get_data ( bytes : * mut GBytes , size : * mut gsize ) -> gconstpointer ; } extern "C" { pub fn g_bytes_get_size ( bytes : * mut GBytes ) -> gsize ; } extern "C" { pub fn g_bytes_ref ( bytes : * mut GBytes ) -> * mut GBytes ; } extern "C" { pub fn g_bytes_unref ( bytes : * mut GBytes ) ; } extern "C" { pub fn g_bytes_unref_to_data ( bytes : * mut GBytes , size : * mut gsize ) -> gpointer ; } extern "C" { pub fn g_bytes_unref_to_array ( bytes : * mut GBytes ) -> * mut GByteArray ; } extern "C" { pub fn g_bytes_hash ( bytes : gconstpointer ) -> guint ; } extern "C" { pub fn g_bytes_equal ( bytes1 : gconstpointer , bytes2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_bytes_compare ( bytes1 : gconstpointer , bytes2 : gconstpointer ) -> gint ; } extern "C" { pub fn g_bytes_get_region ( bytes : * mut GBytes , element_size : gsize , offset : gsize , n_elements : gsize ) -> gconstpointer ; } extern "C" { pub fn g_get_charset ( charset : * mut * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_get_codeset ( ) -> * mut gchar ; } extern "C" { pub fn g_get_console_charset ( charset : * mut * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_get_language_names ( ) -> * const * const gchar ; } extern "C" { pub fn g_get_language_names_with_category ( category_name : * const gchar ) -> * const * const gchar ; } extern "C" { pub fn g_get_locale_variants ( locale : * const gchar ) -> * mut * mut gchar ; } pub const GChecksumType_G_CHECKSUM_MD5 : GChecksumType = 0 ; pub const GChecksumType_G_CHECKSUM_SHA1 : GChecksumType = 1 ; pub const GChecksumType_G_CHECKSUM_SHA256 : GChecksumType = 2 ; pub const GChecksumType_G_CHECKSUM_SHA512 : GChecksumType = 3 ; pub const GChecksumType_G_CHECKSUM_SHA384 : GChecksumType = 4 ; pub type GChecksumType = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GChecksum { _unused : [ u8 ; 0 ] , } pub type GChecksum = _GChecksum ; extern "C" { pub fn g_checksum_type_get_length ( checksum_type : GChecksumType ) -> gssize ; } extern "C" { pub fn g_checksum_new ( checksum_type : GChecksumType ) -> * mut GChecksum ; } extern "C" { pub fn g_checksum_reset ( checksum : * mut GChecksum ) ; } extern "C" { pub fn g_checksum_copy ( checksum : * const GChecksum ) -> * mut GChecksum ; } extern "C" { pub fn g_checksum_free ( checksum : * mut GChecksum ) ; } extern "C" { pub fn g_checksum_update ( checksum : * mut GChecksum , data : * const guchar , length : gssize ) ; } extern "C" { pub fn g_checksum_get_string ( checksum : * mut GChecksum ) -> * const gchar ; } extern "C" { pub fn g_checksum_get_digest ( checksum : * mut GChecksum , buffer : * mut guint8 , digest_len : * mut gsize ) ; } extern "C" { pub fn g_compute_checksum_for_data ( checksum_type : GChecksumType , data : * const guchar , length : gsize ) -> * mut gchar ; } extern "C" { pub fn g_compute_checksum_for_string ( checksum_type : GChecksumType , str : * const gchar , length : gssize ) -> * mut gchar ; } extern "C" { pub fn g_compute_checksum_for_bytes ( checksum_type : GChecksumType , data : * mut GBytes ) -> * mut gchar ; } pub const GConvertError_G_CONVERT_ERROR_NO_CONVERSION : GConvertError = 0 ; pub const GConvertError_G_CONVERT_ERROR_ILLEGAL_SEQUENCE : GConvertError = 1 ; pub const GConvertError_G_CONVERT_ERROR_FAILED : GConvertError = 2 ; pub const GConvertError_G_CONVERT_ERROR_PARTIAL_INPUT : GConvertError = 3 ; pub const GConvertError_G_CONVERT_ERROR_BAD_URI : GConvertError = 4 ; pub const GConvertError_G_CONVERT_ERROR_NOT_ABSOLUTE_PATH : GConvertError = 5 ; pub const GConvertError_G_CONVERT_ERROR_NO_MEMORY : GConvertError = 6 ; pub const GConvertError_G_CONVERT_ERROR_EMBEDDED_NUL : GConvertError = 7 ; pub type GConvertError = u32 ; extern "C" { pub fn g_convert_error_quark ( ) -> GQuark ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIConv { _unused : [ u8 ; 0 ] , } pub type GIConv = * mut _GIConv ; extern "C" { pub fn g_iconv_open ( to_codeset : * const gchar , from_codeset : * const gchar ) -> GIConv ; } extern "C" { pub fn g_iconv ( converter : GIConv , inbuf : * mut * mut gchar , inbytes_left : * mut gsize , outbuf : * mut * mut gchar , outbytes_left : * mut gsize ) -> gsize ; } extern "C" { pub fn g_iconv_close ( converter : GIConv ) -> gint ; } extern "C" { pub fn g_convert ( str : * const gchar , len : gssize , to_codeset : * const gchar , from_codeset : * const gchar , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_convert_with_iconv ( str : * const gchar , len : gssize , converter : GIConv , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_convert_with_fallback ( str : * const gchar , len : gssize , to_codeset : * const gchar , from_codeset : * const gchar , fallback : * const gchar , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_locale_to_utf8 ( opsysstring : * const gchar , len : gssize , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_locale_from_utf8 ( utf8string : * const gchar , len : gssize , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_filename_to_utf8 ( opsysstring : * const gchar , len : gssize , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_filename_from_utf8 ( utf8string : * const gchar , len : gssize , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_filename_from_uri ( uri : * const gchar , hostname : * mut * mut gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_filename_to_uri ( filename : * const gchar , hostname : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_filename_display_name ( filename : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_get_filename_charsets ( filename_charsets : * mut * mut * const gchar ) -> gboolean ; } extern "C" { pub fn g_filename_display_basename ( filename : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_uri_list_extract_uris ( uri_list : * const gchar ) -> * mut * mut gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GData { _unused : [ u8 ; 0 ] , } pub type GData = _GData ; pub type GDataForeachFunc = :: std :: option :: Option < unsafe extern "C" fn ( key_id : GQuark , data : gpointer , user_data : gpointer ) > ; extern "C" { pub fn g_datalist_init ( datalist : * mut * mut GData ) ; } extern "C" { pub fn g_datalist_clear ( datalist : * mut * mut GData ) ; } extern "C" { pub fn g_datalist_id_get_data ( datalist : * mut * mut GData , key_id : GQuark ) -> gpointer ; } extern "C" { pub fn g_datalist_id_set_data_full ( datalist : * mut * mut GData , key_id : GQuark , data : gpointer , destroy_func : GDestroyNotify ) ; } extern "C" { pub fn g_datalist_id_remove_multiple ( datalist : * mut * mut GData , keys : * mut GQuark , n_keys : gsize ) ; } pub type GDuplicateFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer , user_data : gpointer ) -> gpointer > ; extern "C" { pub fn g_datalist_id_dup_data ( datalist : * mut * mut GData , key_id : GQuark , dup_func : GDuplicateFunc , user_data : gpointer ) -> gpointer ; } extern "C" { pub fn g_datalist_id_replace_data ( datalist : * mut * mut GData , key_id : GQuark , oldval : gpointer , newval : gpointer , destroy : GDestroyNotify , old_destroy : * mut GDestroyNotify ) -> gboolean ; } extern "C" { pub fn g_datalist_id_remove_no_notify ( datalist : * mut * mut GData , key_id : GQuark ) -> gpointer ; } extern "C" { pub fn g_datalist_foreach ( datalist : * mut * mut GData , func : GDataForeachFunc , user_data : gpointer ) ; } extern "C" { pub fn g_datalist_set_flags ( datalist : * mut * mut GData , flags : guint ) ; } extern "C" { pub fn g_datalist_unset_flags ( datalist : * mut * mut GData , flags : guint ) ; } extern "C" { pub fn g_datalist_get_flags ( datalist : * mut * mut GData ) -> guint ; } extern "C" { pub fn g_dataset_destroy ( dataset_location : gconstpointer ) ; } extern "C" { pub fn g_dataset_id_get_data ( dataset_location : gconstpointer , key_id : GQuark ) -> gpointer ; } extern "C" { pub fn g_datalist_get_data ( datalist : * mut * mut GData , key : * const gchar ) -> gpointer ; } extern "C" { pub fn g_dataset_id_set_data_full ( dataset_location : gconstpointer , key_id : GQuark , data : gpointer , destroy_func : GDestroyNotify ) ; } extern "C" { pub fn g_dataset_id_remove_no_notify ( dataset_location : gconstpointer , key_id : GQuark ) -> gpointer ; } extern "C" { pub fn g_dataset_foreach ( dataset_location : gconstpointer , func : GDataForeachFunc , user_data : gpointer ) ; } pub type GTime = gint32 ; pub type GDateYear = guint16 ; pub type GDateDay = guint8 ; pub type GDate = _GDate ; pub const GDateDMY_G_DATE_DAY : GDateDMY = 0 ; pub const GDateDMY_G_DATE_MONTH : GDateDMY = 1 ; pub const GDateDMY_G_DATE_YEAR : GDateDMY = 2 ; pub type GDateDMY = u32 ; pub const GDateWeekday_G_DATE_BAD_WEEKDAY : GDateWeekday = 0 ; pub const GDateWeekday_G_DATE_MONDAY : GDateWeekday = 1 ; pub const GDateWeekday_G_DATE_TUESDAY : GDateWeekday = 2 ; pub const GDateWeekday_G_DATE_WEDNESDAY : GDateWeekday = 3 ; pub const GDateWeekday_G_DATE_THURSDAY : GDateWeekday = 4 ; pub const GDateWeekday_G_DATE_FRIDAY : GDateWeekday = 5 ; pub const GDateWeekday_G_DATE_SATURDAY : GDateWeekday = 6 ; pub const GDateWeekday_G_DATE_SUNDAY : GDateWeekday = 7 ; pub type GDateWeekday = u32 ; pub const GDateMonth_G_DATE_BAD_MONTH : GDateMonth = 0 ; pub const GDateMonth_G_DATE_JANUARY : GDateMonth = 1 ; pub const GDateMonth_G_DATE_FEBRUARY : GDateMonth = 2 ; pub const GDateMonth_G_DATE_MARCH : GDateMonth = 3 ; pub const GDateMonth_G_DATE_APRIL : GDateMonth = 4 ; pub const GDateMonth_G_DATE_MAY : GDateMonth = 5 ; pub const GDateMonth_G_DATE_JUNE : GDateMonth = 6 ; pub const GDateMonth_G_DATE_JULY : GDateMonth = 7 ; pub const GDateMonth_G_DATE_AUGUST : GDateMonth = 8 ; pub const GDateMonth_G_DATE_SEPTEMBER : GDateMonth = 9 ; pub const GDateMonth_G_DATE_OCTOBER : GDateMonth = 10 ; pub const GDateMonth_G_DATE_NOVEMBER : GDateMonth = 11 ; pub const GDateMonth_G_DATE_DECEMBER : GDateMonth = 12 ; pub type GDateMonth = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDate { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 8usize ] , u32 > , pub __bindgen_align : [ u32 ; 0usize ] , } # [ test ] fn bindgen_test_layout__GDate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDate > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GDate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDate > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GDate ) ) ) ; } impl _GDate { # [ inline ] pub fn julian_days ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 32u8 ) as u32 ) } } # [ inline ] pub fn set_julian_days ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 32u8 , val as u64 ) } } # [ inline ] pub fn julian ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 32usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_julian ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 32usize , 1u8 , val as u64 ) } } # [ inline ] pub fn dmy ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 33usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_dmy ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 33usize , 1u8 , val as u64 ) } } # [ inline ] pub fn day ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 34usize , 6u8 ) as u32 ) } } # [ inline ] pub fn set_day ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 34usize , 6u8 , val as u64 ) } } # [ inline ] pub fn month ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 40usize , 4u8 ) as u32 ) } } # [ inline ] pub fn set_month ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 40usize , 4u8 , val as u64 ) } } # [ inline ] pub fn year ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 44usize , 16u8 ) as u32 ) } } # [ inline ] pub fn set_year ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 44usize , 16u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( julian_days : guint , julian : guint , dmy : guint , day : guint , month : guint , year : guint ) -> __BindgenBitfieldUnit < [ u8 ; 8usize ] , u32 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 8usize ] , u32 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 32u8 , { let julian_days : u32 = unsafe { :: std :: mem :: transmute ( julian_days ) } ; julian_days as u64 } ) ; __bindgen_bitfield_unit . set ( 32usize , 1u8 , { let julian : u32 = unsafe { :: std :: mem :: transmute ( julian ) } ; julian as u64 } ) ; __bindgen_bitfield_unit . set ( 33usize , 1u8 , { let dmy : u32 = unsafe { :: std :: mem :: transmute ( dmy ) } ; dmy as u64 } ) ; __bindgen_bitfield_unit . set ( 34usize , 6u8 , { let day : u32 = unsafe { :: std :: mem :: transmute ( day ) } ; day as u64 } ) ; __bindgen_bitfield_unit . set ( 40usize , 4u8 , { let month : u32 = unsafe { :: std :: mem :: transmute ( month ) } ; month as u64 } ) ; __bindgen_bitfield_unit . set ( 44usize , 16u8 , { let year : u32 = unsafe { :: std :: mem :: transmute ( year ) } ; year as u64 } ) ; __bindgen_bitfield_unit } } extern "C" { pub fn g_date_new ( ) -> * mut GDate ; } extern "C" { pub fn g_date_new_dmy ( day : GDateDay , month : GDateMonth , year : GDateYear ) -> * mut GDate ; } extern "C" { pub fn g_date_new_julian ( julian_day : guint32 ) -> * mut GDate ; } extern "C" { pub fn g_date_free ( date : * mut GDate ) ; } extern "C" { pub fn g_date_copy ( date : * const GDate ) -> * mut GDate ; } extern "C" { pub fn g_date_valid ( date : * const GDate ) -> gboolean ; } extern "C" { pub fn g_date_valid_day ( day : GDateDay ) -> gboolean ; } extern "C" { pub fn g_date_valid_month ( month : GDateMonth ) -> gboolean ; } extern "C" { pub fn g_date_valid_year ( year : GDateYear ) -> gboolean ; } extern "C" { pub fn g_date_valid_weekday ( weekday : GDateWeekday ) -> gboolean ; } extern "C" { pub fn g_date_valid_julian ( julian_date : guint32 ) -> gboolean ; } extern "C" { pub fn g_date_valid_dmy ( day : GDateDay , month : GDateMonth , year : GDateYear ) -> gboolean ; } extern "C" { pub fn g_date_get_weekday ( date : * const GDate ) -> GDateWeekday ; } extern "C" { pub fn g_date_get_month ( date : * const GDate ) -> GDateMonth ; } extern "C" { pub fn g_date_get_year ( date : * const GDate ) -> GDateYear ; } extern "C" { pub fn g_date_get_day ( date : * const GDate ) -> GDateDay ; } extern "C" { pub fn g_date_get_julian ( date : * const GDate ) -> guint32 ; } extern "C" { pub fn g_date_get_day_of_year ( date : * const GDate ) -> guint ; } extern "C" { pub fn g_date_get_monday_week_of_year ( date : * const GDate ) -> guint ; } extern "C" { pub fn g_date_get_sunday_week_of_year ( date : * const GDate ) -> guint ; } extern "C" { pub fn g_date_get_iso8601_week_of_year ( date : * const GDate ) -> guint ; } extern "C" { pub fn g_date_clear ( date : * mut GDate , n_dates : guint ) ; } extern "C" { pub fn g_date_set_parse ( date : * mut GDate , str : * const gchar ) ; } extern "C" { pub fn g_date_set_time_t ( date : * mut GDate , timet : time_t ) ; } extern "C" { pub fn g_date_set_time_val ( date : * mut GDate , timeval : * mut GTimeVal ) ; } extern "C" { pub fn g_date_set_time ( date : * mut GDate , time_ : GTime ) ; } extern "C" { pub fn g_date_set_month ( date : * mut GDate , month : GDateMonth ) ; } extern "C" { pub fn g_date_set_day ( date : * mut GDate , day : GDateDay ) ; } extern "C" { pub fn g_date_set_year ( date : * mut GDate , year : GDateYear ) ; } extern "C" { pub fn g_date_set_dmy ( date : * mut GDate , day : GDateDay , month : GDateMonth , y : GDateYear ) ; } extern "C" { pub fn g_date_set_julian ( date : * mut GDate , julian_date : guint32 ) ; } extern "C" { pub fn g_date_is_first_of_month ( date : * const GDate ) -> gboolean ; } extern "C" { pub fn g_date_is_last_of_month ( date : * const GDate ) -> gboolean ; } extern "C" { pub fn g_date_add_days ( date : * mut GDate , n_days : guint ) ; } extern "C" { pub fn g_date_subtract_days ( date : * mut GDate , n_days : guint ) ; } extern "C" { pub fn g_date_add_months ( date : * mut GDate , n_months : guint ) ; } extern "C" { pub fn g_date_subtract_months ( date : * mut GDate , n_months : guint ) ; } extern "C" { pub fn g_date_add_years ( date : * mut GDate , n_years : guint ) ; } extern "C" { pub fn g_date_subtract_years ( date : * mut GDate , n_years : guint ) ; } extern "C" { pub fn g_date_is_leap_year ( year : GDateYear ) -> gboolean ; } extern "C" { pub fn g_date_get_days_in_month ( month : GDateMonth , year : GDateYear ) -> guint8 ; } extern "C" { pub fn g_date_get_monday_weeks_in_year ( year : GDateYear ) -> guint8 ; } extern "C" { pub fn g_date_get_sunday_weeks_in_year ( year : GDateYear ) -> guint8 ; } extern "C" { pub fn g_date_days_between ( date1 : * const GDate , date2 : * const GDate ) -> gint ; } extern "C" { pub fn g_date_compare ( lhs : * const GDate , rhs : * const GDate ) -> gint ; } extern "C" { pub fn g_date_to_struct_tm ( date : * const GDate , tm : * mut tm ) ; } extern "C" { pub fn g_date_clamp ( date : * mut GDate , min_date : * const GDate , max_date : * const GDate ) ; } extern "C" { pub fn g_date_order ( date1 : * mut GDate , date2 : * mut GDate ) ; } extern "C" { pub fn g_date_strftime ( s : * mut gchar , slen : gsize , format : * const gchar , date : * const GDate ) -> gsize ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct dirent { pub d_ino : __ino_t , pub d_off : __off_t , pub d_reclen : :: std :: os :: raw :: c_ushort , pub d_type : :: std :: os :: raw :: c_uchar , pub d_name : [ :: std :: os :: raw :: c_char ; 256usize ] , } # [ test ] fn bindgen_test_layout_dirent ( ) { assert_eq ! ( :: std :: mem :: size_of :: < dirent > ( ) , 280usize , concat ! ( "Size of: " , stringify ! ( dirent ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < dirent > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( dirent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < dirent > ( ) ) ) . d_ino as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( dirent ) , "::" , stringify ! ( d_ino ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < dirent > ( ) ) ) . d_off as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( dirent ) , "::" , stringify ! ( d_off ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < dirent > ( ) ) ) . d_reclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( dirent ) , "::" , stringify ! ( d_reclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < dirent > ( ) ) ) . d_type as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( dirent ) , "::" , stringify ! ( d_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < dirent > ( ) ) ) . d_name as * const _ as usize } , 19usize , concat ! ( "Offset of field: " , stringify ! ( dirent ) , "::" , stringify ! ( d_name ) ) ) ; } pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_UNKNOWN : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 0 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_FIFO : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 1 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_CHR : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 2 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_DIR : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 4 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_BLK : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 6 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_REG : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 8 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_LNK : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 10 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_SOCK : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 12 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_WHT : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 14 ; pub type enum_(unnamed_at_/usr/include/dirent_h_97_1) = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __dirstream { _unused : [ u8 ; 0 ] , } pub type DIR = __dirstream ; extern "C" { pub fn closedir ( __dirp : * mut DIR ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn opendir ( __name : * const :: std :: os :: raw :: c_char ) -> * mut DIR ; } extern "C" { pub fn fdopendir ( __fd : :: std :: os :: raw :: c_int ) -> * mut DIR ; } extern "C" { pub fn readdir ( __dirp : * mut DIR ) -> * mut dirent ; } extern "C" { pub fn readdir_r ( __dirp : * mut DIR , __entry : * mut dirent , __result : * mut * mut dirent ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rewinddir ( __dirp : * mut DIR ) ; } extern "C" { pub fn seekdir ( __dirp : * mut DIR , __pos : :: std :: os :: raw :: c_long ) ; } extern "C" { pub fn telldir ( __dirp : * mut DIR ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn dirfd ( __dirp : * mut DIR ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scandir ( __dir : * const :: std :: os :: raw :: c_char , __namelist : * mut * mut * mut dirent , __selector : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const dirent ) -> :: std :: os :: raw :: c_int > , __cmp : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut * const dirent , arg2 : * mut * const dirent ) -> :: std :: os :: raw :: c_int > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn alphasort ( __e1 : * mut * const dirent , __e2 : * mut * const dirent ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getdirentries ( __fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize , __basep : * mut __off_t ) -> __ssize_t ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDir { _unused : [ u8 ; 0 ] , } pub type GDir = _GDir ; extern "C" { pub fn g_dir_open ( path : * const gchar , flags : guint , error : * mut * mut GError ) -> * mut GDir ; } extern "C" { pub fn g_dir_read_name ( dir : * mut GDir ) -> * const gchar ; } extern "C" { pub fn g_dir_rewind ( dir : * mut GDir ) ; } extern "C" { pub fn g_dir_close ( dir : * mut GDir ) ; } extern "C" { pub fn g_dir_ref ( dir : * mut GDir ) -> * mut GDir ; } extern "C" { pub fn g_dir_unref ( dir : * mut GDir ) ; } extern "C" { pub fn g_getenv ( variable : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_setenv ( variable : * const gchar , value : * const gchar , overwrite : gboolean ) -> gboolean ; } extern "C" { pub fn g_unsetenv ( variable : * const gchar ) ; } extern "C" { pub fn g_listenv ( ) -> * mut * mut gchar ; } extern "C" { pub fn g_get_environ ( ) -> * mut * mut gchar ; } extern "C" { pub fn g_environ_getenv ( envp : * mut * mut gchar , variable : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_environ_setenv ( envp : * mut * mut gchar , variable : * const gchar , value : * const gchar , overwrite : gboolean ) -> * mut * mut gchar ; } extern "C" { pub fn g_environ_unsetenv ( envp : * mut * mut gchar , variable : * const gchar ) -> * mut * mut gchar ; } pub const GFileError_G_FILE_ERROR_EXIST : GFileError = 0 ; pub const GFileError_G_FILE_ERROR_ISDIR : GFileError = 1 ; pub const GFileError_G_FILE_ERROR_ACCES : GFileError = 2 ; pub const GFileError_G_FILE_ERROR_NAMETOOLONG : GFileError = 3 ; pub const GFileError_G_FILE_ERROR_NOENT : GFileError = 4 ; pub const GFileError_G_FILE_ERROR_NOTDIR : GFileError = 5 ; pub const GFileError_G_FILE_ERROR_NXIO : GFileError = 6 ; pub const GFileError_G_FILE_ERROR_NODEV : GFileError = 7 ; pub const GFileError_G_FILE_ERROR_ROFS : GFileError = 8 ; pub const GFileError_G_FILE_ERROR_TXTBSY : GFileError = 9 ; pub const GFileError_G_FILE_ERROR_FAULT : GFileError = 10 ; pub const GFileError_G_FILE_ERROR_LOOP : GFileError = 11 ; pub const GFileError_G_FILE_ERROR_NOSPC : GFileError = 12 ; pub const GFileError_G_FILE_ERROR_NOMEM : GFileError = 13 ; pub const GFileError_G_FILE_ERROR_MFILE : GFileError = 14 ; pub const GFileError_G_FILE_ERROR_NFILE : GFileError = 15 ; pub const GFileError_G_FILE_ERROR_BADF : GFileError = 16 ; pub const GFileError_G_FILE_ERROR_INVAL : GFileError = 17 ; pub const GFileError_G_FILE_ERROR_PIPE : GFileError = 18 ; pub const GFileError_G_FILE_ERROR_AGAIN : GFileError = 19 ; pub const GFileError_G_FILE_ERROR_INTR : GFileError = 20 ; pub const GFileError_G_FILE_ERROR_IO : GFileError = 21 ; pub const GFileError_G_FILE_ERROR_PERM : GFileError = 22 ; pub const GFileError_G_FILE_ERROR_NOSYS : GFileError = 23 ; pub const GFileError_G_FILE_ERROR_FAILED : GFileError = 24 ; pub type GFileError = u32 ; pub const GFileTest_G_FILE_TEST_IS_REGULAR : GFileTest = 1 ; pub const GFileTest_G_FILE_TEST_IS_SYMLINK : GFileTest = 2 ; pub const GFileTest_G_FILE_TEST_IS_DIR : GFileTest = 4 ; pub const GFileTest_G_FILE_TEST_IS_EXECUTABLE : GFileTest = 8 ; pub const GFileTest_G_FILE_TEST_EXISTS : GFileTest = 16 ; pub type GFileTest = u32 ; pub const GFileSetContentsFlags_G_FILE_SET_CONTENTS_NONE : GFileSetContentsFlags = 0 ; pub const GFileSetContentsFlags_G_FILE_SET_CONTENTS_CONSISTENT : GFileSetContentsFlags = 1 ; pub const GFileSetContentsFlags_G_FILE_SET_CONTENTS_DURABLE : GFileSetContentsFlags = 2 ; pub const GFileSetContentsFlags_G_FILE_SET_CONTENTS_ONLY_EXISTING : GFileSetContentsFlags = 4 ; pub type GFileSetContentsFlags = u32 ; extern "C" { pub fn g_file_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_file_error_from_errno ( err_no : gint ) -> GFileError ; } extern "C" { pub fn g_file_test ( filename : * const gchar , test : GFileTest ) -> gboolean ; } extern "C" { pub fn g_file_get_contents ( filename : * const gchar , contents : * mut * mut gchar , length : * mut gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_contents ( filename : * const gchar , contents : * const gchar , length : gssize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_contents_full ( filename : * const gchar , contents : * const gchar , length : gssize , flags : GFileSetContentsFlags , mode : :: std :: os :: raw :: c_int , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_read_link ( filename : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_mkdtemp ( tmpl : * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_mkdtemp_full ( tmpl : * mut gchar , mode : gint ) -> * mut gchar ; } extern "C" { pub fn g_mkstemp ( tmpl : * mut gchar ) -> gint ; } extern "C" { pub fn g_mkstemp_full ( tmpl : * mut gchar , flags : gint , mode : gint ) -> gint ; } extern "C" { pub fn g_file_open_tmp ( tmpl : * const gchar , name_used : * mut * mut gchar , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_dir_make_tmp ( tmpl : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_build_path ( separator : * const gchar , first_element : * const gchar , ... ) -> * mut gchar ; } extern "C" { pub fn g_build_pathv ( separator : * const gchar , args : * mut * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_build_filename ( first_element : * const gchar , ... ) -> * mut gchar ; } extern "C" { pub fn g_build_filenamev ( args : * mut * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_build_filename_valist ( first_element : * const gchar , args : * mut va_list ) -> * mut gchar ; } extern "C" { pub fn g_mkdir_with_parents ( pathname : * const gchar , mode : gint ) -> gint ; } extern "C" { pub fn g_path_is_absolute ( file_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_path_skip_root ( file_name : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_basename ( file_name : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_get_current_dir ( ) -> * mut gchar ; } extern "C" { pub fn g_path_get_basename ( file_name : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_path_get_dirname ( file_name : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_canonicalize_filename ( filename : * const gchar , relative_to : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_strip_context ( msgid : * const gchar , msgval : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_dgettext ( domain : * const gchar , msgid : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_dcgettext ( domain : * const gchar , msgid : * const gchar , category : gint ) -> * const gchar ; } extern "C" { pub fn g_dngettext ( domain : * const gchar , msgid : * const gchar , msgid_plural : * const gchar , n : gulong ) -> * const gchar ; } extern "C" { pub fn g_dpgettext ( domain : * const gchar , msgctxtid : * const gchar , msgidoffset : gsize ) -> * const gchar ; } extern "C" { pub fn g_dpgettext2 ( domain : * const gchar , context : * const gchar , msgid : * const gchar ) -> * const gchar ; } pub type GMemVTable = _GMemVTable ; extern "C" { pub fn g_free ( mem : gpointer ) ; } extern "C" { pub fn g_free_sized ( mem : gpointer , size : usize ) ; } extern "C" { pub fn g_clear_pointer ( pp : * mut gpointer , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_malloc ( n_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_malloc0 ( n_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_realloc ( mem : gpointer , n_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_try_malloc ( n_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_try_malloc0 ( n_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_try_realloc ( mem : gpointer , n_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_malloc_n ( n_blocks : gsize , n_block_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_malloc0_n ( n_blocks : gsize , n_block_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_realloc_n ( mem : gpointer , n_blocks : gsize , n_block_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_try_malloc_n ( n_blocks : gsize , n_block_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_try_malloc0_n ( n_blocks : gsize , n_block_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_try_realloc_n ( mem : gpointer , n_blocks : gsize , n_block_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_aligned_alloc ( n_blocks : gsize , n_block_bytes : gsize , alignment : gsize ) -> gpointer ; } extern "C" { pub fn g_aligned_alloc0 ( n_blocks : gsize , n_block_bytes : gsize , alignment : gsize ) -> gpointer ; } extern "C" { pub fn g_aligned_free ( mem : gpointer ) ; } extern "C" { pub fn g_aligned_free_sized ( mem : gpointer , alignment : usize , size : usize ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemVTable { pub malloc : :: std :: option :: Option < unsafe extern "C" fn ( n_bytes : gsize ) -> gpointer > , pub realloc : :: std :: option :: Option < unsafe extern "C" fn ( mem : gpointer , n_bytes : gsize ) -> gpointer > , pub free : :: std :: option :: Option < unsafe extern "C" fn ( mem : gpointer ) > , pub calloc : :: std :: option :: Option < unsafe extern "C" fn ( n_blocks : gsize , n_block_bytes : gsize ) -> gpointer > , pub try_malloc : :: std :: option :: Option < unsafe extern "C" fn ( n_bytes : gsize ) -> gpointer > , pub try_realloc : :: std :: option :: Option < unsafe extern "C" fn ( mem : gpointer , n_bytes : gsize ) -> gpointer > , } # [ test ] fn bindgen_test_layout__GMemVTable ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMemVTable > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GMemVTable ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMemVTable > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMemVTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemVTable > ( ) ) ) . malloc as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMemVTable ) , "::" , stringify ! ( malloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemVTable > ( ) ) ) . realloc as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GMemVTable ) , "::" , stringify ! ( realloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemVTable > ( ) ) ) . free as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GMemVTable ) , "::" , stringify ! ( free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemVTable > ( ) ) ) . calloc as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMemVTable ) , "::" , stringify ! ( calloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemVTable > ( ) ) ) . try_malloc as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GMemVTable ) , "::" , stringify ! ( try_malloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemVTable > ( ) ) ) . try_realloc as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GMemVTable ) , "::" , stringify ! ( try_realloc ) ) ) ; } extern "C" { pub fn g_mem_set_vtable ( vtable : * mut GMemVTable ) ; } extern "C" { pub fn g_mem_is_system_malloc ( ) -> gboolean ; } extern "C" { # [ link_name = "\u{1}g_mem_gc_friendly" ] pub static mut g_mem_gc_friendly : gboolean ; } extern "C" { # [ link_name = "\u{1}glib_mem_profiler_table" ] pub static mut glib_mem_profiler_table : * mut GMemVTable ; } extern "C" { pub fn g_mem_profile ( ) ; } pub type GNode = _GNode ; pub const GTraverseFlags_G_TRAVERSE_LEAVES : GTraverseFlags = 1 ; pub const GTraverseFlags_G_TRAVERSE_NON_LEAVES : GTraverseFlags = 2 ; pub const GTraverseFlags_G_TRAVERSE_ALL : GTraverseFlags = 3 ; pub const GTraverseFlags_G_TRAVERSE_MASK : GTraverseFlags = 3 ; pub const GTraverseFlags_G_TRAVERSE_LEAFS : GTraverseFlags = 1 ; pub const GTraverseFlags_G_TRAVERSE_NON_LEAFS : GTraverseFlags = 2 ; pub type GTraverseFlags = u32 ; pub const GTraverseType_G_IN_ORDER : GTraverseType = 0 ; pub const GTraverseType_G_PRE_ORDER : GTraverseType = 1 ; pub const GTraverseType_G_POST_ORDER : GTraverseType = 2 ; pub const GTraverseType_G_LEVEL_ORDER : GTraverseType = 3 ; pub type GTraverseType = u32 ; pub type GNodeTraverseFunc = :: std :: option :: Option < unsafe extern "C" fn ( node : * mut GNode , data : gpointer ) -> gboolean > ; pub type GNodeForeachFunc = :: std :: option :: Option < unsafe extern "C" fn ( node : * mut GNode , data : gpointer ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNode { pub data : gpointer , pub next : * mut GNode , pub prev : * mut GNode , pub parent : * mut GNode , pub children : * mut GNode , } # [ test ] fn bindgen_test_layout__GNode ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNode > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GNode ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNode > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNode > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNode ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNode > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GNode ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNode > ( ) ) ) . prev as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GNode ) , "::" , stringify ! ( prev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNode > ( ) ) ) . parent as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GNode ) , "::" , stringify ! ( parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNode > ( ) ) ) . children as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GNode ) , "::" , stringify ! ( children ) ) ) ; } extern "C" { pub fn g_node_new ( data : gpointer ) -> * mut GNode ; } extern "C" { pub fn g_node_destroy ( root : * mut GNode ) ; } extern "C" { pub fn g_node_unlink ( node : * mut GNode ) ; } extern "C" { pub fn g_node_copy_deep ( node : * mut GNode , copy_func : GCopyFunc , data : gpointer ) -> * mut GNode ; } extern "C" { pub fn g_node_copy ( node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_insert ( parent : * mut GNode , position : gint , node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_insert_before ( parent : * mut GNode , sibling : * mut GNode , node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_insert_after ( parent : * mut GNode , sibling : * mut GNode , node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_prepend ( parent : * mut GNode , node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_n_nodes ( root : * mut GNode , flags : GTraverseFlags ) -> guint ; } extern "C" { pub fn g_node_get_root ( node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_is_ancestor ( node : * mut GNode , descendant : * mut GNode ) -> gboolean ; } extern "C" { pub fn g_node_depth ( node : * mut GNode ) -> guint ; } extern "C" { pub fn g_node_find ( root : * mut GNode , order : GTraverseType , flags : GTraverseFlags , data : gpointer ) -> * mut GNode ; } extern "C" { pub fn g_node_traverse ( root : * mut GNode , order : GTraverseType , flags : GTraverseFlags , max_depth : gint , func : GNodeTraverseFunc , data : gpointer ) ; } extern "C" { pub fn g_node_max_height ( root : * mut GNode ) -> guint ; } extern "C" { pub fn g_node_children_foreach ( node : * mut GNode , flags : GTraverseFlags , func : GNodeForeachFunc , data : gpointer ) ; } extern "C" { pub fn g_node_reverse_children ( node : * mut GNode ) ; } extern "C" { pub fn g_node_n_children ( node : * mut GNode ) -> guint ; } extern "C" { pub fn g_node_nth_child ( node : * mut GNode , n : guint ) -> * mut GNode ; } extern "C" { pub fn g_node_last_child ( node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_find_child ( node : * mut GNode , flags : GTraverseFlags , data : gpointer ) -> * mut GNode ; } extern "C" { pub fn g_node_child_position ( node : * mut GNode , child : * mut GNode ) -> gint ; } extern "C" { pub fn g_node_child_index ( node : * mut GNode , data : gpointer ) -> gint ; } extern "C" { pub fn g_node_first_sibling ( node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_last_sibling ( node : * mut GNode ) -> * mut GNode ; } pub type GList = _GList ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GList { pub data : gpointer , pub next : * mut GList , pub prev : * mut GList , } # [ test ] fn bindgen_test_layout__GList ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GList > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GList ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GList > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GList > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GList ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GList > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GList ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GList > ( ) ) ) . prev as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GList ) , "::" , stringify ! ( prev ) ) ) ; } extern "C" { pub fn g_list_alloc ( ) -> * mut GList ; } extern "C" { pub fn g_list_free ( list : * mut GList ) ; } extern "C" { pub fn g_list_free_1 ( list : * mut GList ) ; } extern "C" { pub fn g_list_free_full ( list : * mut GList , free_func : GDestroyNotify ) ; } extern "C" { pub fn g_list_append ( list : * mut GList , data : gpointer ) -> * mut GList ; } extern "C" { pub fn g_list_prepend ( list : * mut GList , data : gpointer ) -> * mut GList ; } extern "C" { pub fn g_list_insert ( list : * mut GList , data : gpointer , position : gint ) -> * mut GList ; } extern "C" { pub fn g_list_insert_sorted ( list : * mut GList , data : gpointer , func : GCompareFunc ) -> * mut GList ; } extern "C" { pub fn g_list_insert_sorted_with_data ( list : * mut GList , data : gpointer , func : GCompareDataFunc , user_data : gpointer ) -> * mut GList ; } extern "C" { pub fn g_list_insert_before ( list : * mut GList , sibling : * mut GList , data : gpointer ) -> * mut GList ; } extern "C" { pub fn g_list_insert_before_link ( list : * mut GList , sibling : * mut GList , link_ : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_concat ( list1 : * mut GList , list2 : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_remove ( list : * mut GList , data : gconstpointer ) -> * mut GList ; } extern "C" { pub fn g_list_remove_all ( list : * mut GList , data : gconstpointer ) -> * mut GList ; } extern "C" { pub fn g_list_remove_link ( list : * mut GList , llink : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_delete_link ( list : * mut GList , link_ : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_reverse ( list : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_copy ( list : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_copy_deep ( list : * mut GList , func : GCopyFunc , user_data : gpointer ) -> * mut GList ; } extern "C" { pub fn g_list_nth ( list : * mut GList , n : guint ) -> * mut GList ; } extern "C" { pub fn g_list_nth_prev ( list : * mut GList , n : guint ) -> * mut GList ; } extern "C" { pub fn g_list_find ( list : * mut GList , data : gconstpointer ) -> * mut GList ; } extern "C" { pub fn g_list_find_custom ( list : * mut GList , data : gconstpointer , func : GCompareFunc ) -> * mut GList ; } extern "C" { pub fn g_list_position ( list : * mut GList , llink : * mut GList ) -> gint ; } extern "C" { pub fn g_list_index ( list : * mut GList , data : gconstpointer ) -> gint ; } extern "C" { pub fn g_list_last ( list : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_first ( list : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_length ( list : * mut GList ) -> guint ; } extern "C" { pub fn g_list_foreach ( list : * mut GList , func : GFunc , user_data : gpointer ) ; } extern "C" { pub fn g_list_sort ( list : * mut GList , compare_func : GCompareFunc ) -> * mut GList ; } extern "C" { pub fn g_list_sort_with_data ( list : * mut GList , compare_func : GCompareDataFunc , user_data : gpointer ) -> * mut GList ; } extern "C" { pub fn g_list_nth_data ( list : * mut GList , n : guint ) -> gpointer ; } extern "C" { pub fn g_clear_list ( list_ptr : * mut * mut GList , destroy : GDestroyNotify ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GHashTable { _unused : [ u8 ; 0 ] , } pub type GHashTable = _GHashTable ; pub type GHRFunc = :: std :: option :: Option < unsafe extern "C" fn ( key : gpointer , value : gpointer , user_data : gpointer ) -> gboolean > ; pub type GHashTableIter = _GHashTableIter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GHashTableIter { pub dummy1 : gpointer , pub dummy2 : gpointer , pub dummy3 : gpointer , pub dummy4 : :: std :: os :: raw :: c_int , pub dummy5 : gboolean , pub dummy6 : gpointer , } # [ test ] fn bindgen_test_layout__GHashTableIter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GHashTableIter > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GHashTableIter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GHashTableIter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GHashTableIter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHashTableIter > ( ) ) ) . dummy1 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GHashTableIter ) , "::" , stringify ! ( dummy1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHashTableIter > ( ) ) ) . dummy2 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GHashTableIter ) , "::" , stringify ! ( dummy2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHashTableIter > ( ) ) ) . dummy3 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GHashTableIter ) , "::" , stringify ! ( dummy3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHashTableIter > ( ) ) ) . dummy4 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GHashTableIter ) , "::" , stringify ! ( dummy4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHashTableIter > ( ) ) ) . dummy5 as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( _GHashTableIter ) , "::" , stringify ! ( dummy5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHashTableIter > ( ) ) ) . dummy6 as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GHashTableIter ) , "::" , stringify ! ( dummy6 ) ) ) ; } extern "C" { pub fn g_hash_table_new ( hash_func : GHashFunc , key_equal_func : GEqualFunc ) -> * mut GHashTable ; } extern "C" { pub fn g_hash_table_new_full ( hash_func : GHashFunc , key_equal_func : GEqualFunc , key_destroy_func : GDestroyNotify , value_destroy_func : GDestroyNotify ) -> * mut GHashTable ; } extern "C" { pub fn g_hash_table_new_similar ( other_hash_table : * mut GHashTable ) -> * mut GHashTable ; } extern "C" { pub fn g_hash_table_destroy ( hash_table : * mut GHashTable ) ; } extern "C" { pub fn g_hash_table_insert ( hash_table : * mut GHashTable , key : gpointer , value : gpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_replace ( hash_table : * mut GHashTable , key : gpointer , value : gpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_add ( hash_table : * mut GHashTable , key : gpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_remove ( hash_table : * mut GHashTable , key : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_remove_all ( hash_table : * mut GHashTable ) ; } extern "C" { pub fn g_hash_table_steal ( hash_table : * mut GHashTable , key : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_steal_extended ( hash_table : * mut GHashTable , lookup_key : gconstpointer , stolen_key : * mut gpointer , stolen_value : * mut gpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_steal_all ( hash_table : * mut GHashTable ) ; } extern "C" { pub fn g_hash_table_steal_all_keys ( hash_table : * mut GHashTable ) -> * mut GPtrArray ; } extern "C" { pub fn g_hash_table_steal_all_values ( hash_table : * mut GHashTable ) -> * mut GPtrArray ; } extern "C" { pub fn g_hash_table_lookup ( hash_table : * mut GHashTable , key : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_hash_table_contains ( hash_table : * mut GHashTable , key : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_lookup_extended ( hash_table : * mut GHashTable , lookup_key : gconstpointer , orig_key : * mut gpointer , value : * mut gpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_foreach ( hash_table : * mut GHashTable , func : GHFunc , user_data : gpointer ) ; } extern "C" { pub fn g_hash_table_find ( hash_table : * mut GHashTable , predicate : GHRFunc , user_data : gpointer ) -> gpointer ; } extern "C" { pub fn g_hash_table_foreach_remove ( hash_table : * mut GHashTable , func : GHRFunc , user_data : gpointer ) -> guint ; } extern "C" { pub fn g_hash_table_foreach_steal ( hash_table : * mut GHashTable , func : GHRFunc , user_data : gpointer ) -> guint ; } extern "C" { pub fn g_hash_table_size ( hash_table : * mut GHashTable ) -> guint ; } extern "C" { pub fn g_hash_table_get_keys ( hash_table : * mut GHashTable ) -> * mut GList ; } extern "C" { pub fn g_hash_table_get_values ( hash_table : * mut GHashTable ) -> * mut GList ; } extern "C" { pub fn g_hash_table_get_keys_as_array ( hash_table : * mut GHashTable , length : * mut guint ) -> * mut gpointer ; } extern "C" { pub fn g_hash_table_get_keys_as_ptr_array ( hash_table : * mut GHashTable ) -> * mut GPtrArray ; } extern "C" { pub fn g_hash_table_get_values_as_ptr_array ( hash_table : * mut GHashTable ) -> * mut GPtrArray ; } extern "C" { pub fn g_hash_table_iter_init ( iter : * mut GHashTableIter , hash_table : * mut GHashTable ) ; } extern "C" { pub fn g_hash_table_iter_next ( iter : * mut GHashTableIter , key : * mut gpointer , value : * mut gpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_iter_get_hash_table ( iter : * mut GHashTableIter ) -> * mut GHashTable ; } extern "C" { pub fn g_hash_table_iter_remove ( iter : * mut GHashTableIter ) ; } extern "C" { pub fn g_hash_table_iter_replace ( iter : * mut GHashTableIter , value : gpointer ) ; } extern "C" { pub fn g_hash_table_iter_steal ( iter : * mut GHashTableIter ) ; } extern "C" { pub fn g_hash_table_ref ( hash_table : * mut GHashTable ) -> * mut GHashTable ; } extern "C" { pub fn g_hash_table_unref ( hash_table : * mut GHashTable ) ; } extern "C" { pub fn g_str_equal ( v1 : gconstpointer , v2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_str_hash ( v : gconstpointer ) -> guint ; } extern "C" { pub fn g_int_equal ( v1 : gconstpointer , v2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_int_hash ( v : gconstpointer ) -> guint ; } extern "C" { pub fn g_int64_equal ( v1 : gconstpointer , v2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_int64_hash ( v : gconstpointer ) -> guint ; } extern "C" { pub fn g_double_equal ( v1 : gconstpointer , v2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_double_hash ( v : gconstpointer ) -> guint ; } extern "C" { pub fn g_direct_hash ( v : gconstpointer ) -> guint ; } extern "C" { pub fn g_direct_equal ( v1 : gconstpointer , v2 : gconstpointer ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GHmac { _unused : [ u8 ; 0 ] , } pub type GHmac = _GHmac ; extern "C" { pub fn g_hmac_new ( digest_type : GChecksumType , key : * const guchar , key_len : gsize ) -> * mut GHmac ; } extern "C" { pub fn g_hmac_copy ( hmac : * const GHmac ) -> * mut GHmac ; } extern "C" { pub fn g_hmac_ref ( hmac : * mut GHmac ) -> * mut GHmac ; } extern "C" { pub fn g_hmac_unref ( hmac : * mut GHmac ) ; } extern "C" { pub fn g_hmac_update ( hmac : * mut GHmac , data : * const guchar , length : gssize ) ; } extern "C" { pub fn g_hmac_get_string ( hmac : * mut GHmac ) -> * const gchar ; } extern "C" { pub fn g_hmac_get_digest ( hmac : * mut GHmac , buffer : * mut guint8 , digest_len : * mut gsize ) ; } extern "C" { pub fn g_compute_hmac_for_data ( digest_type : GChecksumType , key : * const guchar , key_len : gsize , data : * const guchar , length : gsize ) -> * mut gchar ; } extern "C" { pub fn g_compute_hmac_for_string ( digest_type : GChecksumType , key : * const guchar , key_len : gsize , str : * const gchar , length : gssize ) -> * mut gchar ; } extern "C" { pub fn g_compute_hmac_for_bytes ( digest_type : GChecksumType , key : * mut GBytes , data : * mut GBytes ) -> * mut gchar ; } pub type GHook = _GHook ; pub type GHookList = _GHookList ; pub type GHookCompareFunc = :: std :: option :: Option < unsafe extern "C" fn ( new_hook : * mut GHook , sibling : * mut GHook ) -> gint > ; pub type GHookFindFunc = :: std :: option :: Option < unsafe extern "C" fn ( hook : * mut GHook , data : gpointer ) -> gboolean > ; pub type GHookMarshaller = :: std :: option :: Option < unsafe extern "C" fn ( hook : * mut GHook , marshal_data : gpointer ) > ; pub type GHookCheckMarshaller = :: std :: option :: Option < unsafe extern "C" fn ( hook : * mut GHook , marshal_data : gpointer ) -> gboolean > ; pub type GHookFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer ) > ; pub type GHookCheckFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer ) -> gboolean > ; pub type GHookFinalizeFunc = :: std :: option :: Option < unsafe extern "C" fn ( hook_list : * mut GHookList , hook : * mut GHook ) > ; pub const GHookFlagMask_G_HOOK_FLAG_ACTIVE : GHookFlagMask = 1 ; pub const GHookFlagMask_G_HOOK_FLAG_IN_CALL : GHookFlagMask = 2 ; pub const GHookFlagMask_G_HOOK_FLAG_MASK : GHookFlagMask = 15 ; pub type GHookFlagMask = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GHookList { pub seq_id : gulong , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > , pub hooks : * mut GHook , pub dummy3 : gpointer , pub finalize_hook : GHookFinalizeFunc , pub dummy : [ gpointer ; 2usize ] , } # [ test ] fn bindgen_test_layout__GHookList ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GHookList > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GHookList ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GHookList > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GHookList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHookList > ( ) ) ) . seq_id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GHookList ) , "::" , stringify ! ( seq_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHookList > ( ) ) ) . hooks as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GHookList ) , "::" , stringify ! ( hooks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHookList > ( ) ) ) . dummy3 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GHookList ) , "::" , stringify ! ( dummy3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHookList > ( ) ) ) . finalize_hook as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GHookList ) , "::" , stringify ! ( finalize_hook ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHookList > ( ) ) ) . dummy as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GHookList ) , "::" , stringify ! ( dummy ) ) ) ; } impl _GHookList { # [ inline ] pub fn hook_size ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 16u8 ) as u32 ) } } # [ inline ] pub fn set_hook_size ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 16u8 , val as u64 ) } } # [ inline ] pub fn is_setup ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 16usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_is_setup ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 16usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( hook_size : guint , is_setup : guint ) -> __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 16u8 , { let hook_size : u32 = unsafe { :: std :: mem :: transmute ( hook_size ) } ; hook_size as u64 } ) ; __bindgen_bitfield_unit . set ( 16usize , 1u8 , { let is_setup : u32 = unsafe { :: std :: mem :: transmute ( is_setup ) } ; is_setup as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GHook { pub data : gpointer , pub next : * mut GHook , pub prev : * mut GHook , pub ref_count : guint , pub hook_id : gulong , pub flags : guint , pub func : gpointer , pub destroy : GDestroyNotify , } # [ test ] fn bindgen_test_layout__GHook ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GHook > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _GHook ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GHook > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GHook ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . prev as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( prev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . ref_count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . hook_id as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( hook_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . flags as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . func as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . destroy as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( destroy ) ) ) ; } extern "C" { pub fn g_hook_list_init ( hook_list : * mut GHookList , hook_size : guint ) ; } extern "C" { pub fn g_hook_list_clear ( hook_list : * mut GHookList ) ; } extern "C" { pub fn g_hook_alloc ( hook_list : * mut GHookList ) -> * mut GHook ; } extern "C" { pub fn g_hook_free ( hook_list : * mut GHookList , hook : * mut GHook ) ; } extern "C" { pub fn g_hook_ref ( hook_list : * mut GHookList , hook : * mut GHook ) -> * mut GHook ; } extern "C" { pub fn g_hook_unref ( hook_list : * mut GHookList , hook : * mut GHook ) ; } extern "C" { pub fn g_hook_destroy ( hook_list : * mut GHookList , hook_id : gulong ) -> gboolean ; } extern "C" { pub fn g_hook_destroy_link ( hook_list : * mut GHookList , hook : * mut GHook ) ; } extern "C" { pub fn g_hook_prepend ( hook_list : * mut GHookList , hook : * mut GHook ) ; } extern "C" { pub fn g_hook_insert_before ( hook_list : * mut GHookList , sibling : * mut GHook , hook : * mut GHook ) ; } extern "C" { pub fn g_hook_insert_sorted ( hook_list : * mut GHookList , hook : * mut GHook , func : GHookCompareFunc ) ; } extern "C" { pub fn g_hook_get ( hook_list : * mut GHookList , hook_id : gulong ) -> * mut GHook ; } extern "C" { pub fn g_hook_find ( hook_list : * mut GHookList , need_valids : gboolean , func : GHookFindFunc , data : gpointer ) -> * mut GHook ; } extern "C" { pub fn g_hook_find_data ( hook_list : * mut GHookList , need_valids : gboolean , data : gpointer ) -> * mut GHook ; } extern "C" { pub fn g_hook_find_func ( hook_list : * mut GHookList , need_valids : gboolean , func : gpointer ) -> * mut GHook ; } extern "C" { pub fn g_hook_find_func_data ( hook_list : * mut GHookList , need_valids : gboolean , func : gpointer , data : gpointer ) -> * mut GHook ; } extern "C" { pub fn g_hook_first_valid ( hook_list : * mut GHookList , may_be_in_call : gboolean ) -> * mut GHook ; } extern "C" { pub fn g_hook_next_valid ( hook_list : * mut GHookList , hook : * mut GHook , may_be_in_call : gboolean ) -> * mut GHook ; } extern "C" { pub fn g_hook_compare_ids ( new_hook : * mut GHook , sibling : * mut GHook ) -> gint ; } extern "C" { pub fn g_hook_list_invoke ( hook_list : * mut GHookList , may_recurse : gboolean ) ; } extern "C" { pub fn g_hook_list_invoke_check ( hook_list : * mut GHookList , may_recurse : gboolean ) ; } extern "C" { pub fn g_hook_list_marshal ( hook_list : * mut GHookList , may_recurse : gboolean , marshaller : GHookMarshaller , marshal_data : gpointer ) ; } extern "C" { pub fn g_hook_list_marshal_check ( hook_list : * mut GHookList , may_recurse : gboolean , marshaller : GHookCheckMarshaller , marshal_data : gpointer ) ; } extern "C" { pub fn g_hostname_is_non_ascii ( hostname : * const gchar ) -> gboolean ; } extern "C" { pub fn g_hostname_is_ascii_encoded ( hostname : * const gchar ) -> gboolean ; } extern "C" { pub fn g_hostname_is_ip_address ( hostname : * const gchar ) -> gboolean ; } extern "C" { pub fn g_hostname_to_ascii ( hostname : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_hostname_to_unicode ( hostname : * const gchar ) -> * mut gchar ; } pub type GPollFD = _GPollFD ; pub type GPollFunc = :: std :: option :: Option < unsafe extern "C" fn ( ufds : * mut GPollFD , nfsd : guint , timeout_ : gint ) -> gint > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPollFD { pub fd : gint , pub events : gushort , pub revents : gushort , } # [ test ] fn bindgen_test_layout__GPollFD ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPollFD > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GPollFD ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPollFD > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GPollFD ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollFD > ( ) ) ) . fd as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPollFD ) , "::" , stringify ! ( fd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollFD > ( ) ) ) . events as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _GPollFD ) , "::" , stringify ! ( events ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollFD > ( ) ) ) . revents as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _GPollFD ) , "::" , stringify ! ( revents ) ) ) ; } extern "C" { pub fn g_poll ( fds : * mut GPollFD , nfds : guint , timeout : gint ) -> gint ; } pub type GSList = _GSList ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSList { pub data : gpointer , pub next : * mut GSList , } # [ test ] fn bindgen_test_layout__GSList ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSList > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GSList ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSList > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSList > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSList ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSList > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GSList ) , "::" , stringify ! ( next ) ) ) ; } extern "C" { pub fn g_slist_alloc ( ) -> * mut GSList ; } extern "C" { pub fn g_slist_free ( list : * mut GSList ) ; } extern "C" { pub fn g_slist_free_1 ( list : * mut GSList ) ; } extern "C" { pub fn g_slist_free_full ( list : * mut GSList , free_func : GDestroyNotify ) ; } extern "C" { pub fn g_slist_append ( list : * mut GSList , data : gpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_prepend ( list : * mut GSList , data : gpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_insert ( list : * mut GSList , data : gpointer , position : gint ) -> * mut GSList ; } extern "C" { pub fn g_slist_insert_sorted ( list : * mut GSList , data : gpointer , func : GCompareFunc ) -> * mut GSList ; } extern "C" { pub fn g_slist_insert_sorted_with_data ( list : * mut GSList , data : gpointer , func : GCompareDataFunc , user_data : gpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_insert_before ( slist : * mut GSList , sibling : * mut GSList , data : gpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_concat ( list1 : * mut GSList , list2 : * mut GSList ) -> * mut GSList ; } extern "C" { pub fn g_slist_remove ( list : * mut GSList , data : gconstpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_remove_all ( list : * mut GSList , data : gconstpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_remove_link ( list : * mut GSList , link_ : * mut GSList ) -> * mut GSList ; } extern "C" { pub fn g_slist_delete_link ( list : * mut GSList , link_ : * mut GSList ) -> * mut GSList ; } extern "C" { pub fn g_slist_reverse ( list : * mut GSList ) -> * mut GSList ; } extern "C" { pub fn g_slist_copy ( list : * mut GSList ) -> * mut GSList ; } extern "C" { pub fn g_slist_copy_deep ( list : * mut GSList , func : GCopyFunc , user_data : gpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_nth ( list : * mut GSList , n : guint ) -> * mut GSList ; } extern "C" { pub fn g_slist_find ( list : * mut GSList , data : gconstpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_find_custom ( list : * mut GSList , data : gconstpointer , func : GCompareFunc ) -> * mut GSList ; } extern "C" { pub fn g_slist_position ( list : * mut GSList , llink : * mut GSList ) -> gint ; } extern "C" { pub fn g_slist_index ( list : * mut GSList , data : gconstpointer ) -> gint ; } extern "C" { pub fn g_slist_last ( list : * mut GSList ) -> * mut GSList ; } extern "C" { pub fn g_slist_length ( list : * mut GSList ) -> guint ; } extern "C" { pub fn g_slist_foreach ( list : * mut GSList , func : GFunc , user_data : gpointer ) ; } extern "C" { pub fn g_slist_sort ( list : * mut GSList , compare_func : GCompareFunc ) -> * mut GSList ; } extern "C" { pub fn g_slist_sort_with_data ( list : * mut GSList , compare_func : GCompareDataFunc , user_data : gpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_nth_data ( list : * mut GSList , n : guint ) -> gpointer ; } extern "C" { pub fn g_clear_slist ( slist_ptr : * mut * mut GSList , destroy : GDestroyNotify ) ; } pub const GIOCondition_G_IO_IN : GIOCondition = 1 ; pub const GIOCondition_G_IO_OUT : GIOCondition = 4 ; pub const GIOCondition_G_IO_PRI : GIOCondition = 2 ; pub const GIOCondition_G_IO_ERR : GIOCondition = 8 ; pub const GIOCondition_G_IO_HUP : GIOCondition = 16 ; pub const GIOCondition_G_IO_NVAL : GIOCondition = 32 ; pub type GIOCondition = u32 ; pub const GMainContextFlags_G_MAIN_CONTEXT_FLAGS_NONE : GMainContextFlags = 0 ; pub const GMainContextFlags_G_MAIN_CONTEXT_FLAGS_OWNERLESS_POLLING : GMainContextFlags = 1 ; pub type GMainContextFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMainContext { _unused : [ u8 ; 0 ] , } pub type GMainContext = _GMainContext ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMainLoop { _unused : [ u8 ; 0 ] , } pub type GMainLoop = _GMainLoop ; pub type GSource = _GSource ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSourcePrivate { _unused : [ u8 ; 0 ] , } pub type GSourcePrivate = _GSourcePrivate ; pub type GSourceCallbackFuncs = _GSourceCallbackFuncs ; pub type GSourceFuncs = _GSourceFuncs ; pub type GSourceFunc = :: std :: option :: Option < unsafe extern "C" fn ( user_data : gpointer ) -> gboolean > ; pub type GSourceOnceFunc = :: std :: option :: Option < unsafe extern "C" fn ( user_data : gpointer ) > ; pub type GChildWatchFunc = :: std :: option :: Option < unsafe extern "C" fn ( pid : GPid , wait_status : gint , user_data : gpointer ) > ; pub type GSourceDisposeFunc = :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GSource ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSource { pub callback_data : gpointer , pub callback_funcs : * mut GSourceCallbackFuncs , pub source_funcs : * const GSourceFuncs , pub ref_count : guint , pub context : * mut GMainContext , pub priority : gint , pub flags : guint , pub source_id : guint , pub poll_fds : * mut GSList , pub prev : * mut GSource , pub next : * mut GSource , pub name : * mut :: std :: os :: raw :: c_char , pub priv_ : * mut GSourcePrivate , } # [ test ] fn bindgen_test_layout__GSource ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSource > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _GSource ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSource > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSource ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . callback_data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( callback_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . callback_funcs as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( callback_funcs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . source_funcs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( source_funcs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . ref_count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . context as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . priority as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . flags as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . source_id as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( source_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . poll_fds as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( poll_fds ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . prev as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( prev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . next as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . name as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . priv_ as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSourceCallbackFuncs { pub ref_ : :: std :: option :: Option < unsafe extern "C" fn ( cb_data : gpointer ) > , pub unref : :: std :: option :: Option < unsafe extern "C" fn ( cb_data : gpointer ) > , pub get : :: std :: option :: Option < unsafe extern "C" fn ( cb_data : gpointer , source : * mut GSource , func : * mut GSourceFunc , data : * mut gpointer ) > , } # [ test ] fn bindgen_test_layout__GSourceCallbackFuncs ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSourceCallbackFuncs > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GSourceCallbackFuncs ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSourceCallbackFuncs > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSourceCallbackFuncs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceCallbackFuncs > ( ) ) ) . ref_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceCallbackFuncs ) , "::" , stringify ! ( ref_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceCallbackFuncs > ( ) ) ) . unref as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceCallbackFuncs ) , "::" , stringify ! ( unref ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceCallbackFuncs > ( ) ) ) . get as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceCallbackFuncs ) , "::" , stringify ! ( get ) ) ) ; } pub type GSourceDummyMarshal = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSourceFuncs { pub prepare : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GSource , timeout_ : * mut gint ) -> gboolean > , pub check : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GSource ) -> gboolean > , pub dispatch : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GSource , callback : GSourceFunc , user_data : gpointer ) -> gboolean > , pub finalize : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GSource ) > , pub closure_callback : GSourceFunc , pub closure_marshal : GSourceDummyMarshal , } # [ test ] fn bindgen_test_layout__GSourceFuncs ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSourceFuncs > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GSourceFuncs ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSourceFuncs > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSourceFuncs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceFuncs > ( ) ) ) . prepare as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceFuncs ) , "::" , stringify ! ( prepare ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceFuncs > ( ) ) ) . check as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceFuncs ) , "::" , stringify ! ( check ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceFuncs > ( ) ) ) . dispatch as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceFuncs ) , "::" , stringify ! ( dispatch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceFuncs > ( ) ) ) . finalize as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceFuncs ) , "::" , stringify ! ( finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceFuncs > ( ) ) ) . closure_callback as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceFuncs ) , "::" , stringify ! ( closure_callback ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceFuncs > ( ) ) ) . closure_marshal as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceFuncs ) , "::" , stringify ! ( closure_marshal ) ) ) ; } extern "C" { pub fn g_main_context_new ( ) -> * mut GMainContext ; } extern "C" { pub fn g_main_context_new_with_flags ( flags : GMainContextFlags ) -> * mut GMainContext ; } extern "C" { pub fn g_main_context_ref ( context : * mut GMainContext ) -> * mut GMainContext ; } extern "C" { pub fn g_main_context_unref ( context : * mut GMainContext ) ; } extern "C" { pub fn g_main_context_default ( ) -> * mut GMainContext ; } extern "C" { pub fn g_main_context_iteration ( context : * mut GMainContext , may_block : gboolean ) -> gboolean ; } extern "C" { pub fn g_main_context_pending ( context : * mut GMainContext ) -> gboolean ; } extern "C" { pub fn g_main_context_find_source_by_id ( context : * mut GMainContext , source_id : guint ) -> * mut GSource ; } extern "C" { pub fn g_main_context_find_source_by_user_data ( context : * mut GMainContext , user_data : gpointer ) -> * mut GSource ; } extern "C" { pub fn g_main_context_find_source_by_funcs_user_data ( context : * mut GMainContext , funcs : * mut GSourceFuncs , user_data : gpointer ) -> * mut GSource ; } extern "C" { pub fn g_main_context_wakeup ( context : * mut GMainContext ) ; } extern "C" { pub fn g_main_context_acquire ( context : * mut GMainContext ) -> gboolean ; } extern "C" { pub fn g_main_context_release ( context : * mut GMainContext ) ; } extern "C" { pub fn g_main_context_is_owner ( context : * mut GMainContext ) -> gboolean ; } extern "C" { pub fn g_main_context_wait ( context : * mut GMainContext , cond : * mut GCond , mutex : * mut GMutex ) -> gboolean ; } extern "C" { pub fn g_main_context_prepare ( context : * mut GMainContext , priority : * mut gint ) -> gboolean ; } extern "C" { pub fn g_main_context_query ( context : * mut GMainContext , max_priority : gint , timeout_ : * mut gint , fds : * mut GPollFD , n_fds : gint ) -> gint ; } extern "C" { pub fn g_main_context_check ( context : * mut GMainContext , max_priority : gint , fds : * mut GPollFD , n_fds : gint ) -> gboolean ; } extern "C" { pub fn g_main_context_dispatch ( context : * mut GMainContext ) ; } extern "C" { pub fn g_main_context_set_poll_func ( context : * mut GMainContext , func : GPollFunc ) ; } extern "C" { pub fn g_main_context_get_poll_func ( context : * mut GMainContext ) -> GPollFunc ; } extern "C" { pub fn g_main_context_add_poll ( context : * mut GMainContext , fd : * mut GPollFD , priority : gint ) ; } extern "C" { pub fn g_main_context_remove_poll ( context : * mut GMainContext , fd : * mut GPollFD ) ; } extern "C" { pub fn g_main_depth ( ) -> gint ; } extern "C" { pub fn g_main_current_source ( ) -> * mut GSource ; } extern "C" { pub fn g_main_context_push_thread_default ( context : * mut GMainContext ) ; } extern "C" { pub fn g_main_context_pop_thread_default ( context : * mut GMainContext ) ; } extern "C" { pub fn g_main_context_get_thread_default ( ) -> * mut GMainContext ; } extern "C" { pub fn g_main_context_ref_thread_default ( ) -> * mut GMainContext ; } pub type GMainContextPusher = :: std :: os :: raw :: c_void ; extern "C" { pub fn g_main_loop_new ( context : * mut GMainContext , is_running : gboolean ) -> * mut GMainLoop ; } extern "C" { pub fn g_main_loop_run ( loop_ : * mut GMainLoop ) ; } extern "C" { pub fn g_main_loop_quit ( loop_ : * mut GMainLoop ) ; } extern "C" { pub fn g_main_loop_ref ( loop_ : * mut GMainLoop ) -> * mut GMainLoop ; } extern "C" { pub fn g_main_loop_unref ( loop_ : * mut GMainLoop ) ; } extern "C" { pub fn g_main_loop_is_running ( loop_ : * mut GMainLoop ) -> gboolean ; } extern "C" { pub fn g_main_loop_get_context ( loop_ : * mut GMainLoop ) -> * mut GMainContext ; } extern "C" { pub fn g_source_new ( source_funcs : * mut GSourceFuncs , struct_size : guint ) -> * mut GSource ; } extern "C" { pub fn g_source_set_dispose_function ( source : * mut GSource , dispose : GSourceDisposeFunc ) ; } extern "C" { pub fn g_source_ref ( source : * mut GSource ) -> * mut GSource ; } extern "C" { pub fn g_source_unref ( source : * mut GSource ) ; } extern "C" { pub fn g_source_attach ( source : * mut GSource , context : * mut GMainContext ) -> guint ; } extern "C" { pub fn g_source_destroy ( source : * mut GSource ) ; } extern "C" { pub fn g_source_set_priority ( source : * mut GSource , priority : gint ) ; } extern "C" { pub fn g_source_get_priority ( source : * mut GSource ) -> gint ; } extern "C" { pub fn g_source_set_can_recurse ( source : * mut GSource , can_recurse : gboolean ) ; } extern "C" { pub fn g_source_get_can_recurse ( source : * mut GSource ) -> gboolean ; } extern "C" { pub fn g_source_get_id ( source : * mut GSource ) -> guint ; } extern "C" { pub fn g_source_get_context ( source : * mut GSource ) -> * mut GMainContext ; } extern "C" { pub fn g_source_set_callback ( source : * mut GSource , func : GSourceFunc , data : gpointer , notify : GDestroyNotify ) ; } extern "C" { pub fn g_source_set_funcs ( source : * mut GSource , funcs : * mut GSourceFuncs ) ; } extern "C" { pub fn g_source_is_destroyed ( source : * mut GSource ) -> gboolean ; } extern "C" { pub fn g_source_set_name ( source : * mut GSource , name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_source_set_static_name ( source : * mut GSource , name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_source_get_name ( source : * mut GSource ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_source_set_name_by_id ( tag : guint , name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_source_set_ready_time ( source : * mut GSource , ready_time : gint64 ) ; } extern "C" { pub fn g_source_get_ready_time ( source : * mut GSource ) -> gint64 ; } extern "C" { pub fn g_source_add_unix_fd ( source : * mut GSource , fd : gint , events : GIOCondition ) -> gpointer ; } extern "C" { pub fn g_source_modify_unix_fd ( source : * mut GSource , tag : gpointer , new_events : GIOCondition ) ; } extern "C" { pub fn g_source_remove_unix_fd ( source : * mut GSource , tag : gpointer ) ; } extern "C" { pub fn g_source_query_unix_fd ( source : * mut GSource , tag : gpointer ) -> GIOCondition ; } extern "C" { pub fn g_source_set_callback_indirect ( source : * mut GSource , callback_data : gpointer , callback_funcs : * mut GSourceCallbackFuncs ) ; } extern "C" { pub fn g_source_add_poll ( source : * mut GSource , fd : * mut GPollFD ) ; } extern "C" { pub fn g_source_remove_poll ( source : * mut GSource , fd : * mut GPollFD ) ; } extern "C" { pub fn g_source_add_child_source ( source : * mut GSource , child_source : * mut GSource ) ; } extern "C" { pub fn g_source_remove_child_source ( source : * mut GSource , child_source : * mut GSource ) ; } extern "C" { pub fn g_source_get_current_time ( source : * mut GSource , timeval : * mut GTimeVal ) ; } extern "C" { pub fn g_source_get_time ( source : * mut GSource ) -> gint64 ; } extern "C" { pub fn g_idle_source_new ( ) -> * mut GSource ; } extern "C" { pub fn g_child_watch_source_new ( pid : GPid ) -> * mut GSource ; } extern "C" { pub fn g_timeout_source_new ( interval : guint ) -> * mut GSource ; } extern "C" { pub fn g_timeout_source_new_seconds ( interval : guint ) -> * mut GSource ; } extern "C" { pub fn g_get_current_time ( result : * mut GTimeVal ) ; } extern "C" { pub fn g_get_monotonic_time ( ) -> gint64 ; } extern "C" { pub fn g_get_real_time ( ) -> gint64 ; } extern "C" { pub fn g_source_remove ( tag : guint ) -> gboolean ; } extern "C" { pub fn g_source_remove_by_user_data ( user_data : gpointer ) -> gboolean ; } extern "C" { pub fn g_source_remove_by_funcs_user_data ( funcs : * mut GSourceFuncs , user_data : gpointer ) -> gboolean ; } pub type GClearHandleFunc = :: std :: option :: Option < unsafe extern "C" fn ( handle_id : guint ) > ; extern "C" { pub fn g_clear_handle_id ( tag_ptr : * mut guint , clear_func : GClearHandleFunc ) ; } extern "C" { pub fn g_timeout_add_full ( priority : gint , interval : guint , function : GSourceFunc , data : gpointer , notify : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_timeout_add ( interval : guint , function : GSourceFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_timeout_add_once ( interval : guint , function : GSourceOnceFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_timeout_add_seconds_full ( priority : gint , interval : guint , function : GSourceFunc , data : gpointer , notify : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_timeout_add_seconds ( interval : guint , function : GSourceFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_timeout_add_seconds_once ( interval : guint , function : GSourceOnceFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_child_watch_add_full ( priority : gint , pid : GPid , function : GChildWatchFunc , data : gpointer , notify : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_child_watch_add ( pid : GPid , function : GChildWatchFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_idle_add ( function : GSourceFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_idle_add_full ( priority : gint , function : GSourceFunc , data : gpointer , notify : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_idle_add_once ( function : GSourceOnceFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_idle_remove_by_data ( data : gpointer ) -> gboolean ; } extern "C" { pub fn g_main_context_invoke_full ( context : * mut GMainContext , priority : gint , function : GSourceFunc , data : gpointer , notify : GDestroyNotify ) ; } extern "C" { pub fn g_main_context_invoke ( context : * mut GMainContext , function : GSourceFunc , data : gpointer ) ; } extern "C" { # [ link_name = "\u{1}g_timeout_funcs" ] pub static mut g_timeout_funcs : GSourceFuncs ; } extern "C" { # [ link_name = "\u{1}g_child_watch_funcs" ] pub static mut g_child_watch_funcs : GSourceFuncs ; } extern "C" { # [ link_name = "\u{1}g_idle_funcs" ] pub static mut g_idle_funcs : GSourceFuncs ; } extern "C" { # [ link_name = "\u{1}g_unix_signal_funcs" ] pub static mut g_unix_signal_funcs : GSourceFuncs ; } extern "C" { # [ link_name = "\u{1}g_unix_fd_source_funcs" ] pub static mut g_unix_fd_source_funcs : GSourceFuncs ; } pub type gunichar = guint32 ; pub type gunichar2 = guint16 ; pub const GUnicodeType_G_UNICODE_CONTROL : GUnicodeType = 0 ; pub const GUnicodeType_G_UNICODE_FORMAT : GUnicodeType = 1 ; pub const GUnicodeType_G_UNICODE_UNASSIGNED : GUnicodeType = 2 ; pub const GUnicodeType_G_UNICODE_PRIVATE_USE : GUnicodeType = 3 ; pub const GUnicodeType_G_UNICODE_SURROGATE : GUnicodeType = 4 ; pub const GUnicodeType_G_UNICODE_LOWERCASE_LETTER : GUnicodeType = 5 ; pub const GUnicodeType_G_UNICODE_MODIFIER_LETTER : GUnicodeType = 6 ; pub const GUnicodeType_G_UNICODE_OTHER_LETTER : GUnicodeType = 7 ; pub const GUnicodeType_G_UNICODE_TITLECASE_LETTER : GUnicodeType = 8 ; pub const GUnicodeType_G_UNICODE_UPPERCASE_LETTER : GUnicodeType = 9 ; pub const GUnicodeType_G_UNICODE_SPACING_MARK : GUnicodeType = 10 ; pub const GUnicodeType_G_UNICODE_ENCLOSING_MARK : GUnicodeType = 11 ; pub const GUnicodeType_G_UNICODE_NON_SPACING_MARK : GUnicodeType = 12 ; pub const GUnicodeType_G_UNICODE_DECIMAL_NUMBER : GUnicodeType = 13 ; pub const GUnicodeType_G_UNICODE_LETTER_NUMBER : GUnicodeType = 14 ; pub const GUnicodeType_G_UNICODE_OTHER_NUMBER : GUnicodeType = 15 ; pub const GUnicodeType_G_UNICODE_CONNECT_PUNCTUATION : GUnicodeType = 16 ; pub const GUnicodeType_G_UNICODE_DASH_PUNCTUATION : GUnicodeType = 17 ; pub const GUnicodeType_G_UNICODE_CLOSE_PUNCTUATION : GUnicodeType = 18 ; pub const GUnicodeType_G_UNICODE_FINAL_PUNCTUATION : GUnicodeType = 19 ; pub const GUnicodeType_G_UNICODE_INITIAL_PUNCTUATION : GUnicodeType = 20 ; pub const GUnicodeType_G_UNICODE_OTHER_PUNCTUATION : GUnicodeType = 21 ; pub const GUnicodeType_G_UNICODE_OPEN_PUNCTUATION : GUnicodeType = 22 ; pub const GUnicodeType_G_UNICODE_CURRENCY_SYMBOL : GUnicodeType = 23 ; pub const GUnicodeType_G_UNICODE_MODIFIER_SYMBOL : GUnicodeType = 24 ; pub const GUnicodeType_G_UNICODE_MATH_SYMBOL : GUnicodeType = 25 ; pub const GUnicodeType_G_UNICODE_OTHER_SYMBOL : GUnicodeType = 26 ; pub const GUnicodeType_G_UNICODE_LINE_SEPARATOR : GUnicodeType = 27 ; pub const GUnicodeType_G_UNICODE_PARAGRAPH_SEPARATOR : GUnicodeType = 28 ; pub const GUnicodeType_G_UNICODE_SPACE_SEPARATOR : GUnicodeType = 29 ; pub type GUnicodeType = u32 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_MANDATORY : GUnicodeBreakType = 0 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_CARRIAGE_RETURN : GUnicodeBreakType = 1 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_LINE_FEED : GUnicodeBreakType = 2 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_COMBINING_MARK : GUnicodeBreakType = 3 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_SURROGATE : GUnicodeBreakType = 4 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_ZERO_WIDTH_SPACE : GUnicodeBreakType = 5 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_INSEPARABLE : GUnicodeBreakType = 6 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_NON_BREAKING_GLUE : GUnicodeBreakType = 7 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_CONTINGENT : GUnicodeBreakType = 8 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_SPACE : GUnicodeBreakType = 9 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_AFTER : GUnicodeBreakType = 10 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_BEFORE : GUnicodeBreakType = 11 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_BEFORE_AND_AFTER : GUnicodeBreakType = 12 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HYPHEN : GUnicodeBreakType = 13 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_NON_STARTER : GUnicodeBreakType = 14 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_OPEN_PUNCTUATION : GUnicodeBreakType = 15 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_CLOSE_PUNCTUATION : GUnicodeBreakType = 16 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_QUOTATION : GUnicodeBreakType = 17 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_EXCLAMATION : GUnicodeBreakType = 18 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_IDEOGRAPHIC : GUnicodeBreakType = 19 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_NUMERIC : GUnicodeBreakType = 20 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_INFIX_SEPARATOR : GUnicodeBreakType = 21 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_SYMBOL : GUnicodeBreakType = 22 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_ALPHABETIC : GUnicodeBreakType = 23 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_PREFIX : GUnicodeBreakType = 24 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_POSTFIX : GUnicodeBreakType = 25 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_COMPLEX_CONTEXT : GUnicodeBreakType = 26 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_AMBIGUOUS : GUnicodeBreakType = 27 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_UNKNOWN : GUnicodeBreakType = 28 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_NEXT_LINE : GUnicodeBreakType = 29 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_WORD_JOINER : GUnicodeBreakType = 30 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_L_JAMO : GUnicodeBreakType = 31 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_V_JAMO : GUnicodeBreakType = 32 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_T_JAMO : GUnicodeBreakType = 33 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_LV_SYLLABLE : GUnicodeBreakType = 34 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE : GUnicodeBreakType = 35 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_CLOSE_PARANTHESIS : GUnicodeBreakType = 36 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_CLOSE_PARENTHESIS : GUnicodeBreakType = 36 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER : GUnicodeBreakType = 37 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HEBREW_LETTER : GUnicodeBreakType = 38 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_REGIONAL_INDICATOR : GUnicodeBreakType = 39 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_EMOJI_BASE : GUnicodeBreakType = 40 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_EMOJI_MODIFIER : GUnicodeBreakType = 41 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_ZERO_WIDTH_JOINER : GUnicodeBreakType = 42 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_AKSARA : GUnicodeBreakType = 43 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_AKSARA_PRE_BASE : GUnicodeBreakType = 44 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_AKSARA_START : GUnicodeBreakType = 45 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_VIRAMA_FINAL : GUnicodeBreakType = 46 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_VIRAMA : GUnicodeBreakType = 47 ; pub type GUnicodeBreakType = u32 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_INVALID_CODE : GUnicodeScript = -1 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_COMMON : GUnicodeScript = 0 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_INHERITED : GUnicodeScript = 1 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ARABIC : GUnicodeScript = 2 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ARMENIAN : GUnicodeScript = 3 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BENGALI : GUnicodeScript = 4 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BOPOMOFO : GUnicodeScript = 5 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CHEROKEE : GUnicodeScript = 6 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_COPTIC : GUnicodeScript = 7 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CYRILLIC : GUnicodeScript = 8 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_DESERET : GUnicodeScript = 9 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_DEVANAGARI : GUnicodeScript = 10 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ETHIOPIC : GUnicodeScript = 11 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GEORGIAN : GUnicodeScript = 12 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GOTHIC : GUnicodeScript = 13 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GREEK : GUnicodeScript = 14 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GUJARATI : GUnicodeScript = 15 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GURMUKHI : GUnicodeScript = 16 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HAN : GUnicodeScript = 17 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HANGUL : GUnicodeScript = 18 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HEBREW : GUnicodeScript = 19 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HIRAGANA : GUnicodeScript = 20 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KANNADA : GUnicodeScript = 21 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KATAKANA : GUnicodeScript = 22 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KHMER : GUnicodeScript = 23 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LAO : GUnicodeScript = 24 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LATIN : GUnicodeScript = 25 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MALAYALAM : GUnicodeScript = 26 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MONGOLIAN : GUnicodeScript = 27 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MYANMAR : GUnicodeScript = 28 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OGHAM : GUnicodeScript = 29 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_ITALIC : GUnicodeScript = 30 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ORIYA : GUnicodeScript = 31 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_RUNIC : GUnicodeScript = 32 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SINHALA : GUnicodeScript = 33 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SYRIAC : GUnicodeScript = 34 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAMIL : GUnicodeScript = 35 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TELUGU : GUnicodeScript = 36 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_THAANA : GUnicodeScript = 37 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_THAI : GUnicodeScript = 38 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TIBETAN : GUnicodeScript = 39 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL : GUnicodeScript = 40 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_YI : GUnicodeScript = 41 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAGALOG : GUnicodeScript = 42 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HANUNOO : GUnicodeScript = 43 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BUHID : GUnicodeScript = 44 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAGBANWA : GUnicodeScript = 45 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BRAILLE : GUnicodeScript = 46 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CYPRIOT : GUnicodeScript = 47 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LIMBU : GUnicodeScript = 48 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OSMANYA : GUnicodeScript = 49 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SHAVIAN : GUnicodeScript = 50 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LINEAR_B : GUnicodeScript = 51 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAI_LE : GUnicodeScript = 52 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_UGARITIC : GUnicodeScript = 53 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NEW_TAI_LUE : GUnicodeScript = 54 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BUGINESE : GUnicodeScript = 55 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GLAGOLITIC : GUnicodeScript = 56 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TIFINAGH : GUnicodeScript = 57 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SYLOTI_NAGRI : GUnicodeScript = 58 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_PERSIAN : GUnicodeScript = 59 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KHAROSHTHI : GUnicodeScript = 60 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_UNKNOWN : GUnicodeScript = 61 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BALINESE : GUnicodeScript = 62 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CUNEIFORM : GUnicodeScript = 63 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_PHOENICIAN : GUnicodeScript = 64 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_PHAGS_PA : GUnicodeScript = 65 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NKO : GUnicodeScript = 66 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KAYAH_LI : GUnicodeScript = 67 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LEPCHA : GUnicodeScript = 68 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_REJANG : GUnicodeScript = 69 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SUNDANESE : GUnicodeScript = 70 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SAURASHTRA : GUnicodeScript = 71 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CHAM : GUnicodeScript = 72 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OL_CHIKI : GUnicodeScript = 73 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_VAI : GUnicodeScript = 74 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CARIAN : GUnicodeScript = 75 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LYCIAN : GUnicodeScript = 76 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LYDIAN : GUnicodeScript = 77 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_AVESTAN : GUnicodeScript = 78 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BAMUM : GUnicodeScript = 79 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS : GUnicodeScript = 80 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC : GUnicodeScript = 81 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI : GUnicodeScript = 82 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN : GUnicodeScript = 83 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_JAVANESE : GUnicodeScript = 84 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KAITHI : GUnicodeScript = 85 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LISU : GUnicodeScript = 86 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MEETEI_MAYEK : GUnicodeScript = 87 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN : GUnicodeScript = 88 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_TURKIC : GUnicodeScript = 89 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SAMARITAN : GUnicodeScript = 90 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAI_THAM : GUnicodeScript = 91 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAI_VIET : GUnicodeScript = 92 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BATAK : GUnicodeScript = 93 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BRAHMI : GUnicodeScript = 94 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MANDAIC : GUnicodeScript = 95 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CHAKMA : GUnicodeScript = 96 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MEROITIC_CURSIVE : GUnicodeScript = 97 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS : GUnicodeScript = 98 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MIAO : GUnicodeScript = 99 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SHARADA : GUnicodeScript = 100 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SORA_SOMPENG : GUnicodeScript = 101 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAKRI : GUnicodeScript = 102 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BASSA_VAH : GUnicodeScript = 103 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CAUCASIAN_ALBANIAN : GUnicodeScript = 104 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_DUPLOYAN : GUnicodeScript = 105 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ELBASAN : GUnicodeScript = 106 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GRANTHA : GUnicodeScript = 107 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KHOJKI : GUnicodeScript = 108 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KHUDAWADI : GUnicodeScript = 109 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LINEAR_A : GUnicodeScript = 110 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MAHAJANI : GUnicodeScript = 111 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MANICHAEAN : GUnicodeScript = 112 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MENDE_KIKAKUI : GUnicodeScript = 113 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MODI : GUnicodeScript = 114 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MRO : GUnicodeScript = 115 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NABATAEAN : GUnicodeScript = 116 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_NORTH_ARABIAN : GUnicodeScript = 117 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_PERMIC : GUnicodeScript = 118 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_PAHAWH_HMONG : GUnicodeScript = 119 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_PALMYRENE : GUnicodeScript = 120 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_PAU_CIN_HAU : GUnicodeScript = 121 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_PSALTER_PAHLAVI : GUnicodeScript = 122 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SIDDHAM : GUnicodeScript = 123 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TIRHUTA : GUnicodeScript = 124 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_WARANG_CITI : GUnicodeScript = 125 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_AHOM : GUnicodeScript = 126 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ANATOLIAN_HIEROGLYPHS : GUnicodeScript = 127 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HATRAN : GUnicodeScript = 128 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MULTANI : GUnicodeScript = 129 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_HUNGARIAN : GUnicodeScript = 130 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SIGNWRITING : GUnicodeScript = 131 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ADLAM : GUnicodeScript = 132 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BHAIKSUKI : GUnicodeScript = 133 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MARCHEN : GUnicodeScript = 134 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NEWA : GUnicodeScript = 135 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OSAGE : GUnicodeScript = 136 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TANGUT : GUnicodeScript = 137 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MASARAM_GONDI : GUnicodeScript = 138 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NUSHU : GUnicodeScript = 139 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SOYOMBO : GUnicodeScript = 140 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ZANABAZAR_SQUARE : GUnicodeScript = 141 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_DOGRA : GUnicodeScript = 142 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GUNJALA_GONDI : GUnicodeScript = 143 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HANIFI_ROHINGYA : GUnicodeScript = 144 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MAKASAR : GUnicodeScript = 145 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MEDEFAIDRIN : GUnicodeScript = 146 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_SOGDIAN : GUnicodeScript = 147 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SOGDIAN : GUnicodeScript = 148 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ELYMAIC : GUnicodeScript = 149 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NANDINAGARI : GUnicodeScript = 150 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NYIAKENG_PUACHUE_HMONG : GUnicodeScript = 151 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_WANCHO : GUnicodeScript = 152 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CHORASMIAN : GUnicodeScript = 153 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_DIVES_AKURU : GUnicodeScript = 154 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT : GUnicodeScript = 155 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_YEZIDI : GUnicodeScript = 156 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CYPRO_MINOAN : GUnicodeScript = 157 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_UYGHUR : GUnicodeScript = 158 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TANGSA : GUnicodeScript = 159 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TOTO : GUnicodeScript = 160 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_VITHKUQI : GUnicodeScript = 161 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MATH : GUnicodeScript = 162 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KAWI : GUnicodeScript = 163 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NAG_MUNDARI : GUnicodeScript = 164 ; pub type GUnicodeScript = i32 ; extern "C" { pub fn g_unicode_script_to_iso15924 ( script : GUnicodeScript ) -> guint32 ; } extern "C" { pub fn g_unicode_script_from_iso15924 ( iso15924 : guint32 ) -> GUnicodeScript ; } extern "C" { pub fn g_unichar_isalnum ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isalpha ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_iscntrl ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isdigit ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isgraph ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_islower ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isprint ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_ispunct ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isspace ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isupper ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isxdigit ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_istitle ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isdefined ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_iswide ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_iswide_cjk ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_iszerowidth ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_ismark ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_toupper ( c : gunichar ) -> gunichar ; } extern "C" { pub fn g_unichar_tolower ( c : gunichar ) -> gunichar ; } extern "C" { pub fn g_unichar_totitle ( c : gunichar ) -> gunichar ; } extern "C" { pub fn g_unichar_digit_value ( c : gunichar ) -> gint ; } extern "C" { pub fn g_unichar_xdigit_value ( c : gunichar ) -> gint ; } extern "C" { pub fn g_unichar_type ( c : gunichar ) -> GUnicodeType ; } extern "C" { pub fn g_unichar_break_type ( c : gunichar ) -> GUnicodeBreakType ; } extern "C" { pub fn g_unichar_combining_class ( uc : gunichar ) -> gint ; } extern "C" { pub fn g_unichar_get_mirror_char ( ch : gunichar , mirrored_ch : * mut gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_get_script ( ch : gunichar ) -> GUnicodeScript ; } extern "C" { pub fn g_unichar_validate ( ch : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_compose ( a : gunichar , b : gunichar , ch : * mut gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_decompose ( ch : gunichar , a : * mut gunichar , b : * mut gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_fully_decompose ( ch : gunichar , compat : gboolean , result : * mut gunichar , result_len : gsize ) -> gsize ; } extern "C" { pub fn g_unicode_canonical_ordering ( string : * mut gunichar , len : gsize ) ; } extern "C" { pub fn g_unicode_canonical_decomposition ( ch : gunichar , result_len : * mut gsize ) -> * mut gunichar ; } extern "C" { # [ link_name = "\u{1}g_utf8_skip" ] pub static mut g_utf8_skip : * const gchar ; } extern "C" { pub fn g_utf8_get_char ( p : * const gchar ) -> gunichar ; } extern "C" { pub fn g_utf8_get_char_validated ( p : * const gchar , max_len : gssize ) -> gunichar ; } extern "C" { pub fn g_utf8_offset_to_pointer ( str : * const gchar , offset : glong ) -> * mut gchar ; } extern "C" { pub fn g_utf8_pointer_to_offset ( str : * const gchar , pos : * const gchar ) -> glong ; } extern "C" { pub fn g_utf8_prev_char ( p : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_utf8_find_next_char ( p : * const gchar , end : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_utf8_find_prev_char ( str : * const gchar , p : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_utf8_strlen ( p : * const gchar , max : gssize ) -> glong ; } extern "C" { pub fn g_utf8_substring ( str : * const gchar , start_pos : glong , end_pos : glong ) -> * mut gchar ; } extern "C" { pub fn g_utf8_strncpy ( dest : * mut gchar , src : * const gchar , n : gsize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_truncate_middle ( string : * const gchar , truncate_length : gsize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_strchr ( p : * const gchar , len : gssize , c : gunichar ) -> * mut gchar ; } extern "C" { pub fn g_utf8_strrchr ( p : * const gchar , len : gssize , c : gunichar ) -> * mut gchar ; } extern "C" { pub fn g_utf8_strreverse ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_to_utf16 ( str : * const gchar , len : glong , items_read : * mut glong , items_written : * mut glong , error : * mut * mut GError ) -> * mut gunichar2 ; } extern "C" { pub fn g_utf8_to_ucs4 ( str : * const gchar , len : glong , items_read : * mut glong , items_written : * mut glong , error : * mut * mut GError ) -> * mut gunichar ; } extern "C" { pub fn g_utf8_to_ucs4_fast ( str : * const gchar , len : glong , items_written : * mut glong ) -> * mut gunichar ; } extern "C" { pub fn g_utf16_to_ucs4 ( str : * const gunichar2 , len : glong , items_read : * mut glong , items_written : * mut glong , error : * mut * mut GError ) -> * mut gunichar ; } extern "C" { pub fn g_utf16_to_utf8 ( str : * const gunichar2 , len : glong , items_read : * mut glong , items_written : * mut glong , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_ucs4_to_utf16 ( str : * const gunichar , len : glong , items_read : * mut glong , items_written : * mut glong , error : * mut * mut GError ) -> * mut gunichar2 ; } extern "C" { pub fn g_ucs4_to_utf8 ( str : * const gunichar , len : glong , items_read : * mut glong , items_written : * mut glong , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_unichar_to_utf8 ( c : gunichar , outbuf : * mut gchar ) -> gint ; } extern "C" { pub fn g_utf8_validate ( str : * const gchar , max_len : gssize , end : * mut * const gchar ) -> gboolean ; } extern "C" { pub fn g_utf8_validate_len ( str : * const gchar , max_len : gsize , end : * mut * const gchar ) -> gboolean ; } extern "C" { pub fn g_utf8_strup ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_strdown ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_casefold ( str : * const gchar , len : gssize ) -> * mut gchar ; } pub const GNormalizeMode_G_NORMALIZE_DEFAULT : GNormalizeMode = 0 ; pub const GNormalizeMode_G_NORMALIZE_NFD : GNormalizeMode = 0 ; pub const GNormalizeMode_G_NORMALIZE_DEFAULT_COMPOSE : GNormalizeMode = 1 ; pub const GNormalizeMode_G_NORMALIZE_NFC : GNormalizeMode = 1 ; pub const GNormalizeMode_G_NORMALIZE_ALL : GNormalizeMode = 2 ; pub const GNormalizeMode_G_NORMALIZE_NFKD : GNormalizeMode = 2 ; pub const GNormalizeMode_G_NORMALIZE_ALL_COMPOSE : GNormalizeMode = 3 ; pub const GNormalizeMode_G_NORMALIZE_NFKC : GNormalizeMode = 3 ; pub type GNormalizeMode = u32 ; extern "C" { pub fn g_utf8_normalize ( str : * const gchar , len : gssize , mode : GNormalizeMode ) -> * mut gchar ; } extern "C" { pub fn g_utf8_collate ( str1 : * const gchar , str2 : * const gchar ) -> gint ; } extern "C" { pub fn g_utf8_collate_key ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_collate_key_for_filename ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_make_valid ( str : * const gchar , len : gssize ) -> * mut gchar ; } pub const GAsciiType_G_ASCII_ALNUM : GAsciiType = 1 ; pub const GAsciiType_G_ASCII_ALPHA : GAsciiType = 2 ; pub const GAsciiType_G_ASCII_CNTRL : GAsciiType = 4 ; pub const GAsciiType_G_ASCII_DIGIT : GAsciiType = 8 ; pub const GAsciiType_G_ASCII_GRAPH : GAsciiType = 16 ; pub const GAsciiType_G_ASCII_LOWER : GAsciiType = 32 ; pub const GAsciiType_G_ASCII_PRINT : GAsciiType = 64 ; pub const GAsciiType_G_ASCII_PUNCT : GAsciiType = 128 ; pub const GAsciiType_G_ASCII_SPACE : GAsciiType = 256 ; pub const GAsciiType_G_ASCII_UPPER : GAsciiType = 512 ; pub const GAsciiType_G_ASCII_XDIGIT : GAsciiType = 1024 ; pub type GAsciiType = u32 ; extern "C" { # [ link_name = "\u{1}g_ascii_table" ] pub static mut g_ascii_table : * const guint16 ; } extern "C" { pub fn g_ascii_tolower ( c : gchar ) -> gchar ; } extern "C" { pub fn g_ascii_toupper ( c : gchar ) -> gchar ; } extern "C" { pub fn g_ascii_digit_value ( c : gchar ) -> gint ; } extern "C" { pub fn g_ascii_xdigit_value ( c : gchar ) -> gint ; } extern "C" { pub fn g_strdelimit ( string : * mut gchar , delimiters : * const gchar , new_delimiter : gchar ) -> * mut gchar ; } extern "C" { pub fn g_strcanon ( string : * mut gchar , valid_chars : * const gchar , substitutor : gchar ) -> * mut gchar ; } extern "C" { pub fn g_strerror ( errnum : gint ) -> * const gchar ; } extern "C" { pub fn g_strsignal ( signum : gint ) -> * const gchar ; } extern "C" { pub fn g_strreverse ( string : * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_strlcpy ( dest : * mut gchar , src : * const gchar , dest_size : gsize ) -> gsize ; } extern "C" { pub fn g_strlcat ( dest : * mut gchar , src : * const gchar , dest_size : gsize ) -> gsize ; } extern "C" { pub fn g_strstr_len ( haystack : * const gchar , haystack_len : gssize , needle : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_strrstr ( haystack : * const gchar , needle : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_strrstr_len ( haystack : * const gchar , haystack_len : gssize , needle : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_str_has_suffix ( str : * const gchar , suffix : * const gchar ) -> gboolean ; } extern "C" { pub fn g_str_has_prefix ( str : * const gchar , prefix : * const gchar ) -> gboolean ; } extern "C" { pub fn g_strtod ( nptr : * const gchar , endptr : * mut * mut gchar ) -> gdouble ; } extern "C" { pub fn g_ascii_strtod ( nptr : * const gchar , endptr : * mut * mut gchar ) -> gdouble ; } extern "C" { pub fn g_ascii_strtoull ( nptr : * const gchar , endptr : * mut * mut gchar , base : guint ) -> guint64 ; } extern "C" { pub fn g_ascii_strtoll ( nptr : * const gchar , endptr : * mut * mut gchar , base : guint ) -> gint64 ; } extern "C" { pub fn g_ascii_dtostr ( buffer : * mut gchar , buf_len : gint , d : gdouble ) -> * mut gchar ; } extern "C" { pub fn g_ascii_formatd ( buffer : * mut gchar , buf_len : gint , format : * const gchar , d : gdouble ) -> * mut gchar ; } extern "C" { pub fn g_strchug ( string : * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_strchomp ( string : * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_ascii_strcasecmp ( s1 : * const gchar , s2 : * const gchar ) -> gint ; } extern "C" { pub fn g_ascii_strncasecmp ( s1 : * const gchar , s2 : * const gchar , n : gsize ) -> gint ; } extern "C" { pub fn g_ascii_strdown ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_ascii_strup ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_str_is_ascii ( str : * const gchar ) -> gboolean ; } extern "C" { pub fn g_strcasecmp ( s1 : * const gchar , s2 : * const gchar ) -> gint ; } extern "C" { pub fn g_strncasecmp ( s1 : * const gchar , s2 : * const gchar , n : guint ) -> gint ; } extern "C" { pub fn g_strdown ( string : * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_strup ( string : * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_strdup ( str : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_strdup_printf ( format : * const gchar , ... ) -> * mut gchar ; } extern "C" { pub fn g_strdup_vprintf ( format : * const gchar , args : * mut __va_list_tag ) -> * mut gchar ; } extern "C" { pub fn g_strndup ( str : * const gchar , n : gsize ) -> * mut gchar ; } extern "C" { pub fn g_strnfill ( length : gsize , fill_char : gchar ) -> * mut gchar ; } extern "C" { pub fn g_strconcat ( string1 : * const gchar , ... ) -> * mut gchar ; } extern "C" { pub fn g_strjoin ( separator : * const gchar , ... ) -> * mut gchar ; } extern "C" { pub fn g_strcompress ( source : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_strescape ( source : * const gchar , exceptions : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_memdup ( mem : gconstpointer , byte_size : guint ) -> gpointer ; } extern "C" { pub fn g_memdup2 ( mem : gconstpointer , byte_size : gsize ) -> gpointer ; } pub type GStrv = * mut * mut gchar ; extern "C" { pub fn g_strsplit ( string : * const gchar , delimiter : * const gchar , max_tokens : gint ) -> * mut * mut gchar ; } extern "C" { pub fn g_strsplit_set ( string : * const gchar , delimiters : * const gchar , max_tokens : gint ) -> * mut * mut gchar ; } extern "C" { pub fn g_strjoinv ( separator : * const gchar , str_array : * mut * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_strfreev ( str_array : * mut * mut gchar ) ; } extern "C" { pub fn g_strdupv ( str_array : * mut * mut gchar ) -> * mut * mut gchar ; } extern "C" { pub fn g_strv_length ( str_array : * mut * mut gchar ) -> guint ; } extern "C" { pub fn g_stpcpy ( dest : * mut gchar , src : * const :: std :: os :: raw :: c_char ) -> * mut gchar ; } extern "C" { pub fn g_str_to_ascii ( str : * const gchar , from_locale : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_str_tokenize_and_fold ( string : * const gchar , translit_locale : * const gchar , ascii_alternates : * mut * mut * mut gchar ) -> * mut * mut gchar ; } extern "C" { pub fn g_str_match_string ( search_term : * const gchar , potential_hit : * const gchar , accept_alternates : gboolean ) -> gboolean ; } extern "C" { pub fn g_strv_contains ( strv : * const * const gchar , str : * const gchar ) -> gboolean ; } extern "C" { pub fn g_strv_equal ( strv1 : * const * const gchar , strv2 : * const * const gchar ) -> gboolean ; } pub const GNumberParserError_G_NUMBER_PARSER_ERROR_INVALID : GNumberParserError = 0 ; pub const GNumberParserError_G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS : GNumberParserError = 1 ; pub type GNumberParserError = u32 ; extern "C" { pub fn g_number_parser_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_ascii_string_to_signed ( str : * const gchar , base : guint , min : gint64 , max : gint64 , out_num : * mut gint64 , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_ascii_string_to_unsigned ( str : * const gchar , base : guint , min : guint64 , max : guint64 , out_num : * mut guint64 , error : * mut * mut GError ) -> gboolean ; } pub type GString = _GString ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GString { pub str : * mut gchar , pub len : gsize , pub allocated_len : gsize , } # [ test ] fn bindgen_test_layout__GString ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GString > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GString ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GString > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GString > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GString ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GString > ( ) ) ) . len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GString ) , "::" , stringify ! ( len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GString > ( ) ) ) . allocated_len as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GString ) , "::" , stringify ! ( allocated_len ) ) ) ; } extern "C" { pub fn g_string_new ( init : * const gchar ) -> * mut GString ; } extern "C" { pub fn g_string_new_take ( init : * mut gchar ) -> * mut GString ; } extern "C" { pub fn g_string_new_len ( init : * const gchar , len : gssize ) -> * mut GString ; } extern "C" { pub fn g_string_sized_new ( dfl_size : gsize ) -> * mut GString ; } extern "C" { pub fn g_string_free ( string : * mut GString , free_segment : gboolean ) -> * mut gchar ; } extern "C" { pub fn g_string_free_and_steal ( string : * mut GString ) -> * mut gchar ; } extern "C" { pub fn g_string_free_to_bytes ( string : * mut GString ) -> * mut GBytes ; } extern "C" { pub fn g_string_equal ( v : * const GString , v2 : * const GString ) -> gboolean ; } extern "C" { pub fn g_string_hash ( str : * const GString ) -> guint ; } extern "C" { pub fn g_string_assign ( string : * mut GString , rval : * const gchar ) -> * mut GString ; } extern "C" { pub fn g_string_truncate ( string : * mut GString , len : gsize ) -> * mut GString ; } extern "C" { pub fn g_string_set_size ( string : * mut GString , len : gsize ) -> * mut GString ; } extern "C" { pub fn g_string_insert_len ( string : * mut GString , pos : gssize , val : * const gchar , len : gssize ) -> * mut GString ; } extern "C" { pub fn g_string_append ( string : * mut GString , val : * const gchar ) -> * mut GString ; } extern "C" { pub fn g_string_append_len ( string : * mut GString , val : * const gchar , len : gssize ) -> * mut GString ; } extern "C" { pub fn g_string_append_c ( string : * mut GString , c : gchar ) -> * mut GString ; } extern "C" { pub fn g_string_append_unichar ( string : * mut GString , wc : gunichar ) -> * mut GString ; } extern "C" { pub fn g_string_prepend ( string : * mut GString , val : * const gchar ) -> * mut GString ; } extern "C" { pub fn g_string_prepend_c ( string : * mut GString , c : gchar ) -> * mut GString ; } extern "C" { pub fn g_string_prepend_unichar ( string : * mut GString , wc : gunichar ) -> * mut GString ; } extern "C" { pub fn g_string_prepend_len ( string : * mut GString , val : * const gchar , len : gssize ) -> * mut GString ; } extern "C" { pub fn g_string_insert ( string : * mut GString , pos : gssize , val : * const gchar ) -> * mut GString ; } extern "C" { pub fn g_string_insert_c ( string : * mut GString , pos : gssize , c : gchar ) -> * mut GString ; } extern "C" { pub fn g_string_insert_unichar ( string : * mut GString , pos : gssize , wc : gunichar ) -> * mut GString ; } extern "C" { pub fn g_string_overwrite ( string : * mut GString , pos : gsize , val : * const gchar ) -> * mut GString ; } extern "C" { pub fn g_string_overwrite_len ( string : * mut GString , pos : gsize , val : * const gchar , len : gssize ) -> * mut GString ; } extern "C" { pub fn g_string_erase ( string : * mut GString , pos : gssize , len : gssize ) -> * mut GString ; } extern "C" { pub fn g_string_replace ( string : * mut GString , find : * const gchar , replace : * const gchar , limit : guint ) -> guint ; } extern "C" { pub fn g_string_ascii_down ( string : * mut GString ) -> * mut GString ; } extern "C" { pub fn g_string_ascii_up ( string : * mut GString ) -> * mut GString ; } extern "C" { pub fn g_string_vprintf ( string : * mut GString , format : * const gchar , args : * mut __va_list_tag ) ; } extern "C" { pub fn g_string_printf ( string : * mut GString , format : * const gchar , ... ) ; } extern "C" { pub fn g_string_append_vprintf ( string : * mut GString , format : * const gchar , args : * mut __va_list_tag ) ; } extern "C" { pub fn g_string_append_printf ( string : * mut GString , format : * const gchar , ... ) ; } extern "C" { pub fn g_string_append_uri_escaped ( string : * mut GString , unescaped : * const gchar , reserved_chars_allowed : * const gchar , allow_utf8 : gboolean ) -> * mut GString ; } extern "C" { pub fn g_string_down ( string : * mut GString ) -> * mut GString ; } extern "C" { pub fn g_string_up ( string : * mut GString ) -> * mut GString ; } pub type GIOChannel = _GIOChannel ; pub type GIOFuncs = _GIOFuncs ; pub const GIOError_G_IO_ERROR_NONE : GIOError = 0 ; pub const GIOError_G_IO_ERROR_AGAIN : GIOError = 1 ; pub const GIOError_G_IO_ERROR_INVAL : GIOError = 2 ; pub const GIOError_G_IO_ERROR_UNKNOWN : GIOError = 3 ; pub type GIOError = u32 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_FBIG : GIOChannelError = 0 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_INVAL : GIOChannelError = 1 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_IO : GIOChannelError = 2 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_ISDIR : GIOChannelError = 3 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_NOSPC : GIOChannelError = 4 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_NXIO : GIOChannelError = 5 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_OVERFLOW : GIOChannelError = 6 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_PIPE : GIOChannelError = 7 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_FAILED : GIOChannelError = 8 ; pub type GIOChannelError = u32 ; pub const GIOStatus_G_IO_STATUS_ERROR : GIOStatus = 0 ; pub const GIOStatus_G_IO_STATUS_NORMAL : GIOStatus = 1 ; pub const GIOStatus_G_IO_STATUS_EOF : GIOStatus = 2 ; pub const GIOStatus_G_IO_STATUS_AGAIN : GIOStatus = 3 ; pub type GIOStatus = u32 ; pub const GSeekType_G_SEEK_CUR : GSeekType = 0 ; pub const GSeekType_G_SEEK_SET : GSeekType = 1 ; pub const GSeekType_G_SEEK_END : GSeekType = 2 ; pub type GSeekType = u32 ; pub const GIOFlags_G_IO_FLAG_NONE : GIOFlags = 0 ; pub const GIOFlags_G_IO_FLAG_APPEND : GIOFlags = 1 ; pub const GIOFlags_G_IO_FLAG_NONBLOCK : GIOFlags = 2 ; pub const GIOFlags_G_IO_FLAG_IS_READABLE : GIOFlags = 4 ; pub const GIOFlags_G_IO_FLAG_IS_WRITABLE : GIOFlags = 8 ; pub const GIOFlags_G_IO_FLAG_IS_WRITEABLE : GIOFlags = 8 ; pub const GIOFlags_G_IO_FLAG_IS_SEEKABLE : GIOFlags = 16 ; pub const GIOFlags_G_IO_FLAG_MASK : GIOFlags = 31 ; pub const GIOFlags_G_IO_FLAG_GET_MASK : GIOFlags = 31 ; pub const GIOFlags_G_IO_FLAG_SET_MASK : GIOFlags = 3 ; pub type GIOFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOChannel { pub ref_count : gint , pub funcs : * mut GIOFuncs , pub encoding : * mut gchar , pub read_cd : GIConv , pub write_cd : GIConv , pub line_term : * mut gchar , pub line_term_len : guint , pub buf_size : gsize , pub read_buf : * mut GString , pub encoded_read_buf : * mut GString , pub write_buf : * mut GString , pub partial_write_buf : [ gchar ; 6usize ] , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub reserved1 : gpointer , pub reserved2 : gpointer , } # [ test ] fn bindgen_test_layout__GIOChannel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GIOChannel > ( ) , 112usize , concat ! ( "Size of: " , stringify ! ( _GIOChannel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GIOChannel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GIOChannel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . funcs as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( funcs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . encoding as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( encoding ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . read_cd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( read_cd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . write_cd as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( write_cd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . line_term as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( line_term ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . line_term_len as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( line_term_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . buf_size as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( buf_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . read_buf as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( read_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . encoded_read_buf as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( encoded_read_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . write_buf as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( write_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . partial_write_buf as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( partial_write_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . reserved1 as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . reserved2 as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( reserved2 ) ) ) ; } impl _GIOChannel { # [ inline ] pub fn use_buffer ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_use_buffer ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn do_encode ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_do_encode ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn close_on_unref ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_close_on_unref ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn is_readable ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_is_readable ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn is_writeable ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 4usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_is_writeable ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 4usize , 1u8 , val as u64 ) } } # [ inline ] pub fn is_seekable ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 5usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_is_seekable ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 5usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( use_buffer : guint , do_encode : guint , close_on_unref : guint , is_readable : guint , is_writeable : guint , is_seekable : guint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let use_buffer : u32 = unsafe { :: std :: mem :: transmute ( use_buffer ) } ; use_buffer as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let do_encode : u32 = unsafe { :: std :: mem :: transmute ( do_encode ) } ; do_encode as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let close_on_unref : u32 = unsafe { :: std :: mem :: transmute ( close_on_unref ) } ; close_on_unref as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let is_readable : u32 = unsafe { :: std :: mem :: transmute ( is_readable ) } ; is_readable as u64 } ) ; __bindgen_bitfield_unit . set ( 4usize , 1u8 , { let is_writeable : u32 = unsafe { :: std :: mem :: transmute ( is_writeable ) } ; is_writeable as u64 } ) ; __bindgen_bitfield_unit . set ( 5usize , 1u8 , { let is_seekable : u32 = unsafe { :: std :: mem :: transmute ( is_seekable ) } ; is_seekable as u64 } ) ; __bindgen_bitfield_unit } } pub type GIOFunc = :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GIOChannel , condition : GIOCondition , data : gpointer ) -> gboolean > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOFuncs { pub io_read : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel , buf : * mut gchar , count : gsize , bytes_read : * mut gsize , err : * mut * mut GError ) -> GIOStatus > , pub io_write : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel , buf : * const gchar , count : gsize , bytes_written : * mut gsize , err : * mut * mut GError ) -> GIOStatus > , pub io_seek : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel , offset : gint64 , type_ : GSeekType , err : * mut * mut GError ) -> GIOStatus > , pub io_close : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel , err : * mut * mut GError ) -> GIOStatus > , pub io_create_watch : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel , condition : GIOCondition ) -> * mut GSource > , pub io_free : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel ) > , pub io_set_flags : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel , flags : GIOFlags , err : * mut * mut GError ) -> GIOStatus > , pub io_get_flags : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel ) -> GIOFlags > , } # [ test ] fn bindgen_test_layout__GIOFuncs ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GIOFuncs > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _GIOFuncs ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GIOFuncs > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GIOFuncs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_read as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_write as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_write ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_seek as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_close as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_close ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_create_watch as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_create_watch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_free as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_set_flags as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_set_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_get_flags as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_get_flags ) ) ) ; } extern "C" { pub fn g_io_channel_init ( channel : * mut GIOChannel ) ; } extern "C" { pub fn g_io_channel_ref ( channel : * mut GIOChannel ) -> * mut GIOChannel ; } extern "C" { pub fn g_io_channel_unref ( channel : * mut GIOChannel ) ; } extern "C" { pub fn g_io_channel_read ( channel : * mut GIOChannel , buf : * mut gchar , count : gsize , bytes_read : * mut gsize ) -> GIOError ; } extern "C" { pub fn g_io_channel_write ( channel : * mut GIOChannel , buf : * const gchar , count : gsize , bytes_written : * mut gsize ) -> GIOError ; } extern "C" { pub fn g_io_channel_seek ( channel : * mut GIOChannel , offset : gint64 , type_ : GSeekType ) -> GIOError ; } extern "C" { pub fn g_io_channel_close ( channel : * mut GIOChannel ) ; } extern "C" { pub fn g_io_channel_shutdown ( channel : * mut GIOChannel , flush : gboolean , err : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_add_watch_full ( channel : * mut GIOChannel , priority : gint , condition : GIOCondition , func : GIOFunc , user_data : gpointer , notify : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_io_create_watch ( channel : * mut GIOChannel , condition : GIOCondition ) -> * mut GSource ; } extern "C" { pub fn g_io_add_watch ( channel : * mut GIOChannel , condition : GIOCondition , func : GIOFunc , user_data : gpointer ) -> guint ; } extern "C" { pub fn g_io_channel_set_buffer_size ( channel : * mut GIOChannel , size : gsize ) ; } extern "C" { pub fn g_io_channel_get_buffer_size ( channel : * mut GIOChannel ) -> gsize ; } extern "C" { pub fn g_io_channel_get_buffer_condition ( channel : * mut GIOChannel ) -> GIOCondition ; } extern "C" { pub fn g_io_channel_set_flags ( channel : * mut GIOChannel , flags : GIOFlags , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_get_flags ( channel : * mut GIOChannel ) -> GIOFlags ; } extern "C" { pub fn g_io_channel_set_line_term ( channel : * mut GIOChannel , line_term : * const gchar , length : gint ) ; } extern "C" { pub fn g_io_channel_get_line_term ( channel : * mut GIOChannel , length : * mut gint ) -> * const gchar ; } extern "C" { pub fn g_io_channel_set_buffered ( channel : * mut GIOChannel , buffered : gboolean ) ; } extern "C" { pub fn g_io_channel_get_buffered ( channel : * mut GIOChannel ) -> gboolean ; } extern "C" { pub fn g_io_channel_set_encoding ( channel : * mut GIOChannel , encoding : * const gchar , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_get_encoding ( channel : * mut GIOChannel ) -> * const gchar ; } extern "C" { pub fn g_io_channel_set_close_on_unref ( channel : * mut GIOChannel , do_close : gboolean ) ; } extern "C" { pub fn g_io_channel_get_close_on_unref ( channel : * mut GIOChannel ) -> gboolean ; } extern "C" { pub fn g_io_channel_flush ( channel : * mut GIOChannel , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_read_line ( channel : * mut GIOChannel , str_return : * mut * mut gchar , length : * mut gsize , terminator_pos : * mut gsize , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_read_line_string ( channel : * mut GIOChannel , buffer : * mut GString , terminator_pos : * mut gsize , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_read_to_end ( channel : * mut GIOChannel , str_return : * mut * mut gchar , length : * mut gsize , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_read_chars ( channel : * mut GIOChannel , buf : * mut gchar , count : gsize , bytes_read : * mut gsize , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_read_unichar ( channel : * mut GIOChannel , thechar : * mut gunichar , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_write_chars ( channel : * mut GIOChannel , buf : * const gchar , count : gssize , bytes_written : * mut gsize , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_write_unichar ( channel : * mut GIOChannel , thechar : gunichar , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_seek_position ( channel : * mut GIOChannel , offset : gint64 , type_ : GSeekType , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_new_file ( filename : * const gchar , mode : * const gchar , error : * mut * mut GError ) -> * mut GIOChannel ; } extern "C" { pub fn g_io_channel_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_io_channel_error_from_errno ( en : gint ) -> GIOChannelError ; } extern "C" { pub fn g_io_channel_unix_new ( fd : :: std :: os :: raw :: c_int ) -> * mut GIOChannel ; } extern "C" { pub fn g_io_channel_unix_get_fd ( channel : * mut GIOChannel ) -> gint ; } extern "C" { # [ link_name = "\u{1}g_io_watch_funcs" ] pub static mut g_io_watch_funcs : GSourceFuncs ; } pub const GKeyFileError_G_KEY_FILE_ERROR_UNKNOWN_ENCODING : GKeyFileError = 0 ; pub const GKeyFileError_G_KEY_FILE_ERROR_PARSE : GKeyFileError = 1 ; pub const GKeyFileError_G_KEY_FILE_ERROR_NOT_FOUND : GKeyFileError = 2 ; pub const GKeyFileError_G_KEY_FILE_ERROR_KEY_NOT_FOUND : GKeyFileError = 3 ; pub const GKeyFileError_G_KEY_FILE_ERROR_GROUP_NOT_FOUND : GKeyFileError = 4 ; pub const GKeyFileError_G_KEY_FILE_ERROR_INVALID_VALUE : GKeyFileError = 5 ; pub type GKeyFileError = u32 ; extern "C" { pub fn g_key_file_error_quark ( ) -> GQuark ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GKeyFile { _unused : [ u8 ; 0 ] , } pub type GKeyFile = _GKeyFile ; pub const GKeyFileFlags_G_KEY_FILE_NONE : GKeyFileFlags = 0 ; pub const GKeyFileFlags_G_KEY_FILE_KEEP_COMMENTS : GKeyFileFlags = 1 ; pub const GKeyFileFlags_G_KEY_FILE_KEEP_TRANSLATIONS : GKeyFileFlags = 2 ; pub type GKeyFileFlags = u32 ; extern "C" { pub fn g_key_file_new ( ) -> * mut GKeyFile ; } extern "C" { pub fn g_key_file_ref ( key_file : * mut GKeyFile ) -> * mut GKeyFile ; } extern "C" { pub fn g_key_file_unref ( key_file : * mut GKeyFile ) ; } extern "C" { pub fn g_key_file_free ( key_file : * mut GKeyFile ) ; } extern "C" { pub fn g_key_file_set_list_separator ( key_file : * mut GKeyFile , separator : gchar ) ; } extern "C" { pub fn g_key_file_load_from_file ( key_file : * mut GKeyFile , file : * const gchar , flags : GKeyFileFlags , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_load_from_data ( key_file : * mut GKeyFile , data : * const gchar , length : gsize , flags : GKeyFileFlags , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_load_from_bytes ( key_file : * mut GKeyFile , bytes : * mut GBytes , flags : GKeyFileFlags , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_load_from_dirs ( key_file : * mut GKeyFile , file : * const gchar , search_dirs : * mut * const gchar , full_path : * mut * mut gchar , flags : GKeyFileFlags , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_load_from_data_dirs ( key_file : * mut GKeyFile , file : * const gchar , full_path : * mut * mut gchar , flags : GKeyFileFlags , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_to_data ( key_file : * mut GKeyFile , length : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_key_file_save_to_file ( key_file : * mut GKeyFile , filename : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_get_start_group ( key_file : * mut GKeyFile ) -> * mut gchar ; } extern "C" { pub fn g_key_file_get_groups ( key_file : * mut GKeyFile , length : * mut gsize ) -> * mut * mut gchar ; } extern "C" { pub fn g_key_file_get_keys ( key_file : * mut GKeyFile , group_name : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_key_file_has_group ( key_file : * mut GKeyFile , group_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_key_file_has_key ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_get_value ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_key_file_set_value ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , value : * const gchar ) ; } extern "C" { pub fn g_key_file_get_string ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_key_file_set_string ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , string : * const gchar ) ; } extern "C" { pub fn g_key_file_get_locale_string ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , locale : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_key_file_get_locale_for_key ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , locale : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_key_file_set_locale_string ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , locale : * const gchar , string : * const gchar ) ; } extern "C" { pub fn g_key_file_get_boolean ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_set_boolean ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , value : gboolean ) ; } extern "C" { pub fn g_key_file_get_integer ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_key_file_set_integer ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , value : gint ) ; } extern "C" { pub fn g_key_file_get_int64 ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gint64 ; } extern "C" { pub fn g_key_file_set_int64 ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , value : gint64 ) ; } extern "C" { pub fn g_key_file_get_uint64 ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> guint64 ; } extern "C" { pub fn g_key_file_set_uint64 ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , value : guint64 ) ; } extern "C" { pub fn g_key_file_get_double ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gdouble ; } extern "C" { pub fn g_key_file_set_double ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , value : gdouble ) ; } extern "C" { pub fn g_key_file_get_string_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_key_file_set_string_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , list : * const * const gchar , length : gsize ) ; } extern "C" { pub fn g_key_file_get_locale_string_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , locale : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_key_file_set_locale_string_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , locale : * const gchar , list : * const * const gchar , length : gsize ) ; } extern "C" { pub fn g_key_file_get_boolean_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut gboolean ; } extern "C" { pub fn g_key_file_set_boolean_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , list : * mut gboolean , length : gsize ) ; } extern "C" { pub fn g_key_file_get_integer_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut gint ; } extern "C" { pub fn g_key_file_set_double_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , list : * mut gdouble , length : gsize ) ; } extern "C" { pub fn g_key_file_get_double_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut gdouble ; } extern "C" { pub fn g_key_file_set_integer_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , list : * mut gint , length : gsize ) ; } extern "C" { pub fn g_key_file_set_comment ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , comment : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_get_comment ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_key_file_remove_comment ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_remove_key ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_remove_group ( key_file : * mut GKeyFile , group_name : * const gchar , error : * mut * mut GError ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMappedFile { _unused : [ u8 ; 0 ] , } pub type GMappedFile = _GMappedFile ; extern "C" { pub fn g_mapped_file_new ( filename : * const gchar , writable : gboolean , error : * mut * mut GError ) -> * mut GMappedFile ; } extern "C" { pub fn g_mapped_file_new_from_fd ( fd : gint , writable : gboolean , error : * mut * mut GError ) -> * mut GMappedFile ; } extern "C" { pub fn g_mapped_file_get_length ( file : * mut GMappedFile ) -> gsize ; } extern "C" { pub fn g_mapped_file_get_contents ( file : * mut GMappedFile ) -> * mut gchar ; } extern "C" { pub fn g_mapped_file_get_bytes ( file : * mut GMappedFile ) -> * mut GBytes ; } extern "C" { pub fn g_mapped_file_ref ( file : * mut GMappedFile ) -> * mut GMappedFile ; } extern "C" { pub fn g_mapped_file_unref ( file : * mut GMappedFile ) ; } extern "C" { pub fn g_mapped_file_free ( file : * mut GMappedFile ) ; } pub const GMarkupError_G_MARKUP_ERROR_BAD_UTF8 : GMarkupError = 0 ; pub const GMarkupError_G_MARKUP_ERROR_EMPTY : GMarkupError = 1 ; pub const GMarkupError_G_MARKUP_ERROR_PARSE : GMarkupError = 2 ; pub const GMarkupError_G_MARKUP_ERROR_UNKNOWN_ELEMENT : GMarkupError = 3 ; pub const GMarkupError_G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE : GMarkupError = 4 ; pub const GMarkupError_G_MARKUP_ERROR_INVALID_CONTENT : GMarkupError = 5 ; pub const GMarkupError_G_MARKUP_ERROR_MISSING_ATTRIBUTE : GMarkupError = 6 ; pub type GMarkupError = u32 ; extern "C" { pub fn g_markup_error_quark ( ) -> GQuark ; } pub const GMarkupParseFlags_G_MARKUP_DEFAULT_FLAGS : GMarkupParseFlags = 0 ; pub const GMarkupParseFlags_G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG : GMarkupParseFlags = 1 ; pub const GMarkupParseFlags_G_MARKUP_TREAT_CDATA_AS_TEXT : GMarkupParseFlags = 2 ; pub const GMarkupParseFlags_G_MARKUP_PREFIX_ERROR_POSITION : GMarkupParseFlags = 4 ; pub const GMarkupParseFlags_G_MARKUP_IGNORE_QUALIFIED : GMarkupParseFlags = 8 ; pub type GMarkupParseFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMarkupParseContext { _unused : [ u8 ; 0 ] , } pub type GMarkupParseContext = _GMarkupParseContext ; pub type GMarkupParser = _GMarkupParser ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMarkupParser { pub start_element : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GMarkupParseContext , element_name : * const gchar , attribute_names : * mut * const gchar , attribute_values : * mut * const gchar , user_data : gpointer , error : * mut * mut GError ) > , pub end_element : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GMarkupParseContext , element_name : * const gchar , user_data : gpointer , error : * mut * mut GError ) > , pub text : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GMarkupParseContext , text : * const gchar , text_len : gsize , user_data : gpointer , error : * mut * mut GError ) > , pub passthrough : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GMarkupParseContext , passthrough_text : * const gchar , text_len : gsize , user_data : gpointer , error : * mut * mut GError ) > , pub error : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GMarkupParseContext , error : * mut GError , user_data : gpointer ) > , } # [ test ] fn bindgen_test_layout__GMarkupParser ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMarkupParser > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GMarkupParser ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMarkupParser > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMarkupParser ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMarkupParser > ( ) ) ) . start_element as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMarkupParser ) , "::" , stringify ! ( start_element ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMarkupParser > ( ) ) ) . end_element as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GMarkupParser ) , "::" , stringify ! ( end_element ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMarkupParser > ( ) ) ) . text as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GMarkupParser ) , "::" , stringify ! ( text ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMarkupParser > ( ) ) ) . passthrough as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMarkupParser ) , "::" , stringify ! ( passthrough ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMarkupParser > ( ) ) ) . error as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GMarkupParser ) , "::" , stringify ! ( error ) ) ) ; } extern "C" { pub fn g_markup_parse_context_new ( parser : * const GMarkupParser , flags : GMarkupParseFlags , user_data : gpointer , user_data_dnotify : GDestroyNotify ) -> * mut GMarkupParseContext ; } extern "C" { pub fn g_markup_parse_context_ref ( context : * mut GMarkupParseContext ) -> * mut GMarkupParseContext ; } extern "C" { pub fn g_markup_parse_context_unref ( context : * mut GMarkupParseContext ) ; } extern "C" { pub fn g_markup_parse_context_free ( context : * mut GMarkupParseContext ) ; } extern "C" { pub fn g_markup_parse_context_parse ( context : * mut GMarkupParseContext , text : * const gchar , text_len : gssize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_markup_parse_context_push ( context : * mut GMarkupParseContext , parser : * const GMarkupParser , user_data : gpointer ) ; } extern "C" { pub fn g_markup_parse_context_pop ( context : * mut GMarkupParseContext ) -> gpointer ; } extern "C" { pub fn g_markup_parse_context_end_parse ( context : * mut GMarkupParseContext , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_markup_parse_context_get_element ( context : * mut GMarkupParseContext ) -> * const gchar ; } extern "C" { pub fn g_markup_parse_context_get_element_stack ( context : * mut GMarkupParseContext ) -> * const GSList ; } extern "C" { pub fn g_markup_parse_context_get_position ( context : * mut GMarkupParseContext , line_number : * mut gint , char_number : * mut gint ) ; } extern "C" { pub fn g_markup_parse_context_get_user_data ( context : * mut GMarkupParseContext ) -> gpointer ; } extern "C" { pub fn g_markup_escape_text ( text : * const gchar , length : gssize ) -> * mut gchar ; } extern "C" { pub fn g_markup_printf_escaped ( format : * const :: std :: os :: raw :: c_char , ... ) -> * mut gchar ; } extern "C" { pub fn g_markup_vprintf_escaped ( format : * const :: std :: os :: raw :: c_char , args : * mut __va_list_tag ) -> * mut gchar ; } pub const GMarkupCollectType_G_MARKUP_COLLECT_INVALID : GMarkupCollectType = 0 ; pub const GMarkupCollectType_G_MARKUP_COLLECT_STRING : GMarkupCollectType = 1 ; pub const GMarkupCollectType_G_MARKUP_COLLECT_STRDUP : GMarkupCollectType = 2 ; pub const GMarkupCollectType_G_MARKUP_COLLECT_BOOLEAN : GMarkupCollectType = 3 ; pub const GMarkupCollectType_G_MARKUP_COLLECT_TRISTATE : GMarkupCollectType = 4 ; pub const GMarkupCollectType_G_MARKUP_COLLECT_OPTIONAL : GMarkupCollectType = 65536 ; pub type GMarkupCollectType = u32 ; extern "C" { pub fn g_markup_collect_attributes ( element_name : * const gchar , attribute_names : * mut * const gchar , attribute_values : * mut * const gchar , error : * mut * mut GError , first_type : GMarkupCollectType , first_attr : * const gchar , ... ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVariantType { _unused : [ u8 ; 0 ] , } pub type GVariantType = _GVariantType ; extern "C" { pub fn g_variant_type_string_is_valid ( type_string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_variant_type_string_scan ( string : * const gchar , limit : * const gchar , endptr : * mut * const gchar ) -> gboolean ; } extern "C" { pub fn g_variant_type_free ( type_ : * mut GVariantType ) ; } extern "C" { pub fn g_variant_type_copy ( type_ : * const GVariantType ) -> * mut GVariantType ; } extern "C" { pub fn g_variant_type_new ( type_string : * const gchar ) -> * mut GVariantType ; } extern "C" { pub fn g_variant_type_get_string_length ( type_ : * const GVariantType ) -> gsize ; } extern "C" { pub fn g_variant_type_peek_string ( type_ : * const GVariantType ) -> * const gchar ; } extern "C" { pub fn g_variant_type_dup_string ( type_ : * const GVariantType ) -> * mut gchar ; } extern "C" { pub fn g_variant_type_is_definite ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_container ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_basic ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_maybe ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_array ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_tuple ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_dict_entry ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_variant ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_hash ( type_ : gconstpointer ) -> guint ; } extern "C" { pub fn g_variant_type_equal ( type1 : gconstpointer , type2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_subtype_of ( type_ : * const GVariantType , supertype : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_element ( type_ : * const GVariantType ) -> * const GVariantType ; } extern "C" { pub fn g_variant_type_first ( type_ : * const GVariantType ) -> * const GVariantType ; } extern "C" { pub fn g_variant_type_next ( type_ : * const GVariantType ) -> * const GVariantType ; } extern "C" { pub fn g_variant_type_n_items ( type_ : * const GVariantType ) -> gsize ; } extern "C" { pub fn g_variant_type_key ( type_ : * const GVariantType ) -> * const GVariantType ; } extern "C" { pub fn g_variant_type_value ( type_ : * const GVariantType ) -> * const GVariantType ; } extern "C" { pub fn g_variant_type_new_array ( element : * const GVariantType ) -> * mut GVariantType ; } extern "C" { pub fn g_variant_type_new_maybe ( element : * const GVariantType ) -> * mut GVariantType ; } extern "C" { pub fn g_variant_type_new_tuple ( items : * const * const GVariantType , length : gint ) -> * mut GVariantType ; } extern "C" { pub fn g_variant_type_new_dict_entry ( key : * const GVariantType , value : * const GVariantType ) -> * mut GVariantType ; } extern "C" { pub fn g_variant_type_checked_ ( type_string : * const gchar ) -> * const GVariantType ; } extern "C" { pub fn g_variant_type_string_get_depth_ ( type_string : * const gchar ) -> gsize ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVariant { _unused : [ u8 ; 0 ] , } pub type GVariant = _GVariant ; pub const GVariantClass_G_VARIANT_CLASS_BOOLEAN : GVariantClass = 98 ; pub const GVariantClass_G_VARIANT_CLASS_BYTE : GVariantClass = 121 ; pub const GVariantClass_G_VARIANT_CLASS_INT16 : GVariantClass = 110 ; pub const GVariantClass_G_VARIANT_CLASS_UINT16 : GVariantClass = 113 ; pub const GVariantClass_G_VARIANT_CLASS_INT32 : GVariantClass = 105 ; pub const GVariantClass_G_VARIANT_CLASS_UINT32 : GVariantClass = 117 ; pub const GVariantClass_G_VARIANT_CLASS_INT64 : GVariantClass = 120 ; pub const GVariantClass_G_VARIANT_CLASS_UINT64 : GVariantClass = 116 ; pub const GVariantClass_G_VARIANT_CLASS_HANDLE : GVariantClass = 104 ; pub const GVariantClass_G_VARIANT_CLASS_DOUBLE : GVariantClass = 100 ; pub const GVariantClass_G_VARIANT_CLASS_STRING : GVariantClass = 115 ; pub const GVariantClass_G_VARIANT_CLASS_OBJECT_PATH : GVariantClass = 111 ; pub const GVariantClass_G_VARIANT_CLASS_SIGNATURE : GVariantClass = 103 ; pub const GVariantClass_G_VARIANT_CLASS_VARIANT : GVariantClass = 118 ; pub const GVariantClass_G_VARIANT_CLASS_MAYBE : GVariantClass = 109 ; pub const GVariantClass_G_VARIANT_CLASS_ARRAY : GVariantClass = 97 ; pub const GVariantClass_G_VARIANT_CLASS_TUPLE : GVariantClass = 40 ; pub const GVariantClass_G_VARIANT_CLASS_DICT_ENTRY : GVariantClass = 123 ; pub type GVariantClass = u32 ; extern "C" { pub fn g_variant_unref ( value : * mut GVariant ) ; } extern "C" { pub fn g_variant_ref ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_ref_sink ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_is_floating ( value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_variant_take_ref ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get_type ( value : * mut GVariant ) -> * const GVariantType ; } extern "C" { pub fn g_variant_get_type_string ( value : * mut GVariant ) -> * const gchar ; } extern "C" { pub fn g_variant_is_of_type ( value : * mut GVariant , type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_is_container ( value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_variant_classify ( value : * mut GVariant ) -> GVariantClass ; } extern "C" { pub fn g_variant_new_boolean ( value : gboolean ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_byte ( value : guint8 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_int16 ( value : gint16 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_uint16 ( value : guint16 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_int32 ( value : gint32 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_uint32 ( value : guint32 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_int64 ( value : gint64 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_uint64 ( value : guint64 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_handle ( value : gint32 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_double ( value : gdouble ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_string ( string : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_take_string ( string : * mut gchar ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_printf ( format_string : * const gchar , ... ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_object_path ( object_path : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_variant_is_object_path ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_variant_new_signature ( signature : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_variant_is_signature ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_variant_new_variant ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_strv ( strv : * const * const gchar , length : gssize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_objv ( strv : * const * const gchar , length : gssize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_bytestring ( string : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_bytestring_array ( strv : * const * const gchar , length : gssize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_fixed_array ( element_type : * const GVariantType , elements : gconstpointer , n_elements : gsize , element_size : gsize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get_boolean ( value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_variant_get_byte ( value : * mut GVariant ) -> guint8 ; } extern "C" { pub fn g_variant_get_int16 ( value : * mut GVariant ) -> gint16 ; } extern "C" { pub fn g_variant_get_uint16 ( value : * mut GVariant ) -> guint16 ; } extern "C" { pub fn g_variant_get_int32 ( value : * mut GVariant ) -> gint32 ; } extern "C" { pub fn g_variant_get_uint32 ( value : * mut GVariant ) -> guint32 ; } extern "C" { pub fn g_variant_get_int64 ( value : * mut GVariant ) -> gint64 ; } extern "C" { pub fn g_variant_get_uint64 ( value : * mut GVariant ) -> guint64 ; } extern "C" { pub fn g_variant_get_handle ( value : * mut GVariant ) -> gint32 ; } extern "C" { pub fn g_variant_get_double ( value : * mut GVariant ) -> gdouble ; } extern "C" { pub fn g_variant_get_variant ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get_string ( value : * mut GVariant , length : * mut gsize ) -> * const gchar ; } extern "C" { pub fn g_variant_dup_string ( value : * mut GVariant , length : * mut gsize ) -> * mut gchar ; } extern "C" { pub fn g_variant_get_strv ( value : * mut GVariant , length : * mut gsize ) -> * mut * const gchar ; } extern "C" { pub fn g_variant_dup_strv ( value : * mut GVariant , length : * mut gsize ) -> * mut * mut gchar ; } extern "C" { pub fn g_variant_get_objv ( value : * mut GVariant , length : * mut gsize ) -> * mut * const gchar ; } extern "C" { pub fn g_variant_dup_objv ( value : * mut GVariant , length : * mut gsize ) -> * mut * mut gchar ; } extern "C" { pub fn g_variant_get_bytestring ( value : * mut GVariant ) -> * const gchar ; } extern "C" { pub fn g_variant_dup_bytestring ( value : * mut GVariant , length : * mut gsize ) -> * mut gchar ; } extern "C" { pub fn g_variant_get_bytestring_array ( value : * mut GVariant , length : * mut gsize ) -> * mut * const gchar ; } extern "C" { pub fn g_variant_dup_bytestring_array ( value : * mut GVariant , length : * mut gsize ) -> * mut * mut gchar ; } extern "C" { pub fn g_variant_new_maybe ( child_type : * const GVariantType , child : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_array ( child_type : * const GVariantType , children : * const * const GVariant , n_children : gsize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_tuple ( children : * const * const GVariant , n_children : gsize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_dict_entry ( key : * mut GVariant , value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get_maybe ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_n_children ( value : * mut GVariant ) -> gsize ; } extern "C" { pub fn g_variant_get_child ( value : * mut GVariant , index_ : gsize , format_string : * const gchar , ... ) ; } extern "C" { pub fn g_variant_get_child_value ( value : * mut GVariant , index_ : gsize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_lookup ( dictionary : * mut GVariant , key : * const gchar , format_string : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_variant_lookup_value ( dictionary : * mut GVariant , key : * const gchar , expected_type : * const GVariantType ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get_fixed_array ( value : * mut GVariant , n_elements : * mut gsize , element_size : gsize ) -> gconstpointer ; } extern "C" { pub fn g_variant_get_size ( value : * mut GVariant ) -> gsize ; } extern "C" { pub fn g_variant_get_data ( value : * mut GVariant ) -> gconstpointer ; } extern "C" { pub fn g_variant_get_data_as_bytes ( value : * mut GVariant ) -> * mut GBytes ; } extern "C" { pub fn g_variant_store ( value : * mut GVariant , data : gpointer ) ; } extern "C" { pub fn g_variant_print ( value : * mut GVariant , type_annotate : gboolean ) -> * mut gchar ; } extern "C" { pub fn g_variant_print_string ( value : * mut GVariant , string : * mut GString , type_annotate : gboolean ) -> * mut GString ; } extern "C" { pub fn g_variant_hash ( value : gconstpointer ) -> guint ; } extern "C" { pub fn g_variant_equal ( one : gconstpointer , two : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_variant_get_normal_form ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_is_normal_form ( value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_variant_byteswap ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_from_bytes ( type_ : * const GVariantType , bytes : * mut GBytes , trusted : gboolean ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_from_data ( type_ : * const GVariantType , data : gconstpointer , size : gsize , trusted : gboolean , notify : GDestroyNotify , user_data : gpointer ) -> * mut GVariant ; } pub type GVariantIter = _GVariantIter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVariantIter { pub x : [ guintptr ; 16usize ] , } # [ test ] fn bindgen_test_layout__GVariantIter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantIter > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantIter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantIter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantIter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantIter > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantIter ) , "::" , stringify ! ( x ) ) ) ; } extern "C" { pub fn g_variant_iter_new ( value : * mut GVariant ) -> * mut GVariantIter ; } extern "C" { pub fn g_variant_iter_init ( iter : * mut GVariantIter , value : * mut GVariant ) -> gsize ; } extern "C" { pub fn g_variant_iter_copy ( iter : * mut GVariantIter ) -> * mut GVariantIter ; } extern "C" { pub fn g_variant_iter_n_children ( iter : * mut GVariantIter ) -> gsize ; } extern "C" { pub fn g_variant_iter_free ( iter : * mut GVariantIter ) ; } extern "C" { pub fn g_variant_iter_next_value ( iter : * mut GVariantIter ) -> * mut GVariant ; } extern "C" { pub fn g_variant_iter_next ( iter : * mut GVariantIter , format_string : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_variant_iter_loop ( iter : * mut GVariantIter , format_string : * const gchar , ... ) -> gboolean ; } pub type GVariantBuilder = _GVariantBuilder ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GVariantBuilder { pub u : _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) { pub s : _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) , pub x : [ guintptr ; 16usize ] , _bindgen_union_align : [ u64 ; 16usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) { pub partial_magic : gsize , pub type_ : * const GVariantType , pub y : [ guintptr ; 14usize ] , } # [ test ] fn bindgen_test_layout__GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) > ( ) ) ) . partial_magic as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) ) , "::" , stringify ! ( partial_magic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) > ( ) ) ) . y as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) ) , "::" , stringify ! ( y ) ) ) ; } # [ test ] fn bindgen_test_layout__GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) ) , "::" , stringify ! ( s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) ) , "::" , stringify ! ( x ) ) ) ; } # [ test ] fn bindgen_test_layout__GVariantBuilder ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantBuilder > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantBuilder ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantBuilder > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantBuilder ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantBuilder > ( ) ) ) . u as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantBuilder ) , "::" , stringify ! ( u ) ) ) ; } pub const GVariantParseError_G_VARIANT_PARSE_ERROR_FAILED : GVariantParseError = 0 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED : GVariantParseError = 1 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE : GVariantParseError = 2 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED : GVariantParseError = 3 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END : GVariantParseError = 4 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_CHARACTER : GVariantParseError = 5 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING : GVariantParseError = 6 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH : GVariantParseError = 7 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE : GVariantParseError = 8 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING : GVariantParseError = 9 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE : GVariantParseError = 10 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE : GVariantParseError = 11 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG : GVariantParseError = 12 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_TYPE_ERROR : GVariantParseError = 13 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN : GVariantParseError = 14 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD : GVariantParseError = 15 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT : GVariantParseError = 16 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_VALUE_EXPECTED : GVariantParseError = 17 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_RECURSION : GVariantParseError = 18 ; pub type GVariantParseError = u32 ; extern "C" { pub fn g_variant_parser_get_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_variant_parse_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_variant_builder_new ( type_ : * const GVariantType ) -> * mut GVariantBuilder ; } extern "C" { pub fn g_variant_builder_unref ( builder : * mut GVariantBuilder ) ; } extern "C" { pub fn g_variant_builder_ref ( builder : * mut GVariantBuilder ) -> * mut GVariantBuilder ; } extern "C" { pub fn g_variant_builder_init ( builder : * mut GVariantBuilder , type_ : * const GVariantType ) ; } extern "C" { pub fn g_variant_builder_end ( builder : * mut GVariantBuilder ) -> * mut GVariant ; } extern "C" { pub fn g_variant_builder_clear ( builder : * mut GVariantBuilder ) ; } extern "C" { pub fn g_variant_builder_open ( builder : * mut GVariantBuilder , type_ : * const GVariantType ) ; } extern "C" { pub fn g_variant_builder_close ( builder : * mut GVariantBuilder ) ; } extern "C" { pub fn g_variant_builder_add_value ( builder : * mut GVariantBuilder , value : * mut GVariant ) ; } extern "C" { pub fn g_variant_builder_add ( builder : * mut GVariantBuilder , format_string : * const gchar , ... ) ; } extern "C" { pub fn g_variant_builder_add_parsed ( builder : * mut GVariantBuilder , format : * const gchar , ... ) ; } extern "C" { pub fn g_variant_new ( format_string : * const gchar , ... ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get ( value : * mut GVariant , format_string : * const gchar , ... ) ; } extern "C" { pub fn g_variant_new_va ( format_string : * const gchar , endptr : * mut * const gchar , app : * mut va_list ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get_va ( value : * mut GVariant , format_string : * const gchar , endptr : * mut * const gchar , app : * mut va_list ) ; } extern "C" { pub fn g_variant_check_format_string ( value : * mut GVariant , format_string : * const gchar , copy_only : gboolean ) -> gboolean ; } extern "C" { pub fn g_variant_parse ( type_ : * const GVariantType , text : * const gchar , limit : * const gchar , endptr : * mut * const gchar , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_parsed ( format : * const gchar , ... ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_parsed_va ( format : * const gchar , app : * mut va_list ) -> * mut GVariant ; } extern "C" { pub fn g_variant_parse_error_print_context ( error : * mut GError , source_str : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_variant_compare ( one : gconstpointer , two : gconstpointer ) -> gint ; } pub type GVariantDict = _GVariantDict ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GVariantDict { pub u : _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) { pub s : _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) , pub x : [ guintptr ; 16usize ] , _bindgen_union_align : [ u64 ; 16usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) { pub asv : * mut GVariant , pub partial_magic : gsize , pub y : [ guintptr ; 14usize ] , } # [ test ] fn bindgen_test_layout__GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) > ( ) ) ) . asv as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) ) , "::" , stringify ! ( asv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) > ( ) ) ) . partial_magic as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) ) , "::" , stringify ! ( partial_magic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) > ( ) ) ) . y as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) ) , "::" , stringify ! ( y ) ) ) ; } # [ test ] fn bindgen_test_layout__GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) ) , "::" , stringify ! ( s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) ) , "::" , stringify ! ( x ) ) ) ; } # [ test ] fn bindgen_test_layout__GVariantDict ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantDict > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantDict ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantDict > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantDict ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantDict > ( ) ) ) . u as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantDict ) , "::" , stringify ! ( u ) ) ) ; } extern "C" { pub fn g_variant_dict_new ( from_asv : * mut GVariant ) -> * mut GVariantDict ; } extern "C" { pub fn g_variant_dict_init ( dict : * mut GVariantDict , from_asv : * mut GVariant ) ; } extern "C" { pub fn g_variant_dict_lookup ( dict : * mut GVariantDict , key : * const gchar , format_string : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_variant_dict_lookup_value ( dict : * mut GVariantDict , key : * const gchar , expected_type : * const GVariantType ) -> * mut GVariant ; } extern "C" { pub fn g_variant_dict_contains ( dict : * mut GVariantDict , key : * const gchar ) -> gboolean ; } extern "C" { pub fn g_variant_dict_insert ( dict : * mut GVariantDict , key : * const gchar , format_string : * const gchar , ... ) ; } extern "C" { pub fn g_variant_dict_insert_value ( dict : * mut GVariantDict , key : * const gchar , value : * mut GVariant ) ; } extern "C" { pub fn g_variant_dict_remove ( dict : * mut GVariantDict , key : * const gchar ) -> gboolean ; } extern "C" { pub fn g_variant_dict_clear ( dict : * mut GVariantDict ) ; } extern "C" { pub fn g_variant_dict_end ( dict : * mut GVariantDict ) -> * mut GVariant ; } extern "C" { pub fn g_variant_dict_ref ( dict : * mut GVariantDict ) -> * mut GVariantDict ; } extern "C" { pub fn g_variant_dict_unref ( dict : * mut GVariantDict ) ; } extern "C" { pub fn g_printf_string_upper_bound ( format : * const gchar , args : * mut __va_list_tag ) -> gsize ; } pub const GLogLevelFlags_G_LOG_FLAG_RECURSION : GLogLevelFlags = 1 ; pub const GLogLevelFlags_G_LOG_FLAG_FATAL : GLogLevelFlags = 2 ; pub const GLogLevelFlags_G_LOG_LEVEL_ERROR : GLogLevelFlags = 4 ; pub const GLogLevelFlags_G_LOG_LEVEL_CRITICAL : GLogLevelFlags = 8 ; pub const GLogLevelFlags_G_LOG_LEVEL_WARNING : GLogLevelFlags = 16 ; pub const GLogLevelFlags_G_LOG_LEVEL_MESSAGE : GLogLevelFlags = 32 ; pub const GLogLevelFlags_G_LOG_LEVEL_INFO : GLogLevelFlags = 64 ; pub const GLogLevelFlags_G_LOG_LEVEL_DEBUG : GLogLevelFlags = 128 ; pub const GLogLevelFlags_G_LOG_LEVEL_MASK : GLogLevelFlags = -4 ; pub type GLogLevelFlags = i32 ; pub type GLogFunc = :: std :: option :: Option < unsafe extern "C" fn ( log_domain : * const gchar , log_level : GLogLevelFlags , message : * const gchar , user_data : gpointer ) > ; extern "C" { pub fn g_log_set_handler ( log_domain : * const gchar , log_levels : GLogLevelFlags , log_func : GLogFunc , user_data : gpointer ) -> guint ; } extern "C" { pub fn g_log_set_handler_full ( log_domain : * const gchar , log_levels : GLogLevelFlags , log_func : GLogFunc , user_data : gpointer , destroy : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_log_remove_handler ( log_domain : * const gchar , handler_id : guint ) ; } extern "C" { pub fn g_log_default_handler ( log_domain : * const gchar , log_level : GLogLevelFlags , message : * const gchar , unused_data : gpointer ) ; } extern "C" { pub fn g_log_set_default_handler ( log_func : GLogFunc , user_data : gpointer ) -> GLogFunc ; } extern "C" { pub fn g_log ( log_domain : * const gchar , log_level : GLogLevelFlags , format : * const gchar , ... ) ; } extern "C" { pub fn g_logv ( log_domain : * const gchar , log_level : GLogLevelFlags , format : * const gchar , args : * mut __va_list_tag ) ; } extern "C" { pub fn g_log_set_fatal_mask ( log_domain : * const gchar , fatal_mask : GLogLevelFlags ) -> GLogLevelFlags ; } extern "C" { pub fn g_log_set_always_fatal ( fatal_mask : GLogLevelFlags ) -> GLogLevelFlags ; } pub const GLogWriterOutput_G_LOG_WRITER_HANDLED : GLogWriterOutput = 1 ; pub const GLogWriterOutput_G_LOG_WRITER_UNHANDLED : GLogWriterOutput = 0 ; pub type GLogWriterOutput = u32 ; pub type GLogField = _GLogField ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GLogField { pub key : * const gchar , pub value : gconstpointer , pub length : gssize , } # [ test ] fn bindgen_test_layout__GLogField ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GLogField > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GLogField ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GLogField > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GLogField ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLogField > ( ) ) ) . key as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GLogField ) , "::" , stringify ! ( key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLogField > ( ) ) ) . value as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GLogField ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLogField > ( ) ) ) . length as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GLogField ) , "::" , stringify ! ( length ) ) ) ; } pub type GLogWriterFunc = :: std :: option :: Option < unsafe extern "C" fn ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize , user_data : gpointer ) -> GLogWriterOutput > ; extern "C" { pub fn g_log_structured ( log_domain : * const gchar , log_level : GLogLevelFlags , ... ) ; } extern "C" { pub fn g_log_structured_array ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize ) ; } extern "C" { pub fn g_log_variant ( log_domain : * const gchar , log_level : GLogLevelFlags , fields : * mut GVariant ) ; } extern "C" { pub fn g_log_set_writer_func ( func : GLogWriterFunc , user_data : gpointer , user_data_free : GDestroyNotify ) ; } extern "C" { pub fn g_log_writer_supports_color ( output_fd : gint ) -> gboolean ; } extern "C" { pub fn g_log_writer_is_journald ( output_fd : gint ) -> gboolean ; } extern "C" { pub fn g_log_writer_format_fields ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize , use_color : gboolean ) -> * mut gchar ; } extern "C" { pub fn g_log_writer_syslog ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize , user_data : gpointer ) -> GLogWriterOutput ; } extern "C" { pub fn g_log_writer_journald ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize , user_data : gpointer ) -> GLogWriterOutput ; } extern "C" { pub fn g_log_writer_standard_streams ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize , user_data : gpointer ) -> GLogWriterOutput ; } extern "C" { pub fn g_log_writer_default ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize , user_data : gpointer ) -> GLogWriterOutput ; } extern "C" { pub fn g_log_writer_default_set_use_stderr ( use_stderr : gboolean ) ; } extern "C" { pub fn g_log_writer_default_would_drop ( log_level : GLogLevelFlags , log_domain : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_log_writer_default_set_debug_domains ( domains : * const * const gchar ) ; } extern "C" { pub fn g_log_get_debug_enabled ( ) -> gboolean ; } extern "C" { pub fn g_log_set_debug_enabled ( enabled : gboolean ) ; } extern "C" { pub fn _g_log_fallback_handler ( log_domain : * const gchar , log_level : GLogLevelFlags , message : * const gchar , unused_data : gpointer ) ; } extern "C" { pub fn g_return_if_fail_warning ( log_domain : * const :: std :: os :: raw :: c_char , pretty_function : * const :: std :: os :: raw :: c_char , expression : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_warn_message ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , warnexpr : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assert_warning ( log_domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , pretty_function : * const :: std :: os :: raw :: c_char , expression : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_log_structured_standard ( log_domain : * const gchar , log_level : GLogLevelFlags , file : * const gchar , line : * const gchar , func : * const gchar , message_format : * const gchar , ... ) ; } pub type GPrintFunc = :: std :: option :: Option < unsafe extern "C" fn ( string : * const gchar ) > ; extern "C" { pub fn g_print ( format : * const gchar , ... ) ; } extern "C" { pub fn g_set_print_handler ( func : GPrintFunc ) -> GPrintFunc ; } extern "C" { pub fn g_printerr ( format : * const gchar , ... ) ; } extern "C" { pub fn g_set_printerr_handler ( func : GPrintFunc ) -> GPrintFunc ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOptionContext { _unused : [ u8 ; 0 ] , } pub type GOptionContext = _GOptionContext ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOptionGroup { _unused : [ u8 ; 0 ] , } pub type GOptionGroup = _GOptionGroup ; pub type GOptionEntry = _GOptionEntry ; pub const GOptionFlags_G_OPTION_FLAG_NONE : GOptionFlags = 0 ; pub const GOptionFlags_G_OPTION_FLAG_HIDDEN : GOptionFlags = 1 ; pub const GOptionFlags_G_OPTION_FLAG_IN_MAIN : GOptionFlags = 2 ; pub const GOptionFlags_G_OPTION_FLAG_REVERSE : GOptionFlags = 4 ; pub const GOptionFlags_G_OPTION_FLAG_NO_ARG : GOptionFlags = 8 ; pub const GOptionFlags_G_OPTION_FLAG_FILENAME : GOptionFlags = 16 ; pub const GOptionFlags_G_OPTION_FLAG_OPTIONAL_ARG : GOptionFlags = 32 ; pub const GOptionFlags_G_OPTION_FLAG_NOALIAS : GOptionFlags = 64 ; pub type GOptionFlags = u32 ; pub const GOptionArg_G_OPTION_ARG_NONE : GOptionArg = 0 ; pub const GOptionArg_G_OPTION_ARG_STRING : GOptionArg = 1 ; pub const GOptionArg_G_OPTION_ARG_INT : GOptionArg = 2 ; pub const GOptionArg_G_OPTION_ARG_CALLBACK : GOptionArg = 3 ; pub const GOptionArg_G_OPTION_ARG_FILENAME : GOptionArg = 4 ; pub const GOptionArg_G_OPTION_ARG_STRING_ARRAY : GOptionArg = 5 ; pub const GOptionArg_G_OPTION_ARG_FILENAME_ARRAY : GOptionArg = 6 ; pub const GOptionArg_G_OPTION_ARG_DOUBLE : GOptionArg = 7 ; pub const GOptionArg_G_OPTION_ARG_INT64 : GOptionArg = 8 ; pub type GOptionArg = u32 ; pub type GOptionArgFunc = :: std :: option :: Option < unsafe extern "C" fn ( option_name : * const gchar , value : * const gchar , data : gpointer , error : * mut * mut GError ) -> gboolean > ; pub type GOptionParseFunc = :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GOptionContext , group : * mut GOptionGroup , data : gpointer , error : * mut * mut GError ) -> gboolean > ; pub type GOptionErrorFunc = :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GOptionContext , group : * mut GOptionGroup , data : gpointer , error : * mut * mut GError ) > ; pub const GOptionError_G_OPTION_ERROR_UNKNOWN_OPTION : GOptionError = 0 ; pub const GOptionError_G_OPTION_ERROR_BAD_VALUE : GOptionError = 1 ; pub const GOptionError_G_OPTION_ERROR_FAILED : GOptionError = 2 ; pub type GOptionError = u32 ; extern "C" { pub fn g_option_error_quark ( ) -> GQuark ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOptionEntry { pub long_name : * const gchar , pub short_name : gchar , pub flags : gint , pub arg : GOptionArg , pub arg_data : gpointer , pub description : * const gchar , pub arg_description : * const gchar , } # [ test ] fn bindgen_test_layout__GOptionEntry ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GOptionEntry > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GOptionEntry ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GOptionEntry > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GOptionEntry ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . long_name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( long_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . short_name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( short_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . arg as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( arg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . arg_data as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( arg_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . description as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . arg_description as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( arg_description ) ) ) ; } extern "C" { pub fn g_option_context_new ( parameter_string : * const gchar ) -> * mut GOptionContext ; } extern "C" { pub fn g_option_context_set_summary ( context : * mut GOptionContext , summary : * const gchar ) ; } extern "C" { pub fn g_option_context_get_summary ( context : * mut GOptionContext ) -> * const gchar ; } extern "C" { pub fn g_option_context_set_description ( context : * mut GOptionContext , description : * const gchar ) ; } extern "C" { pub fn g_option_context_get_description ( context : * mut GOptionContext ) -> * const gchar ; } extern "C" { pub fn g_option_context_free ( context : * mut GOptionContext ) ; } extern "C" { pub fn g_option_context_set_help_enabled ( context : * mut GOptionContext , help_enabled : gboolean ) ; } extern "C" { pub fn g_option_context_get_help_enabled ( context : * mut GOptionContext ) -> gboolean ; } extern "C" { pub fn g_option_context_set_ignore_unknown_options ( context : * mut GOptionContext , ignore_unknown : gboolean ) ; } extern "C" { pub fn g_option_context_get_ignore_unknown_options ( context : * mut GOptionContext ) -> gboolean ; } extern "C" { pub fn g_option_context_set_strict_posix ( context : * mut GOptionContext , strict_posix : gboolean ) ; } extern "C" { pub fn g_option_context_get_strict_posix ( context : * mut GOptionContext ) -> gboolean ; } extern "C" { pub fn g_option_context_add_main_entries ( context : * mut GOptionContext , entries : * const GOptionEntry , translation_domain : * const gchar ) ; } extern "C" { pub fn g_option_context_parse ( context : * mut GOptionContext , argc : * mut gint , argv : * mut * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_option_context_parse_strv ( context : * mut GOptionContext , arguments : * mut * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_option_context_set_translate_func ( context : * mut GOptionContext , func : GTranslateFunc , data : gpointer , destroy_notify : GDestroyNotify ) ; } extern "C" { pub fn g_option_context_set_translation_domain ( context : * mut GOptionContext , domain : * const gchar ) ; } extern "C" { pub fn g_option_context_add_group ( context : * mut GOptionContext , group : * mut GOptionGroup ) ; } extern "C" { pub fn g_option_context_set_main_group ( context : * mut GOptionContext , group : * mut GOptionGroup ) ; } extern "C" { pub fn g_option_context_get_main_group ( context : * mut GOptionContext ) -> * mut GOptionGroup ; } extern "C" { pub fn g_option_context_get_help ( context : * mut GOptionContext , main_help : gboolean , group : * mut GOptionGroup ) -> * mut gchar ; } extern "C" { pub fn g_option_group_new ( name : * const gchar , description : * const gchar , help_description : * const gchar , user_data : gpointer , destroy : GDestroyNotify ) -> * mut GOptionGroup ; } extern "C" { pub fn g_option_group_set_parse_hooks ( group : * mut GOptionGroup , pre_parse_func : GOptionParseFunc , post_parse_func : GOptionParseFunc ) ; } extern "C" { pub fn g_option_group_set_error_hook ( group : * mut GOptionGroup , error_func : GOptionErrorFunc ) ; } extern "C" { pub fn g_option_group_free ( group : * mut GOptionGroup ) ; } extern "C" { pub fn g_option_group_ref ( group : * mut GOptionGroup ) -> * mut GOptionGroup ; } extern "C" { pub fn g_option_group_unref ( group : * mut GOptionGroup ) ; } extern "C" { pub fn g_option_group_add_entries ( group : * mut GOptionGroup , entries : * const GOptionEntry ) ; } extern "C" { pub fn g_option_group_set_translate_func ( group : * mut GOptionGroup , func : GTranslateFunc , data : gpointer , destroy_notify : GDestroyNotify ) ; } extern "C" { pub fn g_option_group_set_translation_domain ( group : * mut GOptionGroup , domain : * const gchar ) ; } pub type GPathBuf = _GPathBuf ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPathBuf { pub dummy : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GPathBuf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPathBuf > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _GPathBuf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPathBuf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPathBuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPathBuf > ( ) ) ) . dummy as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPathBuf ) , "::" , stringify ! ( dummy ) ) ) ; } extern "C" { pub fn g_path_buf_new ( ) -> * mut GPathBuf ; } extern "C" { pub fn g_path_buf_new_from_path ( path : * const :: std :: os :: raw :: c_char ) -> * mut GPathBuf ; } extern "C" { pub fn g_path_buf_init ( buf : * mut GPathBuf ) -> * mut GPathBuf ; } extern "C" { pub fn g_path_buf_init_from_path ( buf : * mut GPathBuf , path : * const :: std :: os :: raw :: c_char ) -> * mut GPathBuf ; } extern "C" { pub fn g_path_buf_clear ( buf : * mut GPathBuf ) ; } extern "C" { pub fn g_path_buf_clear_to_path ( buf : * mut GPathBuf ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_path_buf_free ( buf : * mut GPathBuf ) ; } extern "C" { pub fn g_path_buf_free_to_path ( buf : * mut GPathBuf ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_path_buf_copy ( buf : * mut GPathBuf ) -> * mut GPathBuf ; } extern "C" { pub fn g_path_buf_push ( buf : * mut GPathBuf , path : * const :: std :: os :: raw :: c_char ) -> * mut GPathBuf ; } extern "C" { pub fn g_path_buf_pop ( buf : * mut GPathBuf ) -> gboolean ; } extern "C" { pub fn g_path_buf_set_filename ( buf : * mut GPathBuf , file_name : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_path_buf_set_extension ( buf : * mut GPathBuf , extension : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_path_buf_to_path ( buf : * mut GPathBuf ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_path_buf_equal ( v1 : gconstpointer , v2 : gconstpointer ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPatternSpec { _unused : [ u8 ; 0 ] , } pub type GPatternSpec = _GPatternSpec ; extern "C" { pub fn g_pattern_spec_new ( pattern : * const gchar ) -> * mut GPatternSpec ; } extern "C" { pub fn g_pattern_spec_free ( pspec : * mut GPatternSpec ) ; } extern "C" { pub fn g_pattern_spec_copy ( pspec : * mut GPatternSpec ) -> * mut GPatternSpec ; } extern "C" { pub fn g_pattern_spec_equal ( pspec1 : * mut GPatternSpec , pspec2 : * mut GPatternSpec ) -> gboolean ; } extern "C" { pub fn g_pattern_spec_match ( pspec : * mut GPatternSpec , string_length : gsize , string : * const gchar , string_reversed : * const gchar ) -> gboolean ; } extern "C" { pub fn g_pattern_spec_match_string ( pspec : * mut GPatternSpec , string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_pattern_match ( pspec : * mut GPatternSpec , string_length : guint , string : * const gchar , string_reversed : * const gchar ) -> gboolean ; } extern "C" { pub fn g_pattern_match_string ( pspec : * mut GPatternSpec , string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_pattern_match_simple ( pattern : * const gchar , string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_spaced_primes_closest ( num : guint ) -> guint ; } extern "C" { pub fn g_qsort_with_data ( pbase : gconstpointer , total_elems : gint , size : gsize , compare_func : GCompareDataFunc , user_data : gpointer ) ; } pub type GQueue = _GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GQueue { pub head : * mut GList , pub tail : * mut GList , pub length : guint , } # [ test ] fn bindgen_test_layout__GQueue ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GQueue > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GQueue ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GQueue > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GQueue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GQueue > ( ) ) ) . head as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GQueue ) , "::" , stringify ! ( head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GQueue > ( ) ) ) . tail as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GQueue ) , "::" , stringify ! ( tail ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GQueue > ( ) ) ) . length as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GQueue ) , "::" , stringify ! ( length ) ) ) ; } extern "C" { pub fn g_queue_new ( ) -> * mut GQueue ; } extern "C" { pub fn g_queue_free ( queue : * mut GQueue ) ; } extern "C" { pub fn g_queue_free_full ( queue : * mut GQueue , free_func : GDestroyNotify ) ; } extern "C" { pub fn g_queue_init ( queue : * mut GQueue ) ; } extern "C" { pub fn g_queue_clear ( queue : * mut GQueue ) ; } extern "C" { pub fn g_queue_is_empty ( queue : * mut GQueue ) -> gboolean ; } extern "C" { pub fn g_queue_clear_full ( queue : * mut GQueue , free_func : GDestroyNotify ) ; } extern "C" { pub fn g_queue_get_length ( queue : * mut GQueue ) -> guint ; } extern "C" { pub fn g_queue_reverse ( queue : * mut GQueue ) ; } extern "C" { pub fn g_queue_copy ( queue : * mut GQueue ) -> * mut GQueue ; } extern "C" { pub fn g_queue_foreach ( queue : * mut GQueue , func : GFunc , user_data : gpointer ) ; } extern "C" { pub fn g_queue_find ( queue : * mut GQueue , data : gconstpointer ) -> * mut GList ; } extern "C" { pub fn g_queue_find_custom ( queue : * mut GQueue , data : gconstpointer , func : GCompareFunc ) -> * mut GList ; } extern "C" { pub fn g_queue_sort ( queue : * mut GQueue , compare_func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_queue_push_head ( queue : * mut GQueue , data : gpointer ) ; } extern "C" { pub fn g_queue_push_tail ( queue : * mut GQueue , data : gpointer ) ; } extern "C" { pub fn g_queue_push_nth ( queue : * mut GQueue , data : gpointer , n : gint ) ; } extern "C" { pub fn g_queue_pop_head ( queue : * mut GQueue ) -> gpointer ; } extern "C" { pub fn g_queue_pop_tail ( queue : * mut GQueue ) -> gpointer ; } extern "C" { pub fn g_queue_pop_nth ( queue : * mut GQueue , n : guint ) -> gpointer ; } extern "C" { pub fn g_queue_peek_head ( queue : * mut GQueue ) -> gpointer ; } extern "C" { pub fn g_queue_peek_tail ( queue : * mut GQueue ) -> gpointer ; } extern "C" { pub fn g_queue_peek_nth ( queue : * mut GQueue , n : guint ) -> gpointer ; } extern "C" { pub fn g_queue_index ( queue : * mut GQueue , data : gconstpointer ) -> gint ; } extern "C" { pub fn g_queue_remove ( queue : * mut GQueue , data : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_queue_remove_all ( queue : * mut GQueue , data : gconstpointer ) -> guint ; } extern "C" { pub fn g_queue_insert_before ( queue : * mut GQueue , sibling : * mut GList , data : gpointer ) ; } extern "C" { pub fn g_queue_insert_before_link ( queue : * mut GQueue , sibling : * mut GList , link_ : * mut GList ) ; } extern "C" { pub fn g_queue_insert_after ( queue : * mut GQueue , sibling : * mut GList , data : gpointer ) ; } extern "C" { pub fn g_queue_insert_after_link ( queue : * mut GQueue , sibling : * mut GList , link_ : * mut GList ) ; } extern "C" { pub fn g_queue_insert_sorted ( queue : * mut GQueue , data : gpointer , func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_queue_push_head_link ( queue : * mut GQueue , link_ : * mut GList ) ; } extern "C" { pub fn g_queue_push_tail_link ( queue : * mut GQueue , link_ : * mut GList ) ; } extern "C" { pub fn g_queue_push_nth_link ( queue : * mut GQueue , n : gint , link_ : * mut GList ) ; } extern "C" { pub fn g_queue_pop_head_link ( queue : * mut GQueue ) -> * mut GList ; } extern "C" { pub fn g_queue_pop_tail_link ( queue : * mut GQueue ) -> * mut GList ; } extern "C" { pub fn g_queue_pop_nth_link ( queue : * mut GQueue , n : guint ) -> * mut GList ; } extern "C" { pub fn g_queue_peek_head_link ( queue : * mut GQueue ) -> * mut GList ; } extern "C" { pub fn g_queue_peek_tail_link ( queue : * mut GQueue ) -> * mut GList ; } extern "C" { pub fn g_queue_peek_nth_link ( queue : * mut GQueue , n : guint ) -> * mut GList ; } extern "C" { pub fn g_queue_link_index ( queue : * mut GQueue , link_ : * mut GList ) -> gint ; } extern "C" { pub fn g_queue_unlink ( queue : * mut GQueue , link_ : * mut GList ) ; } extern "C" { pub fn g_queue_delete_link ( queue : * mut GQueue , link_ : * mut GList ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRand { _unused : [ u8 ; 0 ] , } pub type GRand = _GRand ; extern "C" { pub fn g_rand_new_with_seed ( seed : guint32 ) -> * mut GRand ; } extern "C" { pub fn g_rand_new_with_seed_array ( seed : * const guint32 , seed_length : guint ) -> * mut GRand ; } extern "C" { pub fn g_rand_new ( ) -> * mut GRand ; } extern "C" { pub fn g_rand_free ( rand_ : * mut GRand ) ; } extern "C" { pub fn g_rand_copy ( rand_ : * mut GRand ) -> * mut GRand ; } extern "C" { pub fn g_rand_set_seed ( rand_ : * mut GRand , seed : guint32 ) ; } extern "C" { pub fn g_rand_set_seed_array ( rand_ : * mut GRand , seed : * const guint32 , seed_length : guint ) ; } extern "C" { pub fn g_rand_int ( rand_ : * mut GRand ) -> guint32 ; } extern "C" { pub fn g_rand_int_range ( rand_ : * mut GRand , begin : gint32 , end : gint32 ) -> gint32 ; } extern "C" { pub fn g_rand_double ( rand_ : * mut GRand ) -> gdouble ; } extern "C" { pub fn g_rand_double_range ( rand_ : * mut GRand , begin : gdouble , end : gdouble ) -> gdouble ; } extern "C" { pub fn g_random_set_seed ( seed : guint32 ) ; } extern "C" { pub fn g_random_int ( ) -> guint32 ; } extern "C" { pub fn g_random_int_range ( begin : gint32 , end : gint32 ) -> gint32 ; } extern "C" { pub fn g_random_double ( ) -> gdouble ; } extern "C" { pub fn g_random_double_range ( begin : gdouble , end : gdouble ) -> gdouble ; } extern "C" { pub fn g_rc_box_alloc ( block_size : gsize ) -> gpointer ; } extern "C" { pub fn g_rc_box_alloc0 ( block_size : gsize ) -> gpointer ; } extern "C" { pub fn g_rc_box_dup ( block_size : gsize , mem_block : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_rc_box_acquire ( mem_block : gpointer ) -> gpointer ; } extern "C" { pub fn g_rc_box_release ( mem_block : gpointer ) ; } extern "C" { pub fn g_rc_box_release_full ( mem_block : gpointer , clear_func : GDestroyNotify ) ; } extern "C" { pub fn g_rc_box_get_size ( mem_block : gpointer ) -> gsize ; } extern "C" { pub fn g_atomic_rc_box_alloc ( block_size : gsize ) -> gpointer ; } extern "C" { pub fn g_atomic_rc_box_alloc0 ( block_size : gsize ) -> gpointer ; } extern "C" { pub fn g_atomic_rc_box_dup ( block_size : gsize , mem_block : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_atomic_rc_box_acquire ( mem_block : gpointer ) -> gpointer ; } extern "C" { pub fn g_atomic_rc_box_release ( mem_block : gpointer ) ; } extern "C" { pub fn g_atomic_rc_box_release_full ( mem_block : gpointer , clear_func : GDestroyNotify ) ; } extern "C" { pub fn g_atomic_rc_box_get_size ( mem_block : gpointer ) -> gsize ; } extern "C" { pub fn g_ref_count_init ( rc : * mut grefcount ) ; } extern "C" { pub fn g_ref_count_inc ( rc : * mut grefcount ) ; } extern "C" { pub fn g_ref_count_dec ( rc : * mut grefcount ) -> gboolean ; } extern "C" { pub fn g_ref_count_compare ( rc : * mut grefcount , val : gint ) -> gboolean ; } extern "C" { pub fn g_atomic_ref_count_init ( arc : * mut gatomicrefcount ) ; } extern "C" { pub fn g_atomic_ref_count_inc ( arc : * mut gatomicrefcount ) ; } extern "C" { pub fn g_atomic_ref_count_dec ( arc : * mut gatomicrefcount ) -> gboolean ; } extern "C" { pub fn g_atomic_ref_count_compare ( arc : * mut gatomicrefcount , val : gint ) -> gboolean ; } extern "C" { pub fn g_ref_string_new ( str : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_ref_string_new_len ( str : * const :: std :: os :: raw :: c_char , len : gssize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_ref_string_new_intern ( str : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_ref_string_acquire ( str : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_ref_string_release ( str : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_ref_string_length ( str : * mut :: std :: os :: raw :: c_char ) -> gsize ; } pub type GRefString = :: std :: os :: raw :: c_char ; pub const GRegexError_G_REGEX_ERROR_COMPILE : GRegexError = 0 ; pub const GRegexError_G_REGEX_ERROR_OPTIMIZE : GRegexError = 1 ; pub const GRegexError_G_REGEX_ERROR_REPLACE : GRegexError = 2 ; pub const GRegexError_G_REGEX_ERROR_MATCH : GRegexError = 3 ; pub const GRegexError_G_REGEX_ERROR_INTERNAL : GRegexError = 4 ; pub const GRegexError_G_REGEX_ERROR_STRAY_BACKSLASH : GRegexError = 101 ; pub const GRegexError_G_REGEX_ERROR_MISSING_CONTROL_CHAR : GRegexError = 102 ; pub const GRegexError_G_REGEX_ERROR_UNRECOGNIZED_ESCAPE : GRegexError = 103 ; pub const GRegexError_G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER : GRegexError = 104 ; pub const GRegexError_G_REGEX_ERROR_QUANTIFIER_TOO_BIG : GRegexError = 105 ; pub const GRegexError_G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS : GRegexError = 106 ; pub const GRegexError_G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS : GRegexError = 107 ; pub const GRegexError_G_REGEX_ERROR_RANGE_OUT_OF_ORDER : GRegexError = 108 ; pub const GRegexError_G_REGEX_ERROR_NOTHING_TO_REPEAT : GRegexError = 109 ; pub const GRegexError_G_REGEX_ERROR_UNRECOGNIZED_CHARACTER : GRegexError = 112 ; pub const GRegexError_G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS : GRegexError = 113 ; pub const GRegexError_G_REGEX_ERROR_UNMATCHED_PARENTHESIS : GRegexError = 114 ; pub const GRegexError_G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE : GRegexError = 115 ; pub const GRegexError_G_REGEX_ERROR_UNTERMINATED_COMMENT : GRegexError = 118 ; pub const GRegexError_G_REGEX_ERROR_EXPRESSION_TOO_LARGE : GRegexError = 120 ; pub const GRegexError_G_REGEX_ERROR_MEMORY_ERROR : GRegexError = 121 ; pub const GRegexError_G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND : GRegexError = 125 ; pub const GRegexError_G_REGEX_ERROR_MALFORMED_CONDITION : GRegexError = 126 ; pub const GRegexError_G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES : GRegexError = 127 ; pub const GRegexError_G_REGEX_ERROR_ASSERTION_EXPECTED : GRegexError = 128 ; pub const GRegexError_G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME : GRegexError = 130 ; pub const GRegexError_G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED : GRegexError = 131 ; pub const GRegexError_G_REGEX_ERROR_HEX_CODE_TOO_LARGE : GRegexError = 134 ; pub const GRegexError_G_REGEX_ERROR_INVALID_CONDITION : GRegexError = 135 ; pub const GRegexError_G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND : GRegexError = 136 ; pub const GRegexError_G_REGEX_ERROR_INFINITE_LOOP : GRegexError = 140 ; pub const GRegexError_G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR : GRegexError = 142 ; pub const GRegexError_G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME : GRegexError = 143 ; pub const GRegexError_G_REGEX_ERROR_MALFORMED_PROPERTY : GRegexError = 146 ; pub const GRegexError_G_REGEX_ERROR_UNKNOWN_PROPERTY : GRegexError = 147 ; pub const GRegexError_G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG : GRegexError = 148 ; pub const GRegexError_G_REGEX_ERROR_TOO_MANY_SUBPATTERNS : GRegexError = 149 ; pub const GRegexError_G_REGEX_ERROR_INVALID_OCTAL_VALUE : GRegexError = 151 ; pub const GRegexError_G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE : GRegexError = 154 ; pub const GRegexError_G_REGEX_ERROR_DEFINE_REPETION : GRegexError = 155 ; pub const GRegexError_G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS : GRegexError = 156 ; pub const GRegexError_G_REGEX_ERROR_MISSING_BACK_REFERENCE : GRegexError = 157 ; pub const GRegexError_G_REGEX_ERROR_INVALID_RELATIVE_REFERENCE : GRegexError = 158 ; pub const GRegexError_G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN : GRegexError = 159 ; pub const GRegexError_G_REGEX_ERROR_UNKNOWN_BACKTRACKING_CONTROL_VERB : GRegexError = 160 ; pub const GRegexError_G_REGEX_ERROR_NUMBER_TOO_BIG : GRegexError = 161 ; pub const GRegexError_G_REGEX_ERROR_MISSING_SUBPATTERN_NAME : GRegexError = 162 ; pub const GRegexError_G_REGEX_ERROR_MISSING_DIGIT : GRegexError = 163 ; pub const GRegexError_G_REGEX_ERROR_INVALID_DATA_CHARACTER : GRegexError = 164 ; pub const GRegexError_G_REGEX_ERROR_EXTRA_SUBPATTERN_NAME : GRegexError = 165 ; pub const GRegexError_G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED : GRegexError = 166 ; pub const GRegexError_G_REGEX_ERROR_INVALID_CONTROL_CHAR : GRegexError = 168 ; pub const GRegexError_G_REGEX_ERROR_MISSING_NAME : GRegexError = 169 ; pub const GRegexError_G_REGEX_ERROR_NOT_SUPPORTED_IN_CLASS : GRegexError = 171 ; pub const GRegexError_G_REGEX_ERROR_TOO_MANY_FORWARD_REFERENCES : GRegexError = 172 ; pub const GRegexError_G_REGEX_ERROR_NAME_TOO_LONG : GRegexError = 175 ; pub const GRegexError_G_REGEX_ERROR_CHARACTER_VALUE_TOO_LARGE : GRegexError = 176 ; pub type GRegexError = u32 ; extern "C" { pub fn g_regex_error_quark ( ) -> GQuark ; } pub const GRegexCompileFlags_G_REGEX_DEFAULT : GRegexCompileFlags = 0 ; pub const GRegexCompileFlags_G_REGEX_CASELESS : GRegexCompileFlags = 1 ; pub const GRegexCompileFlags_G_REGEX_MULTILINE : GRegexCompileFlags = 2 ; pub const GRegexCompileFlags_G_REGEX_DOTALL : GRegexCompileFlags = 4 ; pub const GRegexCompileFlags_G_REGEX_EXTENDED : GRegexCompileFlags = 8 ; pub const GRegexCompileFlags_G_REGEX_ANCHORED : GRegexCompileFlags = 16 ; pub const GRegexCompileFlags_G_REGEX_DOLLAR_ENDONLY : GRegexCompileFlags = 32 ; pub const GRegexCompileFlags_G_REGEX_UNGREEDY : GRegexCompileFlags = 512 ; pub const GRegexCompileFlags_G_REGEX_RAW : GRegexCompileFlags = 2048 ; pub const GRegexCompileFlags_G_REGEX_NO_AUTO_CAPTURE : GRegexCompileFlags = 4096 ; pub const GRegexCompileFlags_G_REGEX_OPTIMIZE : GRegexCompileFlags = 8192 ; pub const GRegexCompileFlags_G_REGEX_FIRSTLINE : GRegexCompileFlags = 262144 ; pub const GRegexCompileFlags_G_REGEX_DUPNAMES : GRegexCompileFlags = 524288 ; pub const GRegexCompileFlags_G_REGEX_NEWLINE_CR : GRegexCompileFlags = 1048576 ; pub const GRegexCompileFlags_G_REGEX_NEWLINE_LF : GRegexCompileFlags = 2097152 ; pub const GRegexCompileFlags_G_REGEX_NEWLINE_CRLF : GRegexCompileFlags = 3145728 ; pub const GRegexCompileFlags_G_REGEX_NEWLINE_ANYCRLF : GRegexCompileFlags = 5242880 ; pub const GRegexCompileFlags_G_REGEX_BSR_ANYCRLF : GRegexCompileFlags = 8388608 ; pub const GRegexCompileFlags_G_REGEX_JAVASCRIPT_COMPAT : GRegexCompileFlags = 33554432 ; pub type GRegexCompileFlags = u32 ; pub const GRegexMatchFlags_G_REGEX_MATCH_DEFAULT : GRegexMatchFlags = 0 ; pub const GRegexMatchFlags_G_REGEX_MATCH_ANCHORED : GRegexMatchFlags = 16 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NOTBOL : GRegexMatchFlags = 128 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NOTEOL : GRegexMatchFlags = 256 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NOTEMPTY : GRegexMatchFlags = 1024 ; pub const GRegexMatchFlags_G_REGEX_MATCH_PARTIAL : GRegexMatchFlags = 32768 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_CR : GRegexMatchFlags = 1048576 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_LF : GRegexMatchFlags = 2097152 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_CRLF : GRegexMatchFlags = 3145728 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_ANY : GRegexMatchFlags = 4194304 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_ANYCRLF : GRegexMatchFlags = 5242880 ; pub const GRegexMatchFlags_G_REGEX_MATCH_BSR_ANYCRLF : GRegexMatchFlags = 8388608 ; pub const GRegexMatchFlags_G_REGEX_MATCH_BSR_ANY : GRegexMatchFlags = 16777216 ; pub const GRegexMatchFlags_G_REGEX_MATCH_PARTIAL_SOFT : GRegexMatchFlags = 32768 ; pub const GRegexMatchFlags_G_REGEX_MATCH_PARTIAL_HARD : GRegexMatchFlags = 134217728 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NOTEMPTY_ATSTART : GRegexMatchFlags = 268435456 ; pub type GRegexMatchFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRegex { _unused : [ u8 ; 0 ] , } pub type GRegex = _GRegex ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMatchInfo { _unused : [ u8 ; 0 ] , } pub type GMatchInfo = _GMatchInfo ; pub type GRegexEvalCallback = :: std :: option :: Option < unsafe extern "C" fn ( match_info : * const GMatchInfo , result : * mut GString , user_data : gpointer ) -> gboolean > ; extern "C" { pub fn g_regex_new ( pattern : * const gchar , compile_options : GRegexCompileFlags , match_options : GRegexMatchFlags , error : * mut * mut GError ) -> * mut GRegex ; } extern "C" { pub fn g_regex_ref ( regex : * mut GRegex ) -> * mut GRegex ; } extern "C" { pub fn g_regex_unref ( regex : * mut GRegex ) ; } extern "C" { pub fn g_regex_get_pattern ( regex : * const GRegex ) -> * const gchar ; } extern "C" { pub fn g_regex_get_max_backref ( regex : * const GRegex ) -> gint ; } extern "C" { pub fn g_regex_get_capture_count ( regex : * const GRegex ) -> gint ; } extern "C" { pub fn g_regex_get_has_cr_or_lf ( regex : * const GRegex ) -> gboolean ; } extern "C" { pub fn g_regex_get_max_lookbehind ( regex : * const GRegex ) -> gint ; } extern "C" { pub fn g_regex_get_string_number ( regex : * const GRegex , name : * const gchar ) -> gint ; } extern "C" { pub fn g_regex_escape_string ( string : * const gchar , length : gint ) -> * mut gchar ; } extern "C" { pub fn g_regex_escape_nul ( string : * const gchar , length : gint ) -> * mut gchar ; } extern "C" { pub fn g_regex_get_compile_flags ( regex : * const GRegex ) -> GRegexCompileFlags ; } extern "C" { pub fn g_regex_get_match_flags ( regex : * const GRegex ) -> GRegexMatchFlags ; } extern "C" { pub fn g_regex_match_simple ( pattern : * const gchar , string : * const gchar , compile_options : GRegexCompileFlags , match_options : GRegexMatchFlags ) -> gboolean ; } extern "C" { pub fn g_regex_match ( regex : * const GRegex , string : * const gchar , match_options : GRegexMatchFlags , match_info : * mut * mut GMatchInfo ) -> gboolean ; } extern "C" { pub fn g_regex_match_full ( regex : * const GRegex , string : * const gchar , string_len : gssize , start_position : gint , match_options : GRegexMatchFlags , match_info : * mut * mut GMatchInfo , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_regex_match_all ( regex : * const GRegex , string : * const gchar , match_options : GRegexMatchFlags , match_info : * mut * mut GMatchInfo ) -> gboolean ; } extern "C" { pub fn g_regex_match_all_full ( regex : * const GRegex , string : * const gchar , string_len : gssize , start_position : gint , match_options : GRegexMatchFlags , match_info : * mut * mut GMatchInfo , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_regex_split_simple ( pattern : * const gchar , string : * const gchar , compile_options : GRegexCompileFlags , match_options : GRegexMatchFlags ) -> * mut * mut gchar ; } extern "C" { pub fn g_regex_split ( regex : * const GRegex , string : * const gchar , match_options : GRegexMatchFlags ) -> * mut * mut gchar ; } extern "C" { pub fn g_regex_split_full ( regex : * const GRegex , string : * const gchar , string_len : gssize , start_position : gint , match_options : GRegexMatchFlags , max_tokens : gint , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_regex_replace ( regex : * const GRegex , string : * const gchar , string_len : gssize , start_position : gint , replacement : * const gchar , match_options : GRegexMatchFlags , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_regex_replace_literal ( regex : * const GRegex , string : * const gchar , string_len : gssize , start_position : gint , replacement : * const gchar , match_options : GRegexMatchFlags , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_regex_replace_eval ( regex : * const GRegex , string : * const gchar , string_len : gssize , start_position : gint , match_options : GRegexMatchFlags , eval : GRegexEvalCallback , user_data : gpointer , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_regex_check_replacement ( replacement : * const gchar , has_references : * mut gboolean , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_match_info_get_regex ( match_info : * const GMatchInfo ) -> * mut GRegex ; } extern "C" { pub fn g_match_info_get_string ( match_info : * const GMatchInfo ) -> * const gchar ; } extern "C" { pub fn g_match_info_ref ( match_info : * mut GMatchInfo ) -> * mut GMatchInfo ; } extern "C" { pub fn g_match_info_unref ( match_info : * mut GMatchInfo ) ; } extern "C" { pub fn g_match_info_free ( match_info : * mut GMatchInfo ) ; } extern "C" { pub fn g_match_info_next ( match_info : * mut GMatchInfo , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_match_info_matches ( match_info : * const GMatchInfo ) -> gboolean ; } extern "C" { pub fn g_match_info_get_match_count ( match_info : * const GMatchInfo ) -> gint ; } extern "C" { pub fn g_match_info_is_partial_match ( match_info : * const GMatchInfo ) -> gboolean ; } extern "C" { pub fn g_match_info_expand_references ( match_info : * const GMatchInfo , string_to_expand : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_match_info_fetch ( match_info : * const GMatchInfo , match_num : gint ) -> * mut gchar ; } extern "C" { pub fn g_match_info_fetch_pos ( match_info : * const GMatchInfo , match_num : gint , start_pos : * mut gint , end_pos : * mut gint ) -> gboolean ; } extern "C" { pub fn g_match_info_fetch_named ( match_info : * const GMatchInfo , name : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_match_info_fetch_named_pos ( match_info : * const GMatchInfo , name : * const gchar , start_pos : * mut gint , end_pos : * mut gint ) -> gboolean ; } extern "C" { pub fn g_match_info_fetch_all ( match_info : * const GMatchInfo ) -> * mut * mut gchar ; } pub type GScanner = _GScanner ; pub type GScannerConfig = _GScannerConfig ; pub type GTokenValue = _GTokenValue ; pub type GScannerMsgFunc = :: std :: option :: Option < unsafe extern "C" fn ( scanner : * mut GScanner , message : * mut gchar , error : gboolean ) > ; pub const GErrorType_G_ERR_UNKNOWN : GErrorType = 0 ; pub const GErrorType_G_ERR_UNEXP_EOF : GErrorType = 1 ; pub const GErrorType_G_ERR_UNEXP_EOF_IN_STRING : GErrorType = 2 ; pub const GErrorType_G_ERR_UNEXP_EOF_IN_COMMENT : GErrorType = 3 ; pub const GErrorType_G_ERR_NON_DIGIT_IN_CONST : GErrorType = 4 ; pub const GErrorType_G_ERR_DIGIT_RADIX : GErrorType = 5 ; pub const GErrorType_G_ERR_FLOAT_RADIX : GErrorType = 6 ; pub const GErrorType_G_ERR_FLOAT_MALFORMED : GErrorType = 7 ; pub type GErrorType = u32 ; pub const GTokenType_G_TOKEN_EOF : GTokenType = 0 ; pub const GTokenType_G_TOKEN_LEFT_PAREN : GTokenType = 40 ; pub const GTokenType_G_TOKEN_RIGHT_PAREN : GTokenType = 41 ; pub const GTokenType_G_TOKEN_LEFT_CURLY : GTokenType = 123 ; pub const GTokenType_G_TOKEN_RIGHT_CURLY : GTokenType = 125 ; pub const GTokenType_G_TOKEN_LEFT_BRACE : GTokenType = 91 ; pub const GTokenType_G_TOKEN_RIGHT_BRACE : GTokenType = 93 ; pub const GTokenType_G_TOKEN_EQUAL_SIGN : GTokenType = 61 ; pub const GTokenType_G_TOKEN_COMMA : GTokenType = 44 ; pub const GTokenType_G_TOKEN_NONE : GTokenType = 256 ; pub const GTokenType_G_TOKEN_ERROR : GTokenType = 257 ; pub const GTokenType_G_TOKEN_CHAR : GTokenType = 258 ; pub const GTokenType_G_TOKEN_BINARY : GTokenType = 259 ; pub const GTokenType_G_TOKEN_OCTAL : GTokenType = 260 ; pub const GTokenType_G_TOKEN_INT : GTokenType = 261 ; pub const GTokenType_G_TOKEN_HEX : GTokenType = 262 ; pub const GTokenType_G_TOKEN_FLOAT : GTokenType = 263 ; pub const GTokenType_G_TOKEN_STRING : GTokenType = 264 ; pub const GTokenType_G_TOKEN_SYMBOL : GTokenType = 265 ; pub const GTokenType_G_TOKEN_IDENTIFIER : GTokenType = 266 ; pub const GTokenType_G_TOKEN_IDENTIFIER_NULL : GTokenType = 267 ; pub const GTokenType_G_TOKEN_COMMENT_SINGLE : GTokenType = 268 ; pub const GTokenType_G_TOKEN_COMMENT_MULTI : GTokenType = 269 ; pub const GTokenType_G_TOKEN_LAST : GTokenType = 270 ; pub type GTokenType = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GTokenValue { pub v_symbol : gpointer , pub v_identifier : * mut gchar , pub v_binary : gulong , pub v_octal : gulong , pub v_int : gulong , pub v_int64 : guint64 , pub v_float : gdouble , pub v_hex : gulong , pub v_string : * mut gchar , pub v_comment : * mut gchar , pub v_char : guchar , pub v_error : guint , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout__GTokenValue ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTokenValue > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GTokenValue ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTokenValue > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTokenValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_symbol as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_identifier as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_identifier ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_binary as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_binary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_octal as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_octal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_int as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_int ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_int64 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_int64 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_float as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_float ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_hex as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_hex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_string as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_string ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_comment as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_comment ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_char as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_error as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_error ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GScannerConfig { pub cset_skip_characters : * mut gchar , pub cset_identifier_first : * mut gchar , pub cset_identifier_nth : * mut gchar , pub cpair_comment_single : * mut gchar , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 3usize ] , u8 > , pub padding_dummy : guint , } # [ test ] fn bindgen_test_layout__GScannerConfig ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GScannerConfig > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GScannerConfig ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GScannerConfig > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GScannerConfig ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScannerConfig > ( ) ) ) . cset_skip_characters as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GScannerConfig ) , "::" , stringify ! ( cset_skip_characters ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScannerConfig > ( ) ) ) . cset_identifier_first as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GScannerConfig ) , "::" , stringify ! ( cset_identifier_first ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScannerConfig > ( ) ) ) . cset_identifier_nth as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GScannerConfig ) , "::" , stringify ! ( cset_identifier_nth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScannerConfig > ( ) ) ) . cpair_comment_single as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GScannerConfig ) , "::" , stringify ! ( cpair_comment_single ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScannerConfig > ( ) ) ) . padding_dummy as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _GScannerConfig ) , "::" , stringify ! ( padding_dummy ) ) ) ; } impl _GScannerConfig { # [ inline ] pub fn case_sensitive ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_case_sensitive ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn skip_comment_multi ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_skip_comment_multi ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn skip_comment_single ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_skip_comment_single ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_comment_multi ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_comment_multi ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_identifier ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 4usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_identifier ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 4usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_identifier_1char ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 5usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_identifier_1char ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 5usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_identifier_NULL ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 6usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_identifier_NULL ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 6usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_symbols ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 7usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_symbols ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 7usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_binary ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 8usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_binary ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 8usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_octal ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 9usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_octal ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 9usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_float ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 10usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_float ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 10usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_hex ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 11usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_hex ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 11usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_hex_dollar ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 12usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_hex_dollar ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 12usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_string_sq ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 13usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_string_sq ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 13usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_string_dq ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 14usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_string_dq ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 14usize , 1u8 , val as u64 ) } } # [ inline ] pub fn numbers_2_int ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 15usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_numbers_2_int ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 15usize , 1u8 , val as u64 ) } } # [ inline ] pub fn int_2_float ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 16usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_int_2_float ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 16usize , 1u8 , val as u64 ) } } # [ inline ] pub fn identifier_2_string ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 17usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_identifier_2_string ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 17usize , 1u8 , val as u64 ) } } # [ inline ] pub fn char_2_token ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 18usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_char_2_token ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 18usize , 1u8 , val as u64 ) } } # [ inline ] pub fn symbol_2_token ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 19usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_symbol_2_token ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 19usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scope_0_fallback ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 20usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scope_0_fallback ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 20usize , 1u8 , val as u64 ) } } # [ inline ] pub fn store_int64 ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 21usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_store_int64 ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 21usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( case_sensitive : guint , skip_comment_multi : guint , skip_comment_single : guint , scan_comment_multi : guint , scan_identifier : guint , scan_identifier_1char : guint , scan_identifier_NULL : guint , scan_symbols : guint , scan_binary : guint , scan_octal : guint , scan_float : guint , scan_hex : guint , scan_hex_dollar : guint , scan_string_sq : guint , scan_string_dq : guint , numbers_2_int : guint , int_2_float : guint , identifier_2_string : guint , char_2_token : guint , symbol_2_token : guint , scope_0_fallback : guint , store_int64 : guint ) -> __BindgenBitfieldUnit < [ u8 ; 3usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 3usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let case_sensitive : u32 = unsafe { :: std :: mem :: transmute ( case_sensitive ) } ; case_sensitive as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let skip_comment_multi : u32 = unsafe { :: std :: mem :: transmute ( skip_comment_multi ) } ; skip_comment_multi as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let skip_comment_single : u32 = unsafe { :: std :: mem :: transmute ( skip_comment_single ) } ; skip_comment_single as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let scan_comment_multi : u32 = unsafe { :: std :: mem :: transmute ( scan_comment_multi ) } ; scan_comment_multi as u64 } ) ; __bindgen_bitfield_unit . set ( 4usize , 1u8 , { let scan_identifier : u32 = unsafe { :: std :: mem :: transmute ( scan_identifier ) } ; scan_identifier as u64 } ) ; __bindgen_bitfield_unit . set ( 5usize , 1u8 , { let scan_identifier_1char : u32 = unsafe { :: std :: mem :: transmute ( scan_identifier_1char ) } ; scan_identifier_1char as u64 } ) ; __bindgen_bitfield_unit . set ( 6usize , 1u8 , { let scan_identifier_NULL : u32 = unsafe { :: std :: mem :: transmute ( scan_identifier_NULL ) } ; scan_identifier_NULL as u64 } ) ; __bindgen_bitfield_unit . set ( 7usize , 1u8 , { let scan_symbols : u32 = unsafe { :: std :: mem :: transmute ( scan_symbols ) } ; scan_symbols as u64 } ) ; __bindgen_bitfield_unit . set ( 8usize , 1u8 , { let scan_binary : u32 = unsafe { :: std :: mem :: transmute ( scan_binary ) } ; scan_binary as u64 } ) ; __bindgen_bitfield_unit . set ( 9usize , 1u8 , { let scan_octal : u32 = unsafe { :: std :: mem :: transmute ( scan_octal ) } ; scan_octal as u64 } ) ; __bindgen_bitfield_unit . set ( 10usize , 1u8 , { let scan_float : u32 = unsafe { :: std :: mem :: transmute ( scan_float ) } ; scan_float as u64 } ) ; __bindgen_bitfield_unit . set ( 11usize , 1u8 , { let scan_hex : u32 = unsafe { :: std :: mem :: transmute ( scan_hex ) } ; scan_hex as u64 } ) ; __bindgen_bitfield_unit . set ( 12usize , 1u8 , { let scan_hex_dollar : u32 = unsafe { :: std :: mem :: transmute ( scan_hex_dollar ) } ; scan_hex_dollar as u64 } ) ; __bindgen_bitfield_unit . set ( 13usize , 1u8 , { let scan_string_sq : u32 = unsafe { :: std :: mem :: transmute ( scan_string_sq ) } ; scan_string_sq as u64 } ) ; __bindgen_bitfield_unit . set ( 14usize , 1u8 , { let scan_string_dq : u32 = unsafe { :: std :: mem :: transmute ( scan_string_dq ) } ; scan_string_dq as u64 } ) ; __bindgen_bitfield_unit . set ( 15usize , 1u8 , { let numbers_2_int : u32 = unsafe { :: std :: mem :: transmute ( numbers_2_int ) } ; numbers_2_int as u64 } ) ; __bindgen_bitfield_unit . set ( 16usize , 1u8 , { let int_2_float : u32 = unsafe { :: std :: mem :: transmute ( int_2_float ) } ; int_2_float as u64 } ) ; __bindgen_bitfield_unit . set ( 17usize , 1u8 , { let identifier_2_string : u32 = unsafe { :: std :: mem :: transmute ( identifier_2_string ) } ; identifier_2_string as u64 } ) ; __bindgen_bitfield_unit . set ( 18usize , 1u8 , { let char_2_token : u32 = unsafe { :: std :: mem :: transmute ( char_2_token ) } ; char_2_token as u64 } ) ; __bindgen_bitfield_unit . set ( 19usize , 1u8 , { let symbol_2_token : u32 = unsafe { :: std :: mem :: transmute ( symbol_2_token ) } ; symbol_2_token as u64 } ) ; __bindgen_bitfield_unit . set ( 20usize , 1u8 , { let scope_0_fallback : u32 = unsafe { :: std :: mem :: transmute ( scope_0_fallback ) } ; scope_0_fallback as u64 } ) ; __bindgen_bitfield_unit . set ( 21usize , 1u8 , { let store_int64 : u32 = unsafe { :: std :: mem :: transmute ( store_int64 ) } ; store_int64 as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GScanner { pub user_data : gpointer , pub max_parse_errors : guint , pub parse_errors : guint , pub input_name : * const gchar , pub qdata : * mut GData , pub config : * mut GScannerConfig , pub token : GTokenType , pub value : GTokenValue , pub line : guint , pub position : guint , pub next_token : GTokenType , pub next_value : GTokenValue , pub next_line : guint , pub next_position : guint , pub symbol_table : * mut GHashTable , pub input_fd : gint , pub text : * const gchar , pub text_end : * const gchar , pub buffer : * mut gchar , pub scope_id : guint , pub msg_handler : GScannerMsgFunc , } # [ test ] fn bindgen_test_layout__GScanner ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GScanner > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( _GScanner ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GScanner > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GScanner ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . user_data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( user_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . max_parse_errors as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( max_parse_errors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . parse_errors as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( parse_errors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . input_name as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( input_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . qdata as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( qdata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . config as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( config ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . token as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( token ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . value as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . line as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . position as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . next_token as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( next_token ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . next_value as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( next_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . next_line as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( next_line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . next_position as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( next_position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . symbol_table as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( symbol_table ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . input_fd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( input_fd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . text as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( text ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . text_end as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( text_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . buffer as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . scope_id as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( scope_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . msg_handler as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( msg_handler ) ) ) ; } extern "C" { pub fn g_scanner_new ( config_templ : * const GScannerConfig ) -> * mut GScanner ; } extern "C" { pub fn g_scanner_destroy ( scanner : * mut GScanner ) ; } extern "C" { pub fn g_scanner_input_file ( scanner : * mut GScanner , input_fd : gint ) ; } extern "C" { pub fn g_scanner_sync_file_offset ( scanner : * mut GScanner ) ; } extern "C" { pub fn g_scanner_input_text ( scanner : * mut GScanner , text : * const gchar , text_len : guint ) ; } extern "C" { pub fn g_scanner_get_next_token ( scanner : * mut GScanner ) -> GTokenType ; } extern "C" { pub fn g_scanner_peek_next_token ( scanner : * mut GScanner ) -> GTokenType ; } extern "C" { pub fn g_scanner_cur_token ( scanner : * mut GScanner ) -> GTokenType ; } extern "C" { pub fn g_scanner_cur_value ( scanner : * mut GScanner ) -> GTokenValue ; } extern "C" { pub fn g_scanner_cur_line ( scanner : * mut GScanner ) -> guint ; } extern "C" { pub fn g_scanner_cur_position ( scanner : * mut GScanner ) -> guint ; } extern "C" { pub fn g_scanner_eof ( scanner : * mut GScanner ) -> gboolean ; } extern "C" { pub fn g_scanner_set_scope ( scanner : * mut GScanner , scope_id : guint ) -> guint ; } extern "C" { pub fn g_scanner_scope_add_symbol ( scanner : * mut GScanner , scope_id : guint , symbol : * const gchar , value : gpointer ) ; } extern "C" { pub fn g_scanner_scope_remove_symbol ( scanner : * mut GScanner , scope_id : guint , symbol : * const gchar ) ; } extern "C" { pub fn g_scanner_scope_lookup_symbol ( scanner : * mut GScanner , scope_id : guint , symbol : * const gchar ) -> gpointer ; } extern "C" { pub fn g_scanner_scope_foreach_symbol ( scanner : * mut GScanner , scope_id : guint , func : GHFunc , user_data : gpointer ) ; } extern "C" { pub fn g_scanner_lookup_symbol ( scanner : * mut GScanner , symbol : * const gchar ) -> gpointer ; } extern "C" { pub fn g_scanner_unexp_token ( scanner : * mut GScanner , expected_token : GTokenType , identifier_spec : * const gchar , symbol_spec : * const gchar , symbol_name : * const gchar , message : * const gchar , is_error : gint ) ; } extern "C" { pub fn g_scanner_error ( scanner : * mut GScanner , format : * const gchar , ... ) ; } extern "C" { pub fn g_scanner_warn ( scanner : * mut GScanner , format : * const gchar , ... ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSequence { _unused : [ u8 ; 0 ] , } pub type GSequence = _GSequence ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSequenceNode { _unused : [ u8 ; 0 ] , } pub type GSequenceIter = _GSequenceNode ; pub type GSequenceIterCompareFunc = :: std :: option :: Option < unsafe extern "C" fn ( a : * mut GSequenceIter , b : * mut GSequenceIter , data : gpointer ) -> gint > ; extern "C" { pub fn g_sequence_new ( data_destroy : GDestroyNotify ) -> * mut GSequence ; } extern "C" { pub fn g_sequence_free ( seq : * mut GSequence ) ; } extern "C" { pub fn g_sequence_get_length ( seq : * mut GSequence ) -> gint ; } extern "C" { pub fn g_sequence_foreach ( seq : * mut GSequence , func : GFunc , user_data : gpointer ) ; } extern "C" { pub fn g_sequence_foreach_range ( begin : * mut GSequenceIter , end : * mut GSequenceIter , func : GFunc , user_data : gpointer ) ; } extern "C" { pub fn g_sequence_sort ( seq : * mut GSequence , cmp_func : GCompareDataFunc , cmp_data : gpointer ) ; } extern "C" { pub fn g_sequence_sort_iter ( seq : * mut GSequence , cmp_func : GSequenceIterCompareFunc , cmp_data : gpointer ) ; } extern "C" { pub fn g_sequence_is_empty ( seq : * mut GSequence ) -> gboolean ; } extern "C" { pub fn g_sequence_get_begin_iter ( seq : * mut GSequence ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_get_end_iter ( seq : * mut GSequence ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_get_iter_at_pos ( seq : * mut GSequence , pos : gint ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_append ( seq : * mut GSequence , data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_prepend ( seq : * mut GSequence , data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_insert_before ( iter : * mut GSequenceIter , data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_move ( src : * mut GSequenceIter , dest : * mut GSequenceIter ) ; } extern "C" { pub fn g_sequence_swap ( a : * mut GSequenceIter , b : * mut GSequenceIter ) ; } extern "C" { pub fn g_sequence_insert_sorted ( seq : * mut GSequence , data : gpointer , cmp_func : GCompareDataFunc , cmp_data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_insert_sorted_iter ( seq : * mut GSequence , data : gpointer , iter_cmp : GSequenceIterCompareFunc , cmp_data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_sort_changed ( iter : * mut GSequenceIter , cmp_func : GCompareDataFunc , cmp_data : gpointer ) ; } extern "C" { pub fn g_sequence_sort_changed_iter ( iter : * mut GSequenceIter , iter_cmp : GSequenceIterCompareFunc , cmp_data : gpointer ) ; } extern "C" { pub fn g_sequence_remove ( iter : * mut GSequenceIter ) ; } extern "C" { pub fn g_sequence_remove_range ( begin : * mut GSequenceIter , end : * mut GSequenceIter ) ; } extern "C" { pub fn g_sequence_move_range ( dest : * mut GSequenceIter , begin : * mut GSequenceIter , end : * mut GSequenceIter ) ; } extern "C" { pub fn g_sequence_search ( seq : * mut GSequence , data : gpointer , cmp_func : GCompareDataFunc , cmp_data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_search_iter ( seq : * mut GSequence , data : gpointer , iter_cmp : GSequenceIterCompareFunc , cmp_data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_lookup ( seq : * mut GSequence , data : gpointer , cmp_func : GCompareDataFunc , cmp_data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_lookup_iter ( seq : * mut GSequence , data : gpointer , iter_cmp : GSequenceIterCompareFunc , cmp_data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_get ( iter : * mut GSequenceIter ) -> gpointer ; } extern "C" { pub fn g_sequence_set ( iter : * mut GSequenceIter , data : gpointer ) ; } extern "C" { pub fn g_sequence_iter_is_begin ( iter : * mut GSequenceIter ) -> gboolean ; } extern "C" { pub fn g_sequence_iter_is_end ( iter : * mut GSequenceIter ) -> gboolean ; } extern "C" { pub fn g_sequence_iter_next ( iter : * mut GSequenceIter ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_iter_prev ( iter : * mut GSequenceIter ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_iter_get_position ( iter : * mut GSequenceIter ) -> gint ; } extern "C" { pub fn g_sequence_iter_move ( iter : * mut GSequenceIter , delta : gint ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_iter_get_sequence ( iter : * mut GSequenceIter ) -> * mut GSequence ; } extern "C" { pub fn g_sequence_iter_compare ( a : * mut GSequenceIter , b : * mut GSequenceIter ) -> gint ; } extern "C" { pub fn g_sequence_range_get_midpoint ( begin : * mut GSequenceIter , end : * mut GSequenceIter ) -> * mut GSequenceIter ; } pub const GShellError_G_SHELL_ERROR_BAD_QUOTING : GShellError = 0 ; pub const GShellError_G_SHELL_ERROR_EMPTY_STRING : GShellError = 1 ; pub const GShellError_G_SHELL_ERROR_FAILED : GShellError = 2 ; pub type GShellError = u32 ; extern "C" { pub fn g_shell_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_shell_quote ( unquoted_string : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_shell_unquote ( quoted_string : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_shell_parse_argv ( command_line : * const gchar , argcp : * mut gint , argvp : * mut * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_slice_alloc ( block_size : gsize ) -> gpointer ; } extern "C" { pub fn g_slice_alloc0 ( block_size : gsize ) -> gpointer ; } extern "C" { pub fn g_slice_copy ( block_size : gsize , mem_block : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_slice_free1 ( block_size : gsize , mem_block : gpointer ) ; } extern "C" { pub fn g_slice_free_chain_with_offset ( block_size : gsize , mem_chain : gpointer , next_offset : gsize ) ; } pub const GSliceConfig_G_SLICE_CONFIG_ALWAYS_MALLOC : GSliceConfig = 1 ; pub const GSliceConfig_G_SLICE_CONFIG_BYPASS_MAGAZINES : GSliceConfig = 2 ; pub const GSliceConfig_G_SLICE_CONFIG_WORKING_SET_MSECS : GSliceConfig = 3 ; pub const GSliceConfig_G_SLICE_CONFIG_COLOR_INCREMENT : GSliceConfig = 4 ; pub const GSliceConfig_G_SLICE_CONFIG_CHUNK_SIZES : GSliceConfig = 5 ; pub const GSliceConfig_G_SLICE_CONFIG_CONTENTION_COUNTER : GSliceConfig = 6 ; pub type GSliceConfig = u32 ; extern "C" { pub fn g_slice_set_config ( ckey : GSliceConfig , value : gint64 ) ; } extern "C" { pub fn g_slice_get_config ( ckey : GSliceConfig ) -> gint64 ; } extern "C" { pub fn g_slice_get_config_state ( ckey : GSliceConfig , address : gint64 , n_values : * mut guint ) -> * mut gint64 ; } pub const GSpawnError_G_SPAWN_ERROR_FORK : GSpawnError = 0 ; pub const GSpawnError_G_SPAWN_ERROR_READ : GSpawnError = 1 ; pub const GSpawnError_G_SPAWN_ERROR_CHDIR : GSpawnError = 2 ; pub const GSpawnError_G_SPAWN_ERROR_ACCES : GSpawnError = 3 ; pub const GSpawnError_G_SPAWN_ERROR_PERM : GSpawnError = 4 ; pub const GSpawnError_G_SPAWN_ERROR_TOO_BIG : GSpawnError = 5 ; pub const GSpawnError_G_SPAWN_ERROR_2BIG : GSpawnError = 5 ; pub const GSpawnError_G_SPAWN_ERROR_NOEXEC : GSpawnError = 6 ; pub const GSpawnError_G_SPAWN_ERROR_NAMETOOLONG : GSpawnError = 7 ; pub const GSpawnError_G_SPAWN_ERROR_NOENT : GSpawnError = 8 ; pub const GSpawnError_G_SPAWN_ERROR_NOMEM : GSpawnError = 9 ; pub const GSpawnError_G_SPAWN_ERROR_NOTDIR : GSpawnError = 10 ; pub const GSpawnError_G_SPAWN_ERROR_LOOP : GSpawnError = 11 ; pub const GSpawnError_G_SPAWN_ERROR_TXTBUSY : GSpawnError = 12 ; pub const GSpawnError_G_SPAWN_ERROR_IO : GSpawnError = 13 ; pub const GSpawnError_G_SPAWN_ERROR_NFILE : GSpawnError = 14 ; pub const GSpawnError_G_SPAWN_ERROR_MFILE : GSpawnError = 15 ; pub const GSpawnError_G_SPAWN_ERROR_INVAL : GSpawnError = 16 ; pub const GSpawnError_G_SPAWN_ERROR_ISDIR : GSpawnError = 17 ; pub const GSpawnError_G_SPAWN_ERROR_LIBBAD : GSpawnError = 18 ; pub const GSpawnError_G_SPAWN_ERROR_FAILED : GSpawnError = 19 ; pub type GSpawnError = u32 ; pub type GSpawnChildSetupFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer ) > ; pub const GSpawnFlags_G_SPAWN_DEFAULT : GSpawnFlags = 0 ; pub const GSpawnFlags_G_SPAWN_LEAVE_DESCRIPTORS_OPEN : GSpawnFlags = 1 ; pub const GSpawnFlags_G_SPAWN_DO_NOT_REAP_CHILD : GSpawnFlags = 2 ; pub const GSpawnFlags_G_SPAWN_SEARCH_PATH : GSpawnFlags = 4 ; pub const GSpawnFlags_G_SPAWN_STDOUT_TO_DEV_NULL : GSpawnFlags = 8 ; pub const GSpawnFlags_G_SPAWN_STDERR_TO_DEV_NULL : GSpawnFlags = 16 ; pub const GSpawnFlags_G_SPAWN_CHILD_INHERITS_STDIN : GSpawnFlags = 32 ; pub const GSpawnFlags_G_SPAWN_FILE_AND_ARGV_ZERO : GSpawnFlags = 64 ; pub const GSpawnFlags_G_SPAWN_SEARCH_PATH_FROM_ENVP : GSpawnFlags = 128 ; pub const GSpawnFlags_G_SPAWN_CLOEXEC_PIPES : GSpawnFlags = 256 ; pub const GSpawnFlags_G_SPAWN_CHILD_INHERITS_STDOUT : GSpawnFlags = 512 ; pub const GSpawnFlags_G_SPAWN_CHILD_INHERITS_STDERR : GSpawnFlags = 1024 ; pub const GSpawnFlags_G_SPAWN_STDIN_FROM_DEV_NULL : GSpawnFlags = 2048 ; pub type GSpawnFlags = u32 ; extern "C" { pub fn g_spawn_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_spawn_exit_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_spawn_async ( working_directory : * const gchar , argv : * mut * mut gchar , envp : * mut * mut gchar , flags : GSpawnFlags , child_setup : GSpawnChildSetupFunc , user_data : gpointer , child_pid : * mut GPid , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_async_with_pipes ( working_directory : * const gchar , argv : * mut * mut gchar , envp : * mut * mut gchar , flags : GSpawnFlags , child_setup : GSpawnChildSetupFunc , user_data : gpointer , child_pid : * mut GPid , standard_input : * mut gint , standard_output : * mut gint , standard_error : * mut gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_async_with_pipes_and_fds ( working_directory : * const gchar , argv : * const * const gchar , envp : * const * const gchar , flags : GSpawnFlags , child_setup : GSpawnChildSetupFunc , user_data : gpointer , stdin_fd : gint , stdout_fd : gint , stderr_fd : gint , source_fds : * const gint , target_fds : * const gint , n_fds : gsize , child_pid_out : * mut GPid , stdin_pipe_out : * mut gint , stdout_pipe_out : * mut gint , stderr_pipe_out : * mut gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_async_with_fds ( working_directory : * const gchar , argv : * mut * mut gchar , envp : * mut * mut gchar , flags : GSpawnFlags , child_setup : GSpawnChildSetupFunc , user_data : gpointer , child_pid : * mut GPid , stdin_fd : gint , stdout_fd : gint , stderr_fd : gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_sync ( working_directory : * const gchar , argv : * mut * mut gchar , envp : * mut * mut gchar , flags : GSpawnFlags , child_setup : GSpawnChildSetupFunc , user_data : gpointer , standard_output : * mut * mut gchar , standard_error : * mut * mut gchar , wait_status : * mut gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_command_line_sync ( command_line : * const gchar , standard_output : * mut * mut gchar , standard_error : * mut * mut gchar , wait_status : * mut gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_command_line_async ( command_line : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_check_wait_status ( wait_status : gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_check_exit_status ( wait_status : gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_close_pid ( pid : GPid ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GStringChunk { _unused : [ u8 ; 0 ] , } pub type GStringChunk = _GStringChunk ; extern "C" { pub fn g_string_chunk_new ( size : gsize ) -> * mut GStringChunk ; } extern "C" { pub fn g_string_chunk_free ( chunk : * mut GStringChunk ) ; } extern "C" { pub fn g_string_chunk_clear ( chunk : * mut GStringChunk ) ; } extern "C" { pub fn g_string_chunk_insert ( chunk : * mut GStringChunk , string : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_string_chunk_insert_len ( chunk : * mut GStringChunk , string : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_string_chunk_insert_const ( chunk : * mut GStringChunk , string : * const gchar ) -> * mut gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GStrvBuilder { _unused : [ u8 ; 0 ] , } pub type GStrvBuilder = _GStrvBuilder ; extern "C" { pub fn g_strv_builder_new ( ) -> * mut GStrvBuilder ; } extern "C" { pub fn g_strv_builder_unref ( builder : * mut GStrvBuilder ) ; } extern "C" { pub fn g_strv_builder_ref ( builder : * mut GStrvBuilder ) -> * mut GStrvBuilder ; } extern "C" { pub fn g_strv_builder_add ( builder : * mut GStrvBuilder , value : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_strv_builder_addv ( builder : * mut GStrvBuilder , value : * mut * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_strv_builder_add_many ( builder : * mut GStrvBuilder , ... ) ; } extern "C" { pub fn g_strv_builder_take ( builder : * mut GStrvBuilder , value : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_strv_builder_end ( builder : * mut GStrvBuilder ) -> GStrv ; } extern "C" { pub fn __errno_location ( ) -> * mut :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct GTestCase { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct GTestSuite { _unused : [ u8 ; 0 ] , } pub type GTestFunc = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; pub type GTestDataFunc = :: std :: option :: Option < unsafe extern "C" fn ( user_data : gconstpointer ) > ; pub type GTestFixtureFunc = :: std :: option :: Option < unsafe extern "C" fn ( fixture : gpointer , user_data : gconstpointer ) > ; extern "C" { pub fn g_strcmp0 ( str1 : * const :: std :: os :: raw :: c_char , str2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_test_minimized_result ( minimized_quantity : f64 , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_maximized_result ( maximized_quantity : f64 , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_init ( argc : * mut :: std :: os :: raw :: c_int , argv : * mut * mut * mut :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_subprocess ( ) -> gboolean ; } extern "C" { pub fn g_test_run ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_test_add_func ( testpath : * const :: std :: os :: raw :: c_char , test_func : GTestFunc ) ; } extern "C" { pub fn g_test_add_data_func ( testpath : * const :: std :: os :: raw :: c_char , test_data : gconstpointer , test_func : GTestDataFunc ) ; } extern "C" { pub fn g_test_add_data_func_full ( testpath : * const :: std :: os :: raw :: c_char , test_data : gpointer , test_func : GTestDataFunc , data_free_func : GDestroyNotify ) ; } extern "C" { pub fn g_test_get_path ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_test_fail ( ) ; } extern "C" { pub fn g_test_fail_printf ( format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_incomplete ( msg : * const gchar ) ; } extern "C" { pub fn g_test_incomplete_printf ( format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_skip ( msg : * const gchar ) ; } extern "C" { pub fn g_test_skip_printf ( format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_failed ( ) -> gboolean ; } extern "C" { pub fn g_test_set_nonfatal_assertions ( ) ; } extern "C" { pub fn g_test_disable_crash_reporting ( ) ; } extern "C" { pub fn g_test_message ( format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_bug_base ( uri_pattern : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_test_bug ( bug_uri_snippet : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_test_summary ( summary : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_test_timer_start ( ) ; } extern "C" { pub fn g_test_timer_elapsed ( ) -> f64 ; } extern "C" { pub fn g_test_timer_last ( ) -> f64 ; } extern "C" { pub fn g_test_queue_free ( gfree_pointer : gpointer ) ; } extern "C" { pub fn g_test_queue_destroy ( destroy_func : GDestroyNotify , destroy_data : gpointer ) ; } pub const GTestTrapFlags_G_TEST_TRAP_DEFAULT : GTestTrapFlags = 0 ; pub const GTestTrapFlags_G_TEST_TRAP_SILENCE_STDOUT : GTestTrapFlags = 128 ; pub const GTestTrapFlags_G_TEST_TRAP_SILENCE_STDERR : GTestTrapFlags = 256 ; pub const GTestTrapFlags_G_TEST_TRAP_INHERIT_STDIN : GTestTrapFlags = 512 ; pub type GTestTrapFlags = u32 ; extern "C" { pub fn g_test_trap_fork ( usec_timeout : guint64 , test_trap_flags : GTestTrapFlags ) -> gboolean ; } pub const GTestSubprocessFlags_G_TEST_SUBPROCESS_DEFAULT : GTestSubprocessFlags = 0 ; pub const GTestSubprocessFlags_G_TEST_SUBPROCESS_INHERIT_STDIN : GTestSubprocessFlags = 1 ; pub const GTestSubprocessFlags_G_TEST_SUBPROCESS_INHERIT_STDOUT : GTestSubprocessFlags = 2 ; pub const GTestSubprocessFlags_G_TEST_SUBPROCESS_INHERIT_STDERR : GTestSubprocessFlags = 4 ; pub type GTestSubprocessFlags = u32 ; extern "C" { pub fn g_test_trap_subprocess ( test_path : * const :: std :: os :: raw :: c_char , usec_timeout : guint64 , test_flags : GTestSubprocessFlags ) ; } extern "C" { pub fn g_test_trap_subprocess_with_envp ( test_path : * const :: std :: os :: raw :: c_char , envp : * const * const :: std :: os :: raw :: c_char , usec_timeout : guint64 , test_flags : GTestSubprocessFlags ) ; } extern "C" { pub fn g_test_trap_has_passed ( ) -> gboolean ; } extern "C" { pub fn g_test_trap_reached_timeout ( ) -> gboolean ; } extern "C" { pub fn g_test_rand_int ( ) -> gint32 ; } extern "C" { pub fn g_test_rand_int_range ( begin : gint32 , end : gint32 ) -> gint32 ; } extern "C" { pub fn g_test_rand_double ( ) -> f64 ; } extern "C" { pub fn g_test_rand_double_range ( range_start : f64 , range_end : f64 ) -> f64 ; } extern "C" { pub fn g_test_create_case ( test_name : * const :: std :: os :: raw :: c_char , data_size : gsize , test_data : gconstpointer , data_setup : GTestFixtureFunc , data_test : GTestFixtureFunc , data_teardown : GTestFixtureFunc ) -> * mut GTestCase ; } extern "C" { pub fn g_test_create_suite ( suite_name : * const :: std :: os :: raw :: c_char ) -> * mut GTestSuite ; } extern "C" { pub fn g_test_get_root ( ) -> * mut GTestSuite ; } extern "C" { pub fn g_test_suite_add ( suite : * mut GTestSuite , test_case : * mut GTestCase ) ; } extern "C" { pub fn g_test_suite_add_suite ( suite : * mut GTestSuite , nestedsuite : * mut GTestSuite ) ; } extern "C" { pub fn g_test_run_suite ( suite : * mut GTestSuite ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_test_case_free ( test_case : * mut GTestCase ) ; } extern "C" { pub fn g_test_suite_free ( suite : * mut GTestSuite ) ; } extern "C" { pub fn g_test_trap_assertions ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , assertion_flags : guint64 , pattern : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assertion_message ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , message : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assertion_message_expr ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , expr : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assertion_message_cmpstr ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , expr : * const :: std :: os :: raw :: c_char , arg1 : * const :: std :: os :: raw :: c_char , cmp : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assertion_message_cmpstrv ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , expr : * const :: std :: os :: raw :: c_char , arg1 : * const * const :: std :: os :: raw :: c_char , arg2 : * const * const :: std :: os :: raw :: c_char , first_wrong_idx : gsize ) ; } extern "C" { pub fn g_assertion_message_cmpint ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , expr : * const :: std :: os :: raw :: c_char , arg1 : guint64 , cmp : * const :: std :: os :: raw :: c_char , arg2 : guint64 , numtype : :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assertion_message_cmpnum ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , expr : * const :: std :: os :: raw :: c_char , arg1 : f64 , cmp : * const :: std :: os :: raw :: c_char , arg2 : f64 , numtype : :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assertion_message_error ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , expr : * const :: std :: os :: raw :: c_char , error : * const GError , error_domain : GQuark , error_code : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn g_test_add_vtable ( testpath : * const :: std :: os :: raw :: c_char , data_size : gsize , test_data : gconstpointer , data_setup : GTestFixtureFunc , data_test : GTestFixtureFunc , data_teardown : GTestFixtureFunc ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct GTestConfig { pub test_initialized : gboolean , pub test_quick : gboolean , pub test_perf : gboolean , pub test_verbose : gboolean , pub test_quiet : gboolean , pub test_undefined : gboolean , } # [ test ] fn bindgen_test_layout_GTestConfig ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GTestConfig > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( GTestConfig ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GTestConfig > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( GTestConfig ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestConfig > ( ) ) ) . test_initialized as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GTestConfig ) , "::" , stringify ! ( test_initialized ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestConfig > ( ) ) ) . test_quick as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( GTestConfig ) , "::" , stringify ! ( test_quick ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestConfig > ( ) ) ) . test_perf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( GTestConfig ) , "::" , stringify ! ( test_perf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestConfig > ( ) ) ) . test_verbose as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( GTestConfig ) , "::" , stringify ! ( test_verbose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestConfig > ( ) ) ) . test_quiet as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( GTestConfig ) , "::" , stringify ! ( test_quiet ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestConfig > ( ) ) ) . test_undefined as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( GTestConfig ) , "::" , stringify ! ( test_undefined ) ) ) ; } extern "C" { # [ link_name = "\u{1}g_test_config_vars" ] pub static mut g_test_config_vars : * const GTestConfig ; } pub const GTestResult_G_TEST_RUN_SUCCESS : GTestResult = 0 ; pub const GTestResult_G_TEST_RUN_SKIPPED : GTestResult = 1 ; pub const GTestResult_G_TEST_RUN_FAILURE : GTestResult = 2 ; pub const GTestResult_G_TEST_RUN_INCOMPLETE : GTestResult = 3 ; pub type GTestResult = u32 ; pub const GTestLogType_G_TEST_LOG_NONE : GTestLogType = 0 ; pub const GTestLogType_G_TEST_LOG_ERROR : GTestLogType = 1 ; pub const GTestLogType_G_TEST_LOG_START_BINARY : GTestLogType = 2 ; pub const GTestLogType_G_TEST_LOG_LIST_CASE : GTestLogType = 3 ; pub const GTestLogType_G_TEST_LOG_SKIP_CASE : GTestLogType = 4 ; pub const GTestLogType_G_TEST_LOG_START_CASE : GTestLogType = 5 ; pub const GTestLogType_G_TEST_LOG_STOP_CASE : GTestLogType = 6 ; pub const GTestLogType_G_TEST_LOG_MIN_RESULT : GTestLogType = 7 ; pub const GTestLogType_G_TEST_LOG_MAX_RESULT : GTestLogType = 8 ; pub const GTestLogType_G_TEST_LOG_MESSAGE : GTestLogType = 9 ; pub const GTestLogType_G_TEST_LOG_START_SUITE : GTestLogType = 10 ; pub const GTestLogType_G_TEST_LOG_STOP_SUITE : GTestLogType = 11 ; pub type GTestLogType = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct GTestLogMsg { pub log_type : GTestLogType , pub n_strings : guint , pub strings : * mut * mut gchar , pub n_nums : guint , pub nums : * mut f64 , } # [ test ] fn bindgen_test_layout_GTestLogMsg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GTestLogMsg > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( GTestLogMsg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GTestLogMsg > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( GTestLogMsg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogMsg > ( ) ) ) . log_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogMsg ) , "::" , stringify ! ( log_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogMsg > ( ) ) ) . n_strings as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogMsg ) , "::" , stringify ! ( n_strings ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogMsg > ( ) ) ) . strings as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogMsg ) , "::" , stringify ! ( strings ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogMsg > ( ) ) ) . n_nums as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogMsg ) , "::" , stringify ! ( n_nums ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogMsg > ( ) ) ) . nums as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogMsg ) , "::" , stringify ! ( nums ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct GTestLogBuffer { pub data : * mut GString , pub msgs : * mut GSList , } # [ test ] fn bindgen_test_layout_GTestLogBuffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GTestLogBuffer > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( GTestLogBuffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GTestLogBuffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( GTestLogBuffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogBuffer > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogBuffer ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogBuffer > ( ) ) ) . msgs as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogBuffer ) , "::" , stringify ! ( msgs ) ) ) ; } extern "C" { pub fn g_test_log_type_name ( log_type : GTestLogType ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_test_log_buffer_new ( ) -> * mut GTestLogBuffer ; } extern "C" { pub fn g_test_log_buffer_free ( tbuffer : * mut GTestLogBuffer ) ; } extern "C" { pub fn g_test_log_buffer_push ( tbuffer : * mut GTestLogBuffer , n_bytes : guint , bytes : * const guint8 ) ; } extern "C" { pub fn g_test_log_buffer_pop ( tbuffer : * mut GTestLogBuffer ) -> * mut GTestLogMsg ; } extern "C" { pub fn g_test_log_msg_free ( tmsg : * mut GTestLogMsg ) ; } pub type GTestLogFatalFunc = :: std :: option :: Option < unsafe extern "C" fn ( log_domain : * const gchar , log_level : GLogLevelFlags , message : * const gchar , user_data : gpointer ) -> gboolean > ; extern "C" { pub fn g_test_log_set_fatal_handler ( log_func : GTestLogFatalFunc , user_data : gpointer ) ; } extern "C" { pub fn g_test_expect_message ( log_domain : * const gchar , log_level : GLogLevelFlags , pattern : * const gchar ) ; } extern "C" { pub fn g_test_assert_expected_messages_internal ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char ) ; } pub const GTestFileType_G_TEST_DIST : GTestFileType = 0 ; pub const GTestFileType_G_TEST_BUILT : GTestFileType = 1 ; pub type GTestFileType = u32 ; extern "C" { pub fn g_test_build_filename ( file_type : GTestFileType , first_path : * const gchar , ... ) -> * mut gchar ; } extern "C" { pub fn g_test_get_dir ( file_type : GTestFileType ) -> * const gchar ; } extern "C" { pub fn g_test_get_filename ( file_type : GTestFileType , first_path : * const gchar , ... ) -> * const gchar ; } pub type GThreadPool = _GThreadPool ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThreadPool { pub func : GFunc , pub user_data : gpointer , pub exclusive : gboolean , } # [ test ] fn bindgen_test_layout__GThreadPool ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GThreadPool > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GThreadPool ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GThreadPool > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GThreadPool ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadPool > ( ) ) ) . func as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadPool ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadPool > ( ) ) ) . user_data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadPool ) , "::" , stringify ! ( user_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadPool > ( ) ) ) . exclusive as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadPool ) , "::" , stringify ! ( exclusive ) ) ) ; } extern "C" { pub fn g_thread_pool_new ( func : GFunc , user_data : gpointer , max_threads : gint , exclusive : gboolean , error : * mut * mut GError ) -> * mut GThreadPool ; } extern "C" { pub fn g_thread_pool_new_full ( func : GFunc , user_data : gpointer , item_free_func : GDestroyNotify , max_threads : gint , exclusive : gboolean , error : * mut * mut GError ) -> * mut GThreadPool ; } extern "C" { pub fn g_thread_pool_free ( pool : * mut GThreadPool , immediate : gboolean , wait_ : gboolean ) ; } extern "C" { pub fn g_thread_pool_push ( pool : * mut GThreadPool , data : gpointer , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_thread_pool_unprocessed ( pool : * mut GThreadPool ) -> guint ; } extern "C" { pub fn g_thread_pool_set_sort_function ( pool : * mut GThreadPool , func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_thread_pool_move_to_front ( pool : * mut GThreadPool , data : gpointer ) -> gboolean ; } extern "C" { pub fn g_thread_pool_set_max_threads ( pool : * mut GThreadPool , max_threads : gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_thread_pool_get_max_threads ( pool : * mut GThreadPool ) -> gint ; } extern "C" { pub fn g_thread_pool_get_num_threads ( pool : * mut GThreadPool ) -> guint ; } extern "C" { pub fn g_thread_pool_set_max_unused_threads ( max_threads : gint ) ; } extern "C" { pub fn g_thread_pool_get_max_unused_threads ( ) -> gint ; } extern "C" { pub fn g_thread_pool_get_num_unused_threads ( ) -> guint ; } extern "C" { pub fn g_thread_pool_stop_unused_threads ( ) ; } extern "C" { pub fn g_thread_pool_set_max_idle_time ( interval : guint ) ; } extern "C" { pub fn g_thread_pool_get_max_idle_time ( ) -> guint ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTimer { _unused : [ u8 ; 0 ] , } pub type GTimer = _GTimer ; extern "C" { pub fn g_timer_new ( ) -> * mut GTimer ; } extern "C" { pub fn g_timer_destroy ( timer : * mut GTimer ) ; } extern "C" { pub fn g_timer_start ( timer : * mut GTimer ) ; } extern "C" { pub fn g_timer_stop ( timer : * mut GTimer ) ; } extern "C" { pub fn g_timer_reset ( timer : * mut GTimer ) ; } extern "C" { pub fn g_timer_continue ( timer : * mut GTimer ) ; } extern "C" { pub fn g_timer_elapsed ( timer : * mut GTimer , microseconds : * mut gulong ) -> gdouble ; } extern "C" { pub fn g_timer_is_active ( timer : * mut GTimer ) -> gboolean ; } extern "C" { pub fn g_usleep ( microseconds : gulong ) ; } extern "C" { pub fn g_time_val_add ( time_ : * mut GTimeVal , microseconds : glong ) ; } extern "C" { pub fn g_time_val_from_iso8601 ( iso_date : * const gchar , time_ : * mut GTimeVal ) -> gboolean ; } extern "C" { pub fn g_time_val_to_iso8601 ( time_ : * mut GTimeVal ) -> * mut gchar ; } pub type GTrashStack = _GTrashStack ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTrashStack { pub next : * mut GTrashStack , } # [ test ] fn bindgen_test_layout__GTrashStack ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTrashStack > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GTrashStack ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTrashStack > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTrashStack ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTrashStack > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTrashStack ) , "::" , stringify ! ( next ) ) ) ; } extern "C" { pub fn g_trash_stack_push ( stack_p : * mut * mut GTrashStack , data_p : gpointer ) ; } extern "C" { pub fn g_trash_stack_pop ( stack_p : * mut * mut GTrashStack ) -> gpointer ; } extern "C" { pub fn g_trash_stack_peek ( stack_p : * mut * mut GTrashStack ) -> gpointer ; } extern "C" { pub fn g_trash_stack_height ( stack_p : * mut * mut GTrashStack ) -> guint ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTree { _unused : [ u8 ; 0 ] , } pub type GTree = _GTree ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTreeNode { _unused : [ u8 ; 0 ] , } pub type GTreeNode = _GTreeNode ; pub type GTraverseFunc = :: std :: option :: Option < unsafe extern "C" fn ( key : gpointer , value : gpointer , data : gpointer ) -> gboolean > ; pub type GTraverseNodeFunc = :: std :: option :: Option < unsafe extern "C" fn ( node : * mut GTreeNode , data : gpointer ) -> gboolean > ; extern "C" { pub fn g_tree_new ( key_compare_func : GCompareFunc ) -> * mut GTree ; } extern "C" { pub fn g_tree_new_with_data ( key_compare_func : GCompareDataFunc , key_compare_data : gpointer ) -> * mut GTree ; } extern "C" { pub fn g_tree_new_full ( key_compare_func : GCompareDataFunc , key_compare_data : gpointer , key_destroy_func : GDestroyNotify , value_destroy_func : GDestroyNotify ) -> * mut GTree ; } extern "C" { pub fn g_tree_node_first ( tree : * mut GTree ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_node_last ( tree : * mut GTree ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_node_previous ( node : * mut GTreeNode ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_node_next ( node : * mut GTreeNode ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_ref ( tree : * mut GTree ) -> * mut GTree ; } extern "C" { pub fn g_tree_unref ( tree : * mut GTree ) ; } extern "C" { pub fn g_tree_destroy ( tree : * mut GTree ) ; } extern "C" { pub fn g_tree_insert_node ( tree : * mut GTree , key : gpointer , value : gpointer ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_insert ( tree : * mut GTree , key : gpointer , value : gpointer ) ; } extern "C" { pub fn g_tree_replace_node ( tree : * mut GTree , key : gpointer , value : gpointer ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_replace ( tree : * mut GTree , key : gpointer , value : gpointer ) ; } extern "C" { pub fn g_tree_remove ( tree : * mut GTree , key : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_tree_remove_all ( tree : * mut GTree ) ; } extern "C" { pub fn g_tree_steal ( tree : * mut GTree , key : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_tree_node_key ( node : * mut GTreeNode ) -> gpointer ; } extern "C" { pub fn g_tree_node_value ( node : * mut GTreeNode ) -> gpointer ; } extern "C" { pub fn g_tree_lookup_node ( tree : * mut GTree , key : gconstpointer ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_lookup ( tree : * mut GTree , key : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_tree_lookup_extended ( tree : * mut GTree , lookup_key : gconstpointer , orig_key : * mut gpointer , value : * mut gpointer ) -> gboolean ; } extern "C" { pub fn g_tree_foreach ( tree : * mut GTree , func : GTraverseFunc , user_data : gpointer ) ; } extern "C" { pub fn g_tree_foreach_node ( tree : * mut GTree , func : GTraverseNodeFunc , user_data : gpointer ) ; } extern "C" { pub fn g_tree_traverse ( tree : * mut GTree , traverse_func : GTraverseFunc , traverse_type : GTraverseType , user_data : gpointer ) ; } extern "C" { pub fn g_tree_search_node ( tree : * mut GTree , search_func : GCompareFunc , user_data : gconstpointer ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_search ( tree : * mut GTree , search_func : GCompareFunc , user_data : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_tree_lower_bound ( tree : * mut GTree , key : gconstpointer ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_upper_bound ( tree : * mut GTree , key : gconstpointer ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_height ( tree : * mut GTree ) -> gint ; } extern "C" { pub fn g_tree_nnodes ( tree : * mut GTree ) -> gint ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUri { _unused : [ u8 ; 0 ] , } pub type GUri = _GUri ; extern "C" { pub fn g_uri_ref ( uri : * mut GUri ) -> * mut GUri ; } extern "C" { pub fn g_uri_unref ( uri : * mut GUri ) ; } pub const GUriFlags_G_URI_FLAGS_NONE : GUriFlags = 0 ; pub const GUriFlags_G_URI_FLAGS_PARSE_RELAXED : GUriFlags = 1 ; pub const GUriFlags_G_URI_FLAGS_HAS_PASSWORD : GUriFlags = 2 ; pub const GUriFlags_G_URI_FLAGS_HAS_AUTH_PARAMS : GUriFlags = 4 ; pub const GUriFlags_G_URI_FLAGS_ENCODED : GUriFlags = 8 ; pub const GUriFlags_G_URI_FLAGS_NON_DNS : GUriFlags = 16 ; pub const GUriFlags_G_URI_FLAGS_ENCODED_QUERY : GUriFlags = 32 ; pub const GUriFlags_G_URI_FLAGS_ENCODED_PATH : GUriFlags = 64 ; pub const GUriFlags_G_URI_FLAGS_ENCODED_FRAGMENT : GUriFlags = 128 ; pub const GUriFlags_G_URI_FLAGS_SCHEME_NORMALIZE : GUriFlags = 256 ; pub type GUriFlags = u32 ; extern "C" { pub fn g_uri_split ( uri_ref : * const gchar , flags : GUriFlags , scheme : * mut * mut gchar , userinfo : * mut * mut gchar , host : * mut * mut gchar , port : * mut gint , path : * mut * mut gchar , query : * mut * mut gchar , fragment : * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_uri_split_with_user ( uri_ref : * const gchar , flags : GUriFlags , scheme : * mut * mut gchar , user : * mut * mut gchar , password : * mut * mut gchar , auth_params : * mut * mut gchar , host : * mut * mut gchar , port : * mut gint , path : * mut * mut gchar , query : * mut * mut gchar , fragment : * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_uri_split_network ( uri_string : * const gchar , flags : GUriFlags , scheme : * mut * mut gchar , host : * mut * mut gchar , port : * mut gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_uri_is_valid ( uri_string : * const gchar , flags : GUriFlags , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_uri_join ( flags : GUriFlags , scheme : * const gchar , userinfo : * const gchar , host : * const gchar , port : gint , path : * const gchar , query : * const gchar , fragment : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_uri_join_with_user ( flags : GUriFlags , scheme : * const gchar , user : * const gchar , password : * const gchar , auth_params : * const gchar , host : * const gchar , port : gint , path : * const gchar , query : * const gchar , fragment : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_uri_parse ( uri_string : * const gchar , flags : GUriFlags , error : * mut * mut GError ) -> * mut GUri ; } extern "C" { pub fn g_uri_parse_relative ( base_uri : * mut GUri , uri_ref : * const gchar , flags : GUriFlags , error : * mut * mut GError ) -> * mut GUri ; } extern "C" { pub fn g_uri_resolve_relative ( base_uri_string : * const gchar , uri_ref : * const gchar , flags : GUriFlags , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_uri_build ( flags : GUriFlags , scheme : * const gchar , userinfo : * const gchar , host : * const gchar , port : gint , path : * const gchar , query : * const gchar , fragment : * const gchar ) -> * mut GUri ; } extern "C" { pub fn g_uri_build_with_user ( flags : GUriFlags , scheme : * const gchar , user : * const gchar , password : * const gchar , auth_params : * const gchar , host : * const gchar , port : gint , path : * const gchar , query : * const gchar , fragment : * const gchar ) -> * mut GUri ; } pub const GUriHideFlags_G_URI_HIDE_NONE : GUriHideFlags = 0 ; pub const GUriHideFlags_G_URI_HIDE_USERINFO : GUriHideFlags = 1 ; pub const GUriHideFlags_G_URI_HIDE_PASSWORD : GUriHideFlags = 2 ; pub const GUriHideFlags_G_URI_HIDE_AUTH_PARAMS : GUriHideFlags = 4 ; pub const GUriHideFlags_G_URI_HIDE_QUERY : GUriHideFlags = 8 ; pub const GUriHideFlags_G_URI_HIDE_FRAGMENT : GUriHideFlags = 16 ; pub type GUriHideFlags = u32 ; extern "C" { pub fn g_uri_to_string ( uri : * mut GUri ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_to_string_partial ( uri : * mut GUri , flags : GUriHideFlags ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_get_scheme ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_userinfo ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_user ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_password ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_auth_params ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_host ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_port ( uri : * mut GUri ) -> gint ; } extern "C" { pub fn g_uri_get_path ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_query ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_fragment ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_flags ( uri : * mut GUri ) -> GUriFlags ; } pub const GUriParamsFlags_G_URI_PARAMS_NONE : GUriParamsFlags = 0 ; pub const GUriParamsFlags_G_URI_PARAMS_CASE_INSENSITIVE : GUriParamsFlags = 1 ; pub const GUriParamsFlags_G_URI_PARAMS_WWW_FORM : GUriParamsFlags = 2 ; pub const GUriParamsFlags_G_URI_PARAMS_PARSE_RELAXED : GUriParamsFlags = 4 ; pub type GUriParamsFlags = u32 ; extern "C" { pub fn g_uri_parse_params ( params : * const gchar , length : gssize , separators : * const gchar , flags : GUriParamsFlags , error : * mut * mut GError ) -> * mut GHashTable ; } pub type GUriParamsIter = _GUriParamsIter ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GUriParamsIter { pub dummy0 : gint , pub dummy1 : gpointer , pub dummy2 : gpointer , pub dummy3 : [ guint8 ; 256usize ] , } # [ test ] fn bindgen_test_layout__GUriParamsIter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUriParamsIter > ( ) , 280usize , concat ! ( "Size of: " , stringify ! ( _GUriParamsIter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUriParamsIter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUriParamsIter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUriParamsIter > ( ) ) ) . dummy0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUriParamsIter ) , "::" , stringify ! ( dummy0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUriParamsIter > ( ) ) ) . dummy1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GUriParamsIter ) , "::" , stringify ! ( dummy1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUriParamsIter > ( ) ) ) . dummy2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GUriParamsIter ) , "::" , stringify ! ( dummy2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUriParamsIter > ( ) ) ) . dummy3 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GUriParamsIter ) , "::" , stringify ! ( dummy3 ) ) ) ; } extern "C" { pub fn g_uri_params_iter_init ( iter : * mut GUriParamsIter , params : * const gchar , length : gssize , separators : * const gchar , flags : GUriParamsFlags ) ; } extern "C" { pub fn g_uri_params_iter_next ( iter : * mut GUriParamsIter , attribute : * mut * mut gchar , value : * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_uri_error_quark ( ) -> GQuark ; } pub const GUriError_G_URI_ERROR_FAILED : GUriError = 0 ; pub const GUriError_G_URI_ERROR_BAD_SCHEME : GUriError = 1 ; pub const GUriError_G_URI_ERROR_BAD_USER : GUriError = 2 ; pub const GUriError_G_URI_ERROR_BAD_PASSWORD : GUriError = 3 ; pub const GUriError_G_URI_ERROR_BAD_AUTH_PARAMS : GUriError = 4 ; pub const GUriError_G_URI_ERROR_BAD_HOST : GUriError = 5 ; pub const GUriError_G_URI_ERROR_BAD_PORT : GUriError = 6 ; pub const GUriError_G_URI_ERROR_BAD_PATH : GUriError = 7 ; pub const GUriError_G_URI_ERROR_BAD_QUERY : GUriError = 8 ; pub const GUriError_G_URI_ERROR_BAD_FRAGMENT : GUriError = 9 ; pub type GUriError = u32 ; extern "C" { pub fn g_uri_unescape_string ( escaped_string : * const :: std :: os :: raw :: c_char , illegal_characters : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_unescape_segment ( escaped_string : * const :: std :: os :: raw :: c_char , escaped_string_end : * const :: std :: os :: raw :: c_char , illegal_characters : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_parse_scheme ( uri : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_peek_scheme ( uri : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_escape_string ( unescaped : * const :: std :: os :: raw :: c_char , reserved_chars_allowed : * const :: std :: os :: raw :: c_char , allow_utf8 : gboolean ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_unescape_bytes ( escaped_string : * const :: std :: os :: raw :: c_char , length : gssize , illegal_characters : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_uri_escape_bytes ( unescaped : * const guint8 , length : gsize , reserved_chars_allowed : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uuid_string_is_valid ( str : * const gchar ) -> gboolean ; } extern "C" { pub fn g_uuid_string_random ( ) -> * mut gchar ; } extern "C" { # [ link_name = "\u{1}glib_major_version" ] pub static mut glib_major_version : guint ; } extern "C" { # [ link_name = "\u{1}glib_minor_version" ] pub static mut glib_minor_version : guint ; } extern "C" { # [ link_name = "\u{1}glib_micro_version" ] pub static mut glib_micro_version : guint ; } extern "C" { # [ link_name = "\u{1}glib_interface_age" ] pub static mut glib_interface_age : guint ; } extern "C" { # [ link_name = "\u{1}glib_binary_age" ] pub static mut glib_binary_age : guint ; } extern "C" { pub fn glib_check_version ( required_major : guint , required_minor : guint , required_micro : guint ) -> * const gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAllocator { _unused : [ u8 ; 0 ] , } pub type GAllocator = _GAllocator ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemChunk { _unused : [ u8 ; 0 ] , } pub type GMemChunk = _GMemChunk ; extern "C" { pub fn g_mem_chunk_new ( name : * const gchar , atom_size : gint , area_size : gsize , type_ : gint ) -> * mut GMemChunk ; } extern "C" { pub fn g_mem_chunk_destroy ( mem_chunk : * mut GMemChunk ) ; } extern "C" { pub fn g_mem_chunk_alloc ( mem_chunk : * mut GMemChunk ) -> gpointer ; } extern "C" { pub fn g_mem_chunk_alloc0 ( mem_chunk : * mut GMemChunk ) -> gpointer ; } extern "C" { pub fn g_mem_chunk_free ( mem_chunk : * mut GMemChunk , mem : gpointer ) ; } extern "C" { pub fn g_mem_chunk_clean ( mem_chunk : * mut GMemChunk ) ; } extern "C" { pub fn g_mem_chunk_reset ( mem_chunk : * mut GMemChunk ) ; } extern "C" { pub fn g_mem_chunk_print ( mem_chunk : * mut GMemChunk ) ; } extern "C" { pub fn g_mem_chunk_info ( ) ; } extern "C" { pub fn g_blow_chunks ( ) ; } extern "C" { pub fn g_allocator_new ( name : * const gchar , n_preallocs : guint ) -> * mut GAllocator ; } extern "C" { pub fn g_allocator_free ( allocator : * mut GAllocator ) ; } extern "C" { pub fn g_list_push_allocator ( allocator : * mut GAllocator ) ; } extern "C" { pub fn g_list_pop_allocator ( ) ; } extern "C" { pub fn g_slist_push_allocator ( allocator : * mut GAllocator ) ; } extern "C" { pub fn g_slist_pop_allocator ( ) ; } extern "C" { pub fn g_node_push_allocator ( allocator : * mut GAllocator ) ; } extern "C" { pub fn g_node_pop_allocator ( ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCache { _unused : [ u8 ; 0 ] , } pub type GCache = _GCache ; pub type GCacheNewFunc = :: std :: option :: Option < unsafe extern "C" fn ( key : gpointer ) -> gpointer > ; pub type GCacheDupFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : gpointer ) -> gpointer > ; pub type GCacheDestroyFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : gpointer ) > ; extern "C" { pub fn g_cache_new ( value_new_func : GCacheNewFunc , value_destroy_func : GCacheDestroyFunc , key_dup_func : GCacheDupFunc , key_destroy_func : GCacheDestroyFunc , hash_key_func : GHashFunc , hash_value_func : GHashFunc , key_equal_func : GEqualFunc ) -> * mut GCache ; } extern "C" { pub fn g_cache_destroy ( cache : * mut GCache ) ; } extern "C" { pub fn g_cache_insert ( cache : * mut GCache , key : gpointer ) -> gpointer ; } extern "C" { pub fn g_cache_remove ( cache : * mut GCache , value : gconstpointer ) ; } extern "C" { pub fn g_cache_key_foreach ( cache : * mut GCache , func : GHFunc , user_data : gpointer ) ; } extern "C" { pub fn g_cache_value_foreach ( cache : * mut GCache , func : GHFunc , user_data : gpointer ) ; } pub type GCompletion = _GCompletion ; pub type GCompletionFunc = :: std :: option :: Option < unsafe extern "C" fn ( item : gpointer ) -> * mut gchar > ; pub type GCompletionStrncmpFunc = :: std :: option :: Option < unsafe extern "C" fn ( s1 : * const gchar , s2 : * const gchar , n : gsize ) -> gint > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCompletion { pub items : * mut GList , pub func : GCompletionFunc , pub prefix : * mut gchar , pub cache : * mut GList , pub strncmp_func : GCompletionStrncmpFunc , } # [ test ] fn bindgen_test_layout__GCompletion ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GCompletion > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GCompletion ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GCompletion > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GCompletion ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCompletion > ( ) ) ) . items as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GCompletion ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCompletion > ( ) ) ) . func as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GCompletion ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCompletion > ( ) ) ) . prefix as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GCompletion ) , "::" , stringify ! ( prefix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCompletion > ( ) ) ) . cache as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GCompletion ) , "::" , stringify ! ( cache ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCompletion > ( ) ) ) . strncmp_func as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GCompletion ) , "::" , stringify ! ( strncmp_func ) ) ) ; } extern "C" { pub fn g_completion_new ( func : GCompletionFunc ) -> * mut GCompletion ; } extern "C" { pub fn g_completion_add_items ( cmp : * mut GCompletion , items : * mut GList ) ; } extern "C" { pub fn g_completion_remove_items ( cmp : * mut GCompletion , items : * mut GList ) ; } extern "C" { pub fn g_completion_clear_items ( cmp : * mut GCompletion ) ; } extern "C" { pub fn g_completion_complete ( cmp : * mut GCompletion , prefix : * const gchar , new_prefix : * mut * mut gchar ) -> * mut GList ; } extern "C" { pub fn g_completion_complete_utf8 ( cmp : * mut GCompletion , prefix : * const gchar , new_prefix : * mut * mut gchar ) -> * mut GList ; } extern "C" { pub fn g_completion_set_compare ( cmp : * mut GCompletion , strncmp_func : GCompletionStrncmpFunc ) ; } extern "C" { pub fn g_completion_free ( cmp : * mut GCompletion ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRelation { _unused : [ u8 ; 0 ] , } pub type GRelation = _GRelation ; pub type GTuples = _GTuples ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTuples { pub len : guint , } # [ test ] fn bindgen_test_layout__GTuples ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTuples > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _GTuples ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTuples > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GTuples ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTuples > ( ) ) ) . len as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTuples ) , "::" , stringify ! ( len ) ) ) ; } extern "C" { pub fn g_relation_new ( fields : gint ) -> * mut GRelation ; } extern "C" { pub fn g_relation_destroy ( relation : * mut GRelation ) ; } extern "C" { pub fn g_relation_index ( relation : * mut GRelation , field : gint , hash_func : GHashFunc , key_equal_func : GEqualFunc ) ; } extern "C" { pub fn g_relation_insert ( relation : * mut GRelation , ... ) ; } extern "C" { pub fn g_relation_delete ( relation : * mut GRelation , key : gconstpointer , field : gint ) -> gint ; } extern "C" { pub fn g_relation_select ( relation : * mut GRelation , key : gconstpointer , field : gint ) -> * mut GTuples ; } extern "C" { pub fn g_relation_count ( relation : * mut GRelation , key : gconstpointer , field : gint ) -> gint ; } extern "C" { pub fn g_relation_exists ( relation : * mut GRelation , ... ) -> gboolean ; } extern "C" { pub fn g_relation_print ( relation : * mut GRelation ) ; } extern "C" { pub fn g_tuples_destroy ( tuples : * mut GTuples ) ; } extern "C" { pub fn g_tuples_index ( tuples : * mut GTuples , index_ : gint , field : gint ) -> gpointer ; } pub const GThreadPriority_G_THREAD_PRIORITY_LOW : GThreadPriority = 0 ; pub const GThreadPriority_G_THREAD_PRIORITY_NORMAL : GThreadPriority = 1 ; pub const GThreadPriority_G_THREAD_PRIORITY_HIGH : GThreadPriority = 2 ; pub const GThreadPriority_G_THREAD_PRIORITY_URGENT : GThreadPriority = 3 ; pub type GThreadPriority = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThread { pub func : GThreadFunc , pub data : gpointer , pub joinable : gboolean , pub priority : GThreadPriority , } # [ test ] fn bindgen_test_layout__GThread ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GThread > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GThread ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GThread > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GThread ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThread > ( ) ) ) . func as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GThread ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThread > ( ) ) ) . data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GThread ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThread > ( ) ) ) . joinable as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GThread ) , "::" , stringify ! ( joinable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThread > ( ) ) ) . priority as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _GThread ) , "::" , stringify ! ( priority ) ) ) ; } pub type GThreadFunctions = _GThreadFunctions ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThreadFunctions { pub mutex_new : :: std :: option :: Option < unsafe extern "C" fn ( ) -> * mut GMutex > , pub mutex_lock : :: std :: option :: Option < unsafe extern "C" fn ( mutex : * mut GMutex ) > , pub mutex_trylock : :: std :: option :: Option < unsafe extern "C" fn ( mutex : * mut GMutex ) -> gboolean > , pub mutex_unlock : :: std :: option :: Option < unsafe extern "C" fn ( mutex : * mut GMutex ) > , pub mutex_free : :: std :: option :: Option < unsafe extern "C" fn ( mutex : * mut GMutex ) > , pub cond_new : :: std :: option :: Option < unsafe extern "C" fn ( ) -> * mut GCond > , pub cond_signal : :: std :: option :: Option < unsafe extern "C" fn ( cond : * mut GCond ) > , pub cond_broadcast : :: std :: option :: Option < unsafe extern "C" fn ( cond : * mut GCond ) > , pub cond_wait : :: std :: option :: Option < unsafe extern "C" fn ( cond : * mut GCond , mutex : * mut GMutex ) > , pub cond_timed_wait : :: std :: option :: Option < unsafe extern "C" fn ( cond : * mut GCond , mutex : * mut GMutex , end_time : * mut GTimeVal ) -> gboolean > , pub cond_free : :: std :: option :: Option < unsafe extern "C" fn ( cond : * mut GCond ) > , pub private_new : :: std :: option :: Option < unsafe extern "C" fn ( destructor : GDestroyNotify ) -> * mut GPrivate > , pub private_get : :: std :: option :: Option < unsafe extern "C" fn ( private_key : * mut GPrivate ) -> gpointer > , pub private_set : :: std :: option :: Option < unsafe extern "C" fn ( private_key : * mut GPrivate , data : gpointer ) > , pub thread_create : :: std :: option :: Option < unsafe extern "C" fn ( func : GThreadFunc , data : gpointer , stack_size : gulong , joinable : gboolean , bound : gboolean , priority : GThreadPriority , thread : gpointer , error : * mut * mut GError ) > , pub thread_yield : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub thread_join : :: std :: option :: Option < unsafe extern "C" fn ( thread : gpointer ) > , pub thread_exit : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub thread_set_priority : :: std :: option :: Option < unsafe extern "C" fn ( thread : gpointer , priority : GThreadPriority ) > , pub thread_self : :: std :: option :: Option < unsafe extern "C" fn ( thread : gpointer ) > , pub thread_equal : :: std :: option :: Option < unsafe extern "C" fn ( thread1 : gpointer , thread2 : gpointer ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GThreadFunctions ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GThreadFunctions > ( ) , 168usize , concat ! ( "Size of: " , stringify ! ( _GThreadFunctions ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GThreadFunctions > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GThreadFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . mutex_new as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( mutex_new ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . mutex_lock as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( mutex_lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . mutex_trylock as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( mutex_trylock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . mutex_unlock as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( mutex_unlock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . mutex_free as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( mutex_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . cond_new as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( cond_new ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . cond_signal as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( cond_signal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . cond_broadcast as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( cond_broadcast ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . cond_wait as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( cond_wait ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . cond_timed_wait as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( cond_timed_wait ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . cond_free as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( cond_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . private_new as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( private_new ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . private_get as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( private_get ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . private_set as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( private_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_create as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_create ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_yield as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_yield ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_join as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_join ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_exit as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_exit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_set_priority as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_set_priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_self as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_self ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_equal as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_equal ) ) ) ; } extern "C" { # [ link_name = "\u{1}g_thread_functions_for_glib_use" ] pub static mut g_thread_functions_for_glib_use : GThreadFunctions ; } extern "C" { # [ link_name = "\u{1}g_thread_use_default_impl" ] pub static mut g_thread_use_default_impl : gboolean ; } extern "C" { # [ link_name = "\u{1}g_thread_gettime" ] pub static mut g_thread_gettime : :: std :: option :: Option < unsafe extern "C" fn ( ) -> guint64 > ; } extern "C" { pub fn g_thread_create ( func : GThreadFunc , data : gpointer , joinable : gboolean , error : * mut * mut GError ) -> * mut GThread ; } extern "C" { pub fn g_thread_create_full ( func : GThreadFunc , data : gpointer , stack_size : gulong , joinable : gboolean , bound : gboolean , priority : GThreadPriority , error : * mut * mut GError ) -> * mut GThread ; } extern "C" { pub fn g_thread_set_priority ( thread : * mut GThread , priority : GThreadPriority ) ; } extern "C" { pub fn g_thread_foreach ( thread_func : GFunc , user_data : gpointer ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct sched_param { pub sched_priority : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_sched_param ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sched_param > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( sched_param ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sched_param > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( sched_param ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sched_param > ( ) ) ) . sched_priority as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sched_param ) , "::" , stringify ! ( sched_priority ) ) ) ; } pub type __cpu_mask = :: std :: os :: raw :: c_ulong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cpu_set_t { pub __bits : [ __cpu_mask ; 16usize ] , } # [ test ] fn bindgen_test_layout_cpu_set_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cpu_set_t > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( cpu_set_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cpu_set_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cpu_set_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cpu_set_t > ( ) ) ) . __bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cpu_set_t ) , "::" , stringify ! ( __bits ) ) ) ; } extern "C" { pub fn __sched_cpucount ( __setsize : usize , __setp : * const cpu_set_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __sched_cpualloc ( __count : usize ) -> * mut cpu_set_t ; } extern "C" { pub fn __sched_cpufree ( __set : * mut cpu_set_t ) ; } extern "C" { pub fn sched_setparam ( __pid : __pid_t , __param : * const sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_getparam ( __pid : __pid_t , __param : * mut sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_setscheduler ( __pid : __pid_t , __policy : :: std :: os :: raw :: c_int , __param : * const sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_getscheduler ( __pid : __pid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_yield ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_get_priority_max ( __algorithm : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_get_priority_min ( __algorithm : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_rr_get_interval ( __pid : __pid_t , __t : * mut timespec ) -> :: std :: os :: raw :: c_int ; } pub type __jmp_buf = [ :: std :: os :: raw :: c_long ; 8usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __jmp_buf_tag { pub __jmpbuf : __jmp_buf , pub __mask_was_saved : :: std :: os :: raw :: c_int , pub __saved_mask : __sigset_t , } # [ test ] fn bindgen_test_layout___jmp_buf_tag ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __jmp_buf_tag > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( __jmp_buf_tag ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __jmp_buf_tag > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __jmp_buf_tag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __jmp_buf_tag > ( ) ) ) . __jmpbuf as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __jmp_buf_tag ) , "::" , stringify ! ( __jmpbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __jmp_buf_tag > ( ) ) ) . __mask_was_saved as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( __jmp_buf_tag ) , "::" , stringify ! ( __mask_was_saved ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __jmp_buf_tag > ( ) ) ) . __saved_mask as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( __jmp_buf_tag ) , "::" , stringify ! ( __saved_mask ) ) ) ; } pub const enum_(unnamed_at_/usr/include/pthread_h_37_1)_PTHREAD_CREATE_JOINABLE : enum_(unnamed_at_/usr/include/pthread_h_37_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_37_1)_PTHREAD_CREATE_DETACHED : enum_(unnamed_at_/usr/include/pthread_h_37_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_37_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_TIMED_NP : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_RECURSIVE_NP : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 1 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_ERRORCHECK_NP : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 2 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_ADAPTIVE_NP : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 3 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_NORMAL : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_RECURSIVE : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 1 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_ERRORCHECK : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 2 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_DEFAULT : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 0 ; pub type enum_(unnamed_at_/usr/include/pthread_h_47_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_69_1)_PTHREAD_MUTEX_STALLED : enum_(unnamed_at_/usr/include/pthread_h_69_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_69_1)_PTHREAD_MUTEX_STALLED_NP : enum_(unnamed_at_/usr/include/pthread_h_69_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_69_1)_PTHREAD_MUTEX_ROBUST : enum_(unnamed_at_/usr/include/pthread_h_69_1) = 1 ; pub const enum_(unnamed_at_/usr/include/pthread_h_69_1)_PTHREAD_MUTEX_ROBUST_NP : enum_(unnamed_at_/usr/include/pthread_h_69_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_69_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_81_1)_PTHREAD_PRIO_NONE : enum_(unnamed_at_/usr/include/pthread_h_81_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_81_1)_PTHREAD_PRIO_INHERIT : enum_(unnamed_at_/usr/include/pthread_h_81_1) = 1 ; pub const enum_(unnamed_at_/usr/include/pthread_h_81_1)_PTHREAD_PRIO_PROTECT : enum_(unnamed_at_/usr/include/pthread_h_81_1) = 2 ; pub type enum_(unnamed_at_/usr/include/pthread_h_81_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_104_1)_PTHREAD_RWLOCK_PREFER_READER_NP : enum_(unnamed_at_/usr/include/pthread_h_104_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_104_1)_PTHREAD_RWLOCK_PREFER_WRITER_NP : enum_(unnamed_at_/usr/include/pthread_h_104_1) = 1 ; pub const enum_(unnamed_at_/usr/include/pthread_h_104_1)_PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP : enum_(unnamed_at_/usr/include/pthread_h_104_1) = 2 ; pub const enum_(unnamed_at_/usr/include/pthread_h_104_1)_PTHREAD_RWLOCK_DEFAULT_NP : enum_(unnamed_at_/usr/include/pthread_h_104_1) = 0 ; pub type enum_(unnamed_at_/usr/include/pthread_h_104_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_124_1)_PTHREAD_INHERIT_SCHED : enum_(unnamed_at_/usr/include/pthread_h_124_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_124_1)_PTHREAD_EXPLICIT_SCHED : enum_(unnamed_at_/usr/include/pthread_h_124_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_124_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_134_1)_PTHREAD_SCOPE_SYSTEM : enum_(unnamed_at_/usr/include/pthread_h_134_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_134_1)_PTHREAD_SCOPE_PROCESS : enum_(unnamed_at_/usr/include/pthread_h_134_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_134_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_144_1)_PTHREAD_PROCESS_PRIVATE : enum_(unnamed_at_/usr/include/pthread_h_144_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_144_1)_PTHREAD_PROCESS_SHARED : enum_(unnamed_at_/usr/include/pthread_h_144_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_144_1) = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _pthread_cleanup_buffer { pub __routine : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void ) > , pub __arg : * mut :: std :: os :: raw :: c_void , pub __canceltype : :: std :: os :: raw :: c_int , pub __prev : * mut _pthread_cleanup_buffer , } # [ test ] fn bindgen_test_layout__pthread_cleanup_buffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _pthread_cleanup_buffer > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _pthread_cleanup_buffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _pthread_cleanup_buffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _pthread_cleanup_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _pthread_cleanup_buffer > ( ) ) ) . __routine as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _pthread_cleanup_buffer ) , "::" , stringify ! ( __routine ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _pthread_cleanup_buffer > ( ) ) ) . __arg as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _pthread_cleanup_buffer ) , "::" , stringify ! ( __arg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _pthread_cleanup_buffer > ( ) ) ) . __canceltype as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _pthread_cleanup_buffer ) , "::" , stringify ! ( __canceltype ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _pthread_cleanup_buffer > ( ) ) ) . __prev as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _pthread_cleanup_buffer ) , "::" , stringify ! ( __prev ) ) ) ; } pub const enum_(unnamed_at_/usr/include/pthread_h_168_1)_PTHREAD_CANCEL_ENABLE : enum_(unnamed_at_/usr/include/pthread_h_168_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_168_1)_PTHREAD_CANCEL_DISABLE : enum_(unnamed_at_/usr/include/pthread_h_168_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_168_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_175_1)_PTHREAD_CANCEL_DEFERRED : enum_(unnamed_at_/usr/include/pthread_h_175_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_175_1)_PTHREAD_CANCEL_ASYNCHRONOUS : enum_(unnamed_at_/usr/include/pthread_h_175_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_175_1) = u32 ; extern "C" { pub fn pthread_create ( __newthread : * mut pthread_t , __attr : * const pthread_attr_t , __start_routine : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > , __arg : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_exit ( __retval : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn pthread_join ( __th : pthread_t , __thread_return : * mut * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_detach ( __th : pthread_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_self ( ) -> pthread_t ; } extern "C" { pub fn pthread_equal ( __thread1 : pthread_t , __thread2 : pthread_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_init ( __attr : * mut pthread_attr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_destroy ( __attr : * mut pthread_attr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getdetachstate ( __attr : * const pthread_attr_t , __detachstate : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setdetachstate ( __attr : * mut pthread_attr_t , __detachstate : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getguardsize ( __attr : * const pthread_attr_t , __guardsize : * mut usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setguardsize ( __attr : * mut pthread_attr_t , __guardsize : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getschedparam ( __attr : * const pthread_attr_t , __param : * mut sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setschedparam ( __attr : * mut pthread_attr_t , __param : * const sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getschedpolicy ( __attr : * const pthread_attr_t , __policy : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setschedpolicy ( __attr : * mut pthread_attr_t , __policy : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getinheritsched ( __attr : * const pthread_attr_t , __inherit : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setinheritsched ( __attr : * mut pthread_attr_t , __inherit : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getscope ( __attr : * const pthread_attr_t , __scope : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setscope ( __attr : * mut pthread_attr_t , __scope : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getstackaddr ( __attr : * const pthread_attr_t , __stackaddr : * mut * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setstackaddr ( __attr : * mut pthread_attr_t , __stackaddr : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getstacksize ( __attr : * const pthread_attr_t , __stacksize : * mut usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setstacksize ( __attr : * mut pthread_attr_t , __stacksize : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getstack ( __attr : * const pthread_attr_t , __stackaddr : * mut * mut :: std :: os :: raw :: c_void , __stacksize : * mut usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setstack ( __attr : * mut pthread_attr_t , __stackaddr : * mut :: std :: os :: raw :: c_void , __stacksize : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_setschedparam ( __target_thread : pthread_t , __policy : :: std :: os :: raw :: c_int , __param : * const sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_getschedparam ( __target_thread : pthread_t , __policy : * mut :: std :: os :: raw :: c_int , __param : * mut sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_setschedprio ( __target_thread : pthread_t , __prio : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_once ( __once_control : * mut pthread_once_t , __init_routine : :: std :: option :: Option < unsafe extern "C" fn ( ) > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_setcancelstate ( __state : :: std :: os :: raw :: c_int , __oldstate : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_setcanceltype ( __type : :: std :: os :: raw :: c_int , __oldtype : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cancel ( __th : pthread_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_testcancel ( ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __cancel_jmp_buf_tag { pub __cancel_jmp_buf : __jmp_buf , pub __mask_was_saved : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout___cancel_jmp_buf_tag ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __cancel_jmp_buf_tag > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( __cancel_jmp_buf_tag ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __cancel_jmp_buf_tag > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __cancel_jmp_buf_tag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __cancel_jmp_buf_tag > ( ) ) ) . __cancel_jmp_buf as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __cancel_jmp_buf_tag ) , "::" , stringify ! ( __cancel_jmp_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __cancel_jmp_buf_tag > ( ) ) ) . __mask_was_saved as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( __cancel_jmp_buf_tag ) , "::" , stringify ! ( __mask_was_saved ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_unwind_buf_t { pub __cancel_jmp_buf : [ __cancel_jmp_buf_tag ; 1usize ] , pub __pad : [ * mut :: std :: os :: raw :: c_void ; 4usize ] , } # [ test ] fn bindgen_test_layout___pthread_unwind_buf_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_unwind_buf_t > ( ) , 104usize , concat ! ( "Size of: " , stringify ! ( __pthread_unwind_buf_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_unwind_buf_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_unwind_buf_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_unwind_buf_t > ( ) ) ) . __cancel_jmp_buf as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_unwind_buf_t ) , "::" , stringify ! ( __cancel_jmp_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_unwind_buf_t > ( ) ) ) . __pad as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_unwind_buf_t ) , "::" , stringify ! ( __pad ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_cleanup_frame { pub __cancel_routine : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void ) > , pub __cancel_arg : * mut :: std :: os :: raw :: c_void , pub __do_it : :: std :: os :: raw :: c_int , pub __cancel_type : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout___pthread_cleanup_frame ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cleanup_frame > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( __pthread_cleanup_frame ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cleanup_frame > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cleanup_frame ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cleanup_frame > ( ) ) ) . __cancel_routine as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cleanup_frame ) , "::" , stringify ! ( __cancel_routine ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cleanup_frame > ( ) ) ) . __cancel_arg as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cleanup_frame ) , "::" , stringify ! ( __cancel_arg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cleanup_frame > ( ) ) ) . __do_it as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cleanup_frame ) , "::" , stringify ! ( __do_it ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cleanup_frame > ( ) ) ) . __cancel_type as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cleanup_frame ) , "::" , stringify ! ( __cancel_type ) ) ) ; } extern "C" { pub fn __pthread_register_cancel ( __buf : * mut __pthread_unwind_buf_t ) ; } extern "C" { pub fn __pthread_unregister_cancel ( __buf : * mut __pthread_unwind_buf_t ) ; } extern "C" { pub fn __pthread_unwind_next ( __buf : * mut __pthread_unwind_buf_t ) ; } extern "C" { pub fn __sigsetjmp ( __env : * mut __jmp_buf_tag , __savemask : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_init ( __mutex : * mut pthread_mutex_t , __mutexattr : * const pthread_mutexattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_destroy ( __mutex : * mut pthread_mutex_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_trylock ( __mutex : * mut pthread_mutex_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_lock ( __mutex : * mut pthread_mutex_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_timedlock ( __mutex : * mut pthread_mutex_t , __abstime : * const timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_unlock ( __mutex : * mut pthread_mutex_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_getprioceiling ( __mutex : * const pthread_mutex_t , __prioceiling : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_setprioceiling ( __mutex : * mut pthread_mutex_t , __prioceiling : :: std :: os :: raw :: c_int , __old_ceiling : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_consistent ( __mutex : * mut pthread_mutex_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_init ( __attr : * mut pthread_mutexattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_destroy ( __attr : * mut pthread_mutexattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_getpshared ( __attr : * const pthread_mutexattr_t , __pshared : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_setpshared ( __attr : * mut pthread_mutexattr_t , __pshared : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_gettype ( __attr : * const pthread_mutexattr_t , __kind : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_settype ( __attr : * mut pthread_mutexattr_t , __kind : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_getprotocol ( __attr : * const pthread_mutexattr_t , __protocol : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_setprotocol ( __attr : * mut pthread_mutexattr_t , __protocol : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_getprioceiling ( __attr : * const pthread_mutexattr_t , __prioceiling : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_setprioceiling ( __attr : * mut pthread_mutexattr_t , __prioceiling : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_getrobust ( __attr : * const pthread_mutexattr_t , __robustness : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_setrobust ( __attr : * mut pthread_mutexattr_t , __robustness : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_init ( __rwlock : * mut pthread_rwlock_t , __attr : * const pthread_rwlockattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_destroy ( __rwlock : * mut pthread_rwlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_rdlock ( __rwlock : * mut pthread_rwlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_tryrdlock ( __rwlock : * mut pthread_rwlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_timedrdlock ( __rwlock : * mut pthread_rwlock_t , __abstime : * const timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_wrlock ( __rwlock : * mut pthread_rwlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_trywrlock ( __rwlock : * mut pthread_rwlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_timedwrlock ( __rwlock : * mut pthread_rwlock_t , __abstime : * const timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_unlock ( __rwlock : * mut pthread_rwlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlockattr_init ( __attr : * mut pthread_rwlockattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlockattr_destroy ( __attr : * mut pthread_rwlockattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlockattr_getpshared ( __attr : * const pthread_rwlockattr_t , __pshared : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlockattr_setpshared ( __attr : * mut pthread_rwlockattr_t , __pshared : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlockattr_getkind_np ( __attr : * const pthread_rwlockattr_t , __pref : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlockattr_setkind_np ( __attr : * mut pthread_rwlockattr_t , __pref : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cond_init ( __cond : * mut pthread_cond_t , __cond_attr : * const pthread_condattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cond_destroy ( __cond : * mut pthread_cond_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cond_signal ( __cond : * mut pthread_cond_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cond_broadcast ( __cond : * mut pthread_cond_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cond_wait ( __cond : * mut pthread_cond_t , __mutex : * mut pthread_mutex_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cond_timedwait ( __cond : * mut pthread_cond_t , __mutex : * mut pthread_mutex_t , __abstime : * const timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_condattr_init ( __attr : * mut pthread_condattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_condattr_destroy ( __attr : * mut pthread_condattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_condattr_getpshared ( __attr : * const pthread_condattr_t , __pshared : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_condattr_setpshared ( __attr : * mut pthread_condattr_t , __pshared : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_condattr_getclock ( __attr : * const pthread_condattr_t , __clock_id : * mut __clockid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_condattr_setclock ( __attr : * mut pthread_condattr_t , __clock_id : __clockid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_spin_init ( __lock : * mut pthread_spinlock_t , __pshared : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_spin_destroy ( __lock : * mut pthread_spinlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_spin_lock ( __lock : * mut pthread_spinlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_spin_trylock ( __lock : * mut pthread_spinlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_spin_unlock ( __lock : * mut pthread_spinlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrier_init ( __barrier : * mut pthread_barrier_t , __attr : * const pthread_barrierattr_t , __count : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrier_destroy ( __barrier : * mut pthread_barrier_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrier_wait ( __barrier : * mut pthread_barrier_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrierattr_init ( __attr : * mut pthread_barrierattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrierattr_destroy ( __attr : * mut pthread_barrierattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrierattr_getpshared ( __attr : * const pthread_barrierattr_t , __pshared : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrierattr_setpshared ( __attr : * mut pthread_barrierattr_t , __pshared : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_key_create ( __key : * mut pthread_key_t , __destr_function : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void ) > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_key_delete ( __key : pthread_key_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_getspecific ( __key : pthread_key_t ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn pthread_setspecific ( __key : pthread_key_t , __pointer : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_getcpuclockid ( __thread_id : pthread_t , __clock_id : * mut __clockid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_atfork ( __prepare : :: std :: option :: Option < unsafe extern "C" fn ( ) > , __parent : :: std :: option :: Option < unsafe extern "C" fn ( ) > , __child : :: std :: option :: Option < unsafe extern "C" fn ( ) > ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct GStaticMutex { pub mutex : * mut GMutex , pub unused : pthread_mutex_t , } # [ test ] fn bindgen_test_layout_GStaticMutex ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GStaticMutex > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( GStaticMutex ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GStaticMutex > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( GStaticMutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GStaticMutex > ( ) ) ) . mutex as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GStaticMutex ) , "::" , stringify ! ( mutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GStaticMutex > ( ) ) ) . unused as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( GStaticMutex ) , "::" , stringify ! ( unused ) ) ) ; } extern "C" { pub fn g_static_mutex_init ( mutex : * mut GStaticMutex ) ; } extern "C" { pub fn g_static_mutex_free ( mutex : * mut GStaticMutex ) ; } extern "C" { pub fn g_static_mutex_get_mutex_impl ( mutex : * mut GStaticMutex ) -> * mut GMutex ; } pub type GStaticRecMutex = _GStaticRecMutex ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GStaticRecMutex { pub mutex : GStaticMutex , pub depth : guint , pub unused : _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) { pub owner : pthread_t , pub dummy : gdouble , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout__GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) > ( ) ) ) . owner as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) ) , "::" , stringify ! ( owner ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) > ( ) ) ) . dummy as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) ) , "::" , stringify ! ( dummy ) ) ) ; } # [ test ] fn bindgen_test_layout__GStaticRecMutex ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GStaticRecMutex > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _GStaticRecMutex ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GStaticRecMutex > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GStaticRecMutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRecMutex > ( ) ) ) . mutex as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRecMutex ) , "::" , stringify ! ( mutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRecMutex > ( ) ) ) . depth as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRecMutex ) , "::" , stringify ! ( depth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRecMutex > ( ) ) ) . unused as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRecMutex ) , "::" , stringify ! ( unused ) ) ) ; } extern "C" { pub fn g_static_rec_mutex_init ( mutex : * mut GStaticRecMutex ) ; } extern "C" { pub fn g_static_rec_mutex_lock ( mutex : * mut GStaticRecMutex ) ; } extern "C" { pub fn g_static_rec_mutex_trylock ( mutex : * mut GStaticRecMutex ) -> gboolean ; } extern "C" { pub fn g_static_rec_mutex_unlock ( mutex : * mut GStaticRecMutex ) ; } extern "C" { pub fn g_static_rec_mutex_lock_full ( mutex : * mut GStaticRecMutex , depth : guint ) ; } extern "C" { pub fn g_static_rec_mutex_unlock_full ( mutex : * mut GStaticRecMutex ) -> guint ; } extern "C" { pub fn g_static_rec_mutex_free ( mutex : * mut GStaticRecMutex ) ; } pub type GStaticRWLock = _GStaticRWLock ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GStaticRWLock { pub mutex : GStaticMutex , pub read_cond : * mut GCond , pub write_cond : * mut GCond , pub read_counter : guint , pub have_writer : gboolean , pub want_to_read : guint , pub want_to_write : guint , } # [ test ] fn bindgen_test_layout__GStaticRWLock ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GStaticRWLock > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GStaticRWLock ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GStaticRWLock > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GStaticRWLock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . mutex as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( mutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . read_cond as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( read_cond ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . write_cond as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( write_cond ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . read_counter as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( read_counter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . have_writer as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( have_writer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . want_to_read as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( want_to_read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . want_to_write as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( want_to_write ) ) ) ; } extern "C" { pub fn g_static_rw_lock_init ( lock : * mut GStaticRWLock ) ; } extern "C" { pub fn g_static_rw_lock_reader_lock ( lock : * mut GStaticRWLock ) ; } extern "C" { pub fn g_static_rw_lock_reader_trylock ( lock : * mut GStaticRWLock ) -> gboolean ; } extern "C" { pub fn g_static_rw_lock_reader_unlock ( lock : * mut GStaticRWLock ) ; } extern "C" { pub fn g_static_rw_lock_writer_lock ( lock : * mut GStaticRWLock ) ; } extern "C" { pub fn g_static_rw_lock_writer_trylock ( lock : * mut GStaticRWLock ) -> gboolean ; } extern "C" { pub fn g_static_rw_lock_writer_unlock ( lock : * mut GStaticRWLock ) ; } extern "C" { pub fn g_static_rw_lock_free ( lock : * mut GStaticRWLock ) ; } extern "C" { pub fn g_private_new ( notify : GDestroyNotify ) -> * mut GPrivate ; } pub type GStaticPrivate = _GStaticPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GStaticPrivate { pub index : guint , } # [ test ] fn bindgen_test_layout__GStaticPrivate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GStaticPrivate > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _GStaticPrivate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GStaticPrivate > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GStaticPrivate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticPrivate > ( ) ) ) . index as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticPrivate ) , "::" , stringify ! ( index ) ) ) ; } extern "C" { pub fn g_static_private_init ( private_key : * mut GStaticPrivate ) ; } extern "C" { pub fn g_static_private_get ( private_key : * mut GStaticPrivate ) -> gpointer ; } extern "C" { pub fn g_static_private_set ( private_key : * mut GStaticPrivate , data : gpointer , notify : GDestroyNotify ) ; } extern "C" { pub fn g_static_private_free ( private_key : * mut GStaticPrivate ) ; } extern "C" { pub fn g_once_init_enter_impl ( location : * mut gsize ) -> gboolean ; } extern "C" { pub fn g_thread_init ( vtable : gpointer ) ; } extern "C" { pub fn g_thread_init_with_errorcheck_mutexes ( vtable : gpointer ) ; } extern "C" { pub fn g_thread_get_initialized ( ) -> gboolean ; } extern "C" { # [ link_name = "\u{1}g_threads_got_initialized" ] pub static mut g_threads_got_initialized : gboolean ; } extern "C" { pub fn g_mutex_new ( ) -> * mut GMutex ; } extern "C" { pub fn g_mutex_free ( mutex : * mut GMutex ) ; } extern "C" { pub fn g_cond_new ( ) -> * mut GCond ; } extern "C" { pub fn g_cond_free ( cond : * mut GCond ) ; } extern "C" { pub fn g_cond_timed_wait ( cond : * mut GCond , mutex : * mut GMutex , abs_time : * mut GTimeVal ) -> gboolean ; } pub type GAsyncQueue_autoptr = * mut GAsyncQueue ; pub type GAsyncQueue_listautoptr = * mut GList ; pub type GAsyncQueue_slistautoptr = * mut GSList ; pub type GAsyncQueue_queueautoptr = * mut GQueue ; pub type GBookmarkFile_autoptr = * mut GBookmarkFile ; pub type GBookmarkFile_listautoptr = * mut GList ; pub type GBookmarkFile_slistautoptr = * mut GSList ; pub type GBookmarkFile_queueautoptr = * mut GQueue ; pub type GBytes_autoptr = * mut GBytes ; pub type GBytes_listautoptr = * mut GList ; pub type GBytes_slistautoptr = * mut GSList ; pub type GBytes_queueautoptr = * mut GQueue ; pub type GChecksum_autoptr = * mut GChecksum ; pub type GChecksum_listautoptr = * mut GList ; pub type GChecksum_slistautoptr = * mut GSList ; pub type GChecksum_queueautoptr = * mut GQueue ; pub type GDateTime_autoptr = * mut GDateTime ; pub type GDateTime_listautoptr = * mut GList ; pub type GDateTime_slistautoptr = * mut GSList ; pub type GDateTime_queueautoptr = * mut GQueue ; pub type GDate_autoptr = * mut GDate ; pub type GDate_listautoptr = * mut GList ; pub type GDate_slistautoptr = * mut GSList ; pub type GDate_queueautoptr = * mut GQueue ; pub type GDir_autoptr = * mut GDir ; pub type GDir_listautoptr = * mut GList ; pub type GDir_slistautoptr = * mut GSList ; pub type GDir_queueautoptr = * mut GQueue ; pub type GError_autoptr = * mut GError ; pub type GError_listautoptr = * mut GList ; pub type GError_slistautoptr = * mut GSList ; pub type GError_queueautoptr = * mut GQueue ; pub type GHashTable_autoptr = * mut GHashTable ; pub type GHashTable_listautoptr = * mut GList ; pub type GHashTable_slistautoptr = * mut GSList ; pub type GHashTable_queueautoptr = * mut GQueue ; pub type GHmac_autoptr = * mut GHmac ; pub type GHmac_listautoptr = * mut GList ; pub type GHmac_slistautoptr = * mut GSList ; pub type GHmac_queueautoptr = * mut GQueue ; pub type GIOChannel_autoptr = * mut GIOChannel ; pub type GIOChannel_listautoptr = * mut GList ; pub type GIOChannel_slistautoptr = * mut GSList ; pub type GIOChannel_queueautoptr = * mut GQueue ; pub type GKeyFile_autoptr = * mut GKeyFile ; pub type GKeyFile_listautoptr = * mut GList ; pub type GKeyFile_slistautoptr = * mut GSList ; pub type GKeyFile_queueautoptr = * mut GQueue ; pub type GList_autoptr = * mut GList ; pub type GList_listautoptr = * mut GList ; pub type GList_slistautoptr = * mut GSList ; pub type GList_queueautoptr = * mut GQueue ; pub type GArray_autoptr = * mut GArray ; pub type GArray_listautoptr = * mut GList ; pub type GArray_slistautoptr = * mut GSList ; pub type GArray_queueautoptr = * mut GQueue ; pub type GPtrArray_autoptr = * mut GPtrArray ; pub type GPtrArray_listautoptr = * mut GList ; pub type GPtrArray_slistautoptr = * mut GSList ; pub type GPtrArray_queueautoptr = * mut GQueue ; pub type GByteArray_autoptr = * mut GByteArray ; pub type GByteArray_listautoptr = * mut GList ; pub type GByteArray_slistautoptr = * mut GSList ; pub type GByteArray_queueautoptr = * mut GQueue ; pub type GMainContext_autoptr = * mut GMainContext ; pub type GMainContext_listautoptr = * mut GList ; pub type GMainContext_slistautoptr = * mut GSList ; pub type GMainContext_queueautoptr = * mut GQueue ; pub type GMainContextPusher_autoptr = * mut GMainContextPusher ; pub type GMainContextPusher_listautoptr = * mut GList ; pub type GMainContextPusher_slistautoptr = * mut GSList ; pub type GMainContextPusher_queueautoptr = * mut GQueue ; pub type GMainLoop_autoptr = * mut GMainLoop ; pub type GMainLoop_listautoptr = * mut GList ; pub type GMainLoop_slistautoptr = * mut GSList ; pub type GMainLoop_queueautoptr = * mut GQueue ; pub type GSource_autoptr = * mut GSource ; pub type GSource_listautoptr = * mut GList ; pub type GSource_slistautoptr = * mut GSList ; pub type GSource_queueautoptr = * mut GQueue ; pub type GMappedFile_autoptr = * mut GMappedFile ; pub type GMappedFile_listautoptr = * mut GList ; pub type GMappedFile_slistautoptr = * mut GSList ; pub type GMappedFile_queueautoptr = * mut GQueue ; pub type GMarkupParseContext_autoptr = * mut GMarkupParseContext ; pub type GMarkupParseContext_listautoptr = * mut GList ; pub type GMarkupParseContext_slistautoptr = * mut GSList ; pub type GMarkupParseContext_queueautoptr = * mut GQueue ; pub type GNode_autoptr = * mut GNode ; pub type GNode_listautoptr = * mut GList ; pub type GNode_slistautoptr = * mut GSList ; pub type GNode_queueautoptr = * mut GQueue ; pub type GOptionContext_autoptr = * mut GOptionContext ; pub type GOptionContext_listautoptr = * mut GList ; pub type GOptionContext_slistautoptr = * mut GSList ; pub type GOptionContext_queueautoptr = * mut GQueue ; pub type GOptionGroup_autoptr = * mut GOptionGroup ; pub type GOptionGroup_listautoptr = * mut GList ; pub type GOptionGroup_slistautoptr = * mut GSList ; pub type GOptionGroup_queueautoptr = * mut GQueue ; pub type GPatternSpec_autoptr = * mut GPatternSpec ; pub type GPatternSpec_listautoptr = * mut GList ; pub type GPatternSpec_slistautoptr = * mut GSList ; pub type GPatternSpec_queueautoptr = * mut GQueue ; pub type GQueue_autoptr = * mut GQueue ; pub type GQueue_listautoptr = * mut GList ; pub type GQueue_slistautoptr = * mut GSList ; pub type GQueue_queueautoptr = * mut GQueue ; pub type GRand_autoptr = * mut GRand ; pub type GRand_listautoptr = * mut GList ; pub type GRand_slistautoptr = * mut GSList ; pub type GRand_queueautoptr = * mut GQueue ; pub type GRegex_autoptr = * mut GRegex ; pub type GRegex_listautoptr = * mut GList ; pub type GRegex_slistautoptr = * mut GSList ; pub type GRegex_queueautoptr = * mut GQueue ; pub type GMatchInfo_autoptr = * mut GMatchInfo ; pub type GMatchInfo_listautoptr = * mut GList ; pub type GMatchInfo_slistautoptr = * mut GSList ; pub type GMatchInfo_queueautoptr = * mut GQueue ; pub type GScanner_autoptr = * mut GScanner ; pub type GScanner_listautoptr = * mut GList ; pub type GScanner_slistautoptr = * mut GSList ; pub type GScanner_queueautoptr = * mut GQueue ; pub type GSequence_autoptr = * mut GSequence ; pub type GSequence_listautoptr = * mut GList ; pub type GSequence_slistautoptr = * mut GSList ; pub type GSequence_queueautoptr = * mut GQueue ; pub type GSList_autoptr = * mut GSList ; pub type GSList_listautoptr = * mut GList ; pub type GSList_slistautoptr = * mut GSList ; pub type GSList_queueautoptr = * mut GQueue ; pub type GString_autoptr = * mut GString ; pub type GString_listautoptr = * mut GList ; pub type GString_slistautoptr = * mut GSList ; pub type GString_queueautoptr = * mut GQueue ; pub type GStringChunk_autoptr = * mut GStringChunk ; pub type GStringChunk_listautoptr = * mut GList ; pub type GStringChunk_slistautoptr = * mut GSList ; pub type GStringChunk_queueautoptr = * mut GQueue ; pub type GStrvBuilder_autoptr = * mut GStrvBuilder ; pub type GStrvBuilder_listautoptr = * mut GList ; pub type GStrvBuilder_slistautoptr = * mut GSList ; pub type GStrvBuilder_queueautoptr = * mut GQueue ; pub type GThread_autoptr = * mut GThread ; pub type GThread_listautoptr = * mut GList ; pub type GThread_slistautoptr = * mut GSList ; pub type GThread_queueautoptr = * mut GQueue ; pub type GMutexLocker_autoptr = * mut GMutexLocker ; pub type GMutexLocker_listautoptr = * mut GList ; pub type GMutexLocker_slistautoptr = * mut GSList ; pub type GMutexLocker_queueautoptr = * mut GQueue ; pub type GRecMutexLocker_autoptr = * mut GRecMutexLocker ; pub type GRecMutexLocker_listautoptr = * mut GList ; pub type GRecMutexLocker_slistautoptr = * mut GSList ; pub type GRecMutexLocker_queueautoptr = * mut GQueue ; pub type GRWLockWriterLocker_autoptr = * mut GRWLockWriterLocker ; pub type GRWLockWriterLocker_listautoptr = * mut GList ; pub type GRWLockWriterLocker_slistautoptr = * mut GSList ; pub type GRWLockWriterLocker_queueautoptr = * mut GQueue ; pub type GRWLockReaderLocker_autoptr = * mut GRWLockReaderLocker ; pub type GRWLockReaderLocker_listautoptr = * mut GList ; pub type GRWLockReaderLocker_slistautoptr = * mut GSList ; pub type GRWLockReaderLocker_queueautoptr = * mut GQueue ; pub type GTimer_autoptr = * mut GTimer ; pub type GTimer_listautoptr = * mut GList ; pub type GTimer_slistautoptr = * mut GSList ; pub type GTimer_queueautoptr = * mut GQueue ; pub type GTimeZone_autoptr = * mut GTimeZone ; pub type GTimeZone_listautoptr = * mut GList ; pub type GTimeZone_slistautoptr = * mut GSList ; pub type GTimeZone_queueautoptr = * mut GQueue ; pub type GTree_autoptr = * mut GTree ; pub type GTree_listautoptr = * mut GList ; pub type GTree_slistautoptr = * mut GSList ; pub type GTree_queueautoptr = * mut GQueue ; pub type GVariant_autoptr = * mut GVariant ; pub type GVariant_listautoptr = * mut GList ; pub type GVariant_slistautoptr = * mut GSList ; pub type GVariant_queueautoptr = * mut GQueue ; pub type GVariantBuilder_autoptr = * mut GVariantBuilder ; pub type GVariantBuilder_listautoptr = * mut GList ; pub type GVariantBuilder_slistautoptr = * mut GSList ; pub type GVariantBuilder_queueautoptr = * mut GQueue ; pub type GVariantIter_autoptr = * mut GVariantIter ; pub type GVariantIter_listautoptr = * mut GList ; pub type GVariantIter_slistautoptr = * mut GSList ; pub type GVariantIter_queueautoptr = * mut GQueue ; pub type GVariantDict_autoptr = * mut GVariantDict ; pub type GVariantDict_listautoptr = * mut GList ; pub type GVariantDict_slistautoptr = * mut GSList ; pub type GVariantDict_queueautoptr = * mut GQueue ; pub type GVariantType_autoptr = * mut GVariantType ; pub type GVariantType_listautoptr = * mut GList ; pub type GVariantType_slistautoptr = * mut GSList ; pub type GVariantType_queueautoptr = * mut GQueue ; pub type GRefString_autoptr = * mut GRefString ; pub type GRefString_listautoptr = * mut GList ; pub type GRefString_slistautoptr = * mut GSList ; pub type GRefString_queueautoptr = * mut GQueue ; pub type GUri_autoptr = * mut GUri ; pub type GUri_listautoptr = * mut GList ; pub type GUri_slistautoptr = * mut GSList ; pub type GUri_queueautoptr = * mut GQueue ; pub type GPathBuf_autoptr = * mut GPathBuf ; pub type GPathBuf_listautoptr = * mut GList ; pub type GPathBuf_slistautoptr = * mut GSList ; pub type GPathBuf_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) { 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_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) > ( ) ) ) . __wch as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) ) , "::" , stringify ! ( __wch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) > ( ) ) ) . __wchb as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) ) , "::" , stringify ! ( __wchb ) ) ) ; } # [ test ] fn bindgen_test_layout___mbstate_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __value as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __state ) ) ) ; } pub type __fpos_t = _G_fpos_t ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos64_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos64_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos64_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __state ) ) ) ; } pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_codecvt { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_wide_data { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [ :: std :: os :: raw :: c_char ; 1usize ] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub __pad5 : 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 > ( ) ) ) . _codecvt as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _codecvt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _wide_data as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _wide_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _freeres_list as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _freeres_list ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _freeres_buf as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _freeres_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad5 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _mode as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _unused2 as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _unused2 ) ) ) ; } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [ test ] fn bindgen_test_layout__IO_cookie_io_functions_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_cookie_io_functions_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _IO_cookie_io_functions_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_cookie_io_functions_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_cookie_io_functions_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_cookie_io_functions_t > ( ) ) ) . read as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_cookie_io_functions_t ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_cookie_io_functions_t > ( ) ) ) . write as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_cookie_io_functions_t ) , "::" , stringify ! ( write ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_cookie_io_functions_t > ( ) ) ) . seek as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_cookie_io_functions_t ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_cookie_io_functions_t > ( ) ) ) . close as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _IO_cookie_io_functions_t ) , "::" , stringify ! ( close ) ) ) ; } pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type fpos_t = __fpos_t ; extern "C" { # [ link_name = "\u{1}stdin" ] pub static mut stdin : * mut FILE ; } extern "C" { # [ link_name = "\u{1}stdout" ] pub static mut stdout : * mut FILE ; } extern "C" { # [ link_name = "\u{1}stderr" ] pub static mut stderr : * mut FILE ; } extern "C" { pub fn remove ( __filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rename ( __old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn renameat ( __oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tmpfile ( ) -> * mut FILE ; } extern "C" { pub fn tmpnam ( arg1 : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tmpnam_r ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tempnam ( __dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fflush ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn freopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> * mut FILE ; } extern "C" { pub fn fdopen ( __fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn fopencookie ( __magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t ) -> * mut FILE ; } extern "C" { pub fn fmemopen ( __s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : usize , __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 : usize , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vasprintf ( __ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __asprintf ( __ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn asprintf ( __ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn fileno ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fileno_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn popen ( __command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn ctermid ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn flockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn ftrylockfile ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn funlockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn __uflow ( arg1 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_printf ( format : * const gchar , ... ) -> gint ; } extern "C" { pub fn g_fprintf ( file : * mut FILE , format : * const gchar , ... ) -> gint ; } extern "C" { pub fn g_sprintf ( string : * mut gchar , format : * const gchar , ... ) -> gint ; } extern "C" { pub fn g_vprintf ( format : * const gchar , args : * mut __va_list_tag ) -> gint ; } extern "C" { pub fn g_vfprintf ( file : * mut FILE , format : * const gchar , args : * mut __va_list_tag ) -> gint ; } extern "C" { pub fn g_vsprintf ( string : * mut gchar , format : * const gchar , args : * mut __va_list_tag ) -> gint ; } extern "C" { pub fn g_vasprintf ( string : * mut * mut gchar , format : * const gchar , args : * mut __va_list_tag ) -> gint ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stat { pub st_dev : __dev_t , pub st_ino : __ino_t , pub st_nlink : __nlink_t , pub st_mode : __mode_t , pub st_uid : __uid_t , pub st_gid : __gid_t , pub __pad0 : :: std :: os :: raw :: c_int , pub st_rdev : __dev_t , pub st_size : __off_t , pub st_blksize : __blksize_t , pub st_blocks : __blkcnt_t , pub st_atim : timespec , pub st_mtim : timespec , pub st_ctim : timespec , pub __glibc_reserved : [ __syscall_slong_t ; 3usize ] , } # [ test ] fn bindgen_test_layout_stat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stat > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( stat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stat > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_dev as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_dev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_ino as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_ino ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_nlink as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_nlink ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_mode as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_uid as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_gid as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . __pad0 as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( __pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_rdev as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_rdev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_size as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_blksize as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_blksize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_blocks as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_blocks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_atim as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_atim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_mtim as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_mtim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_ctim as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_ctim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . __glibc_reserved as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( __glibc_reserved ) ) ) ; } extern "C" { pub fn stat ( __file : * const :: std :: os :: raw :: c_char , __buf : * mut stat ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fstat ( __fd : :: std :: os :: raw :: c_int , __buf : * mut stat ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fstatat ( __fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __buf : * mut stat , __flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lstat ( __file : * const :: std :: os :: raw :: c_char , __buf : * mut stat ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chmod ( __file : * const :: std :: os :: raw :: c_char , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lchmod ( __file : * const :: std :: os :: raw :: c_char , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fchmod ( __fd : :: std :: os :: raw :: c_int , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fchmodat ( __fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __mode : __mode_t , __flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn umask ( __mask : __mode_t ) -> __mode_t ; } extern "C" { pub fn mkdir ( __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkdirat ( __fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mknod ( __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t , __dev : __dev_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mknodat ( __fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t , __dev : __dev_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkfifo ( __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkfifoat ( __fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn utimensat ( __fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __times : * const timespec , __flags : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn futimens ( __fd : :: std :: os :: raw :: c_int , __times : * const timespec ) -> :: std :: os :: raw :: c_int ; } pub type GStatBuf = stat ; extern "C" { pub fn g_access ( filename : * const gchar , mode : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_chdir ( path : * const gchar ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_unlink ( filename : * const gchar ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_rmdir ( filename : * const gchar ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_close ( fd : gint , error : * mut * mut GError ) -> gboolean ; } pub const GModuleFlags_G_MODULE_BIND_LAZY : GModuleFlags = 1 ; pub const GModuleFlags_G_MODULE_BIND_LOCAL : GModuleFlags = 2 ; pub const GModuleFlags_G_MODULE_BIND_MASK : GModuleFlags = 3 ; pub type GModuleFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GModule { _unused : [ u8 ; 0 ] , } pub type GModule = _GModule ; pub type GModuleCheckInit = :: std :: option :: Option < unsafe extern "C" fn ( module : * mut GModule ) -> * const gchar > ; pub type GModuleUnload = :: std :: option :: Option < unsafe extern "C" fn ( module : * mut GModule ) > ; extern "C" { pub fn g_module_error_quark ( ) -> GQuark ; } pub const GModuleError_G_MODULE_ERROR_FAILED : GModuleError = 0 ; pub const GModuleError_G_MODULE_ERROR_CHECK_FAILED : GModuleError = 1 ; pub type GModuleError = u32 ; extern "C" { pub fn g_module_supported ( ) -> gboolean ; } extern "C" { pub fn g_module_open ( file_name : * const gchar , flags : GModuleFlags ) -> * mut GModule ; } extern "C" { pub fn g_module_open_full ( file_name : * const gchar , flags : GModuleFlags , error : * mut * mut GError ) -> * mut GModule ; } extern "C" { pub fn g_module_close ( module : * mut GModule ) -> gboolean ; } extern "C" { pub fn g_module_make_resident ( module : * mut GModule ) ; } extern "C" { pub fn g_module_error ( ) -> * const gchar ; } extern "C" { pub fn g_module_symbol ( module : * mut GModule , symbol_name : * const gchar , symbol : * mut gpointer ) -> gboolean ; } extern "C" { pub fn g_module_name ( module : * mut GModule ) -> * const gchar ; } extern "C" { pub fn g_module_build_path ( directory : * const gchar , module_name : * const gchar ) -> * mut gchar ; } pub type GType = gsize ; pub type GValue = _GValue ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GTypeCValue { _unused : [ u8 ; 0 ] , } pub type GTypeCValue = _GTypeCValue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypePlugin { _unused : [ u8 ; 0 ] , } pub type GTypePlugin = _GTypePlugin ; pub type GTypeClass = _GTypeClass ; pub type GTypeInterface = _GTypeInterface ; pub type GTypeInstance = _GTypeInstance ; pub type GTypeInfo = _GTypeInfo ; pub type GTypeFundamentalInfo = _GTypeFundamentalInfo ; pub type GInterfaceInfo = _GInterfaceInfo ; pub type GTypeValueTable = _GTypeValueTable ; pub type GTypeQuery = _GTypeQuery ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeClass { pub g_type : GType , } # [ test ] fn bindgen_test_layout__GTypeClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeClass > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GTypeClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeClass > ( ) ) ) . g_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeClass ) , "::" , stringify ! ( g_type ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeInstance { pub g_class : * mut GTypeClass , } # [ test ] fn bindgen_test_layout__GTypeInstance ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeInstance > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GTypeInstance ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeInstance > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeInstance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInstance > ( ) ) ) . g_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInstance ) , "::" , stringify ! ( g_class ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeInterface { pub g_type : GType , pub g_instance_type : GType , } # [ test ] fn bindgen_test_layout__GTypeInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeInterface > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GTypeInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInterface > ( ) ) ) . g_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInterface ) , "::" , stringify ! ( g_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInterface > ( ) ) ) . g_instance_type as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInterface ) , "::" , stringify ! ( g_instance_type ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeQuery { pub type_ : GType , pub type_name : * const gchar , pub class_size : guint , pub instance_size : guint , } # [ test ] fn bindgen_test_layout__GTypeQuery ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeQuery > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GTypeQuery ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeQuery > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeQuery ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeQuery > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeQuery ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeQuery > ( ) ) ) . type_name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeQuery ) , "::" , stringify ! ( type_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeQuery > ( ) ) ) . class_size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeQuery ) , "::" , stringify ! ( class_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeQuery > ( ) ) ) . instance_size as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeQuery ) , "::" , stringify ! ( instance_size ) ) ) ; } pub const GTypeDebugFlags_G_TYPE_DEBUG_NONE : GTypeDebugFlags = 0 ; pub const GTypeDebugFlags_G_TYPE_DEBUG_OBJECTS : GTypeDebugFlags = 1 ; pub const GTypeDebugFlags_G_TYPE_DEBUG_SIGNALS : GTypeDebugFlags = 2 ; pub const GTypeDebugFlags_G_TYPE_DEBUG_INSTANCE_COUNT : GTypeDebugFlags = 4 ; pub const GTypeDebugFlags_G_TYPE_DEBUG_MASK : GTypeDebugFlags = 7 ; pub type GTypeDebugFlags = u32 ; extern "C" { pub fn g_type_init ( ) ; } extern "C" { pub fn g_type_init_with_debug_flags ( debug_flags : GTypeDebugFlags ) ; } extern "C" { pub fn g_type_name ( type_ : GType ) -> * const gchar ; } extern "C" { pub fn g_type_qname ( type_ : GType ) -> GQuark ; } extern "C" { pub fn g_type_from_name ( name : * const gchar ) -> GType ; } extern "C" { pub fn g_type_parent ( type_ : GType ) -> GType ; } extern "C" { pub fn g_type_depth ( type_ : GType ) -> guint ; } extern "C" { pub fn g_type_next_base ( leaf_type : GType , root_type : GType ) -> GType ; } extern "C" { pub fn g_type_is_a ( type_ : GType , is_a_type : GType ) -> gboolean ; } extern "C" { pub fn g_type_class_ref ( type_ : GType ) -> gpointer ; } extern "C" { pub fn g_type_class_peek ( type_ : GType ) -> gpointer ; } extern "C" { pub fn g_type_class_peek_static ( type_ : GType ) -> gpointer ; } extern "C" { pub fn g_type_class_unref ( g_class : gpointer ) ; } extern "C" { pub fn g_type_class_peek_parent ( g_class : gpointer ) -> gpointer ; } extern "C" { pub fn g_type_interface_peek ( instance_class : gpointer , iface_type : GType ) -> gpointer ; } extern "C" { pub fn g_type_interface_peek_parent ( g_iface : gpointer ) -> gpointer ; } extern "C" { pub fn g_type_default_interface_ref ( g_type : GType ) -> gpointer ; } extern "C" { pub fn g_type_default_interface_peek ( g_type : GType ) -> gpointer ; } extern "C" { pub fn g_type_default_interface_unref ( g_iface : gpointer ) ; } extern "C" { pub fn g_type_children ( type_ : GType , n_children : * mut guint ) -> * mut GType ; } extern "C" { pub fn g_type_interfaces ( type_ : GType , n_interfaces : * mut guint ) -> * mut GType ; } extern "C" { pub fn g_type_set_qdata ( type_ : GType , quark : GQuark , data : gpointer ) ; } extern "C" { pub fn g_type_get_qdata ( type_ : GType , quark : GQuark ) -> gpointer ; } extern "C" { pub fn g_type_query ( type_ : GType , query : * mut GTypeQuery ) ; } extern "C" { pub fn g_type_get_instance_count ( type_ : GType ) -> :: std :: os :: raw :: c_int ; } pub type GBaseInitFunc = :: std :: option :: Option < unsafe extern "C" fn ( g_class : gpointer ) > ; pub type GBaseFinalizeFunc = :: std :: option :: Option < unsafe extern "C" fn ( g_class : gpointer ) > ; pub type GClassInitFunc = :: std :: option :: Option < unsafe extern "C" fn ( g_class : gpointer , class_data : gpointer ) > ; pub type GClassFinalizeFunc = :: std :: option :: Option < unsafe extern "C" fn ( g_class : gpointer , class_data : gpointer ) > ; pub type GInstanceInitFunc = :: std :: option :: Option < unsafe extern "C" fn ( instance : * mut GTypeInstance , g_class : gpointer ) > ; pub type GInterfaceInitFunc = :: std :: option :: Option < unsafe extern "C" fn ( g_iface : gpointer , iface_data : gpointer ) > ; pub type GInterfaceFinalizeFunc = :: std :: option :: Option < unsafe extern "C" fn ( g_iface : gpointer , iface_data : gpointer ) > ; pub type GTypeClassCacheFunc = :: std :: option :: Option < unsafe extern "C" fn ( cache_data : gpointer , g_class : * mut GTypeClass ) -> gboolean > ; pub type GTypeInterfaceCheckFunc = :: std :: option :: Option < unsafe extern "C" fn ( check_data : gpointer , g_iface : gpointer ) > ; pub const GTypeFundamentalFlags_G_TYPE_FLAG_CLASSED : GTypeFundamentalFlags = 1 ; pub const GTypeFundamentalFlags_G_TYPE_FLAG_INSTANTIATABLE : GTypeFundamentalFlags = 2 ; pub const GTypeFundamentalFlags_G_TYPE_FLAG_DERIVABLE : GTypeFundamentalFlags = 4 ; pub const GTypeFundamentalFlags_G_TYPE_FLAG_DEEP_DERIVABLE : GTypeFundamentalFlags = 8 ; pub type GTypeFundamentalFlags = u32 ; pub const GTypeFlags_G_TYPE_FLAG_NONE : GTypeFlags = 0 ; pub const GTypeFlags_G_TYPE_FLAG_ABSTRACT : GTypeFlags = 16 ; pub const GTypeFlags_G_TYPE_FLAG_VALUE_ABSTRACT : GTypeFlags = 32 ; pub const GTypeFlags_G_TYPE_FLAG_FINAL : GTypeFlags = 64 ; pub const GTypeFlags_G_TYPE_FLAG_DEPRECATED : GTypeFlags = 128 ; pub type GTypeFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeInfo { pub class_size : guint16 , pub base_init : GBaseInitFunc , pub base_finalize : GBaseFinalizeFunc , pub class_init : GClassInitFunc , pub class_finalize : GClassFinalizeFunc , pub class_data : gconstpointer , pub instance_size : guint16 , pub n_preallocs : guint16 , pub instance_init : GInstanceInitFunc , pub value_table : * const GTypeValueTable , } # [ test ] fn bindgen_test_layout__GTypeInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeInfo > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( _GTypeInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . class_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( class_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . base_init as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( base_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . base_finalize as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( base_finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . class_init as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( class_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . class_finalize as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( class_finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . class_data as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( class_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . instance_size as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( instance_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . n_preallocs as * const _ as usize } , 50usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( n_preallocs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . instance_init as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( instance_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . value_table as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( value_table ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeFundamentalInfo { pub type_flags : GTypeFundamentalFlags , } # [ test ] fn bindgen_test_layout__GTypeFundamentalInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeFundamentalInfo > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _GTypeFundamentalInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeFundamentalInfo > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GTypeFundamentalInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeFundamentalInfo > ( ) ) ) . type_flags as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeFundamentalInfo ) , "::" , stringify ! ( type_flags ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInterfaceInfo { pub interface_init : GInterfaceInitFunc , pub interface_finalize : GInterfaceFinalizeFunc , pub interface_data : gpointer , } # [ test ] fn bindgen_test_layout__GInterfaceInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInterfaceInfo > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GInterfaceInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInterfaceInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInterfaceInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInterfaceInfo > ( ) ) ) . interface_init as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInterfaceInfo ) , "::" , stringify ! ( interface_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInterfaceInfo > ( ) ) ) . interface_finalize as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GInterfaceInfo ) , "::" , stringify ! ( interface_finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInterfaceInfo > ( ) ) ) . interface_data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GInterfaceInfo ) , "::" , stringify ! ( interface_data ) ) ) ; } pub type GTypeValueInitFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : * mut GValue ) > ; pub type GTypeValueFreeFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : * mut GValue ) > ; pub type GTypeValueCopyFunc = :: std :: option :: Option < unsafe extern "C" fn ( src_value : * const GValue , dest_value : * mut GValue ) > ; pub type GTypeValuePeekPointerFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : * const GValue ) -> gpointer > ; pub type GTypeValueCollectFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : * mut GValue , n_collect_values : guint , collect_values : * mut GTypeCValue , collect_flags : guint ) -> * mut gchar > ; pub type GTypeValueLCopyFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : * const GValue , n_collect_values : guint , collect_values : * mut GTypeCValue , collect_flags : guint ) -> * mut gchar > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeValueTable { pub value_init : GTypeValueInitFunc , pub value_free : GTypeValueFreeFunc , pub value_copy : GTypeValueCopyFunc , pub value_peek_pointer : GTypeValuePeekPointerFunc , pub collect_format : * const gchar , pub collect_value : GTypeValueCollectFunc , pub lcopy_format : * const gchar , pub lcopy_value : GTypeValueLCopyFunc , } # [ test ] fn bindgen_test_layout__GTypeValueTable ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeValueTable > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _GTypeValueTable ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeValueTable > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeValueTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . value_init as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( value_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . value_free as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( value_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . value_copy as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( value_copy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . value_peek_pointer as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( value_peek_pointer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . collect_format as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( collect_format ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . collect_value as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( collect_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . lcopy_format as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( lcopy_format ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . lcopy_value as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( lcopy_value ) ) ) ; } extern "C" { pub fn g_type_register_static ( parent_type : GType , type_name : * const gchar , info : * const GTypeInfo , flags : GTypeFlags ) -> GType ; } extern "C" { pub fn g_type_register_static_simple ( parent_type : GType , type_name : * const gchar , class_size : guint , class_init : GClassInitFunc , instance_size : guint , instance_init : GInstanceInitFunc , flags : GTypeFlags ) -> GType ; } extern "C" { pub fn g_type_register_dynamic ( parent_type : GType , type_name : * const gchar , plugin : * mut GTypePlugin , flags : GTypeFlags ) -> GType ; } extern "C" { pub fn g_type_register_fundamental ( type_id : GType , type_name : * const gchar , info : * const GTypeInfo , finfo : * const GTypeFundamentalInfo , flags : GTypeFlags ) -> GType ; } extern "C" { pub fn g_type_add_interface_static ( instance_type : GType , interface_type : GType , info : * const GInterfaceInfo ) ; } extern "C" { pub fn g_type_add_interface_dynamic ( instance_type : GType , interface_type : GType , plugin : * mut GTypePlugin ) ; } extern "C" { pub fn g_type_interface_add_prerequisite ( interface_type : GType , prerequisite_type : GType ) ; } extern "C" { pub fn g_type_interface_prerequisites ( interface_type : GType , n_prerequisites : * mut guint ) -> * mut GType ; } extern "C" { pub fn g_type_interface_instantiatable_prerequisite ( interface_type : GType ) -> GType ; } extern "C" { pub fn g_type_class_add_private ( g_class : gpointer , private_size : gsize ) ; } extern "C" { pub fn g_type_add_instance_private ( class_type : GType , private_size : gsize ) -> gint ; } extern "C" { pub fn g_type_instance_get_private ( instance : * mut GTypeInstance , private_type : GType ) -> gpointer ; } extern "C" { pub fn g_type_class_adjust_private_offset ( g_class : gpointer , private_size_or_offset : * mut gint ) ; } extern "C" { pub fn g_type_add_class_private ( class_type : GType , private_size : gsize ) ; } extern "C" { pub fn g_type_class_get_private ( klass : * mut GTypeClass , private_type : GType ) -> gpointer ; } extern "C" { pub fn g_type_class_get_instance_private_offset ( g_class : gpointer ) -> gint ; } extern "C" { pub fn g_type_ensure ( type_ : GType ) ; } extern "C" { pub fn g_type_get_type_registration_serial ( ) -> guint ; } extern "C" { pub fn g_type_get_plugin ( type_ : GType ) -> * mut GTypePlugin ; } extern "C" { pub fn g_type_interface_get_plugin ( instance_type : GType , interface_type : GType ) -> * mut GTypePlugin ; } extern "C" { pub fn g_type_fundamental_next ( ) -> GType ; } extern "C" { pub fn g_type_fundamental ( type_id : GType ) -> GType ; } extern "C" { pub fn g_type_create_instance ( type_ : GType ) -> * mut GTypeInstance ; } extern "C" { pub fn g_type_free_instance ( instance : * mut GTypeInstance ) ; } extern "C" { pub fn g_type_add_class_cache_func ( cache_data : gpointer , cache_func : GTypeClassCacheFunc ) ; } extern "C" { pub fn g_type_remove_class_cache_func ( cache_data : gpointer , cache_func : GTypeClassCacheFunc ) ; } extern "C" { pub fn g_type_class_unref_uncached ( g_class : gpointer ) ; } extern "C" { pub fn g_type_add_interface_check ( check_data : gpointer , check_func : GTypeInterfaceCheckFunc ) ; } extern "C" { pub fn g_type_remove_interface_check ( check_data : gpointer , check_func : GTypeInterfaceCheckFunc ) ; } extern "C" { pub fn g_type_value_table_peek ( type_ : GType ) -> * mut GTypeValueTable ; } extern "C" { pub fn g_type_check_instance ( instance : * mut GTypeInstance ) -> gboolean ; } extern "C" { pub fn g_type_check_instance_cast ( instance : * mut GTypeInstance , iface_type : GType ) -> * mut GTypeInstance ; } extern "C" { pub fn g_type_check_instance_is_a ( instance : * mut GTypeInstance , iface_type : GType ) -> gboolean ; } extern "C" { pub fn g_type_check_instance_is_fundamentally_a ( instance : * mut GTypeInstance , fundamental_type : GType ) -> gboolean ; } extern "C" { pub fn g_type_check_class_cast ( g_class : * mut GTypeClass , is_a_type : GType ) -> * mut GTypeClass ; } extern "C" { pub fn g_type_check_class_is_a ( g_class : * mut GTypeClass , is_a_type : GType ) -> gboolean ; } extern "C" { pub fn g_type_check_is_value_type ( type_ : GType ) -> gboolean ; } extern "C" { pub fn g_type_check_value ( value : * const GValue ) -> gboolean ; } extern "C" { pub fn g_type_check_value_holds ( value : * const GValue , type_ : GType ) -> gboolean ; } extern "C" { pub fn g_type_test_flags ( type_ : GType , flags : guint ) -> gboolean ; } extern "C" { pub fn g_type_name_from_instance ( instance : * mut GTypeInstance ) -> * const gchar ; } extern "C" { pub fn g_type_name_from_class ( g_class : * mut GTypeClass ) -> * const gchar ; } pub type GValueTransform = :: std :: option :: Option < unsafe extern "C" fn ( src_value : * const GValue , dest_value : * mut GValue ) > ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GValue { pub g_type : GType , pub data : [ _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) { pub v_int : gint , pub v_uint : guint , pub v_long : glong , pub v_ulong : gulong , pub v_int64 : gint64 , pub v_uint64 : guint64 , pub v_float : gfloat , pub v_double : gdouble , pub v_pointer : gpointer , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout__GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_int as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_int ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_uint as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_uint ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_long as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_long ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_ulong as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_ulong ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_int64 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_int64 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_uint64 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_uint64 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_float as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_float ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_double as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_double ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_pointer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_pointer ) ) ) ; } # [ test ] fn bindgen_test_layout__GValue ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GValue > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GValue ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GValue > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue > ( ) ) ) . g_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue ) , "::" , stringify ! ( g_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue > ( ) ) ) . data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GValue ) , "::" , stringify ! ( data ) ) ) ; } extern "C" { pub fn g_value_init ( value : * mut GValue , g_type : GType ) -> * mut GValue ; } extern "C" { pub fn g_value_copy ( src_value : * const GValue , dest_value : * mut GValue ) ; } extern "C" { pub fn g_value_reset ( value : * mut GValue ) -> * mut GValue ; } extern "C" { pub fn g_value_unset ( value : * mut GValue ) ; } extern "C" { pub fn g_value_set_instance ( value : * mut GValue , instance : gpointer ) ; } extern "C" { pub fn g_value_init_from_instance ( value : * mut GValue , instance : gpointer ) ; } extern "C" { pub fn g_value_fits_pointer ( value : * const GValue ) -> gboolean ; } extern "C" { pub fn g_value_peek_pointer ( value : * const GValue ) -> gpointer ; } extern "C" { pub fn g_value_type_compatible ( src_type : GType , dest_type : GType ) -> gboolean ; } extern "C" { pub fn g_value_type_transformable ( src_type : GType , dest_type : GType ) -> gboolean ; } extern "C" { pub fn g_value_transform ( src_value : * const GValue , dest_value : * mut GValue ) -> gboolean ; } extern "C" { pub fn g_value_register_transform_func ( src_type : GType , dest_type : GType , transform_func : GValueTransform ) ; } pub const GParamFlags_G_PARAM_READABLE : GParamFlags = 1 ; pub const GParamFlags_G_PARAM_WRITABLE : GParamFlags = 2 ; pub const GParamFlags_G_PARAM_READWRITE : GParamFlags = 3 ; pub const GParamFlags_G_PARAM_CONSTRUCT : GParamFlags = 4 ; pub const GParamFlags_G_PARAM_CONSTRUCT_ONLY : GParamFlags = 8 ; pub const GParamFlags_G_PARAM_LAX_VALIDATION : GParamFlags = 16 ; pub const GParamFlags_G_PARAM_STATIC_NAME : GParamFlags = 32 ; pub const GParamFlags_G_PARAM_PRIVATE : GParamFlags = 32 ; pub const GParamFlags_G_PARAM_STATIC_NICK : GParamFlags = 64 ; pub const GParamFlags_G_PARAM_STATIC_BLURB : GParamFlags = 128 ; pub const GParamFlags_G_PARAM_EXPLICIT_NOTIFY : GParamFlags = 1073741824 ; pub const GParamFlags_G_PARAM_DEPRECATED : GParamFlags = -2147483648 ; pub type GParamFlags = i32 ; pub type GParamSpec = _GParamSpec ; pub type GParamSpecClass = _GParamSpecClass ; pub type GParameter = _GParameter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecPool { _unused : [ u8 ; 0 ] , } pub type GParamSpecPool = _GParamSpecPool ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpec { pub g_type_instance : GTypeInstance , pub name : * const gchar , pub flags : GParamFlags , pub value_type : GType , pub owner_type : GType , pub _nick : * mut gchar , pub _blurb : * mut gchar , pub qdata : * mut GData , pub ref_count : guint , pub param_id : guint , } # [ test ] fn bindgen_test_layout__GParamSpec ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpec > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( _GParamSpec ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpec > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . g_type_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( g_type_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . flags as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . value_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( value_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . owner_type as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( owner_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . _nick as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( _nick ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . _blurb as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( _blurb ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . qdata as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( qdata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . ref_count as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . param_id as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( param_id ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecClass { pub g_type_class : GTypeClass , pub value_type : GType , pub finalize : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec ) > , pub value_set_default : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value : * mut GValue ) > , pub value_validate : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value : * mut GValue ) -> gboolean > , pub values_cmp : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value1 : * const GValue , value2 : * const GValue ) -> gint > , pub value_is_valid : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value : * const GValue ) -> gboolean > , pub dummy : [ gpointer ; 3usize ] , } # [ test ] fn bindgen_test_layout__GParamSpecClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecClass > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . g_type_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( g_type_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . value_type as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( value_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . finalize as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . value_set_default as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( value_set_default ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . value_validate as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( value_validate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . values_cmp as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( values_cmp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . value_is_valid as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( value_is_valid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . dummy as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( dummy ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GParameter { pub name : * const gchar , pub value : GValue , } # [ test ] fn bindgen_test_layout__GParameter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParameter > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GParameter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParameter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParameter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParameter > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParameter ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParameter > ( ) ) ) . value as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GParameter ) , "::" , stringify ! ( value ) ) ) ; } extern "C" { pub fn g_param_spec_ref ( pspec : * mut GParamSpec ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_unref ( pspec : * mut GParamSpec ) ; } extern "C" { pub fn g_param_spec_sink ( pspec : * mut GParamSpec ) ; } extern "C" { pub fn g_param_spec_ref_sink ( pspec : * mut GParamSpec ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_get_qdata ( pspec : * mut GParamSpec , quark : GQuark ) -> gpointer ; } extern "C" { pub fn g_param_spec_set_qdata ( pspec : * mut GParamSpec , quark : GQuark , data : gpointer ) ; } extern "C" { pub fn g_param_spec_set_qdata_full ( pspec : * mut GParamSpec , quark : GQuark , data : gpointer , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_param_spec_steal_qdata ( pspec : * mut GParamSpec , quark : GQuark ) -> gpointer ; } extern "C" { pub fn g_param_spec_get_redirect_target ( pspec : * mut GParamSpec ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_value_set_default ( pspec : * mut GParamSpec , value : * mut GValue ) ; } extern "C" { pub fn g_param_value_defaults ( pspec : * mut GParamSpec , value : * const GValue ) -> gboolean ; } extern "C" { pub fn g_param_value_validate ( pspec : * mut GParamSpec , value : * mut GValue ) -> gboolean ; } extern "C" { pub fn g_param_value_is_valid ( pspec : * mut GParamSpec , value : * const GValue ) -> gboolean ; } extern "C" { pub fn g_param_value_convert ( pspec : * mut GParamSpec , src_value : * const GValue , dest_value : * mut GValue , strict_validation : gboolean ) -> gboolean ; } extern "C" { pub fn g_param_values_cmp ( pspec : * mut GParamSpec , value1 : * const GValue , value2 : * const GValue ) -> gint ; } extern "C" { pub fn g_param_spec_get_name ( pspec : * mut GParamSpec ) -> * const gchar ; } extern "C" { pub fn g_param_spec_get_nick ( pspec : * mut GParamSpec ) -> * const gchar ; } extern "C" { pub fn g_param_spec_get_blurb ( pspec : * mut GParamSpec ) -> * const gchar ; } extern "C" { pub fn g_value_set_param ( value : * mut GValue , param : * mut GParamSpec ) ; } extern "C" { pub fn g_value_get_param ( value : * const GValue ) -> * mut GParamSpec ; } extern "C" { pub fn g_value_dup_param ( value : * const GValue ) -> * mut GParamSpec ; } extern "C" { pub fn g_value_take_param ( value : * mut GValue , param : * mut GParamSpec ) ; } extern "C" { pub fn g_value_set_param_take_ownership ( value : * mut GValue , param : * mut GParamSpec ) ; } extern "C" { pub fn g_param_spec_get_default_value ( pspec : * mut GParamSpec ) -> * const GValue ; } extern "C" { pub fn g_param_spec_get_name_quark ( pspec : * mut GParamSpec ) -> GQuark ; } pub type GParamSpecTypeInfo = _GParamSpecTypeInfo ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecTypeInfo { pub instance_size : guint16 , pub n_preallocs : guint16 , pub instance_init : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec ) > , pub value_type : GType , pub finalize : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec ) > , pub value_set_default : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value : * mut GValue ) > , pub value_validate : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value : * mut GValue ) -> gboolean > , pub values_cmp : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value1 : * const GValue , value2 : * const GValue ) -> gint > , } # [ test ] fn bindgen_test_layout__GParamSpecTypeInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecTypeInfo > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecTypeInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecTypeInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecTypeInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . instance_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( instance_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . n_preallocs as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( n_preallocs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . instance_init as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( instance_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . value_type as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( value_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . finalize as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . value_set_default as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( value_set_default ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . value_validate as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( value_validate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . values_cmp as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( values_cmp ) ) ) ; } extern "C" { pub fn g_param_type_register_static ( name : * const gchar , pspec_info : * const GParamSpecTypeInfo ) -> GType ; } extern "C" { pub fn g_param_spec_is_valid_name ( name : * const gchar ) -> gboolean ; } extern "C" { pub fn _g_param_type_register_static_constant ( name : * const gchar , pspec_info : * const GParamSpecTypeInfo , opt_type : GType ) -> GType ; } extern "C" { pub fn g_param_spec_internal ( param_type : GType , name : * const gchar , nick : * const gchar , blurb : * const gchar , flags : GParamFlags ) -> gpointer ; } extern "C" { pub fn g_param_spec_pool_new ( type_prefixing : gboolean ) -> * mut GParamSpecPool ; } extern "C" { pub fn g_param_spec_pool_insert ( pool : * mut GParamSpecPool , pspec : * mut GParamSpec , owner_type : GType ) ; } extern "C" { pub fn g_param_spec_pool_remove ( pool : * mut GParamSpecPool , pspec : * mut GParamSpec ) ; } extern "C" { pub fn g_param_spec_pool_lookup ( pool : * mut GParamSpecPool , param_name : * const gchar , owner_type : GType , walk_ancestors : gboolean ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_pool_list_owned ( pool : * mut GParamSpecPool , owner_type : GType ) -> * mut GList ; } extern "C" { pub fn g_param_spec_pool_list ( pool : * mut GParamSpecPool , owner_type : GType , n_pspecs_p : * mut guint ) -> * mut * mut GParamSpec ; } extern "C" { pub fn g_param_spec_pool_free ( pool : * mut GParamSpecPool ) ; } pub type GClosure = _GClosure ; pub type GClosureNotifyData = _GClosureNotifyData ; pub type GCallback = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; pub type GClosureNotify = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer , closure : * mut GClosure ) > ; pub type GClosureMarshal = :: std :: option :: Option < unsafe extern "C" fn ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) > ; pub type GVaClosureMarshal = :: std :: option :: Option < unsafe extern "C" fn ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) > ; pub type GCClosure = _GCClosure ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GClosureNotifyData { pub data : gpointer , pub notify : GClosureNotify , } # [ test ] fn bindgen_test_layout__GClosureNotifyData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GClosureNotifyData > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GClosureNotifyData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GClosureNotifyData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GClosureNotifyData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GClosureNotifyData > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GClosureNotifyData ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GClosureNotifyData > ( ) ) ) . notify as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GClosureNotifyData ) , "::" , stringify ! ( notify ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GClosure { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > , pub marshal : :: std :: option :: Option < unsafe extern "C" fn ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) > , pub data : gpointer , pub notifiers : * mut GClosureNotifyData , } # [ test ] fn bindgen_test_layout__GClosure ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GClosure > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GClosure ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GClosure > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GClosure ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GClosure > ( ) ) ) . marshal as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GClosure ) , "::" , stringify ! ( marshal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GClosure > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GClosure ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GClosure > ( ) ) ) . notifiers as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GClosure ) , "::" , stringify ! ( notifiers ) ) ) ; } impl _GClosure { # [ inline ] pub fn ref_count ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 15u8 ) as u32 ) } } # [ inline ] pub fn set_ref_count ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 15u8 , val as u64 ) } } # [ inline ] pub fn meta_marshal_nouse ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 15usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_meta_marshal_nouse ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 15usize , 1u8 , val as u64 ) } } # [ inline ] pub fn n_guards ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 16usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_n_guards ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 16usize , 1u8 , val as u64 ) } } # [ inline ] pub fn n_fnotifiers ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 17usize , 2u8 ) as u32 ) } } # [ inline ] pub fn set_n_fnotifiers ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 17usize , 2u8 , val as u64 ) } } # [ inline ] pub fn n_inotifiers ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 19usize , 8u8 ) as u32 ) } } # [ inline ] pub fn set_n_inotifiers ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 19usize , 8u8 , val as u64 ) } } # [ inline ] pub fn in_inotify ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 27usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_in_inotify ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 27usize , 1u8 , val as u64 ) } } # [ inline ] pub fn floating ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 28usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_floating ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 28usize , 1u8 , val as u64 ) } } # [ inline ] pub fn derivative_flag ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 29usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_derivative_flag ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 29usize , 1u8 , val as u64 ) } } # [ inline ] pub fn in_marshal ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 30usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_in_marshal ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 30usize , 1u8 , val as u64 ) } } # [ inline ] pub fn is_invalid ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 31usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_is_invalid ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 31usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( ref_count : guint , meta_marshal_nouse : guint , n_guards : guint , n_fnotifiers : guint , n_inotifiers : guint , in_inotify : guint , floating : guint , derivative_flag : guint , in_marshal : guint , is_invalid : guint ) -> __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 15u8 , { let ref_count : u32 = unsafe { :: std :: mem :: transmute ( ref_count ) } ; ref_count as u64 } ) ; __bindgen_bitfield_unit . set ( 15usize , 1u8 , { let meta_marshal_nouse : u32 = unsafe { :: std :: mem :: transmute ( meta_marshal_nouse ) } ; meta_marshal_nouse as u64 } ) ; __bindgen_bitfield_unit . set ( 16usize , 1u8 , { let n_guards : u32 = unsafe { :: std :: mem :: transmute ( n_guards ) } ; n_guards as u64 } ) ; __bindgen_bitfield_unit . set ( 17usize , 2u8 , { let n_fnotifiers : u32 = unsafe { :: std :: mem :: transmute ( n_fnotifiers ) } ; n_fnotifiers as u64 } ) ; __bindgen_bitfield_unit . set ( 19usize , 8u8 , { let n_inotifiers : u32 = unsafe { :: std :: mem :: transmute ( n_inotifiers ) } ; n_inotifiers as u64 } ) ; __bindgen_bitfield_unit . set ( 27usize , 1u8 , { let in_inotify : u32 = unsafe { :: std :: mem :: transmute ( in_inotify ) } ; in_inotify as u64 } ) ; __bindgen_bitfield_unit . set ( 28usize , 1u8 , { let floating : u32 = unsafe { :: std :: mem :: transmute ( floating ) } ; floating as u64 } ) ; __bindgen_bitfield_unit . set ( 29usize , 1u8 , { let derivative_flag : u32 = unsafe { :: std :: mem :: transmute ( derivative_flag ) } ; derivative_flag as u64 } ) ; __bindgen_bitfield_unit . set ( 30usize , 1u8 , { let in_marshal : u32 = unsafe { :: std :: mem :: transmute ( in_marshal ) } ; in_marshal as u64 } ) ; __bindgen_bitfield_unit . set ( 31usize , 1u8 , { let is_invalid : u32 = unsafe { :: std :: mem :: transmute ( is_invalid ) } ; is_invalid as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCClosure { pub closure : GClosure , pub callback : gpointer , } # [ test ] fn bindgen_test_layout__GCClosure ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GCClosure > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GCClosure ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GCClosure > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GCClosure ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCClosure > ( ) ) ) . closure as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GCClosure ) , "::" , stringify ! ( closure ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCClosure > ( ) ) ) . callback as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GCClosure ) , "::" , stringify ! ( callback ) ) ) ; } extern "C" { pub fn g_cclosure_new ( callback_func : GCallback , user_data : gpointer , destroy_data : GClosureNotify ) -> * mut GClosure ; } extern "C" { pub fn g_cclosure_new_swap ( callback_func : GCallback , user_data : gpointer , destroy_data : GClosureNotify ) -> * mut GClosure ; } extern "C" { pub fn g_signal_type_cclosure_new ( itype : GType , struct_offset : guint ) -> * mut GClosure ; } extern "C" { pub fn g_closure_ref ( closure : * mut GClosure ) -> * mut GClosure ; } extern "C" { pub fn g_closure_sink ( closure : * mut GClosure ) ; } extern "C" { pub fn g_closure_unref ( closure : * mut GClosure ) ; } extern "C" { pub fn g_closure_new_simple ( sizeof_closure : guint , data : gpointer ) -> * mut GClosure ; } extern "C" { pub fn g_closure_add_finalize_notifier ( closure : * mut GClosure , notify_data : gpointer , notify_func : GClosureNotify ) ; } extern "C" { pub fn g_closure_remove_finalize_notifier ( closure : * mut GClosure , notify_data : gpointer , notify_func : GClosureNotify ) ; } extern "C" { pub fn g_closure_add_invalidate_notifier ( closure : * mut GClosure , notify_data : gpointer , notify_func : GClosureNotify ) ; } extern "C" { pub fn g_closure_remove_invalidate_notifier ( closure : * mut GClosure , notify_data : gpointer , notify_func : GClosureNotify ) ; } extern "C" { pub fn g_closure_add_marshal_guards ( closure : * mut GClosure , pre_marshal_data : gpointer , pre_marshal_notify : GClosureNotify , post_marshal_data : gpointer , post_marshal_notify : GClosureNotify ) ; } extern "C" { pub fn g_closure_set_marshal ( closure : * mut GClosure , marshal : GClosureMarshal ) ; } extern "C" { pub fn g_closure_set_meta_marshal ( closure : * mut GClosure , marshal_data : gpointer , meta_marshal : GClosureMarshal ) ; } extern "C" { pub fn g_closure_invalidate ( closure : * mut GClosure ) ; } extern "C" { pub fn g_closure_invoke ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_generic ( closure : * mut GClosure , return_gvalue : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_generic_va ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args_list : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__VOID ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__VOIDv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__BOOLEAN ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__BOOLEANv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__CHAR ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__CHARv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__UCHAR ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__UCHARv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__INT ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__INTv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__UINT ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__UINTv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__LONG ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__LONGv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__ULONG ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__ULONGv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__ENUM ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__ENUMv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__FLAGS ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__FLAGSv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__FLOAT ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__FLOATv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__DOUBLE ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__DOUBLEv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__STRING ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__STRINGv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__PARAM ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__PARAMv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__BOXED ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__BOXEDv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__POINTER ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__POINTERv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__OBJECT ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__OBJECTv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__VARIANT ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__VARIANTv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__UINT_POINTER ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__UINT_POINTERv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_BOOLEAN__FLAGS ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_BOOLEAN__FLAGSv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_STRING__OBJECT_POINTER ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_STRING__OBJECT_POINTERv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_BOOLEAN__BOXED_BOXED ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } pub type GSignalQuery = _GSignalQuery ; pub type GSignalInvocationHint = _GSignalInvocationHint ; pub type GSignalCMarshaller = GClosureMarshal ; pub type GSignalCVaMarshaller = GVaClosureMarshal ; pub type GSignalEmissionHook = :: std :: option :: Option < unsafe extern "C" fn ( ihint : * mut GSignalInvocationHint , n_param_values : guint , param_values : * const GValue , data : gpointer ) -> gboolean > ; pub type GSignalAccumulator = :: std :: option :: Option < unsafe extern "C" fn ( ihint : * mut GSignalInvocationHint , return_accu : * mut GValue , handler_return : * const GValue , data : gpointer ) -> gboolean > ; pub const GSignalFlags_G_SIGNAL_RUN_FIRST : GSignalFlags = 1 ; pub const GSignalFlags_G_SIGNAL_RUN_LAST : GSignalFlags = 2 ; pub const GSignalFlags_G_SIGNAL_RUN_CLEANUP : GSignalFlags = 4 ; pub const GSignalFlags_G_SIGNAL_NO_RECURSE : GSignalFlags = 8 ; pub const GSignalFlags_G_SIGNAL_DETAILED : GSignalFlags = 16 ; pub const GSignalFlags_G_SIGNAL_ACTION : GSignalFlags = 32 ; pub const GSignalFlags_G_SIGNAL_NO_HOOKS : GSignalFlags = 64 ; pub const GSignalFlags_G_SIGNAL_MUST_COLLECT : GSignalFlags = 128 ; pub const GSignalFlags_G_SIGNAL_DEPRECATED : GSignalFlags = 256 ; pub const GSignalFlags_G_SIGNAL_ACCUMULATOR_FIRST_RUN : GSignalFlags = 131072 ; pub type GSignalFlags = u32 ; pub const GConnectFlags_G_CONNECT_DEFAULT : GConnectFlags = 0 ; pub const GConnectFlags_G_CONNECT_AFTER : GConnectFlags = 1 ; pub const GConnectFlags_G_CONNECT_SWAPPED : GConnectFlags = 2 ; pub type GConnectFlags = u32 ; pub const GSignalMatchType_G_SIGNAL_MATCH_ID : GSignalMatchType = 1 ; pub const GSignalMatchType_G_SIGNAL_MATCH_DETAIL : GSignalMatchType = 2 ; pub const GSignalMatchType_G_SIGNAL_MATCH_CLOSURE : GSignalMatchType = 4 ; pub const GSignalMatchType_G_SIGNAL_MATCH_FUNC : GSignalMatchType = 8 ; pub const GSignalMatchType_G_SIGNAL_MATCH_DATA : GSignalMatchType = 16 ; pub const GSignalMatchType_G_SIGNAL_MATCH_UNBLOCKED : GSignalMatchType = 32 ; pub type GSignalMatchType = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSignalInvocationHint { pub signal_id : guint , pub detail : GQuark , pub run_type : GSignalFlags , } # [ test ] fn bindgen_test_layout__GSignalInvocationHint ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSignalInvocationHint > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _GSignalInvocationHint ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSignalInvocationHint > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GSignalInvocationHint ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalInvocationHint > ( ) ) ) . signal_id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalInvocationHint ) , "::" , stringify ! ( signal_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalInvocationHint > ( ) ) ) . detail as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalInvocationHint ) , "::" , stringify ! ( detail ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalInvocationHint > ( ) ) ) . run_type as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalInvocationHint ) , "::" , stringify ! ( run_type ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSignalQuery { pub signal_id : guint , pub signal_name : * const gchar , pub itype : GType , pub signal_flags : GSignalFlags , pub return_type : GType , pub n_params : guint , pub param_types : * const GType , } # [ test ] fn bindgen_test_layout__GSignalQuery ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSignalQuery > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GSignalQuery ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSignalQuery > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSignalQuery ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . signal_id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( signal_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . signal_name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( signal_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . itype as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( itype ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . signal_flags as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( signal_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . return_type as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( return_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . n_params as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( n_params ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . param_types as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( param_types ) ) ) ; } extern "C" { pub fn g_signal_newv ( signal_name : * const gchar , itype : GType , signal_flags : GSignalFlags , class_closure : * mut GClosure , accumulator : GSignalAccumulator , accu_data : gpointer , c_marshaller : GSignalCMarshaller , return_type : GType , n_params : guint , param_types : * mut GType ) -> guint ; } extern "C" { pub fn g_signal_new_valist ( signal_name : * const gchar , itype : GType , signal_flags : GSignalFlags , class_closure : * mut GClosure , accumulator : GSignalAccumulator , accu_data : gpointer , c_marshaller : GSignalCMarshaller , return_type : GType , n_params : guint , args : * mut __va_list_tag ) -> guint ; } extern "C" { pub fn g_signal_new ( signal_name : * const gchar , itype : GType , signal_flags : GSignalFlags , class_offset : guint , accumulator : GSignalAccumulator , accu_data : gpointer , c_marshaller : GSignalCMarshaller , return_type : GType , n_params : guint , ... ) -> guint ; } extern "C" { pub fn g_signal_new_class_handler ( signal_name : * const gchar , itype : GType , signal_flags : GSignalFlags , class_handler : GCallback , accumulator : GSignalAccumulator , accu_data : gpointer , c_marshaller : GSignalCMarshaller , return_type : GType , n_params : guint , ... ) -> guint ; } extern "C" { pub fn g_signal_set_va_marshaller ( signal_id : guint , instance_type : GType , va_marshaller : GSignalCVaMarshaller ) ; } extern "C" { pub fn g_signal_emitv ( instance_and_params : * const GValue , signal_id : guint , detail : GQuark , return_value : * mut GValue ) ; } extern "C" { pub fn g_signal_emit_valist ( instance : gpointer , signal_id : guint , detail : GQuark , var_args : * mut __va_list_tag ) ; } extern "C" { pub fn g_signal_emit ( instance : gpointer , signal_id : guint , detail : GQuark , ... ) ; } extern "C" { pub fn g_signal_emit_by_name ( instance : gpointer , detailed_signal : * const gchar , ... ) ; } extern "C" { pub fn g_signal_lookup ( name : * const gchar , itype : GType ) -> guint ; } extern "C" { pub fn g_signal_name ( signal_id : guint ) -> * const gchar ; } extern "C" { pub fn g_signal_query ( signal_id : guint , query : * mut GSignalQuery ) ; } extern "C" { pub fn g_signal_list_ids ( itype : GType , n_ids : * mut guint ) -> * mut guint ; } extern "C" { pub fn g_signal_is_valid_name ( name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_signal_parse_name ( detailed_signal : * const gchar , itype : GType , signal_id_p : * mut guint , detail_p : * mut GQuark , force_detail_quark : gboolean ) -> gboolean ; } extern "C" { pub fn g_signal_get_invocation_hint ( instance : gpointer ) -> * mut GSignalInvocationHint ; } extern "C" { pub fn g_signal_stop_emission ( instance : gpointer , signal_id : guint , detail : GQuark ) ; } extern "C" { pub fn g_signal_stop_emission_by_name ( instance : gpointer , detailed_signal : * const gchar ) ; } extern "C" { pub fn g_signal_add_emission_hook ( signal_id : guint , detail : GQuark , hook_func : GSignalEmissionHook , hook_data : gpointer , data_destroy : GDestroyNotify ) -> gulong ; } extern "C" { pub fn g_signal_remove_emission_hook ( signal_id : guint , hook_id : gulong ) ; } extern "C" { pub fn g_signal_has_handler_pending ( instance : gpointer , signal_id : guint , detail : GQuark , may_be_blocked : gboolean ) -> gboolean ; } extern "C" { pub fn g_signal_connect_closure_by_id ( instance : gpointer , signal_id : guint , detail : GQuark , closure : * mut GClosure , after : gboolean ) -> gulong ; } extern "C" { pub fn g_signal_connect_closure ( instance : gpointer , detailed_signal : * const gchar , closure : * mut GClosure , after : gboolean ) -> gulong ; } extern "C" { pub fn g_signal_connect_data ( instance : gpointer , detailed_signal : * const gchar , c_handler : GCallback , data : gpointer , destroy_data : GClosureNotify , connect_flags : GConnectFlags ) -> gulong ; } extern "C" { pub fn g_signal_handler_block ( instance : gpointer , handler_id : gulong ) ; } extern "C" { pub fn g_signal_handler_unblock ( instance : gpointer , handler_id : gulong ) ; } extern "C" { pub fn g_signal_handler_disconnect ( instance : gpointer , handler_id : gulong ) ; } extern "C" { pub fn g_signal_handler_is_connected ( instance : gpointer , handler_id : gulong ) -> gboolean ; } extern "C" { pub fn g_signal_handler_find ( instance : gpointer , mask : GSignalMatchType , signal_id : guint , detail : GQuark , closure : * mut GClosure , func : gpointer , data : gpointer ) -> gulong ; } extern "C" { pub fn g_signal_handlers_block_matched ( instance : gpointer , mask : GSignalMatchType , signal_id : guint , detail : GQuark , closure : * mut GClosure , func : gpointer , data : gpointer ) -> guint ; } extern "C" { pub fn g_signal_handlers_unblock_matched ( instance : gpointer , mask : GSignalMatchType , signal_id : guint , detail : GQuark , closure : * mut GClosure , func : gpointer , data : gpointer ) -> guint ; } extern "C" { pub fn g_signal_handlers_disconnect_matched ( instance : gpointer , mask : GSignalMatchType , signal_id : guint , detail : GQuark , closure : * mut GClosure , func : gpointer , data : gpointer ) -> guint ; } extern "C" { pub fn g_clear_signal_handler ( handler_id_ptr : * mut gulong , instance : gpointer ) ; } extern "C" { pub fn g_signal_override_class_closure ( signal_id : guint , instance_type : GType , class_closure : * mut GClosure ) ; } extern "C" { pub fn g_signal_override_class_handler ( signal_name : * const gchar , instance_type : GType , class_handler : GCallback ) ; } extern "C" { pub fn g_signal_chain_from_overridden ( instance_and_params : * const GValue , return_value : * mut GValue ) ; } extern "C" { pub fn g_signal_chain_from_overridden_handler ( instance : gpointer , ... ) ; } extern "C" { pub fn g_signal_accumulator_true_handled ( ihint : * mut GSignalInvocationHint , return_accu : * mut GValue , handler_return : * const GValue , dummy : gpointer ) -> gboolean ; } extern "C" { pub fn g_signal_accumulator_first_wins ( ihint : * mut GSignalInvocationHint , return_accu : * mut GValue , handler_return : * const GValue , dummy : gpointer ) -> gboolean ; } extern "C" { pub fn g_signal_handlers_destroy ( instance : gpointer ) ; } extern "C" { pub fn _g_signals_destroy ( itype : GType ) ; } extern "C" { pub fn g_date_get_type ( ) -> GType ; } extern "C" { pub fn g_strv_get_type ( ) -> GType ; } extern "C" { pub fn g_gstring_get_type ( ) -> GType ; } extern "C" { pub fn g_hash_table_get_type ( ) -> GType ; } extern "C" { pub fn g_array_get_type ( ) -> GType ; } extern "C" { pub fn g_byte_array_get_type ( ) -> GType ; } extern "C" { pub fn g_ptr_array_get_type ( ) -> GType ; } extern "C" { pub fn g_bytes_get_type ( ) -> GType ; } extern "C" { pub fn g_variant_type_get_gtype ( ) -> GType ; } extern "C" { pub fn g_regex_get_type ( ) -> GType ; } extern "C" { pub fn g_match_info_get_type ( ) -> GType ; } extern "C" { pub fn g_error_get_type ( ) -> GType ; } extern "C" { pub fn g_date_time_get_type ( ) -> GType ; } extern "C" { pub fn g_time_zone_get_type ( ) -> GType ; } extern "C" { pub fn g_io_channel_get_type ( ) -> GType ; } extern "C" { pub fn g_io_condition_get_type ( ) -> GType ; } extern "C" { pub fn g_variant_builder_get_type ( ) -> GType ; } extern "C" { pub fn g_variant_dict_get_type ( ) -> GType ; } extern "C" { pub fn g_key_file_get_type ( ) -> GType ; } extern "C" { pub fn g_main_loop_get_type ( ) -> GType ; } extern "C" { pub fn g_main_context_get_type ( ) -> GType ; } extern "C" { pub fn g_source_get_type ( ) -> GType ; } extern "C" { pub fn g_pollfd_get_type ( ) -> GType ; } extern "C" { pub fn g_thread_get_type ( ) -> GType ; } extern "C" { pub fn g_checksum_get_type ( ) -> GType ; } extern "C" { pub fn g_markup_parse_context_get_type ( ) -> GType ; } extern "C" { pub fn g_mapped_file_get_type ( ) -> GType ; } extern "C" { pub fn g_option_group_get_type ( ) -> GType ; } extern "C" { pub fn g_uri_get_type ( ) -> GType ; } extern "C" { pub fn g_tree_get_type ( ) -> GType ; } extern "C" { pub fn g_pattern_spec_get_type ( ) -> GType ; } extern "C" { pub fn g_bookmark_file_get_type ( ) -> GType ; } extern "C" { pub fn g_hmac_get_type ( ) -> GType ; } extern "C" { pub fn g_dir_get_type ( ) -> GType ; } extern "C" { pub fn g_rand_get_type ( ) -> GType ; } extern "C" { pub fn g_strv_builder_get_type ( ) -> GType ; } extern "C" { pub fn g_variant_get_gtype ( ) -> GType ; } pub type GBoxedCopyFunc = :: std :: option :: Option < unsafe extern "C" fn ( boxed : gpointer ) -> gpointer > ; pub type GBoxedFreeFunc = :: std :: option :: Option < unsafe extern "C" fn ( boxed : gpointer ) > ; extern "C" { pub fn g_boxed_copy ( boxed_type : GType , src_boxed : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_boxed_free ( boxed_type : GType , boxed : gpointer ) ; } extern "C" { pub fn g_value_set_boxed ( value : * mut GValue , v_boxed : gconstpointer ) ; } extern "C" { pub fn g_value_set_static_boxed ( value : * mut GValue , v_boxed : gconstpointer ) ; } extern "C" { pub fn g_value_take_boxed ( value : * mut GValue , v_boxed : gconstpointer ) ; } extern "C" { pub fn g_value_set_boxed_take_ownership ( value : * mut GValue , v_boxed : gconstpointer ) ; } extern "C" { pub fn g_value_get_boxed ( value : * const GValue ) -> gpointer ; } extern "C" { pub fn g_value_dup_boxed ( value : * const GValue ) -> gpointer ; } extern "C" { pub fn g_boxed_type_register_static ( name : * const gchar , boxed_copy : GBoxedCopyFunc , boxed_free : GBoxedFreeFunc ) -> GType ; } extern "C" { pub fn g_closure_get_type ( ) -> GType ; } extern "C" { pub fn g_value_get_type ( ) -> GType ; } pub type GObject = _GObject ; pub type GObjectClass = _GObjectClass ; pub type GInitiallyUnowned = _GObject ; pub type GInitiallyUnownedClass = _GObjectClass ; pub type GObjectConstructParam = _GObjectConstructParam ; pub type GObjectGetPropertyFunc = :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject , property_id : guint , value : * mut GValue , pspec : * mut GParamSpec ) > ; pub type GObjectSetPropertyFunc = :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject , property_id : guint , value : * const GValue , pspec : * mut GParamSpec ) > ; pub type GObjectFinalizeFunc = :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject ) > ; pub type GWeakNotify = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer , where_the_object_was : * mut GObject ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GObject { pub g_type_instance : GTypeInstance , pub ref_count : guint , pub qdata : * mut GData , } # [ test ] fn bindgen_test_layout__GObject ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GObject > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GObject ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GObject > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GObject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObject > ( ) ) ) . g_type_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GObject ) , "::" , stringify ! ( g_type_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObject > ( ) ) ) . ref_count as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GObject ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObject > ( ) ) ) . qdata as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GObject ) , "::" , stringify ! ( qdata ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GObjectClass { pub g_type_class : GTypeClass , pub construct_properties : * mut GSList , pub constructor : :: std :: option :: Option < unsafe extern "C" fn ( type_ : GType , n_construct_properties : guint , construct_properties : * mut GObjectConstructParam ) -> * mut GObject > , pub set_property : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject , property_id : guint , value : * const GValue , pspec : * mut GParamSpec ) > , pub get_property : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject , property_id : guint , value : * mut GValue , pspec : * mut GParamSpec ) > , pub dispose : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject ) > , pub finalize : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject ) > , pub dispatch_properties_changed : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject , n_pspecs : guint , pspecs : * mut * mut GParamSpec ) > , pub notify : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject , pspec : * mut GParamSpec ) > , pub constructed : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject ) > , pub flags : gsize , pub n_construct_properties : gsize , pub pspecs : gpointer , pub n_pspecs : gsize , pub pdummy : [ gpointer ; 3usize ] , } # [ test ] fn bindgen_test_layout__GObjectClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GObjectClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GObjectClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GObjectClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GObjectClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . g_type_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( g_type_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . construct_properties as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( construct_properties ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . constructor as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( constructor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . set_property as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( set_property ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . get_property as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( get_property ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . dispose as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( dispose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . finalize as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . dispatch_properties_changed as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( dispatch_properties_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . notify as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( notify ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . constructed as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( constructed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . flags as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . n_construct_properties as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( n_construct_properties ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . pspecs as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( pspecs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . n_pspecs as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( n_pspecs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . pdummy as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( pdummy ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GObjectConstructParam { pub pspec : * mut GParamSpec , pub value : * mut GValue , } # [ test ] fn bindgen_test_layout__GObjectConstructParam ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GObjectConstructParam > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GObjectConstructParam ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GObjectConstructParam > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GObjectConstructParam ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectConstructParam > ( ) ) ) . pspec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectConstructParam ) , "::" , stringify ! ( pspec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectConstructParam > ( ) ) ) . value as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectConstructParam ) , "::" , stringify ! ( value ) ) ) ; } extern "C" { pub fn g_initially_unowned_get_type ( ) -> GType ; } extern "C" { pub fn g_object_class_install_property ( oclass : * mut GObjectClass , property_id : guint , pspec : * mut GParamSpec ) ; } extern "C" { pub fn g_object_class_find_property ( oclass : * mut GObjectClass , property_name : * const gchar ) -> * mut GParamSpec ; } extern "C" { pub fn g_object_class_list_properties ( oclass : * mut GObjectClass , n_properties : * mut guint ) -> * mut * mut GParamSpec ; } extern "C" { pub fn g_object_class_override_property ( oclass : * mut GObjectClass , property_id : guint , name : * const gchar ) ; } extern "C" { pub fn g_object_class_install_properties ( oclass : * mut GObjectClass , n_pspecs : guint , pspecs : * mut * mut GParamSpec ) ; } extern "C" { pub fn g_object_interface_install_property ( g_iface : gpointer , pspec : * mut GParamSpec ) ; } extern "C" { pub fn g_object_interface_find_property ( g_iface : gpointer , property_name : * const gchar ) -> * mut GParamSpec ; } extern "C" { pub fn g_object_interface_list_properties ( g_iface : gpointer , n_properties_p : * mut guint ) -> * mut * mut GParamSpec ; } extern "C" { pub fn g_object_get_type ( ) -> GType ; } extern "C" { pub fn g_object_new ( object_type : GType , first_property_name : * const gchar , ... ) -> gpointer ; } extern "C" { pub fn g_object_new_with_properties ( object_type : GType , n_properties : guint , names : * mut * const :: std :: os :: raw :: c_char , values : * const GValue ) -> * mut GObject ; } extern "C" { pub fn g_object_newv ( object_type : GType , n_parameters : guint , parameters : * mut GParameter ) -> gpointer ; } extern "C" { pub fn g_object_new_valist ( object_type : GType , first_property_name : * const gchar , var_args : * mut __va_list_tag ) -> * mut GObject ; } extern "C" { pub fn g_object_set ( object : gpointer , first_property_name : * const gchar , ... ) ; } extern "C" { pub fn g_object_get ( object : gpointer , first_property_name : * const gchar , ... ) ; } extern "C" { pub fn g_object_connect ( object : gpointer , signal_spec : * const gchar , ... ) -> gpointer ; } extern "C" { pub fn g_object_disconnect ( object : gpointer , signal_spec : * const gchar , ... ) ; } extern "C" { pub fn g_object_setv ( object : * mut GObject , n_properties : guint , names : * mut * const gchar , values : * const GValue ) ; } extern "C" { pub fn g_object_set_valist ( object : * mut GObject , first_property_name : * const gchar , var_args : * mut __va_list_tag ) ; } extern "C" { pub fn g_object_getv ( object : * mut GObject , n_properties : guint , names : * mut * const gchar , values : * mut GValue ) ; } extern "C" { pub fn g_object_get_valist ( object : * mut GObject , first_property_name : * const gchar , var_args : * mut __va_list_tag ) ; } extern "C" { pub fn g_object_set_property ( object : * mut GObject , property_name : * const gchar , value : * const GValue ) ; } extern "C" { pub fn g_object_get_property ( object : * mut GObject , property_name : * const gchar , value : * mut GValue ) ; } extern "C" { pub fn g_object_freeze_notify ( object : * mut GObject ) ; } extern "C" { pub fn g_object_notify ( object : * mut GObject , property_name : * const gchar ) ; } extern "C" { pub fn g_object_notify_by_pspec ( object : * mut GObject , pspec : * mut GParamSpec ) ; } extern "C" { pub fn g_object_thaw_notify ( object : * mut GObject ) ; } extern "C" { pub fn g_object_is_floating ( object : gpointer ) -> gboolean ; } extern "C" { pub fn g_object_ref_sink ( object : gpointer ) -> gpointer ; } extern "C" { pub fn g_object_take_ref ( object : gpointer ) -> gpointer ; } extern "C" { pub fn g_object_ref ( object : gpointer ) -> gpointer ; } extern "C" { pub fn g_object_unref ( object : gpointer ) ; } extern "C" { pub fn g_object_weak_ref ( object : * mut GObject , notify : GWeakNotify , data : gpointer ) ; } extern "C" { pub fn g_object_weak_unref ( object : * mut GObject , notify : GWeakNotify , data : gpointer ) ; } extern "C" { pub fn g_object_add_weak_pointer ( object : * mut GObject , weak_pointer_location : * mut gpointer ) ; } extern "C" { pub fn g_object_remove_weak_pointer ( object : * mut GObject , weak_pointer_location : * mut gpointer ) ; } pub type GToggleNotify = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer , object : * mut GObject , is_last_ref : gboolean ) > ; extern "C" { pub fn g_object_add_toggle_ref ( object : * mut GObject , notify : GToggleNotify , data : gpointer ) ; } extern "C" { pub fn g_object_remove_toggle_ref ( object : * mut GObject , notify : GToggleNotify , data : gpointer ) ; } extern "C" { pub fn g_object_get_qdata ( object : * mut GObject , quark : GQuark ) -> gpointer ; } extern "C" { pub fn g_object_set_qdata ( object : * mut GObject , quark : GQuark , data : gpointer ) ; } extern "C" { pub fn g_object_set_qdata_full ( object : * mut GObject , quark : GQuark , data : gpointer , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_object_steal_qdata ( object : * mut GObject , quark : GQuark ) -> gpointer ; } extern "C" { pub fn g_object_dup_qdata ( object : * mut GObject , quark : GQuark , dup_func : GDuplicateFunc , user_data : gpointer ) -> gpointer ; } extern "C" { pub fn g_object_replace_qdata ( object : * mut GObject , quark : GQuark , oldval : gpointer , newval : gpointer , destroy : GDestroyNotify , old_destroy : * mut GDestroyNotify ) -> gboolean ; } extern "C" { pub fn g_object_get_data ( object : * mut GObject , key : * const gchar ) -> gpointer ; } extern "C" { pub fn g_object_set_data ( object : * mut GObject , key : * const gchar , data : gpointer ) ; } extern "C" { pub fn g_object_set_data_full ( object : * mut GObject , key : * const gchar , data : gpointer , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_object_steal_data ( object : * mut GObject , key : * const gchar ) -> gpointer ; } extern "C" { pub fn g_object_dup_data ( object : * mut GObject , key : * const gchar , dup_func : GDuplicateFunc , user_data : gpointer ) -> gpointer ; } extern "C" { pub fn g_object_replace_data ( object : * mut GObject , key : * const gchar , oldval : gpointer , newval : gpointer , destroy : GDestroyNotify , old_destroy : * mut GDestroyNotify ) -> gboolean ; } extern "C" { pub fn g_object_watch_closure ( object : * mut GObject , closure : * mut GClosure ) ; } extern "C" { pub fn g_cclosure_new_object ( callback_func : GCallback , object : * mut GObject ) -> * mut GClosure ; } extern "C" { pub fn g_cclosure_new_object_swap ( callback_func : GCallback , object : * mut GObject ) -> * mut GClosure ; } extern "C" { pub fn g_closure_new_object ( sizeof_closure : guint , object : * mut GObject ) -> * mut GClosure ; } extern "C" { pub fn g_value_set_object ( value : * mut GValue , v_object : gpointer ) ; } extern "C" { pub fn g_value_get_object ( value : * const GValue ) -> gpointer ; } extern "C" { pub fn g_value_dup_object ( value : * const GValue ) -> gpointer ; } extern "C" { pub fn g_signal_connect_object ( instance : gpointer , detailed_signal : * const gchar , c_handler : GCallback , gobject : gpointer , connect_flags : GConnectFlags ) -> gulong ; } extern "C" { pub fn g_object_force_floating ( object : * mut GObject ) ; } extern "C" { pub fn g_object_run_dispose ( object : * mut GObject ) ; } extern "C" { pub fn g_value_take_object ( value : * mut GValue , v_object : gpointer ) ; } extern "C" { pub fn g_value_set_object_take_ownership ( value : * mut GValue , v_object : gpointer ) ; } extern "C" { pub fn g_object_compat_control ( what : gsize , data : gpointer ) -> gsize ; } extern "C" { pub fn g_clear_object ( object_ptr : * mut * mut GObject ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct GWeakRef { pub priv_ : GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) { pub p : gpointer , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) ) , "::" , stringify ! ( p ) ) ) ; } # [ test ] fn bindgen_test_layout_GWeakRef ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GWeakRef > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( GWeakRef ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GWeakRef > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( GWeakRef ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GWeakRef > ( ) ) ) . priv_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GWeakRef ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_weak_ref_init ( weak_ref : * mut GWeakRef , object : gpointer ) ; } extern "C" { pub fn g_weak_ref_clear ( weak_ref : * mut GWeakRef ) ; } extern "C" { pub fn g_weak_ref_get ( weak_ref : * mut GWeakRef ) -> gpointer ; } extern "C" { pub fn g_weak_ref_set ( weak_ref : * mut GWeakRef , object : gpointer ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBinding { _unused : [ u8 ; 0 ] , } pub type GBinding = _GBinding ; pub type GBindingTransformFunc = :: std :: option :: Option < unsafe extern "C" fn ( binding : * mut GBinding , from_value : * const GValue , to_value : * mut GValue , user_data : gpointer ) -> gboolean > ; pub const GBindingFlags_G_BINDING_DEFAULT : GBindingFlags = 0 ; pub const GBindingFlags_G_BINDING_BIDIRECTIONAL : GBindingFlags = 1 ; pub const GBindingFlags_G_BINDING_SYNC_CREATE : GBindingFlags = 2 ; pub const GBindingFlags_G_BINDING_INVERT_BOOLEAN : GBindingFlags = 4 ; pub type GBindingFlags = u32 ; extern "C" { pub fn g_binding_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_binding_get_type ( ) -> GType ; } extern "C" { pub fn g_binding_get_flags ( binding : * mut GBinding ) -> GBindingFlags ; } extern "C" { pub fn g_binding_get_source ( binding : * mut GBinding ) -> * mut GObject ; } extern "C" { pub fn g_binding_dup_source ( binding : * mut GBinding ) -> * mut GObject ; } extern "C" { pub fn g_binding_get_target ( binding : * mut GBinding ) -> * mut GObject ; } extern "C" { pub fn g_binding_dup_target ( binding : * mut GBinding ) -> * mut GObject ; } extern "C" { pub fn g_binding_get_source_property ( binding : * mut GBinding ) -> * const gchar ; } extern "C" { pub fn g_binding_get_target_property ( binding : * mut GBinding ) -> * const gchar ; } extern "C" { pub fn g_binding_unbind ( binding : * mut GBinding ) ; } extern "C" { pub fn g_object_bind_property ( source : gpointer , source_property : * const gchar , target : gpointer , target_property : * const gchar , flags : GBindingFlags ) -> * mut GBinding ; } extern "C" { pub fn g_object_bind_property_full ( source : gpointer , source_property : * const gchar , target : gpointer , target_property : * const gchar , flags : GBindingFlags , transform_to : GBindingTransformFunc , transform_from : GBindingTransformFunc , user_data : gpointer , notify : GDestroyNotify ) -> * mut GBinding ; } extern "C" { pub fn g_object_bind_property_with_closures ( source : gpointer , source_property : * const gchar , target : gpointer , target_property : * const gchar , flags : GBindingFlags , transform_to : * mut GClosure , transform_from : * mut GClosure ) -> * mut GBinding ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBindingGroup { _unused : [ u8 ; 0 ] , } pub type GBindingGroup = _GBindingGroup ; extern "C" { pub fn g_binding_group_get_type ( ) -> GType ; } extern "C" { pub fn g_binding_group_new ( ) -> * mut GBindingGroup ; } extern "C" { pub fn g_binding_group_dup_source ( self_ : * mut GBindingGroup ) -> gpointer ; } extern "C" { pub fn g_binding_group_set_source ( self_ : * mut GBindingGroup , source : gpointer ) ; } extern "C" { pub fn g_binding_group_bind ( self_ : * mut GBindingGroup , source_property : * const gchar , target : gpointer , target_property : * const gchar , flags : GBindingFlags ) ; } extern "C" { pub fn g_binding_group_bind_full ( self_ : * mut GBindingGroup , source_property : * const gchar , target : gpointer , target_property : * const gchar , flags : GBindingFlags , transform_to : GBindingTransformFunc , transform_from : GBindingTransformFunc , user_data : gpointer , user_data_destroy : GDestroyNotify ) ; } extern "C" { pub fn g_binding_group_bind_with_closures ( self_ : * mut GBindingGroup , source_property : * const gchar , target : gpointer , target_property : * const gchar , flags : GBindingFlags , transform_to : * mut GClosure , transform_from : * mut GClosure ) ; } pub type GEnumClass = _GEnumClass ; pub type GFlagsClass = _GFlagsClass ; pub type GEnumValue = _GEnumValue ; pub type GFlagsValue = _GFlagsValue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEnumClass { pub g_type_class : GTypeClass , pub minimum : gint , pub maximum : gint , pub n_values : guint , pub values : * mut GEnumValue , } # [ test ] fn bindgen_test_layout__GEnumClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GEnumClass > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GEnumClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GEnumClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GEnumClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumClass > ( ) ) ) . g_type_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumClass ) , "::" , stringify ! ( g_type_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumClass > ( ) ) ) . minimum as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumClass ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumClass > ( ) ) ) . maximum as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumClass ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumClass > ( ) ) ) . n_values as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumClass ) , "::" , stringify ! ( n_values ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumClass > ( ) ) ) . values as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumClass ) , "::" , stringify ! ( values ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFlagsClass { pub g_type_class : GTypeClass , pub mask : guint , pub n_values : guint , pub values : * mut GFlagsValue , } # [ test ] fn bindgen_test_layout__GFlagsClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFlagsClass > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GFlagsClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFlagsClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFlagsClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsClass > ( ) ) ) . g_type_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsClass ) , "::" , stringify ! ( g_type_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsClass > ( ) ) ) . mask as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsClass ) , "::" , stringify ! ( mask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsClass > ( ) ) ) . n_values as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsClass ) , "::" , stringify ! ( n_values ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsClass > ( ) ) ) . values as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsClass ) , "::" , stringify ! ( values ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEnumValue { pub value : gint , pub value_name : * const gchar , pub value_nick : * const gchar , } # [ test ] fn bindgen_test_layout__GEnumValue ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GEnumValue > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GEnumValue ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GEnumValue > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GEnumValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumValue > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumValue ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumValue > ( ) ) ) . value_name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumValue ) , "::" , stringify ! ( value_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumValue > ( ) ) ) . value_nick as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumValue ) , "::" , stringify ! ( value_nick ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFlagsValue { pub value : guint , pub value_name : * const gchar , pub value_nick : * const gchar , } # [ test ] fn bindgen_test_layout__GFlagsValue ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFlagsValue > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GFlagsValue ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFlagsValue > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFlagsValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsValue > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsValue ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsValue > ( ) ) ) . value_name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsValue ) , "::" , stringify ! ( value_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsValue > ( ) ) ) . value_nick as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsValue ) , "::" , stringify ! ( value_nick ) ) ) ; } extern "C" { pub fn g_enum_get_value ( enum_class : * mut GEnumClass , value : gint ) -> * mut GEnumValue ; } extern "C" { pub fn g_enum_get_value_by_name ( enum_class : * mut GEnumClass , name : * const gchar ) -> * mut GEnumValue ; } extern "C" { pub fn g_enum_get_value_by_nick ( enum_class : * mut GEnumClass , nick : * const gchar ) -> * mut GEnumValue ; } extern "C" { pub fn g_flags_get_first_value ( flags_class : * mut GFlagsClass , value : guint ) -> * mut GFlagsValue ; } extern "C" { pub fn g_flags_get_value_by_name ( flags_class : * mut GFlagsClass , name : * const gchar ) -> * mut GFlagsValue ; } extern "C" { pub fn g_flags_get_value_by_nick ( flags_class : * mut GFlagsClass , nick : * const gchar ) -> * mut GFlagsValue ; } extern "C" { pub fn g_enum_to_string ( g_enum_type : GType , value : gint ) -> * mut gchar ; } extern "C" { pub fn g_flags_to_string ( flags_type : GType , value : guint ) -> * mut gchar ; } extern "C" { pub fn g_value_set_enum ( value : * mut GValue , v_enum : gint ) ; } extern "C" { pub fn g_value_get_enum ( value : * const GValue ) -> gint ; } extern "C" { pub fn g_value_set_flags ( value : * mut GValue , v_flags : guint ) ; } extern "C" { pub fn g_value_get_flags ( value : * const GValue ) -> guint ; } extern "C" { pub fn g_enum_register_static ( name : * const gchar , const_static_values : * const GEnumValue ) -> GType ; } extern "C" { pub fn g_flags_register_static ( name : * const gchar , const_static_values : * const GFlagsValue ) -> GType ; } extern "C" { pub fn g_enum_complete_type_info ( g_enum_type : GType , info : * mut GTypeInfo , const_values : * const GEnumValue ) ; } extern "C" { pub fn g_flags_complete_type_info ( g_flags_type : GType , info : * mut GTypeInfo , const_values : * const GFlagsValue ) ; } extern "C" { pub fn g_unicode_type_get_type ( ) -> GType ; } extern "C" { pub fn g_unicode_break_type_get_type ( ) -> GType ; } extern "C" { pub fn g_unicode_script_get_type ( ) -> GType ; } extern "C" { pub fn g_normalize_mode_get_type ( ) -> GType ; } pub type GParamSpecChar = _GParamSpecChar ; pub type GParamSpecUChar = _GParamSpecUChar ; pub type GParamSpecBoolean = _GParamSpecBoolean ; pub type GParamSpecInt = _GParamSpecInt ; pub type GParamSpecUInt = _GParamSpecUInt ; pub type GParamSpecLong = _GParamSpecLong ; pub type GParamSpecULong = _GParamSpecULong ; pub type GParamSpecInt64 = _GParamSpecInt64 ; pub type GParamSpecUInt64 = _GParamSpecUInt64 ; pub type GParamSpecUnichar = _GParamSpecUnichar ; pub type GParamSpecEnum = _GParamSpecEnum ; pub type GParamSpecFlags = _GParamSpecFlags ; pub type GParamSpecFloat = _GParamSpecFloat ; pub type GParamSpecDouble = _GParamSpecDouble ; pub type GParamSpecString = _GParamSpecString ; pub type GParamSpecParam = _GParamSpecParam ; pub type GParamSpecBoxed = _GParamSpecBoxed ; pub type GParamSpecPointer = _GParamSpecPointer ; pub type GParamSpecValueArray = _GParamSpecValueArray ; pub type GParamSpecObject = _GParamSpecObject ; pub type GParamSpecOverride = _GParamSpecOverride ; pub type GParamSpecGType = _GParamSpecGType ; pub type GParamSpecVariant = _GParamSpecVariant ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecChar { pub parent_instance : GParamSpec , pub minimum : gint8 , pub maximum : gint8 , pub default_value : gint8 , } # [ test ] fn bindgen_test_layout__GParamSpecChar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecChar > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecChar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecChar > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecChar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecChar > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecChar ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecChar > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecChar ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecChar > ( ) ) ) . maximum as * const _ as usize } , 73usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecChar ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecChar > ( ) ) ) . default_value as * const _ as usize } , 74usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecChar ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecUChar { pub parent_instance : GParamSpec , pub minimum : guint8 , pub maximum : guint8 , pub default_value : guint8 , } # [ test ] fn bindgen_test_layout__GParamSpecUChar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecUChar > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecUChar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecUChar > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecUChar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUChar > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUChar ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUChar > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUChar ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUChar > ( ) ) ) . maximum as * const _ as usize } , 73usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUChar ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUChar > ( ) ) ) . default_value as * const _ as usize } , 74usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUChar ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecBoolean { pub parent_instance : GParamSpec , pub default_value : gboolean , } # [ test ] fn bindgen_test_layout__GParamSpecBoolean ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecBoolean > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecBoolean ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecBoolean > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecBoolean ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecBoolean > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecBoolean ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecBoolean > ( ) ) ) . default_value as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecBoolean ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecInt { pub parent_instance : GParamSpec , pub minimum : gint , pub maximum : gint , pub default_value : gint , } # [ test ] fn bindgen_test_layout__GParamSpecInt ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecInt > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecInt ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecInt > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecInt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt > ( ) ) ) . maximum as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt > ( ) ) ) . default_value as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecUInt { pub parent_instance : GParamSpec , pub minimum : guint , pub maximum : guint , pub default_value : guint , } # [ test ] fn bindgen_test_layout__GParamSpecUInt ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecUInt > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecUInt ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecUInt > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecUInt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt > ( ) ) ) . maximum as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt > ( ) ) ) . default_value as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecLong { pub parent_instance : GParamSpec , pub minimum : glong , pub maximum : glong , pub default_value : glong , } # [ test ] fn bindgen_test_layout__GParamSpecLong ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecLong > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecLong ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecLong > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecLong ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecLong > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecLong ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecLong > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecLong ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecLong > ( ) ) ) . maximum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecLong ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecLong > ( ) ) ) . default_value as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecLong ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecULong { pub parent_instance : GParamSpec , pub minimum : gulong , pub maximum : gulong , pub default_value : gulong , } # [ test ] fn bindgen_test_layout__GParamSpecULong ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecULong > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecULong ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecULong > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecULong ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecULong > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecULong ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecULong > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecULong ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecULong > ( ) ) ) . maximum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecULong ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecULong > ( ) ) ) . default_value as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecULong ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecInt64 { pub parent_instance : GParamSpec , pub minimum : gint64 , pub maximum : gint64 , pub default_value : gint64 , } # [ test ] fn bindgen_test_layout__GParamSpecInt64 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecInt64 > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecInt64 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecInt64 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecInt64 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt64 > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt64 ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt64 > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt64 ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt64 > ( ) ) ) . maximum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt64 ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt64 > ( ) ) ) . default_value as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt64 ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecUInt64 { pub parent_instance : GParamSpec , pub minimum : guint64 , pub maximum : guint64 , pub default_value : guint64 , } # [ test ] fn bindgen_test_layout__GParamSpecUInt64 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecUInt64 > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecUInt64 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecUInt64 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecUInt64 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt64 > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt64 ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt64 > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt64 ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt64 > ( ) ) ) . maximum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt64 ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt64 > ( ) ) ) . default_value as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt64 ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecUnichar { pub parent_instance : GParamSpec , pub default_value : gunichar , } # [ test ] fn bindgen_test_layout__GParamSpecUnichar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecUnichar > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecUnichar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecUnichar > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecUnichar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUnichar > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUnichar ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUnichar > ( ) ) ) . default_value as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUnichar ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecEnum { pub parent_instance : GParamSpec , pub enum_class : * mut GEnumClass , pub default_value : gint , } # [ test ] fn bindgen_test_layout__GParamSpecEnum ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecEnum > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecEnum ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecEnum > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecEnum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecEnum > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecEnum ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecEnum > ( ) ) ) . enum_class as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecEnum ) , "::" , stringify ! ( enum_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecEnum > ( ) ) ) . default_value as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecEnum ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecFlags { pub parent_instance : GParamSpec , pub flags_class : * mut GFlagsClass , pub default_value : guint , } # [ test ] fn bindgen_test_layout__GParamSpecFlags ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecFlags > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecFlags ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecFlags > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecFlags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFlags > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFlags ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFlags > ( ) ) ) . flags_class as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFlags ) , "::" , stringify ! ( flags_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFlags > ( ) ) ) . default_value as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFlags ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecFloat { pub parent_instance : GParamSpec , pub minimum : gfloat , pub maximum : gfloat , pub default_value : gfloat , pub epsilon : gfloat , } # [ test ] fn bindgen_test_layout__GParamSpecFloat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecFloat > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecFloat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecFloat > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecFloat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFloat > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFloat ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFloat > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFloat ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFloat > ( ) ) ) . maximum as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFloat ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFloat > ( ) ) ) . default_value as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFloat ) , "::" , stringify ! ( default_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFloat > ( ) ) ) . epsilon as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFloat ) , "::" , stringify ! ( epsilon ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecDouble { pub parent_instance : GParamSpec , pub minimum : gdouble , pub maximum : gdouble , pub default_value : gdouble , pub epsilon : gdouble , } # [ test ] fn bindgen_test_layout__GParamSpecDouble ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecDouble > ( ) , 104usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecDouble ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecDouble > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecDouble ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecDouble > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecDouble ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecDouble > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecDouble ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecDouble > ( ) ) ) . maximum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecDouble ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecDouble > ( ) ) ) . default_value as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecDouble ) , "::" , stringify ! ( default_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecDouble > ( ) ) ) . epsilon as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecDouble ) , "::" , stringify ! ( epsilon ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecString { pub parent_instance : GParamSpec , pub default_value : * mut gchar , pub cset_first : * mut gchar , pub cset_nth : * mut gchar , pub substitutor : gchar , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub __bindgen_padding_0 : [ u16 ; 3usize ] , } # [ test ] fn bindgen_test_layout__GParamSpecString ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecString > ( ) , 104usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecString ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecString > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecString > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecString ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecString > ( ) ) ) . default_value as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecString ) , "::" , stringify ! ( default_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecString > ( ) ) ) . cset_first as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecString ) , "::" , stringify ! ( cset_first ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecString > ( ) ) ) . cset_nth as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecString ) , "::" , stringify ! ( cset_nth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecString > ( ) ) ) . substitutor as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecString ) , "::" , stringify ! ( substitutor ) ) ) ; } impl _GParamSpecString { # [ inline ] pub fn null_fold_if_empty ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_null_fold_if_empty ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn ensure_non_null ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_ensure_non_null ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( null_fold_if_empty : guint , ensure_non_null : guint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let null_fold_if_empty : u32 = unsafe { :: std :: mem :: transmute ( null_fold_if_empty ) } ; null_fold_if_empty as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let ensure_non_null : u32 = unsafe { :: std :: mem :: transmute ( ensure_non_null ) } ; ensure_non_null as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecParam { pub parent_instance : GParamSpec , } # [ test ] fn bindgen_test_layout__GParamSpecParam ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecParam > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecParam ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecParam > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecParam ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecParam > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecParam ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecBoxed { pub parent_instance : GParamSpec , } # [ test ] fn bindgen_test_layout__GParamSpecBoxed ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecBoxed > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecBoxed ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecBoxed > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecBoxed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecBoxed > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecBoxed ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecPointer { pub parent_instance : GParamSpec , } # [ test ] fn bindgen_test_layout__GParamSpecPointer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecPointer > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecPointer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecPointer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecPointer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecPointer > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecPointer ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecValueArray { pub parent_instance : GParamSpec , pub element_spec : * mut GParamSpec , pub fixed_n_elements : guint , } # [ test ] fn bindgen_test_layout__GParamSpecValueArray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecValueArray > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecValueArray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecValueArray > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecValueArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecValueArray > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecValueArray ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecValueArray > ( ) ) ) . element_spec as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecValueArray ) , "::" , stringify ! ( element_spec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecValueArray > ( ) ) ) . fixed_n_elements as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecValueArray ) , "::" , stringify ! ( fixed_n_elements ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecObject { pub parent_instance : GParamSpec , } # [ test ] fn bindgen_test_layout__GParamSpecObject ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecObject > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecObject ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecObject > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecObject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecObject > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecObject ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecOverride { pub parent_instance : GParamSpec , pub overridden : * mut GParamSpec , } # [ test ] fn bindgen_test_layout__GParamSpecOverride ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecOverride > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecOverride ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecOverride > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecOverride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecOverride > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecOverride ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecOverride > ( ) ) ) . overridden as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecOverride ) , "::" , stringify ! ( overridden ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecGType { pub parent_instance : GParamSpec , pub is_a_type : GType , } # [ test ] fn bindgen_test_layout__GParamSpecGType ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecGType > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecGType ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecGType > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecGType ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecGType > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecGType ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecGType > ( ) ) ) . is_a_type as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecGType ) , "::" , stringify ! ( is_a_type ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecVariant { pub parent_instance : GParamSpec , pub type_ : * mut GVariantType , pub default_value : * mut GVariant , pub padding : [ gpointer ; 4usize ] , } # [ test ] fn bindgen_test_layout__GParamSpecVariant ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecVariant > ( ) , 120usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecVariant ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecVariant > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecVariant ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecVariant > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecVariant ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecVariant > ( ) ) ) . type_ as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecVariant ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecVariant > ( ) ) ) . default_value as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecVariant ) , "::" , stringify ! ( default_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecVariant > ( ) ) ) . padding as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecVariant ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_param_spec_char ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : gint8 , maximum : gint8 , default_value : gint8 , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_uchar ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : guint8 , maximum : guint8 , default_value : guint8 , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_boolean ( name : * const gchar , nick : * const gchar , blurb : * const gchar , default_value : gboolean , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_int ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : gint , maximum : gint , default_value : gint , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_uint ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : guint , maximum : guint , default_value : guint , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_long ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : glong , maximum : glong , default_value : glong , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_ulong ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : gulong , maximum : gulong , default_value : gulong , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_int64 ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : gint64 , maximum : gint64 , default_value : gint64 , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_uint64 ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : guint64 , maximum : guint64 , default_value : guint64 , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_unichar ( name : * const gchar , nick : * const gchar , blurb : * const gchar , default_value : gunichar , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_enum ( name : * const gchar , nick : * const gchar , blurb : * const gchar , enum_type : GType , default_value : gint , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_flags ( name : * const gchar , nick : * const gchar , blurb : * const gchar , flags_type : GType , default_value : guint , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_float ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : gfloat , maximum : gfloat , default_value : gfloat , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_double ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : gdouble , maximum : gdouble , default_value : gdouble , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_string ( name : * const gchar , nick : * const gchar , blurb : * const gchar , default_value : * const gchar , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_param ( name : * const gchar , nick : * const gchar , blurb : * const gchar , param_type : GType , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_boxed ( name : * const gchar , nick : * const gchar , blurb : * const gchar , boxed_type : GType , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_pointer ( name : * const gchar , nick : * const gchar , blurb : * const gchar , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_value_array ( name : * const gchar , nick : * const gchar , blurb : * const gchar , element_spec : * mut GParamSpec , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_object ( name : * const gchar , nick : * const gchar , blurb : * const gchar , object_type : GType , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_override ( name : * const gchar , overridden : * mut GParamSpec ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_gtype ( name : * const gchar , nick : * const gchar , blurb : * const gchar , is_a_type : GType , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_variant ( name : * const gchar , nick : * const gchar , blurb : * const gchar , type_ : * const GVariantType , default_value : * mut GVariant , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { # [ link_name = "\u{1}g_param_spec_types" ] pub static mut g_param_spec_types : * mut GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSignalGroup { _unused : [ u8 ; 0 ] , } pub type GSignalGroup = _GSignalGroup ; extern "C" { pub fn g_signal_group_get_type ( ) -> GType ; } extern "C" { pub fn g_signal_group_new ( target_type : GType ) -> * mut GSignalGroup ; } extern "C" { pub fn g_signal_group_set_target ( self_ : * mut GSignalGroup , target : gpointer ) ; } extern "C" { pub fn g_signal_group_dup_target ( self_ : * mut GSignalGroup ) -> gpointer ; } extern "C" { pub fn g_signal_group_block ( self_ : * mut GSignalGroup ) ; } extern "C" { pub fn g_signal_group_unblock ( self_ : * mut GSignalGroup ) ; } extern "C" { pub fn g_signal_group_connect_closure ( self_ : * mut GSignalGroup , detailed_signal : * const gchar , closure : * mut GClosure , after : gboolean ) ; } extern "C" { pub fn g_signal_group_connect_object ( self_ : * mut GSignalGroup , detailed_signal : * const gchar , c_handler : GCallback , object : gpointer , flags : GConnectFlags ) ; } extern "C" { pub fn g_signal_group_connect_data ( self_ : * mut GSignalGroup , detailed_signal : * const gchar , c_handler : GCallback , data : gpointer , notify : GClosureNotify , flags : GConnectFlags ) ; } extern "C" { pub fn g_signal_group_connect ( self_ : * mut GSignalGroup , detailed_signal : * const gchar , c_handler : GCallback , data : gpointer ) ; } extern "C" { pub fn g_signal_group_connect_after ( self_ : * mut GSignalGroup , detailed_signal : * const gchar , c_handler : GCallback , data : gpointer ) ; } extern "C" { pub fn g_signal_group_connect_swapped ( self_ : * mut GSignalGroup , detailed_signal : * const gchar , c_handler : GCallback , data : gpointer ) ; } extern "C" { pub fn g_source_set_closure ( source : * mut GSource , closure : * mut GClosure ) ; } extern "C" { pub fn g_source_set_dummy_callback ( source : * mut GSource ) ; } pub type GTypeModule = _GTypeModule ; pub type GTypeModuleClass = _GTypeModuleClass ; pub type GTypeModule_autoptr = * mut GTypeModule ; pub type GTypeModule_listautoptr = * mut GList ; pub type GTypeModule_slistautoptr = * mut GSList ; pub type GTypeModule_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeModule { pub parent_instance : GObject , pub use_count : guint , pub type_infos : * mut GSList , pub interface_infos : * mut GSList , pub name : * mut gchar , } # [ test ] fn bindgen_test_layout__GTypeModule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeModule > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GTypeModule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeModule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModule > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModule ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModule > ( ) ) ) . use_count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModule ) , "::" , stringify ! ( use_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModule > ( ) ) ) . type_infos as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModule ) , "::" , stringify ! ( type_infos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModule > ( ) ) ) . interface_infos as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModule ) , "::" , stringify ! ( interface_infos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModule > ( ) ) ) . name as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModule ) , "::" , stringify ! ( name ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeModuleClass { pub parent_class : GObjectClass , pub load : :: std :: option :: Option < unsafe extern "C" fn ( module : * mut GTypeModule ) -> gboolean > , pub unload : :: std :: option :: Option < unsafe extern "C" fn ( module : * mut GTypeModule ) > , pub reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GTypeModuleClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeModuleClass > ( ) , 184usize , concat ! ( "Size of: " , stringify ! ( _GTypeModuleClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeModuleClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeModuleClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . load as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( load ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . unload as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( unload ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . reserved1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . reserved2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . reserved3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . reserved4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( reserved4 ) ) ) ; } extern "C" { pub fn g_type_module_get_type ( ) -> GType ; } extern "C" { pub fn g_type_module_use ( module : * mut GTypeModule ) -> gboolean ; } extern "C" { pub fn g_type_module_unuse ( module : * mut GTypeModule ) ; } extern "C" { pub fn g_type_module_set_name ( module : * mut GTypeModule , name : * const gchar ) ; } extern "C" { pub fn g_type_module_register_type ( module : * mut GTypeModule , parent_type : GType , type_name : * const gchar , type_info : * const GTypeInfo , flags : GTypeFlags ) -> GType ; } extern "C" { pub fn g_type_module_add_interface ( module : * mut GTypeModule , instance_type : GType , interface_type : GType , interface_info : * const GInterfaceInfo ) ; } extern "C" { pub fn g_type_module_register_enum ( module : * mut GTypeModule , name : * const gchar , const_static_values : * const GEnumValue ) -> GType ; } extern "C" { pub fn g_type_module_register_flags ( module : * mut GTypeModule , name : * const gchar , const_static_values : * const GFlagsValue ) -> GType ; } pub type GTypePluginClass = _GTypePluginClass ; pub type GTypePluginUse = :: std :: option :: Option < unsafe extern "C" fn ( plugin : * mut GTypePlugin ) > ; pub type GTypePluginUnuse = :: std :: option :: Option < unsafe extern "C" fn ( plugin : * mut GTypePlugin ) > ; pub type GTypePluginCompleteTypeInfo = :: std :: option :: Option < unsafe extern "C" fn ( plugin : * mut GTypePlugin , g_type : GType , info : * mut GTypeInfo , value_table : * mut GTypeValueTable ) > ; pub type GTypePluginCompleteInterfaceInfo = :: std :: option :: Option < unsafe extern "C" fn ( plugin : * mut GTypePlugin , instance_type : GType , interface_type : GType , info : * mut GInterfaceInfo ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypePluginClass { pub base_iface : GTypeInterface , pub use_plugin : GTypePluginUse , pub unuse_plugin : GTypePluginUnuse , pub complete_type_info : GTypePluginCompleteTypeInfo , pub complete_interface_info : GTypePluginCompleteInterfaceInfo , } # [ test ] fn bindgen_test_layout__GTypePluginClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypePluginClass > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GTypePluginClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypePluginClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypePluginClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypePluginClass > ( ) ) ) . base_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypePluginClass ) , "::" , stringify ! ( base_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypePluginClass > ( ) ) ) . use_plugin as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTypePluginClass ) , "::" , stringify ! ( use_plugin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypePluginClass > ( ) ) ) . unuse_plugin as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTypePluginClass ) , "::" , stringify ! ( unuse_plugin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypePluginClass > ( ) ) ) . complete_type_info as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GTypePluginClass ) , "::" , stringify ! ( complete_type_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypePluginClass > ( ) ) ) . complete_interface_info as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GTypePluginClass ) , "::" , stringify ! ( complete_interface_info ) ) ) ; } extern "C" { pub fn g_type_plugin_get_type ( ) -> GType ; } extern "C" { pub fn g_type_plugin_use ( plugin : * mut GTypePlugin ) ; } extern "C" { pub fn g_type_plugin_unuse ( plugin : * mut GTypePlugin ) ; } extern "C" { pub fn g_type_plugin_complete_type_info ( plugin : * mut GTypePlugin , g_type : GType , info : * mut GTypeInfo , value_table : * mut GTypeValueTable ) ; } extern "C" { pub fn g_type_plugin_complete_interface_info ( plugin : * mut GTypePlugin , instance_type : GType , interface_type : GType , info : * mut GInterfaceInfo ) ; } pub type GValueArray = _GValueArray ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GValueArray { pub n_values : guint , pub values : * mut GValue , pub n_prealloced : guint , } # [ test ] fn bindgen_test_layout__GValueArray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GValueArray > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GValueArray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GValueArray > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GValueArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValueArray > ( ) ) ) . n_values as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValueArray ) , "::" , stringify ! ( n_values ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValueArray > ( ) ) ) . values as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GValueArray ) , "::" , stringify ! ( values ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValueArray > ( ) ) ) . n_prealloced as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GValueArray ) , "::" , stringify ! ( n_prealloced ) ) ) ; } extern "C" { pub fn g_value_array_get_type ( ) -> GType ; } extern "C" { pub fn g_value_array_get_nth ( value_array : * mut GValueArray , index_ : guint ) -> * mut GValue ; } extern "C" { pub fn g_value_array_new ( n_prealloced : guint ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_free ( value_array : * mut GValueArray ) ; } extern "C" { pub fn g_value_array_copy ( value_array : * const GValueArray ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_prepend ( value_array : * mut GValueArray , value : * const GValue ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_append ( value_array : * mut GValueArray , value : * const GValue ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_insert ( value_array : * mut GValueArray , index_ : guint , value : * const GValue ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_remove ( value_array : * mut GValueArray , index_ : guint ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_sort ( value_array : * mut GValueArray , compare_func : GCompareFunc ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_sort_with_data ( value_array : * mut GValueArray , compare_func : GCompareDataFunc , user_data : gpointer ) -> * mut GValueArray ; } extern "C" { pub fn g_value_set_char ( value : * mut GValue , v_char : gchar ) ; } extern "C" { pub fn g_value_get_char ( value : * const GValue ) -> gchar ; } extern "C" { pub fn g_value_set_schar ( value : * mut GValue , v_char : gint8 ) ; } extern "C" { pub fn g_value_get_schar ( value : * const GValue ) -> gint8 ; } extern "C" { pub fn g_value_set_uchar ( value : * mut GValue , v_uchar : guchar ) ; } extern "C" { pub fn g_value_get_uchar ( value : * const GValue ) -> guchar ; } extern "C" { pub fn g_value_set_boolean ( value : * mut GValue , v_boolean : gboolean ) ; } extern "C" { pub fn g_value_get_boolean ( value : * const GValue ) -> gboolean ; } extern "C" { pub fn g_value_set_int ( value : * mut GValue , v_int : gint ) ; } extern "C" { pub fn g_value_get_int ( value : * const GValue ) -> gint ; } extern "C" { pub fn g_value_set_uint ( value : * mut GValue , v_uint : guint ) ; } extern "C" { pub fn g_value_get_uint ( value : * const GValue ) -> guint ; } extern "C" { pub fn g_value_set_long ( value : * mut GValue , v_long : glong ) ; } extern "C" { pub fn g_value_get_long ( value : * const GValue ) -> glong ; } extern "C" { pub fn g_value_set_ulong ( value : * mut GValue , v_ulong : gulong ) ; } extern "C" { pub fn g_value_get_ulong ( value : * const GValue ) -> gulong ; } extern "C" { pub fn g_value_set_int64 ( value : * mut GValue , v_int64 : gint64 ) ; } extern "C" { pub fn g_value_get_int64 ( value : * const GValue ) -> gint64 ; } extern "C" { pub fn g_value_set_uint64 ( value : * mut GValue , v_uint64 : guint64 ) ; } extern "C" { pub fn g_value_get_uint64 ( value : * const GValue ) -> guint64 ; } extern "C" { pub fn g_value_set_float ( value : * mut GValue , v_float : gfloat ) ; } extern "C" { pub fn g_value_get_float ( value : * const GValue ) -> gfloat ; } extern "C" { pub fn g_value_set_double ( value : * mut GValue , v_double : gdouble ) ; } extern "C" { pub fn g_value_get_double ( value : * const GValue ) -> gdouble ; } extern "C" { pub fn g_value_set_string ( value : * mut GValue , v_string : * const gchar ) ; } extern "C" { pub fn g_value_set_static_string ( value : * mut GValue , v_string : * const gchar ) ; } extern "C" { pub fn g_value_set_interned_string ( value : * mut GValue , v_string : * const gchar ) ; } extern "C" { pub fn g_value_get_string ( value : * const GValue ) -> * const gchar ; } extern "C" { pub fn g_value_dup_string ( value : * const GValue ) -> * mut gchar ; } extern "C" { pub fn g_value_steal_string ( value : * mut GValue ) -> * mut gchar ; } extern "C" { pub fn g_value_set_pointer ( value : * mut GValue , v_pointer : gpointer ) ; } extern "C" { pub fn g_value_get_pointer ( value : * const GValue ) -> gpointer ; } extern "C" { pub fn g_gtype_get_type ( ) -> GType ; } extern "C" { pub fn g_value_set_gtype ( value : * mut GValue , v_gtype : GType ) ; } extern "C" { pub fn g_value_get_gtype ( value : * const GValue ) -> GType ; } extern "C" { pub fn g_value_set_variant ( value : * mut GValue , variant : * mut GVariant ) ; } extern "C" { pub fn g_value_take_variant ( value : * mut GValue , variant : * mut GVariant ) ; } extern "C" { pub fn g_value_get_variant ( value : * const GValue ) -> * mut GVariant ; } extern "C" { pub fn g_value_dup_variant ( value : * const GValue ) -> * mut GVariant ; } extern "C" { pub fn g_pointer_type_register_static ( name : * const gchar ) -> GType ; } extern "C" { pub fn g_strdup_value_contents ( value : * const GValue ) -> * mut gchar ; } extern "C" { pub fn g_value_take_string ( value : * mut GValue , v_string : * mut gchar ) ; } extern "C" { pub fn g_value_set_string_take_ownership ( value : * mut GValue , v_string : * mut gchar ) ; } pub type gchararray = * mut gchar ; pub type GClosure_autoptr = * mut GClosure ; pub type GClosure_listautoptr = * mut GList ; pub type GClosure_slistautoptr = * mut GSList ; pub type GClosure_queueautoptr = * mut GQueue ; pub type GEnumClass_autoptr = * mut GEnumClass ; pub type GEnumClass_listautoptr = * mut GList ; pub type GEnumClass_slistautoptr = * mut GSList ; pub type GEnumClass_queueautoptr = * mut GQueue ; pub type GFlagsClass_autoptr = * mut GFlagsClass ; pub type GFlagsClass_listautoptr = * mut GList ; pub type GFlagsClass_slistautoptr = * mut GSList ; pub type GFlagsClass_queueautoptr = * mut GQueue ; pub type GObject_autoptr = * mut GObject ; pub type GObject_listautoptr = * mut GList ; pub type GObject_slistautoptr = * mut GSList ; pub type GObject_queueautoptr = * mut GQueue ; pub type GInitiallyUnowned_autoptr = * mut GInitiallyUnowned ; pub type GInitiallyUnowned_listautoptr = * mut GList ; pub type GInitiallyUnowned_slistautoptr = * mut GSList ; pub type GInitiallyUnowned_queueautoptr = * mut GQueue ; pub type GParamSpec_autoptr = * mut GParamSpec ; pub type GParamSpec_listautoptr = * mut GList ; pub type GParamSpec_slistautoptr = * mut GSList ; pub type GParamSpec_queueautoptr = * mut GQueue ; pub type GTypeClass_autoptr = * mut GTypeClass ; pub type GTypeClass_listautoptr = * mut GList ; pub type GTypeClass_slistautoptr = * mut GSList ; pub type GTypeClass_queueautoptr = * mut GQueue ; pub const GAppInfoCreateFlags_G_APP_INFO_CREATE_NONE : GAppInfoCreateFlags = 0 ; pub const GAppInfoCreateFlags_G_APP_INFO_CREATE_NEEDS_TERMINAL : GAppInfoCreateFlags = 1 ; pub const GAppInfoCreateFlags_G_APP_INFO_CREATE_SUPPORTS_URIS : GAppInfoCreateFlags = 2 ; pub const GAppInfoCreateFlags_G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION : GAppInfoCreateFlags = 4 ; pub type GAppInfoCreateFlags = u32 ; pub const GConverterFlags_G_CONVERTER_NO_FLAGS : GConverterFlags = 0 ; pub const GConverterFlags_G_CONVERTER_INPUT_AT_END : GConverterFlags = 1 ; pub const GConverterFlags_G_CONVERTER_FLUSH : GConverterFlags = 2 ; pub type GConverterFlags = u32 ; pub const GConverterResult_G_CONVERTER_ERROR : GConverterResult = 0 ; pub const GConverterResult_G_CONVERTER_CONVERTED : GConverterResult = 1 ; pub const GConverterResult_G_CONVERTER_FINISHED : GConverterResult = 2 ; pub const GConverterResult_G_CONVERTER_FLUSHED : GConverterResult = 3 ; pub type GConverterResult = u32 ; pub const GDataStreamByteOrder_G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN : GDataStreamByteOrder = 0 ; pub const GDataStreamByteOrder_G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN : GDataStreamByteOrder = 1 ; pub const GDataStreamByteOrder_G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN : GDataStreamByteOrder = 2 ; pub type GDataStreamByteOrder = u32 ; pub const GDataStreamNewlineType_G_DATA_STREAM_NEWLINE_TYPE_LF : GDataStreamNewlineType = 0 ; pub const GDataStreamNewlineType_G_DATA_STREAM_NEWLINE_TYPE_CR : GDataStreamNewlineType = 1 ; pub const GDataStreamNewlineType_G_DATA_STREAM_NEWLINE_TYPE_CR_LF : GDataStreamNewlineType = 2 ; pub const GDataStreamNewlineType_G_DATA_STREAM_NEWLINE_TYPE_ANY : GDataStreamNewlineType = 3 ; pub type GDataStreamNewlineType = u32 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_INVALID : GFileAttributeType = 0 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_STRING : GFileAttributeType = 1 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_BYTE_STRING : GFileAttributeType = 2 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_BOOLEAN : GFileAttributeType = 3 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_UINT32 : GFileAttributeType = 4 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_INT32 : GFileAttributeType = 5 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_UINT64 : GFileAttributeType = 6 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_INT64 : GFileAttributeType = 7 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_OBJECT : GFileAttributeType = 8 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_STRINGV : GFileAttributeType = 9 ; pub type GFileAttributeType = u32 ; pub const GFileAttributeInfoFlags_G_FILE_ATTRIBUTE_INFO_NONE : GFileAttributeInfoFlags = 0 ; pub const GFileAttributeInfoFlags_G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE : GFileAttributeInfoFlags = 1 ; pub const GFileAttributeInfoFlags_G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED : GFileAttributeInfoFlags = 2 ; pub type GFileAttributeInfoFlags = u32 ; pub const GFileAttributeStatus_G_FILE_ATTRIBUTE_STATUS_UNSET : GFileAttributeStatus = 0 ; pub const GFileAttributeStatus_G_FILE_ATTRIBUTE_STATUS_SET : GFileAttributeStatus = 1 ; pub const GFileAttributeStatus_G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING : GFileAttributeStatus = 2 ; pub type GFileAttributeStatus = u32 ; pub const GFileQueryInfoFlags_G_FILE_QUERY_INFO_NONE : GFileQueryInfoFlags = 0 ; pub const GFileQueryInfoFlags_G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS : GFileQueryInfoFlags = 1 ; pub type GFileQueryInfoFlags = u32 ; pub const GFileCreateFlags_G_FILE_CREATE_NONE : GFileCreateFlags = 0 ; pub const GFileCreateFlags_G_FILE_CREATE_PRIVATE : GFileCreateFlags = 1 ; pub const GFileCreateFlags_G_FILE_CREATE_REPLACE_DESTINATION : GFileCreateFlags = 2 ; pub type GFileCreateFlags = u32 ; pub const GFileMeasureFlags_G_FILE_MEASURE_NONE : GFileMeasureFlags = 0 ; pub const GFileMeasureFlags_G_FILE_MEASURE_REPORT_ANY_ERROR : GFileMeasureFlags = 2 ; pub const GFileMeasureFlags_G_FILE_MEASURE_APPARENT_SIZE : GFileMeasureFlags = 4 ; pub const GFileMeasureFlags_G_FILE_MEASURE_NO_XDEV : GFileMeasureFlags = 8 ; pub type GFileMeasureFlags = u32 ; pub const GMountMountFlags_G_MOUNT_MOUNT_NONE : GMountMountFlags = 0 ; pub type GMountMountFlags = u32 ; pub const GMountUnmountFlags_G_MOUNT_UNMOUNT_NONE : GMountUnmountFlags = 0 ; pub const GMountUnmountFlags_G_MOUNT_UNMOUNT_FORCE : GMountUnmountFlags = 1 ; pub type GMountUnmountFlags = u32 ; pub const GDriveStartFlags_G_DRIVE_START_NONE : GDriveStartFlags = 0 ; pub type GDriveStartFlags = u32 ; pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_UNKNOWN : GDriveStartStopType = 0 ; pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_SHUTDOWN : GDriveStartStopType = 1 ; pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_NETWORK : GDriveStartStopType = 2 ; pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_MULTIDISK : GDriveStartStopType = 3 ; pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_PASSWORD : GDriveStartStopType = 4 ; pub type GDriveStartStopType = u32 ; pub const GFileCopyFlags_G_FILE_COPY_NONE : GFileCopyFlags = 0 ; pub const GFileCopyFlags_G_FILE_COPY_OVERWRITE : GFileCopyFlags = 1 ; pub const GFileCopyFlags_G_FILE_COPY_BACKUP : GFileCopyFlags = 2 ; pub const GFileCopyFlags_G_FILE_COPY_NOFOLLOW_SYMLINKS : GFileCopyFlags = 4 ; pub const GFileCopyFlags_G_FILE_COPY_ALL_METADATA : GFileCopyFlags = 8 ; pub const GFileCopyFlags_G_FILE_COPY_NO_FALLBACK_FOR_MOVE : GFileCopyFlags = 16 ; pub const GFileCopyFlags_G_FILE_COPY_TARGET_DEFAULT_PERMS : GFileCopyFlags = 32 ; pub const GFileCopyFlags_G_FILE_COPY_TARGET_DEFAULT_MODIFIED_TIME : GFileCopyFlags = 64 ; pub type GFileCopyFlags = u32 ; pub const GFileMonitorFlags_G_FILE_MONITOR_NONE : GFileMonitorFlags = 0 ; pub const GFileMonitorFlags_G_FILE_MONITOR_WATCH_MOUNTS : GFileMonitorFlags = 1 ; pub const GFileMonitorFlags_G_FILE_MONITOR_SEND_MOVED : GFileMonitorFlags = 2 ; pub const GFileMonitorFlags_G_FILE_MONITOR_WATCH_HARD_LINKS : GFileMonitorFlags = 4 ; pub const GFileMonitorFlags_G_FILE_MONITOR_WATCH_MOVES : GFileMonitorFlags = 8 ; pub type GFileMonitorFlags = u32 ; pub const GFileType_G_FILE_TYPE_UNKNOWN : GFileType = 0 ; pub const GFileType_G_FILE_TYPE_REGULAR : GFileType = 1 ; pub const GFileType_G_FILE_TYPE_DIRECTORY : GFileType = 2 ; pub const GFileType_G_FILE_TYPE_SYMBOLIC_LINK : GFileType = 3 ; pub const GFileType_G_FILE_TYPE_SPECIAL : GFileType = 4 ; pub const GFileType_G_FILE_TYPE_SHORTCUT : GFileType = 5 ; pub const GFileType_G_FILE_TYPE_MOUNTABLE : GFileType = 6 ; pub type GFileType = u32 ; pub const GFilesystemPreviewType_G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS : GFilesystemPreviewType = 0 ; pub const GFilesystemPreviewType_G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL : GFilesystemPreviewType = 1 ; pub const GFilesystemPreviewType_G_FILESYSTEM_PREVIEW_TYPE_NEVER : GFilesystemPreviewType = 2 ; pub type GFilesystemPreviewType = u32 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_CHANGED : GFileMonitorEvent = 0 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT : GFileMonitorEvent = 1 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_DELETED : GFileMonitorEvent = 2 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_CREATED : GFileMonitorEvent = 3 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED : GFileMonitorEvent = 4 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_PRE_UNMOUNT : GFileMonitorEvent = 5 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_UNMOUNTED : GFileMonitorEvent = 6 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_MOVED : GFileMonitorEvent = 7 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_RENAMED : GFileMonitorEvent = 8 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_MOVED_IN : GFileMonitorEvent = 9 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_MOVED_OUT : GFileMonitorEvent = 10 ; pub type GFileMonitorEvent = u32 ; pub const GIOErrorEnum_G_IO_ERROR_FAILED : GIOErrorEnum = 0 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_FOUND : GIOErrorEnum = 1 ; pub const GIOErrorEnum_G_IO_ERROR_EXISTS : GIOErrorEnum = 2 ; pub const GIOErrorEnum_G_IO_ERROR_IS_DIRECTORY : GIOErrorEnum = 3 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_DIRECTORY : GIOErrorEnum = 4 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_EMPTY : GIOErrorEnum = 5 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_REGULAR_FILE : GIOErrorEnum = 6 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_SYMBOLIC_LINK : GIOErrorEnum = 7 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_MOUNTABLE_FILE : GIOErrorEnum = 8 ; pub const GIOErrorEnum_G_IO_ERROR_FILENAME_TOO_LONG : GIOErrorEnum = 9 ; pub const GIOErrorEnum_G_IO_ERROR_INVALID_FILENAME : GIOErrorEnum = 10 ; pub const GIOErrorEnum_G_IO_ERROR_TOO_MANY_LINKS : GIOErrorEnum = 11 ; pub const GIOErrorEnum_G_IO_ERROR_NO_SPACE : GIOErrorEnum = 12 ; pub const GIOErrorEnum_G_IO_ERROR_INVALID_ARGUMENT : GIOErrorEnum = 13 ; pub const GIOErrorEnum_G_IO_ERROR_PERMISSION_DENIED : GIOErrorEnum = 14 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_SUPPORTED : GIOErrorEnum = 15 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_MOUNTED : GIOErrorEnum = 16 ; pub const GIOErrorEnum_G_IO_ERROR_ALREADY_MOUNTED : GIOErrorEnum = 17 ; pub const GIOErrorEnum_G_IO_ERROR_CLOSED : GIOErrorEnum = 18 ; pub const GIOErrorEnum_G_IO_ERROR_CANCELLED : GIOErrorEnum = 19 ; pub const GIOErrorEnum_G_IO_ERROR_PENDING : GIOErrorEnum = 20 ; pub const GIOErrorEnum_G_IO_ERROR_READ_ONLY : GIOErrorEnum = 21 ; pub const GIOErrorEnum_G_IO_ERROR_CANT_CREATE_BACKUP : GIOErrorEnum = 22 ; pub const GIOErrorEnum_G_IO_ERROR_WRONG_ETAG : GIOErrorEnum = 23 ; pub const GIOErrorEnum_G_IO_ERROR_TIMED_OUT : GIOErrorEnum = 24 ; pub const GIOErrorEnum_G_IO_ERROR_WOULD_RECURSE : GIOErrorEnum = 25 ; pub const GIOErrorEnum_G_IO_ERROR_BUSY : GIOErrorEnum = 26 ; pub const GIOErrorEnum_G_IO_ERROR_WOULD_BLOCK : GIOErrorEnum = 27 ; pub const GIOErrorEnum_G_IO_ERROR_HOST_NOT_FOUND : GIOErrorEnum = 28 ; pub const GIOErrorEnum_G_IO_ERROR_WOULD_MERGE : GIOErrorEnum = 29 ; pub const GIOErrorEnum_G_IO_ERROR_FAILED_HANDLED : GIOErrorEnum = 30 ; pub const GIOErrorEnum_G_IO_ERROR_TOO_MANY_OPEN_FILES : GIOErrorEnum = 31 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_INITIALIZED : GIOErrorEnum = 32 ; pub const GIOErrorEnum_G_IO_ERROR_ADDRESS_IN_USE : GIOErrorEnum = 33 ; pub const GIOErrorEnum_G_IO_ERROR_PARTIAL_INPUT : GIOErrorEnum = 34 ; pub const GIOErrorEnum_G_IO_ERROR_INVALID_DATA : GIOErrorEnum = 35 ; pub const GIOErrorEnum_G_IO_ERROR_DBUS_ERROR : GIOErrorEnum = 36 ; pub const GIOErrorEnum_G_IO_ERROR_HOST_UNREACHABLE : GIOErrorEnum = 37 ; pub const GIOErrorEnum_G_IO_ERROR_NETWORK_UNREACHABLE : GIOErrorEnum = 38 ; pub const GIOErrorEnum_G_IO_ERROR_CONNECTION_REFUSED : GIOErrorEnum = 39 ; pub const GIOErrorEnum_G_IO_ERROR_PROXY_FAILED : GIOErrorEnum = 40 ; pub const GIOErrorEnum_G_IO_ERROR_PROXY_AUTH_FAILED : GIOErrorEnum = 41 ; pub const GIOErrorEnum_G_IO_ERROR_PROXY_NEED_AUTH : GIOErrorEnum = 42 ; pub const GIOErrorEnum_G_IO_ERROR_PROXY_NOT_ALLOWED : GIOErrorEnum = 43 ; pub const GIOErrorEnum_G_IO_ERROR_BROKEN_PIPE : GIOErrorEnum = 44 ; pub const GIOErrorEnum_G_IO_ERROR_CONNECTION_CLOSED : GIOErrorEnum = 44 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_CONNECTED : GIOErrorEnum = 45 ; pub const GIOErrorEnum_G_IO_ERROR_MESSAGE_TOO_LARGE : GIOErrorEnum = 46 ; pub const GIOErrorEnum_G_IO_ERROR_NO_SUCH_DEVICE : GIOErrorEnum = 47 ; pub const GIOErrorEnum_G_IO_ERROR_DESTINATION_UNSET : GIOErrorEnum = 48 ; pub type GIOErrorEnum = u32 ; pub const GAskPasswordFlags_G_ASK_PASSWORD_NEED_PASSWORD : GAskPasswordFlags = 1 ; pub const GAskPasswordFlags_G_ASK_PASSWORD_NEED_USERNAME : GAskPasswordFlags = 2 ; pub const GAskPasswordFlags_G_ASK_PASSWORD_NEED_DOMAIN : GAskPasswordFlags = 4 ; pub const GAskPasswordFlags_G_ASK_PASSWORD_SAVING_SUPPORTED : GAskPasswordFlags = 8 ; pub const GAskPasswordFlags_G_ASK_PASSWORD_ANONYMOUS_SUPPORTED : GAskPasswordFlags = 16 ; pub const GAskPasswordFlags_G_ASK_PASSWORD_TCRYPT : GAskPasswordFlags = 32 ; pub type GAskPasswordFlags = u32 ; pub const GPasswordSave_G_PASSWORD_SAVE_NEVER : GPasswordSave = 0 ; pub const GPasswordSave_G_PASSWORD_SAVE_FOR_SESSION : GPasswordSave = 1 ; pub const GPasswordSave_G_PASSWORD_SAVE_PERMANENTLY : GPasswordSave = 2 ; pub type GPasswordSave = u32 ; pub const GMountOperationResult_G_MOUNT_OPERATION_HANDLED : GMountOperationResult = 0 ; pub const GMountOperationResult_G_MOUNT_OPERATION_ABORTED : GMountOperationResult = 1 ; pub const GMountOperationResult_G_MOUNT_OPERATION_UNHANDLED : GMountOperationResult = 2 ; pub type GMountOperationResult = u32 ; pub const GOutputStreamSpliceFlags_G_OUTPUT_STREAM_SPLICE_NONE : GOutputStreamSpliceFlags = 0 ; pub const GOutputStreamSpliceFlags_G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE : GOutputStreamSpliceFlags = 1 ; pub const GOutputStreamSpliceFlags_G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET : GOutputStreamSpliceFlags = 2 ; pub type GOutputStreamSpliceFlags = u32 ; pub const GIOStreamSpliceFlags_G_IO_STREAM_SPLICE_NONE : GIOStreamSpliceFlags = 0 ; pub const GIOStreamSpliceFlags_G_IO_STREAM_SPLICE_CLOSE_STREAM1 : GIOStreamSpliceFlags = 1 ; pub const GIOStreamSpliceFlags_G_IO_STREAM_SPLICE_CLOSE_STREAM2 : GIOStreamSpliceFlags = 2 ; pub const GIOStreamSpliceFlags_G_IO_STREAM_SPLICE_WAIT_FOR_BOTH : GIOStreamSpliceFlags = 4 ; pub type GIOStreamSpliceFlags = u32 ; pub const GEmblemOrigin_G_EMBLEM_ORIGIN_UNKNOWN : GEmblemOrigin = 0 ; pub const GEmblemOrigin_G_EMBLEM_ORIGIN_DEVICE : GEmblemOrigin = 1 ; pub const GEmblemOrigin_G_EMBLEM_ORIGIN_LIVEMETADATA : GEmblemOrigin = 2 ; pub const GEmblemOrigin_G_EMBLEM_ORIGIN_TAG : GEmblemOrigin = 3 ; pub type GEmblemOrigin = u32 ; pub const GResolverError_G_RESOLVER_ERROR_NOT_FOUND : GResolverError = 0 ; pub const GResolverError_G_RESOLVER_ERROR_TEMPORARY_FAILURE : GResolverError = 1 ; pub const GResolverError_G_RESOLVER_ERROR_INTERNAL : GResolverError = 2 ; pub type GResolverError = u32 ; pub const GResolverRecordType_G_RESOLVER_RECORD_SRV : GResolverRecordType = 1 ; pub const GResolverRecordType_G_RESOLVER_RECORD_MX : GResolverRecordType = 2 ; pub const GResolverRecordType_G_RESOLVER_RECORD_TXT : GResolverRecordType = 3 ; pub const GResolverRecordType_G_RESOLVER_RECORD_SOA : GResolverRecordType = 4 ; pub const GResolverRecordType_G_RESOLVER_RECORD_NS : GResolverRecordType = 5 ; pub type GResolverRecordType = u32 ; pub const GResourceError_G_RESOURCE_ERROR_NOT_FOUND : GResourceError = 0 ; pub const GResourceError_G_RESOURCE_ERROR_INTERNAL : GResourceError = 1 ; pub type GResourceError = u32 ; pub const GResourceFlags_G_RESOURCE_FLAGS_NONE : GResourceFlags = 0 ; pub const GResourceFlags_G_RESOURCE_FLAGS_COMPRESSED : GResourceFlags = 1 ; pub type GResourceFlags = u32 ; pub const GResourceLookupFlags_G_RESOURCE_LOOKUP_FLAGS_NONE : GResourceLookupFlags = 0 ; pub type GResourceLookupFlags = u32 ; pub const GSocketFamily_G_SOCKET_FAMILY_INVALID : GSocketFamily = 0 ; pub const GSocketFamily_G_SOCKET_FAMILY_UNIX : GSocketFamily = 1 ; pub const GSocketFamily_G_SOCKET_FAMILY_IPV4 : GSocketFamily = 2 ; pub const GSocketFamily_G_SOCKET_FAMILY_IPV6 : GSocketFamily = 10 ; pub type GSocketFamily = u32 ; pub const GSocketType_G_SOCKET_TYPE_INVALID : GSocketType = 0 ; pub const GSocketType_G_SOCKET_TYPE_STREAM : GSocketType = 1 ; pub const GSocketType_G_SOCKET_TYPE_DATAGRAM : GSocketType = 2 ; pub const GSocketType_G_SOCKET_TYPE_SEQPACKET : GSocketType = 3 ; pub type GSocketType = u32 ; pub const GSocketMsgFlags_G_SOCKET_MSG_NONE : GSocketMsgFlags = 0 ; pub const GSocketMsgFlags_G_SOCKET_MSG_OOB : GSocketMsgFlags = 1 ; pub const GSocketMsgFlags_G_SOCKET_MSG_PEEK : GSocketMsgFlags = 2 ; pub const GSocketMsgFlags_G_SOCKET_MSG_DONTROUTE : GSocketMsgFlags = 4 ; pub type GSocketMsgFlags = u32 ; pub const GSocketProtocol_G_SOCKET_PROTOCOL_UNKNOWN : GSocketProtocol = -1 ; pub const GSocketProtocol_G_SOCKET_PROTOCOL_DEFAULT : GSocketProtocol = 0 ; pub const GSocketProtocol_G_SOCKET_PROTOCOL_TCP : GSocketProtocol = 6 ; pub const GSocketProtocol_G_SOCKET_PROTOCOL_UDP : GSocketProtocol = 17 ; pub const GSocketProtocol_G_SOCKET_PROTOCOL_SCTP : GSocketProtocol = 132 ; pub type GSocketProtocol = i32 ; pub const GZlibCompressorFormat_G_ZLIB_COMPRESSOR_FORMAT_ZLIB : GZlibCompressorFormat = 0 ; pub const GZlibCompressorFormat_G_ZLIB_COMPRESSOR_FORMAT_GZIP : GZlibCompressorFormat = 1 ; pub const GZlibCompressorFormat_G_ZLIB_COMPRESSOR_FORMAT_RAW : GZlibCompressorFormat = 2 ; pub type GZlibCompressorFormat = u32 ; pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_INVALID : GUnixSocketAddressType = 0 ; pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_ANONYMOUS : GUnixSocketAddressType = 1 ; pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_PATH : GUnixSocketAddressType = 2 ; pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_ABSTRACT : GUnixSocketAddressType = 3 ; pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED : GUnixSocketAddressType = 4 ; pub type GUnixSocketAddressType = u32 ; pub const GBusType_G_BUS_TYPE_STARTER : GBusType = -1 ; pub const GBusType_G_BUS_TYPE_NONE : GBusType = 0 ; pub const GBusType_G_BUS_TYPE_SYSTEM : GBusType = 1 ; pub const GBusType_G_BUS_TYPE_SESSION : GBusType = 2 ; pub type GBusType = i32 ; pub const GBusNameOwnerFlags_G_BUS_NAME_OWNER_FLAGS_NONE : GBusNameOwnerFlags = 0 ; pub const GBusNameOwnerFlags_G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT : GBusNameOwnerFlags = 1 ; pub const GBusNameOwnerFlags_G_BUS_NAME_OWNER_FLAGS_REPLACE : GBusNameOwnerFlags = 2 ; pub const GBusNameOwnerFlags_G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE : GBusNameOwnerFlags = 4 ; pub type GBusNameOwnerFlags = u32 ; pub const GBusNameWatcherFlags_G_BUS_NAME_WATCHER_FLAGS_NONE : GBusNameWatcherFlags = 0 ; pub const GBusNameWatcherFlags_G_BUS_NAME_WATCHER_FLAGS_AUTO_START : GBusNameWatcherFlags = 1 ; pub type GBusNameWatcherFlags = u32 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_NONE : GDBusProxyFlags = 0 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES : GDBusProxyFlags = 1 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS : GDBusProxyFlags = 2 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START : GDBusProxyFlags = 4 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES : GDBusProxyFlags = 8 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION : GDBusProxyFlags = 16 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_NO_MATCH_RULE : GDBusProxyFlags = 32 ; pub type GDBusProxyFlags = u32 ; pub const GDBusError_G_DBUS_ERROR_FAILED : GDBusError = 0 ; pub const GDBusError_G_DBUS_ERROR_NO_MEMORY : GDBusError = 1 ; pub const GDBusError_G_DBUS_ERROR_SERVICE_UNKNOWN : GDBusError = 2 ; pub const GDBusError_G_DBUS_ERROR_NAME_HAS_NO_OWNER : GDBusError = 3 ; pub const GDBusError_G_DBUS_ERROR_NO_REPLY : GDBusError = 4 ; pub const GDBusError_G_DBUS_ERROR_IO_ERROR : GDBusError = 5 ; pub const GDBusError_G_DBUS_ERROR_BAD_ADDRESS : GDBusError = 6 ; pub const GDBusError_G_DBUS_ERROR_NOT_SUPPORTED : GDBusError = 7 ; pub const GDBusError_G_DBUS_ERROR_LIMITS_EXCEEDED : GDBusError = 8 ; pub const GDBusError_G_DBUS_ERROR_ACCESS_DENIED : GDBusError = 9 ; pub const GDBusError_G_DBUS_ERROR_AUTH_FAILED : GDBusError = 10 ; pub const GDBusError_G_DBUS_ERROR_NO_SERVER : GDBusError = 11 ; pub const GDBusError_G_DBUS_ERROR_TIMEOUT : GDBusError = 12 ; pub const GDBusError_G_DBUS_ERROR_NO_NETWORK : GDBusError = 13 ; pub const GDBusError_G_DBUS_ERROR_ADDRESS_IN_USE : GDBusError = 14 ; pub const GDBusError_G_DBUS_ERROR_DISCONNECTED : GDBusError = 15 ; pub const GDBusError_G_DBUS_ERROR_INVALID_ARGS : GDBusError = 16 ; pub const GDBusError_G_DBUS_ERROR_FILE_NOT_FOUND : GDBusError = 17 ; pub const GDBusError_G_DBUS_ERROR_FILE_EXISTS : GDBusError = 18 ; pub const GDBusError_G_DBUS_ERROR_UNKNOWN_METHOD : GDBusError = 19 ; pub const GDBusError_G_DBUS_ERROR_TIMED_OUT : GDBusError = 20 ; pub const GDBusError_G_DBUS_ERROR_MATCH_RULE_NOT_FOUND : GDBusError = 21 ; pub const GDBusError_G_DBUS_ERROR_MATCH_RULE_INVALID : GDBusError = 22 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_EXEC_FAILED : GDBusError = 23 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_FORK_FAILED : GDBusError = 24 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_CHILD_EXITED : GDBusError = 25 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_CHILD_SIGNALED : GDBusError = 26 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_FAILED : GDBusError = 27 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_SETUP_FAILED : GDBusError = 28 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_CONFIG_INVALID : GDBusError = 29 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_SERVICE_INVALID : GDBusError = 30 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND : GDBusError = 31 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID : GDBusError = 32 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_FILE_INVALID : GDBusError = 33 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_NO_MEMORY : GDBusError = 34 ; pub const GDBusError_G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN : GDBusError = 35 ; pub const GDBusError_G_DBUS_ERROR_INVALID_SIGNATURE : GDBusError = 36 ; pub const GDBusError_G_DBUS_ERROR_INVALID_FILE_CONTENT : GDBusError = 37 ; pub const GDBusError_G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN : GDBusError = 38 ; pub const GDBusError_G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN : GDBusError = 39 ; pub const GDBusError_G_DBUS_ERROR_OBJECT_PATH_IN_USE : GDBusError = 40 ; pub const GDBusError_G_DBUS_ERROR_UNKNOWN_OBJECT : GDBusError = 41 ; pub const GDBusError_G_DBUS_ERROR_UNKNOWN_INTERFACE : GDBusError = 42 ; pub const GDBusError_G_DBUS_ERROR_UNKNOWN_PROPERTY : GDBusError = 43 ; pub const GDBusError_G_DBUS_ERROR_PROPERTY_READ_ONLY : GDBusError = 44 ; pub type GDBusError = u32 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_NONE : GDBusConnectionFlags = 0 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT : GDBusConnectionFlags = 1 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER : GDBusConnectionFlags = 2 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS : GDBusConnectionFlags = 4 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION : GDBusConnectionFlags = 8 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING : GDBusConnectionFlags = 16 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER : GDBusConnectionFlags = 32 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_CROSS_NAMESPACE : GDBusConnectionFlags = 64 ; pub type GDBusConnectionFlags = u32 ; pub const GDBusCapabilityFlags_G_DBUS_CAPABILITY_FLAGS_NONE : GDBusCapabilityFlags = 0 ; pub const GDBusCapabilityFlags_G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING : GDBusCapabilityFlags = 1 ; pub type GDBusCapabilityFlags = u32 ; pub const GDBusCallFlags_G_DBUS_CALL_FLAGS_NONE : GDBusCallFlags = 0 ; pub const GDBusCallFlags_G_DBUS_CALL_FLAGS_NO_AUTO_START : GDBusCallFlags = 1 ; pub const GDBusCallFlags_G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION : GDBusCallFlags = 2 ; pub type GDBusCallFlags = u32 ; pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_INVALID : GDBusMessageType = 0 ; pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_METHOD_CALL : GDBusMessageType = 1 ; pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_METHOD_RETURN : GDBusMessageType = 2 ; pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_ERROR : GDBusMessageType = 3 ; pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_SIGNAL : GDBusMessageType = 4 ; pub type GDBusMessageType = u32 ; pub const GDBusMessageFlags_G_DBUS_MESSAGE_FLAGS_NONE : GDBusMessageFlags = 0 ; pub const GDBusMessageFlags_G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED : GDBusMessageFlags = 1 ; pub const GDBusMessageFlags_G_DBUS_MESSAGE_FLAGS_NO_AUTO_START : GDBusMessageFlags = 2 ; pub const GDBusMessageFlags_G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION : GDBusMessageFlags = 4 ; pub type GDBusMessageFlags = u32 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_INVALID : GDBusMessageHeaderField = 0 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_PATH : GDBusMessageHeaderField = 1 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE : GDBusMessageHeaderField = 2 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_MEMBER : GDBusMessageHeaderField = 3 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME : GDBusMessageHeaderField = 4 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL : GDBusMessageHeaderField = 5 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION : GDBusMessageHeaderField = 6 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_SENDER : GDBusMessageHeaderField = 7 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE : GDBusMessageHeaderField = 8 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS : GDBusMessageHeaderField = 9 ; pub type GDBusMessageHeaderField = u32 ; pub const GDBusPropertyInfoFlags_G_DBUS_PROPERTY_INFO_FLAGS_NONE : GDBusPropertyInfoFlags = 0 ; pub const GDBusPropertyInfoFlags_G_DBUS_PROPERTY_INFO_FLAGS_READABLE : GDBusPropertyInfoFlags = 1 ; pub const GDBusPropertyInfoFlags_G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE : GDBusPropertyInfoFlags = 2 ; pub type GDBusPropertyInfoFlags = u32 ; pub const GDBusSubtreeFlags_G_DBUS_SUBTREE_FLAGS_NONE : GDBusSubtreeFlags = 0 ; pub const GDBusSubtreeFlags_G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES : GDBusSubtreeFlags = 1 ; pub type GDBusSubtreeFlags = u32 ; pub const GDBusServerFlags_G_DBUS_SERVER_FLAGS_NONE : GDBusServerFlags = 0 ; pub const GDBusServerFlags_G_DBUS_SERVER_FLAGS_RUN_IN_THREAD : GDBusServerFlags = 1 ; pub const GDBusServerFlags_G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS : GDBusServerFlags = 2 ; pub const GDBusServerFlags_G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER : GDBusServerFlags = 4 ; pub type GDBusServerFlags = u32 ; pub const GDBusSignalFlags_G_DBUS_SIGNAL_FLAGS_NONE : GDBusSignalFlags = 0 ; pub const GDBusSignalFlags_G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE : GDBusSignalFlags = 1 ; pub const GDBusSignalFlags_G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE : GDBusSignalFlags = 2 ; pub const GDBusSignalFlags_G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH : GDBusSignalFlags = 4 ; pub type GDBusSignalFlags = u32 ; pub const GDBusSendMessageFlags_G_DBUS_SEND_MESSAGE_FLAGS_NONE : GDBusSendMessageFlags = 0 ; pub const GDBusSendMessageFlags_G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL : GDBusSendMessageFlags = 1 ; pub type GDBusSendMessageFlags = u32 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_INVALID : GCredentialsType = 0 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_LINUX_UCRED : GCredentialsType = 1 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED : GCredentialsType = 2 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED : GCredentialsType = 3 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_SOLARIS_UCRED : GCredentialsType = 4 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_NETBSD_UNPCBID : GCredentialsType = 5 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_APPLE_XUCRED : GCredentialsType = 6 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_WIN32_PID : GCredentialsType = 7 ; pub type GCredentialsType = u32 ; pub const GDBusMessageByteOrder_G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN : GDBusMessageByteOrder = 66 ; pub const GDBusMessageByteOrder_G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN : GDBusMessageByteOrder = 108 ; pub type GDBusMessageByteOrder = u32 ; pub const GApplicationFlags_G_APPLICATION_FLAGS_NONE : GApplicationFlags = 0 ; pub const GApplicationFlags_G_APPLICATION_DEFAULT_FLAGS : GApplicationFlags = 0 ; pub const GApplicationFlags_G_APPLICATION_IS_SERVICE : GApplicationFlags = 1 ; pub const GApplicationFlags_G_APPLICATION_IS_LAUNCHER : GApplicationFlags = 2 ; pub const GApplicationFlags_G_APPLICATION_HANDLES_OPEN : GApplicationFlags = 4 ; pub const GApplicationFlags_G_APPLICATION_HANDLES_COMMAND_LINE : GApplicationFlags = 8 ; pub const GApplicationFlags_G_APPLICATION_SEND_ENVIRONMENT : GApplicationFlags = 16 ; pub const GApplicationFlags_G_APPLICATION_NON_UNIQUE : GApplicationFlags = 32 ; pub const GApplicationFlags_G_APPLICATION_CAN_OVERRIDE_APP_ID : GApplicationFlags = 64 ; pub const GApplicationFlags_G_APPLICATION_ALLOW_REPLACEMENT : GApplicationFlags = 128 ; pub const GApplicationFlags_G_APPLICATION_REPLACE : GApplicationFlags = 256 ; pub type GApplicationFlags = u32 ; pub const GTlsError_G_TLS_ERROR_UNAVAILABLE : GTlsError = 0 ; pub const GTlsError_G_TLS_ERROR_MISC : GTlsError = 1 ; pub const GTlsError_G_TLS_ERROR_BAD_CERTIFICATE : GTlsError = 2 ; pub const GTlsError_G_TLS_ERROR_NOT_TLS : GTlsError = 3 ; pub const GTlsError_G_TLS_ERROR_HANDSHAKE : GTlsError = 4 ; pub const GTlsError_G_TLS_ERROR_CERTIFICATE_REQUIRED : GTlsError = 5 ; pub const GTlsError_G_TLS_ERROR_EOF : GTlsError = 6 ; pub const GTlsError_G_TLS_ERROR_INAPPROPRIATE_FALLBACK : GTlsError = 7 ; pub const GTlsError_G_TLS_ERROR_BAD_CERTIFICATE_PASSWORD : GTlsError = 8 ; pub type GTlsError = u32 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_NO_FLAGS : GTlsCertificateFlags = 0 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_UNKNOWN_CA : GTlsCertificateFlags = 1 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_BAD_IDENTITY : GTlsCertificateFlags = 2 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_NOT_ACTIVATED : GTlsCertificateFlags = 4 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_EXPIRED : GTlsCertificateFlags = 8 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_REVOKED : GTlsCertificateFlags = 16 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_INSECURE : GTlsCertificateFlags = 32 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_GENERIC_ERROR : GTlsCertificateFlags = 64 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_VALIDATE_ALL : GTlsCertificateFlags = 127 ; pub type GTlsCertificateFlags = u32 ; pub const GTlsAuthenticationMode_G_TLS_AUTHENTICATION_NONE : GTlsAuthenticationMode = 0 ; pub const GTlsAuthenticationMode_G_TLS_AUTHENTICATION_REQUESTED : GTlsAuthenticationMode = 1 ; pub const GTlsAuthenticationMode_G_TLS_AUTHENTICATION_REQUIRED : GTlsAuthenticationMode = 2 ; pub type GTlsAuthenticationMode = u32 ; pub const GTlsChannelBindingType_G_TLS_CHANNEL_BINDING_TLS_UNIQUE : GTlsChannelBindingType = 0 ; pub const GTlsChannelBindingType_G_TLS_CHANNEL_BINDING_TLS_SERVER_END_POINT : GTlsChannelBindingType = 1 ; pub const GTlsChannelBindingType_G_TLS_CHANNEL_BINDING_TLS_EXPORTER : GTlsChannelBindingType = 2 ; pub type GTlsChannelBindingType = u32 ; pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_NOT_IMPLEMENTED : GTlsChannelBindingError = 0 ; pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_INVALID_STATE : GTlsChannelBindingError = 1 ; pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_NOT_AVAILABLE : GTlsChannelBindingError = 2 ; pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_NOT_SUPPORTED : GTlsChannelBindingError = 3 ; pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_GENERAL_ERROR : GTlsChannelBindingError = 4 ; pub type GTlsChannelBindingError = u32 ; pub const GTlsRehandshakeMode_G_TLS_REHANDSHAKE_NEVER : GTlsRehandshakeMode = 0 ; pub const GTlsRehandshakeMode_G_TLS_REHANDSHAKE_SAFELY : GTlsRehandshakeMode = 1 ; pub const GTlsRehandshakeMode_G_TLS_REHANDSHAKE_UNSAFELY : GTlsRehandshakeMode = 2 ; pub type GTlsRehandshakeMode = u32 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_NONE : _GTlsPasswordFlags = 0 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_RETRY : _GTlsPasswordFlags = 2 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_MANY_TRIES : _GTlsPasswordFlags = 4 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_FINAL_TRY : _GTlsPasswordFlags = 8 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_PKCS11_USER : _GTlsPasswordFlags = 16 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_PKCS11_SECURITY_OFFICER : _GTlsPasswordFlags = 32 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_PKCS11_CONTEXT_SPECIFIC : _GTlsPasswordFlags = 64 ; pub type _GTlsPasswordFlags = u32 ; pub use self :: _GTlsPasswordFlags as GTlsPasswordFlags ; pub const GTlsInteractionResult_G_TLS_INTERACTION_UNHANDLED : GTlsInteractionResult = 0 ; pub const GTlsInteractionResult_G_TLS_INTERACTION_HANDLED : GTlsInteractionResult = 1 ; pub const GTlsInteractionResult_G_TLS_INTERACTION_FAILED : GTlsInteractionResult = 2 ; pub type GTlsInteractionResult = u32 ; pub const GDBusInterfaceSkeletonFlags_G_DBUS_INTERFACE_SKELETON_FLAGS_NONE : GDBusInterfaceSkeletonFlags = 0 ; pub const GDBusInterfaceSkeletonFlags_G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD : GDBusInterfaceSkeletonFlags = 1 ; pub type GDBusInterfaceSkeletonFlags = u32 ; pub const GDBusObjectManagerClientFlags_G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE : GDBusObjectManagerClientFlags = 0 ; pub const GDBusObjectManagerClientFlags_G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START : GDBusObjectManagerClientFlags = 1 ; pub type GDBusObjectManagerClientFlags = u32 ; pub const GTlsDatabaseVerifyFlags_G_TLS_DATABASE_VERIFY_NONE : GTlsDatabaseVerifyFlags = 0 ; pub type GTlsDatabaseVerifyFlags = u32 ; pub const GTlsDatabaseLookupFlags_G_TLS_DATABASE_LOOKUP_NONE : GTlsDatabaseLookupFlags = 0 ; pub const GTlsDatabaseLookupFlags_G_TLS_DATABASE_LOOKUP_KEYPAIR : GTlsDatabaseLookupFlags = 1 ; pub type GTlsDatabaseLookupFlags = u32 ; pub const GTlsCertificateRequestFlags_G_TLS_CERTIFICATE_REQUEST_NONE : GTlsCertificateRequestFlags = 0 ; pub type GTlsCertificateRequestFlags = u32 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_UNKNOWN : GTlsProtocolVersion = 0 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_SSL_3_0 : GTlsProtocolVersion = 1 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_TLS_1_0 : GTlsProtocolVersion = 2 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_TLS_1_1 : GTlsProtocolVersion = 3 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_TLS_1_2 : GTlsProtocolVersion = 4 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_TLS_1_3 : GTlsProtocolVersion = 5 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_DTLS_1_0 : GTlsProtocolVersion = 201 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_DTLS_1_2 : GTlsProtocolVersion = 202 ; pub type GTlsProtocolVersion = u32 ; pub const GIOModuleScopeFlags_G_IO_MODULE_SCOPE_NONE : GIOModuleScopeFlags = 0 ; pub const GIOModuleScopeFlags_G_IO_MODULE_SCOPE_BLOCK_DUPLICATES : GIOModuleScopeFlags = 1 ; pub type GIOModuleScopeFlags = u32 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_RESOLVING : GSocketClientEvent = 0 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_RESOLVED : GSocketClientEvent = 1 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_CONNECTING : GSocketClientEvent = 2 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_CONNECTED : GSocketClientEvent = 3 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_PROXY_NEGOTIATING : GSocketClientEvent = 4 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_PROXY_NEGOTIATED : GSocketClientEvent = 5 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_TLS_HANDSHAKING : GSocketClientEvent = 6 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_TLS_HANDSHAKED : GSocketClientEvent = 7 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_COMPLETE : GSocketClientEvent = 8 ; pub type GSocketClientEvent = u32 ; pub const GSocketListenerEvent_G_SOCKET_LISTENER_BINDING : GSocketListenerEvent = 0 ; pub const GSocketListenerEvent_G_SOCKET_LISTENER_BOUND : GSocketListenerEvent = 1 ; pub const GSocketListenerEvent_G_SOCKET_LISTENER_LISTENING : GSocketListenerEvent = 2 ; pub const GSocketListenerEvent_G_SOCKET_LISTENER_LISTENED : GSocketListenerEvent = 3 ; pub type GSocketListenerEvent = u32 ; pub const GTestDBusFlags_G_TEST_DBUS_NONE : GTestDBusFlags = 0 ; pub type GTestDBusFlags = u32 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_NONE : GSubprocessFlags = 0 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDIN_PIPE : GSubprocessFlags = 1 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDIN_INHERIT : GSubprocessFlags = 2 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDOUT_PIPE : GSubprocessFlags = 4 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDOUT_SILENCE : GSubprocessFlags = 8 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDERR_PIPE : GSubprocessFlags = 16 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDERR_SILENCE : GSubprocessFlags = 32 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDERR_MERGE : GSubprocessFlags = 64 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_INHERIT_FDS : GSubprocessFlags = 128 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_SEARCH_PATH_FROM_ENVP : GSubprocessFlags = 256 ; pub type GSubprocessFlags = u32 ; pub const GNotificationPriority_G_NOTIFICATION_PRIORITY_NORMAL : GNotificationPriority = 0 ; pub const GNotificationPriority_G_NOTIFICATION_PRIORITY_LOW : GNotificationPriority = 1 ; pub const GNotificationPriority_G_NOTIFICATION_PRIORITY_HIGH : GNotificationPriority = 2 ; pub const GNotificationPriority_G_NOTIFICATION_PRIORITY_URGENT : GNotificationPriority = 3 ; pub type GNotificationPriority = u32 ; pub const GNetworkConnectivity_G_NETWORK_CONNECTIVITY_LOCAL : GNetworkConnectivity = 1 ; pub const GNetworkConnectivity_G_NETWORK_CONNECTIVITY_LIMITED : GNetworkConnectivity = 2 ; pub const GNetworkConnectivity_G_NETWORK_CONNECTIVITY_PORTAL : GNetworkConnectivity = 3 ; pub const GNetworkConnectivity_G_NETWORK_CONNECTIVITY_FULL : GNetworkConnectivity = 4 ; pub type GNetworkConnectivity = u32 ; pub const GPollableReturn_G_POLLABLE_RETURN_FAILED : GPollableReturn = 0 ; pub const GPollableReturn_G_POLLABLE_RETURN_OK : GPollableReturn = 1 ; pub const GPollableReturn_G_POLLABLE_RETURN_WOULD_BLOCK : GPollableReturn = -27 ; pub type GPollableReturn = i32 ; pub const GMemoryMonitorWarningLevel_G_MEMORY_MONITOR_WARNING_LEVEL_LOW : GMemoryMonitorWarningLevel = 50 ; pub const GMemoryMonitorWarningLevel_G_MEMORY_MONITOR_WARNING_LEVEL_MEDIUM : GMemoryMonitorWarningLevel = 100 ; pub const GMemoryMonitorWarningLevel_G_MEMORY_MONITOR_WARNING_LEVEL_CRITICAL : GMemoryMonitorWarningLevel = 255 ; pub type GMemoryMonitorWarningLevel = u32 ; pub type GAppLaunchContext = _GAppLaunchContext ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAppInfo { _unused : [ u8 ; 0 ] , } pub type GAppInfo = _GAppInfo ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAsyncResult { _unused : [ u8 ; 0 ] , } pub type GAsyncResult = _GAsyncResult ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAsyncInitable { _unused : [ u8 ; 0 ] , } pub type GAsyncInitable = _GAsyncInitable ; pub type GBufferedInputStream = _GBufferedInputStream ; pub type GBufferedOutputStream = _GBufferedOutputStream ; pub type GCancellable = _GCancellable ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCharsetConverter { _unused : [ u8 ; 0 ] , } pub type GCharsetConverter = _GCharsetConverter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverter { _unused : [ u8 ; 0 ] , } pub type GConverter = _GConverter ; pub type GConverterInputStream = _GConverterInputStream ; pub type GConverterOutputStream = _GConverterOutputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDatagramBased { _unused : [ u8 ; 0 ] , } pub type GDatagramBased = _GDatagramBased ; pub type GDataInputStream = _GDataInputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimplePermission { _unused : [ u8 ; 0 ] , } pub type GSimplePermission = _GSimplePermission ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GZlibCompressor { _unused : [ u8 ; 0 ] , } pub type GZlibCompressor = _GZlibCompressor ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GZlibDecompressor { _unused : [ u8 ; 0 ] , } pub type GZlibDecompressor = _GZlibDecompressor ; pub type GSimpleActionGroup = _GSimpleActionGroup ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRemoteActionGroup { _unused : [ u8 ; 0 ] , } pub type GRemoteActionGroup = _GRemoteActionGroup ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusActionGroup { _unused : [ u8 ; 0 ] , } pub type GDBusActionGroup = _GDBusActionGroup ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GActionMap { _unused : [ u8 ; 0 ] , } pub type GActionMap = _GActionMap ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GActionGroup { _unused : [ u8 ; 0 ] , } pub type GActionGroup = _GActionGroup ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPropertyAction { _unused : [ u8 ; 0 ] , } pub type GPropertyAction = _GPropertyAction ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleAction { _unused : [ u8 ; 0 ] , } pub type GSimpleAction = _GSimpleAction ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAction { _unused : [ u8 ; 0 ] , } pub type GAction = _GAction ; pub type GApplication = _GApplication ; pub type GApplicationCommandLine = _GApplicationCommandLine ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettingsBackend { _unused : [ u8 ; 0 ] , } pub type GSettingsBackend = _GSettingsBackend ; pub type GSettings = _GSettings ; pub type GPermission = _GPermission ; pub type GMenuModel = _GMenuModel ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNotification { _unused : [ u8 ; 0 ] , } pub type GNotification = _GNotification ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDrive { _unused : [ u8 ; 0 ] , } pub type GDrive = _GDrive ; pub type GFileEnumerator = _GFileEnumerator ; pub type GFileMonitor = _GFileMonitor ; pub type GFilterInputStream = _GFilterInputStream ; pub type GFilterOutputStream = _GFilterOutputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFile { _unused : [ u8 ; 0 ] , } pub type GFile = _GFile ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileInfo { _unused : [ u8 ; 0 ] , } pub type GFileInfo = _GFileInfo ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileAttributeMatcher { _unused : [ u8 ; 0 ] , } pub type GFileAttributeMatcher = _GFileAttributeMatcher ; pub type GFileAttributeInfo = _GFileAttributeInfo ; pub type GFileAttributeInfoList = _GFileAttributeInfoList ; pub type GFileInputStream = _GFileInputStream ; pub type GFileOutputStream = _GFileOutputStream ; pub type GFileIOStream = _GFileIOStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileIcon { _unused : [ u8 ; 0 ] , } pub type GFileIcon = _GFileIcon ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFilenameCompleter { _unused : [ u8 ; 0 ] , } pub type GFilenameCompleter = _GFilenameCompleter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIcon { _unused : [ u8 ; 0 ] , } pub type GIcon = _GIcon ; pub type GInetAddress = _GInetAddress ; pub type GInetAddressMask = _GInetAddressMask ; pub type GInetSocketAddress = _GInetSocketAddress ; pub type GNativeSocketAddress = _GNativeSocketAddress ; pub type GInputStream = _GInputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInitable { _unused : [ u8 ; 0 ] , } pub type GInitable = _GInitable ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOModule { _unused : [ u8 ; 0 ] , } pub type GIOModule = _GIOModule ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOExtensionPoint { _unused : [ u8 ; 0 ] , } pub type GIOExtensionPoint = _GIOExtensionPoint ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOExtension { _unused : [ u8 ; 0 ] , } pub type GIOExtension = _GIOExtension ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOSchedulerJob { _unused : [ u8 ; 0 ] , } pub type GIOSchedulerJob = _GIOSchedulerJob ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOStreamAdapter { _unused : [ u8 ; 0 ] , } pub type GIOStreamAdapter = _GIOStreamAdapter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GLoadableIcon { _unused : [ u8 ; 0 ] , } pub type GLoadableIcon = _GLoadableIcon ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBytesIcon { _unused : [ u8 ; 0 ] , } pub type GBytesIcon = _GBytesIcon ; pub type GMemoryInputStream = _GMemoryInputStream ; pub type GMemoryOutputStream = _GMemoryOutputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMount { _unused : [ u8 ; 0 ] , } pub type GMount = _GMount ; pub type GMountOperation = _GMountOperation ; pub type GNetworkAddress = _GNetworkAddress ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkMonitor { _unused : [ u8 ; 0 ] , } pub type GNetworkMonitor = _GNetworkMonitor ; pub type GNetworkService = _GNetworkService ; pub type GOutputStream = _GOutputStream ; pub type GIOStream = _GIOStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleIOStream { _unused : [ u8 ; 0 ] , } pub type GSimpleIOStream = _GSimpleIOStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPollableInputStream { _unused : [ u8 ; 0 ] , } pub type GPollableInputStream = _GPollableInputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPollableOutputStream { _unused : [ u8 ; 0 ] , } pub type GPollableOutputStream = _GPollableOutputStream ; pub type GResolver = _GResolver ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GResource { _unused : [ u8 ; 0 ] , } pub type GResource = _GResource ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSeekable { _unused : [ u8 ; 0 ] , } pub type GSeekable = _GSeekable ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleAsyncResult { _unused : [ u8 ; 0 ] , } pub type GSimpleAsyncResult = _GSimpleAsyncResult ; pub type GSocket = _GSocket ; pub type GSocketControlMessage = _GSocketControlMessage ; pub type GSocketClient = _GSocketClient ; pub type GSocketConnection = _GSocketConnection ; pub type GSocketListener = _GSocketListener ; pub type GSocketService = _GSocketService ; pub type GSocketAddress = _GSocketAddress ; pub type GSocketAddressEnumerator = _GSocketAddressEnumerator ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketConnectable { _unused : [ u8 ; 0 ] , } pub type GSocketConnectable = _GSocketConnectable ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSrvTarget { _unused : [ u8 ; 0 ] , } pub type GSrvTarget = _GSrvTarget ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTask { _unused : [ u8 ; 0 ] , } pub type GTask = _GTask ; pub type GTcpConnection = _GTcpConnection ; pub type GTcpWrapperConnection = _GTcpWrapperConnection ; pub type GThreadedSocketService = _GThreadedSocketService ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDtlsConnection { _unused : [ u8 ; 0 ] , } pub type GDtlsConnection = _GDtlsConnection ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDtlsClientConnection { _unused : [ u8 ; 0 ] , } pub type GDtlsClientConnection = _GDtlsClientConnection ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDtlsServerConnection { _unused : [ u8 ; 0 ] , } pub type GDtlsServerConnection = _GDtlsServerConnection ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThemedIcon { _unused : [ u8 ; 0 ] , } pub type GThemedIcon = _GThemedIcon ; pub type GTlsCertificate = _GTlsCertificate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsClientConnection { _unused : [ u8 ; 0 ] , } pub type GTlsClientConnection = _GTlsClientConnection ; pub type GTlsConnection = _GTlsConnection ; pub type GTlsDatabase = _GTlsDatabase ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsFileDatabase { _unused : [ u8 ; 0 ] , } pub type GTlsFileDatabase = _GTlsFileDatabase ; pub type GTlsInteraction = _GTlsInteraction ; pub type GTlsPassword = _GTlsPassword ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsServerConnection { _unused : [ u8 ; 0 ] , } pub type GTlsServerConnection = _GTlsServerConnection ; pub type GVfs = _GVfs ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyResolver { _unused : [ u8 ; 0 ] , } pub type GProxyResolver = _GProxyResolver ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxy { _unused : [ u8 ; 0 ] , } pub type GProxy = _GProxy ; pub type GProxyAddress = _GProxyAddress ; pub type GProxyAddressEnumerator = _GProxyAddressEnumerator ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVolume { _unused : [ u8 ; 0 ] , } pub type GVolume = _GVolume ; pub type GVolumeMonitor = _GVolumeMonitor ; pub type GAsyncReadyCallback = :: std :: option :: Option < unsafe extern "C" fn ( source_object : * mut GObject , res : * mut GAsyncResult , data : gpointer ) > ; pub type GFileProgressCallback = :: std :: option :: Option < unsafe extern "C" fn ( current_num_bytes : goffset , total_num_bytes : goffset , data : gpointer ) > ; pub type GFileReadMoreCallback = :: std :: option :: Option < unsafe extern "C" fn ( file_contents : * const :: std :: os :: raw :: c_char , file_size : goffset , callback_data : gpointer ) -> gboolean > ; pub type GFileMeasureProgressCallback = :: std :: option :: Option < unsafe extern "C" fn ( reporting : gboolean , current_size : guint64 , num_dirs : guint64 , num_files : guint64 , data : gpointer ) > ; pub type GIOSchedulerJobFunc = :: std :: option :: Option < unsafe extern "C" fn ( job : * mut GIOSchedulerJob , cancellable : * mut GCancellable , data : gpointer ) -> gboolean > ; pub type GSimpleAsyncThreadFunc = :: std :: option :: Option < unsafe extern "C" fn ( res : * mut GSimpleAsyncResult , object : * mut GObject , cancellable : * mut GCancellable ) > ; pub type GSocketSourceFunc = :: std :: option :: Option < unsafe extern "C" fn ( socket : * mut GSocket , condition : GIOCondition , data : gpointer ) -> gboolean > ; pub type GDatagramBasedSourceFunc = :: std :: option :: Option < unsafe extern "C" fn ( datagram_based : * mut GDatagramBased , condition : GIOCondition , data : gpointer ) -> gboolean > ; pub type GInputVector = _GInputVector ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInputVector { pub buffer : gpointer , pub size : gsize , } # [ test ] fn bindgen_test_layout__GInputVector ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInputVector > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GInputVector ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInputVector > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInputVector ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputVector > ( ) ) ) . buffer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInputVector ) , "::" , stringify ! ( buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputVector > ( ) ) ) . size as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GInputVector ) , "::" , stringify ! ( size ) ) ) ; } pub type GInputMessage = _GInputMessage ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInputMessage { pub address : * mut * mut GSocketAddress , pub vectors : * mut GInputVector , pub num_vectors : guint , pub bytes_received : gsize , pub flags : gint , pub control_messages : * mut * mut * mut GSocketControlMessage , pub num_control_messages : * mut guint , } # [ test ] fn bindgen_test_layout__GInputMessage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInputMessage > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GInputMessage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInputMessage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInputMessage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . address as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( address ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . vectors as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( vectors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . num_vectors as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( num_vectors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . bytes_received as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( bytes_received ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . flags as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . control_messages as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( control_messages ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . num_control_messages as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( num_control_messages ) ) ) ; } pub type GOutputVector = _GOutputVector ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOutputVector { pub buffer : gconstpointer , pub size : gsize , } # [ test ] fn bindgen_test_layout__GOutputVector ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GOutputVector > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GOutputVector ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GOutputVector > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GOutputVector ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputVector > ( ) ) ) . buffer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputVector ) , "::" , stringify ! ( buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputVector > ( ) ) ) . size as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputVector ) , "::" , stringify ! ( size ) ) ) ; } pub type GOutputMessage = _GOutputMessage ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOutputMessage { pub address : * mut GSocketAddress , pub vectors : * mut GOutputVector , pub num_vectors : guint , pub bytes_sent : guint , pub control_messages : * mut * mut GSocketControlMessage , pub num_control_messages : guint , } # [ test ] fn bindgen_test_layout__GOutputMessage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GOutputMessage > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GOutputMessage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GOutputMessage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GOutputMessage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputMessage > ( ) ) ) . address as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputMessage ) , "::" , stringify ! ( address ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputMessage > ( ) ) ) . vectors as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputMessage ) , "::" , stringify ! ( vectors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputMessage > ( ) ) ) . num_vectors as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputMessage ) , "::" , stringify ! ( num_vectors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputMessage > ( ) ) ) . bytes_sent as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputMessage ) , "::" , stringify ! ( bytes_sent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputMessage > ( ) ) ) . control_messages as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputMessage ) , "::" , stringify ! ( control_messages ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputMessage > ( ) ) ) . num_control_messages as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputMessage ) , "::" , stringify ! ( num_control_messages ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCredentials { _unused : [ u8 ; 0 ] , } pub type GCredentials = _GCredentials ; pub type GUnixCredentialsMessage = _GUnixCredentialsMessage ; pub type GUnixFDList = _GUnixFDList ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusMessage { _unused : [ u8 ; 0 ] , } pub type GDBusMessage = _GDBusMessage ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusConnection { _unused : [ u8 ; 0 ] , } pub type GDBusConnection = _GDBusConnection ; pub type GDBusProxy = _GDBusProxy ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusMethodInvocation { _unused : [ u8 ; 0 ] , } pub type GDBusMethodInvocation = _GDBusMethodInvocation ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusServer { _unused : [ u8 ; 0 ] , } pub type GDBusServer = _GDBusServer ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusAuthObserver { _unused : [ u8 ; 0 ] , } pub type GDBusAuthObserver = _GDBusAuthObserver ; pub type GDBusErrorEntry = _GDBusErrorEntry ; pub type GDBusInterfaceVTable = _GDBusInterfaceVTable ; pub type GDBusSubtreeVTable = _GDBusSubtreeVTable ; pub type GDBusAnnotationInfo = _GDBusAnnotationInfo ; pub type GDBusArgInfo = _GDBusArgInfo ; pub type GDBusMethodInfo = _GDBusMethodInfo ; pub type GDBusSignalInfo = _GDBusSignalInfo ; pub type GDBusPropertyInfo = _GDBusPropertyInfo ; pub type GDBusInterfaceInfo = _GDBusInterfaceInfo ; pub type GDBusNodeInfo = _GDBusNodeInfo ; pub type GCancellableSourceFunc = :: std :: option :: Option < unsafe extern "C" fn ( cancellable : * mut GCancellable , data : gpointer ) -> gboolean > ; pub type GPollableSourceFunc = :: std :: option :: Option < unsafe extern "C" fn ( pollable_stream : * mut GObject , data : gpointer ) -> gboolean > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterface { _unused : [ u8 ; 0 ] , } pub type GDBusInterface = _GDBusInterface ; pub type GDBusInterfaceSkeleton = _GDBusInterfaceSkeleton ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObject { _unused : [ u8 ; 0 ] , } pub type GDBusObject = _GDBusObject ; pub type GDBusObjectSkeleton = _GDBusObjectSkeleton ; pub type GDBusObjectProxy = _GDBusObjectProxy ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManager { _unused : [ u8 ; 0 ] , } pub type GDBusObjectManager = _GDBusObjectManager ; pub type GDBusObjectManagerClient = _GDBusObjectManagerClient ; pub type GDBusObjectManagerServer = _GDBusObjectManagerServer ; pub type GDBusProxyTypeFunc = :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManagerClient , object_path : * const gchar , interface_name : * const gchar , data : gpointer ) -> GType > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTestDBus { _unused : [ u8 ; 0 ] , } pub type GTestDBus = _GTestDBus ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSubprocess { _unused : [ u8 ; 0 ] , } pub type GSubprocess = _GSubprocess ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSubprocessLauncher { _unused : [ u8 ; 0 ] , } pub type GSubprocessLauncher = _GSubprocessLauncher ; pub type GActionInterface = _GActionInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GActionInterface { pub g_iface : GTypeInterface , pub get_name : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction ) -> * const gchar > , pub get_parameter_type : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction ) -> * const GVariantType > , pub get_state_type : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction ) -> * const GVariantType > , pub get_state_hint : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction ) -> * mut GVariant > , pub get_enabled : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction ) -> gboolean > , pub get_state : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction ) -> * mut GVariant > , pub change_state : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction , value : * mut GVariant ) > , pub activate : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction , parameter : * mut GVariant ) > , } # [ test ] fn bindgen_test_layout__GActionInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GActionInterface > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GActionInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GActionInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GActionInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . get_name as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( get_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . get_parameter_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( get_parameter_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . get_state_type as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( get_state_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . get_state_hint as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( get_state_hint ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . get_enabled as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( get_enabled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . get_state as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( get_state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . change_state as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( change_state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . activate as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( activate ) ) ) ; } extern "C" { pub fn g_action_get_type ( ) -> GType ; } extern "C" { pub fn g_action_get_name ( action : * mut GAction ) -> * const gchar ; } extern "C" { pub fn g_action_get_parameter_type ( action : * mut GAction ) -> * const GVariantType ; } extern "C" { pub fn g_action_get_state_type ( action : * mut GAction ) -> * const GVariantType ; } extern "C" { pub fn g_action_get_state_hint ( action : * mut GAction ) -> * mut GVariant ; } extern "C" { pub fn g_action_get_enabled ( action : * mut GAction ) -> gboolean ; } extern "C" { pub fn g_action_get_state ( action : * mut GAction ) -> * mut GVariant ; } extern "C" { pub fn g_action_change_state ( action : * mut GAction , value : * mut GVariant ) ; } extern "C" { pub fn g_action_activate ( action : * mut GAction , parameter : * mut GVariant ) ; } extern "C" { pub fn g_action_name_is_valid ( action_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_action_parse_detailed_name ( detailed_name : * const gchar , action_name : * mut * mut gchar , target_value : * mut * mut GVariant , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_action_print_detailed_name ( action_name : * const gchar , target_value : * mut GVariant ) -> * mut gchar ; } pub type GActionGroupInterface = _GActionGroupInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GActionGroupInterface { pub g_iface : GTypeInterface , pub has_action : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) -> gboolean > , pub list_actions : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup ) -> * mut * mut gchar > , pub get_action_enabled : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) -> gboolean > , pub get_action_parameter_type : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * const GVariantType > , pub get_action_state_type : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * const GVariantType > , pub get_action_state_hint : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * mut GVariant > , pub get_action_state : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * mut GVariant > , pub change_action_state : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar , value : * mut GVariant ) > , pub activate_action : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar , parameter : * mut GVariant ) > , pub action_added : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) > , pub action_removed : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) > , pub action_enabled_changed : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar , enabled : gboolean ) > , pub action_state_changed : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar , state : * mut GVariant ) > , pub query_action : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar , enabled : * mut gboolean , parameter_type : * mut * const GVariantType , state_type : * mut * const GVariantType , state_hint : * mut * mut GVariant , state : * mut * mut GVariant ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GActionGroupInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GActionGroupInterface > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GActionGroupInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GActionGroupInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GActionGroupInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . has_action as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( has_action ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . list_actions as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( list_actions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . get_action_enabled as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( get_action_enabled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . get_action_parameter_type as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( get_action_parameter_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . get_action_state_type as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( get_action_state_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . get_action_state_hint as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( get_action_state_hint ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . get_action_state as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( get_action_state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . change_action_state as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( change_action_state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . activate_action as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( activate_action ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . action_added as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( action_added ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . action_removed as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( action_removed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . action_enabled_changed as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( action_enabled_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . action_state_changed as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( action_state_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . query_action as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( query_action ) ) ) ; } extern "C" { pub fn g_action_group_get_type ( ) -> GType ; } extern "C" { pub fn g_action_group_has_action ( action_group : * mut GActionGroup , action_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_action_group_list_actions ( action_group : * mut GActionGroup ) -> * mut * mut gchar ; } extern "C" { pub fn g_action_group_get_action_parameter_type ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * const GVariantType ; } extern "C" { pub fn g_action_group_get_action_state_type ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * const GVariantType ; } extern "C" { pub fn g_action_group_get_action_state_hint ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_action_group_get_action_enabled ( action_group : * mut GActionGroup , action_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_action_group_get_action_state ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_action_group_change_action_state ( action_group : * mut GActionGroup , action_name : * const gchar , value : * mut GVariant ) ; } extern "C" { pub fn g_action_group_activate_action ( action_group : * mut GActionGroup , action_name : * const gchar , parameter : * mut GVariant ) ; } extern "C" { pub fn g_action_group_action_added ( action_group : * mut GActionGroup , action_name : * const gchar ) ; } extern "C" { pub fn g_action_group_action_removed ( action_group : * mut GActionGroup , action_name : * const gchar ) ; } extern "C" { pub fn g_action_group_action_enabled_changed ( action_group : * mut GActionGroup , action_name : * const gchar , enabled : gboolean ) ; } extern "C" { pub fn g_action_group_action_state_changed ( action_group : * mut GActionGroup , action_name : * const gchar , state : * mut GVariant ) ; } extern "C" { pub fn g_action_group_query_action ( action_group : * mut GActionGroup , action_name : * const gchar , enabled : * mut gboolean , parameter_type : * mut * const GVariantType , state_type : * mut * const GVariantType , state_hint : * mut * mut GVariant , state : * mut * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_export_action_group ( connection : * mut GDBusConnection , object_path : * const gchar , action_group : * mut GActionGroup , error : * mut * mut GError ) -> guint ; } extern "C" { pub fn g_dbus_connection_unexport_action_group ( connection : * mut GDBusConnection , export_id : guint ) ; } pub type GActionMapInterface = _GActionMapInterface ; pub type GActionEntry = _GActionEntry ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GActionMapInterface { pub g_iface : GTypeInterface , pub lookup_action : :: std :: option :: Option < unsafe extern "C" fn ( action_map : * mut GActionMap , action_name : * const gchar ) -> * mut GAction > , pub add_action : :: std :: option :: Option < unsafe extern "C" fn ( action_map : * mut GActionMap , action : * mut GAction ) > , pub remove_action : :: std :: option :: Option < unsafe extern "C" fn ( action_map : * mut GActionMap , action_name : * const gchar ) > , } # [ test ] fn bindgen_test_layout__GActionMapInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GActionMapInterface > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GActionMapInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GActionMapInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GActionMapInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionMapInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GActionMapInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionMapInterface > ( ) ) ) . lookup_action as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GActionMapInterface ) , "::" , stringify ! ( lookup_action ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionMapInterface > ( ) ) ) . add_action as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GActionMapInterface ) , "::" , stringify ! ( add_action ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionMapInterface > ( ) ) ) . remove_action as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GActionMapInterface ) , "::" , stringify ! ( remove_action ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GActionEntry { pub name : * const gchar , pub activate : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GSimpleAction , parameter : * mut GVariant , user_data : gpointer ) > , pub parameter_type : * const gchar , pub state : * const gchar , pub change_state : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GSimpleAction , value : * mut GVariant , user_data : gpointer ) > , pub padding : [ gsize ; 3usize ] , } # [ test ] fn bindgen_test_layout__GActionEntry ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GActionEntry > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _GActionEntry ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GActionEntry > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GActionEntry ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionEntry > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GActionEntry ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionEntry > ( ) ) ) . activate as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GActionEntry ) , "::" , stringify ! ( activate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionEntry > ( ) ) ) . parameter_type as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GActionEntry ) , "::" , stringify ! ( parameter_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionEntry > ( ) ) ) . state as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GActionEntry ) , "::" , stringify ! ( state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionEntry > ( ) ) ) . change_state as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GActionEntry ) , "::" , stringify ! ( change_state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionEntry > ( ) ) ) . padding as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GActionEntry ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_action_map_get_type ( ) -> GType ; } extern "C" { pub fn g_action_map_lookup_action ( action_map : * mut GActionMap , action_name : * const gchar ) -> * mut GAction ; } extern "C" { pub fn g_action_map_add_action ( action_map : * mut GActionMap , action : * mut GAction ) ; } extern "C" { pub fn g_action_map_remove_action ( action_map : * mut GActionMap , action_name : * const gchar ) ; } extern "C" { pub fn g_action_map_add_action_entries ( action_map : * mut GActionMap , entries : * const GActionEntry , n_entries : gint , user_data : gpointer ) ; } extern "C" { pub fn g_action_map_remove_action_entries ( action_map : * mut GActionMap , entries : * const GActionEntry , n_entries : gint ) ; } pub type GAppLaunchContextClass = _GAppLaunchContextClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAppLaunchContextPrivate { _unused : [ u8 ; 0 ] , } pub type GAppLaunchContextPrivate = _GAppLaunchContextPrivate ; pub type GAppInfoIface = _GAppInfoIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAppInfoIface { pub g_iface : GTypeInterface , pub dup : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * mut GAppInfo > , pub equal : :: std :: option :: Option < unsafe extern "C" fn ( appinfo1 : * mut GAppInfo , appinfo2 : * mut GAppInfo ) -> gboolean > , pub get_id : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char > , pub get_name : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char > , pub get_description : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char > , pub get_executable : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char > , pub get_icon : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * mut GIcon > , pub launch : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , files : * mut GList , context : * mut GAppLaunchContext , error : * mut * mut GError ) -> gboolean > , pub supports_uris : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> gboolean > , pub supports_files : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> gboolean > , pub launch_uris : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , uris : * mut GList , context : * mut GAppLaunchContext , error : * mut * mut GError ) -> gboolean > , pub should_show : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> gboolean > , pub set_as_default_for_type : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean > , pub set_as_default_for_extension : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , extension : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean > , pub add_supports_type : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean > , pub can_remove_supports_type : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> gboolean > , pub remove_supports_type : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean > , pub can_delete : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> gboolean > , pub do_delete : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> gboolean > , pub get_commandline : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char > , pub get_display_name : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char > , pub set_as_last_used_for_type : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean > , pub get_supported_types : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * mut * const :: std :: os :: raw :: c_char > , pub launch_uris_async : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , uris : * mut GList , context : * mut GAppLaunchContext , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub launch_uris_finish : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GAppInfoIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GAppInfoIface > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _GAppInfoIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GAppInfoIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GAppInfoIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . dup as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( dup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . equal as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( equal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_id as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_name as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_description as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_executable as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_executable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_icon as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_icon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . launch as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( launch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . supports_uris as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( supports_uris ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . supports_files as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( supports_files ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . launch_uris as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( launch_uris ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . should_show as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( should_show ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . set_as_default_for_type as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( set_as_default_for_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . set_as_default_for_extension as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( set_as_default_for_extension ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . add_supports_type as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( add_supports_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . can_remove_supports_type as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( can_remove_supports_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . remove_supports_type as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( remove_supports_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . can_delete as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( can_delete ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . do_delete as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( do_delete ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_commandline as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_commandline ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_display_name as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_display_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . set_as_last_used_for_type as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( set_as_last_used_for_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_supported_types as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_supported_types ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . launch_uris_async as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( launch_uris_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . launch_uris_finish as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( launch_uris_finish ) ) ) ; } extern "C" { pub fn g_app_info_get_type ( ) -> GType ; } extern "C" { pub fn g_app_info_create_from_commandline ( commandline : * const :: std :: os :: raw :: c_char , application_name : * const :: std :: os :: raw :: c_char , flags : GAppInfoCreateFlags , error : * mut * mut GError ) -> * mut GAppInfo ; } extern "C" { pub fn g_app_info_dup ( appinfo : * mut GAppInfo ) -> * mut GAppInfo ; } extern "C" { pub fn g_app_info_equal ( appinfo1 : * mut GAppInfo , appinfo2 : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_get_id ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_get_name ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_get_display_name ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_get_description ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_get_executable ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_get_commandline ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_get_icon ( appinfo : * mut GAppInfo ) -> * mut GIcon ; } extern "C" { pub fn g_app_info_launch ( appinfo : * mut GAppInfo , files : * mut GList , context : * mut GAppLaunchContext , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_supports_uris ( appinfo : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_supports_files ( appinfo : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_launch_uris ( appinfo : * mut GAppInfo , uris : * mut GList , context : * mut GAppLaunchContext , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_launch_uris_async ( appinfo : * mut GAppInfo , uris : * mut GList , context : * mut GAppLaunchContext , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_app_info_launch_uris_finish ( appinfo : * mut GAppInfo , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_should_show ( appinfo : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_set_as_default_for_type ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_set_as_default_for_extension ( appinfo : * mut GAppInfo , extension : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_add_supports_type ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_can_remove_supports_type ( appinfo : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_remove_supports_type ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_get_supported_types ( appinfo : * mut GAppInfo ) -> * mut * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_can_delete ( appinfo : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_delete ( appinfo : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_set_as_last_used_for_type ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_get_all ( ) -> * mut GList ; } extern "C" { pub fn g_app_info_get_all_for_type ( content_type : * const :: std :: os :: raw :: c_char ) -> * mut GList ; } extern "C" { pub fn g_app_info_get_recommended_for_type ( content_type : * const gchar ) -> * mut GList ; } extern "C" { pub fn g_app_info_get_fallback_for_type ( content_type : * const gchar ) -> * mut GList ; } extern "C" { pub fn g_app_info_reset_type_associations ( content_type : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_app_info_get_default_for_type ( content_type : * const :: std :: os :: raw :: c_char , must_support_uris : gboolean ) -> * mut GAppInfo ; } extern "C" { pub fn g_app_info_get_default_for_type_async ( content_type : * const :: std :: os :: raw :: c_char , must_support_uris : gboolean , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_app_info_get_default_for_type_finish ( result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GAppInfo ; } extern "C" { pub fn g_app_info_get_default_for_uri_scheme ( uri_scheme : * const :: std :: os :: raw :: c_char ) -> * mut GAppInfo ; } extern "C" { pub fn g_app_info_get_default_for_uri_scheme_async ( uri_scheme : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_app_info_get_default_for_uri_scheme_finish ( result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GAppInfo ; } extern "C" { pub fn g_app_info_launch_default_for_uri ( uri : * const :: std :: os :: raw :: c_char , context : * mut GAppLaunchContext , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_launch_default_for_uri_async ( uri : * const :: std :: os :: raw :: c_char , context : * mut GAppLaunchContext , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_app_info_launch_default_for_uri_finish ( result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAppLaunchContext { pub parent_instance : GObject , pub priv_ : * mut GAppLaunchContextPrivate , } # [ test ] fn bindgen_test_layout__GAppLaunchContext ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GAppLaunchContext > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GAppLaunchContext ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GAppLaunchContext > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GAppLaunchContext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContext > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContext ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContext > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContext ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAppLaunchContextClass { pub parent_class : GObjectClass , pub get_display : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GAppLaunchContext , info : * mut GAppInfo , files : * mut GList ) -> * mut :: std :: os :: raw :: c_char > , pub get_startup_notify_id : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GAppLaunchContext , info : * mut GAppInfo , files : * mut GList ) -> * mut :: std :: os :: raw :: c_char > , pub launch_failed : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GAppLaunchContext , startup_notify_id : * const :: std :: os :: raw :: c_char ) > , pub launched : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GAppLaunchContext , info : * mut GAppInfo , platform_data : * mut GVariant ) > , pub launch_started : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GAppLaunchContext , info : * mut GAppInfo , platform_data : * mut GVariant ) > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GAppLaunchContextClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GAppLaunchContextClass > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( _GAppLaunchContextClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GAppLaunchContextClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GAppLaunchContextClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . get_display as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( get_display ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . get_startup_notify_id as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( get_startup_notify_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . launch_failed as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( launch_failed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . launched as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( launched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . launch_started as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( launch_started ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; } extern "C" { pub fn g_app_launch_context_get_type ( ) -> GType ; } extern "C" { pub fn g_app_launch_context_new ( ) -> * mut GAppLaunchContext ; } extern "C" { pub fn g_app_launch_context_setenv ( context : * mut GAppLaunchContext , variable : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_app_launch_context_unsetenv ( context : * mut GAppLaunchContext , variable : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_app_launch_context_get_environment ( context : * mut GAppLaunchContext ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_launch_context_get_display ( context : * mut GAppLaunchContext , info : * mut GAppInfo , files : * mut GList ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_launch_context_get_startup_notify_id ( context : * mut GAppLaunchContext , info : * mut GAppInfo , files : * mut GList ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_launch_context_launch_failed ( context : * mut GAppLaunchContext , startup_notify_id : * const :: std :: os :: raw :: c_char ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAppInfoMonitor { _unused : [ u8 ; 0 ] , } pub type GAppInfoMonitor = _GAppInfoMonitor ; extern "C" { pub fn g_app_info_monitor_get_type ( ) -> GType ; } extern "C" { pub fn g_app_info_monitor_get ( ) -> * mut GAppInfoMonitor ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GApplicationPrivate { _unused : [ u8 ; 0 ] , } pub type GApplicationPrivate = _GApplicationPrivate ; pub type GApplicationClass = _GApplicationClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GApplication { pub parent_instance : GObject , pub priv_ : * mut GApplicationPrivate , } # [ test ] fn bindgen_test_layout__GApplication ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GApplication > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GApplication ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GApplication > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GApplication ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplication > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GApplication ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplication > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GApplication ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GApplicationClass { pub parent_class : GObjectClass , pub startup : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication ) > , pub activate : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication ) > , pub open : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , files : * mut * mut GFile , n_files : gint , hint : * const gchar ) > , pub command_line : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , command_line : * mut GApplicationCommandLine ) -> :: std :: os :: raw :: c_int > , pub local_command_line : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , arguments : * mut * mut * mut gchar , exit_status : * mut :: std :: os :: raw :: c_int ) -> gboolean > , pub before_emit : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , platform_data : * mut GVariant ) > , pub after_emit : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , platform_data : * mut GVariant ) > , pub add_platform_data : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , builder : * mut GVariantBuilder ) > , pub quit_mainloop : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication ) > , pub run_mainloop : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication ) > , pub shutdown : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication ) > , pub dbus_register : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , connection : * mut GDBusConnection , object_path : * const gchar , error : * mut * mut GError ) -> gboolean > , pub dbus_unregister : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , connection : * mut GDBusConnection , object_path : * const gchar ) > , pub handle_local_options : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , options : * mut GVariantDict ) -> gint > , pub name_lost : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication ) -> gboolean > , pub padding : [ gpointer ; 7usize ] , } # [ test ] fn bindgen_test_layout__GApplicationClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GApplicationClass > ( ) , 312usize , concat ! ( "Size of: " , stringify ! ( _GApplicationClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GApplicationClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GApplicationClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . startup as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( startup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . activate as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( activate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . open as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( open ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . command_line as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( command_line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . local_command_line as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( local_command_line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . before_emit as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( before_emit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . after_emit as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( after_emit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . add_platform_data as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( add_platform_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . quit_mainloop as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( quit_mainloop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . run_mainloop as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( run_mainloop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . shutdown as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( shutdown ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . dbus_register as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( dbus_register ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . dbus_unregister as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( dbus_unregister ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . handle_local_options as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( handle_local_options ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . name_lost as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( name_lost ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . padding as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_application_get_type ( ) -> GType ; } extern "C" { pub fn g_application_id_is_valid ( application_id : * const gchar ) -> gboolean ; } extern "C" { pub fn g_application_new ( application_id : * const gchar , flags : GApplicationFlags ) -> * mut GApplication ; } extern "C" { pub fn g_application_get_application_id ( application : * mut GApplication ) -> * const gchar ; } extern "C" { pub fn g_application_set_application_id ( application : * mut GApplication , application_id : * const gchar ) ; } extern "C" { pub fn g_application_get_version ( application : * mut GApplication ) -> * const gchar ; } extern "C" { pub fn g_application_set_version ( application : * mut GApplication , version : * const gchar ) ; } extern "C" { pub fn g_application_get_dbus_connection ( application : * mut GApplication ) -> * mut GDBusConnection ; } extern "C" { pub fn g_application_get_dbus_object_path ( application : * mut GApplication ) -> * const gchar ; } extern "C" { pub fn g_application_get_inactivity_timeout ( application : * mut GApplication ) -> guint ; } extern "C" { pub fn g_application_set_inactivity_timeout ( application : * mut GApplication , inactivity_timeout : guint ) ; } extern "C" { pub fn g_application_get_flags ( application : * mut GApplication ) -> GApplicationFlags ; } extern "C" { pub fn g_application_set_flags ( application : * mut GApplication , flags : GApplicationFlags ) ; } extern "C" { pub fn g_application_get_resource_base_path ( application : * mut GApplication ) -> * const gchar ; } extern "C" { pub fn g_application_set_resource_base_path ( application : * mut GApplication , resource_path : * const gchar ) ; } extern "C" { pub fn g_application_set_action_group ( application : * mut GApplication , action_group : * mut GActionGroup ) ; } extern "C" { pub fn g_application_add_main_option_entries ( application : * mut GApplication , entries : * const GOptionEntry ) ; } extern "C" { pub fn g_application_add_main_option ( application : * mut GApplication , long_name : * const :: std :: os :: raw :: c_char , short_name : :: std :: os :: raw :: c_char , flags : GOptionFlags , arg : GOptionArg , description : * const :: std :: os :: raw :: c_char , arg_description : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_application_add_option_group ( application : * mut GApplication , group : * mut GOptionGroup ) ; } extern "C" { pub fn g_application_set_option_context_parameter_string ( application : * mut GApplication , parameter_string : * const gchar ) ; } extern "C" { pub fn g_application_set_option_context_summary ( application : * mut GApplication , summary : * const gchar ) ; } extern "C" { pub fn g_application_set_option_context_description ( application : * mut GApplication , description : * const gchar ) ; } extern "C" { pub fn g_application_get_is_registered ( application : * mut GApplication ) -> gboolean ; } extern "C" { pub fn g_application_get_is_remote ( application : * mut GApplication ) -> gboolean ; } extern "C" { pub fn g_application_register ( application : * mut GApplication , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_application_hold ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_release ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_activate ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_open ( application : * mut GApplication , files : * mut * mut GFile , n_files : gint , hint : * const gchar ) ; } extern "C" { pub fn g_application_run ( application : * mut GApplication , argc : :: std :: os :: raw :: c_int , argv : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_application_quit ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_get_default ( ) -> * mut GApplication ; } extern "C" { pub fn g_application_set_default ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_mark_busy ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_unmark_busy ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_get_is_busy ( application : * mut GApplication ) -> gboolean ; } extern "C" { pub fn g_application_send_notification ( application : * mut GApplication , id : * const gchar , notification : * mut GNotification ) ; } extern "C" { pub fn g_application_withdraw_notification ( application : * mut GApplication , id : * const gchar ) ; } extern "C" { pub fn g_application_bind_busy_property ( application : * mut GApplication , object : gpointer , property : * const gchar ) ; } extern "C" { pub fn g_application_unbind_busy_property ( application : * mut GApplication , object : gpointer , property : * const gchar ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GApplicationCommandLinePrivate { _unused : [ u8 ; 0 ] , } pub type GApplicationCommandLinePrivate = _GApplicationCommandLinePrivate ; pub type GApplicationCommandLineClass = _GApplicationCommandLineClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GApplicationCommandLine { pub parent_instance : GObject , pub priv_ : * mut GApplicationCommandLinePrivate , } # [ test ] fn bindgen_test_layout__GApplicationCommandLine ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GApplicationCommandLine > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GApplicationCommandLine ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GApplicationCommandLine > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GApplicationCommandLine ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLine > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLine ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLine > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLine ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GApplicationCommandLineClass { pub parent_class : GObjectClass , pub print_literal : :: std :: option :: Option < unsafe extern "C" fn ( cmdline : * mut GApplicationCommandLine , message : * const gchar ) > , pub printerr_literal : :: std :: option :: Option < unsafe extern "C" fn ( cmdline : * mut GApplicationCommandLine , message : * const gchar ) > , pub get_stdin : :: std :: option :: Option < unsafe extern "C" fn ( cmdline : * mut GApplicationCommandLine ) -> * mut GInputStream > , pub done : :: std :: option :: Option < unsafe extern "C" fn ( cmdline : * mut GApplicationCommandLine ) > , pub padding : [ gpointer ; 10usize ] , } # [ test ] fn bindgen_test_layout__GApplicationCommandLineClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GApplicationCommandLineClass > ( ) , 248usize , concat ! ( "Size of: " , stringify ! ( _GApplicationCommandLineClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GApplicationCommandLineClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GApplicationCommandLineClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLineClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLineClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLineClass > ( ) ) ) . print_literal as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLineClass ) , "::" , stringify ! ( print_literal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLineClass > ( ) ) ) . printerr_literal as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLineClass ) , "::" , stringify ! ( printerr_literal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLineClass > ( ) ) ) . get_stdin as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLineClass ) , "::" , stringify ! ( get_stdin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLineClass > ( ) ) ) . done as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLineClass ) , "::" , stringify ! ( done ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLineClass > ( ) ) ) . padding as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLineClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_application_command_line_get_type ( ) -> GType ; } extern "C" { pub fn g_application_command_line_get_arguments ( cmdline : * mut GApplicationCommandLine , argc : * mut :: std :: os :: raw :: c_int ) -> * mut * mut gchar ; } extern "C" { pub fn g_application_command_line_get_options_dict ( cmdline : * mut GApplicationCommandLine ) -> * mut GVariantDict ; } extern "C" { pub fn g_application_command_line_get_stdin ( cmdline : * mut GApplicationCommandLine ) -> * mut GInputStream ; } extern "C" { pub fn g_application_command_line_get_environ ( cmdline : * mut GApplicationCommandLine ) -> * const * const gchar ; } extern "C" { pub fn g_application_command_line_getenv ( cmdline : * mut GApplicationCommandLine , name : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_application_command_line_get_cwd ( cmdline : * mut GApplicationCommandLine ) -> * const gchar ; } extern "C" { pub fn g_application_command_line_get_is_remote ( cmdline : * mut GApplicationCommandLine ) -> gboolean ; } extern "C" { pub fn g_application_command_line_print_literal ( cmdline : * mut GApplicationCommandLine , message : * const gchar ) ; } extern "C" { pub fn g_application_command_line_printerr_literal ( cmdline : * mut GApplicationCommandLine , message : * const gchar ) ; } extern "C" { pub fn g_application_command_line_print ( cmdline : * mut GApplicationCommandLine , format : * const gchar , ... ) ; } extern "C" { pub fn g_application_command_line_printerr ( cmdline : * mut GApplicationCommandLine , format : * const gchar , ... ) ; } extern "C" { pub fn g_application_command_line_get_exit_status ( cmdline : * mut GApplicationCommandLine ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_application_command_line_set_exit_status ( cmdline : * mut GApplicationCommandLine , exit_status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn g_application_command_line_get_platform_data ( cmdline : * mut GApplicationCommandLine ) -> * mut GVariant ; } extern "C" { pub fn g_application_command_line_create_file_for_arg ( cmdline : * mut GApplicationCommandLine , arg : * const gchar ) -> * mut GFile ; } extern "C" { pub fn g_application_command_line_done ( cmdline : * mut GApplicationCommandLine ) ; } pub type GInitableIface = _GInitableIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInitableIface { pub g_iface : GTypeInterface , pub init : :: std :: option :: Option < unsafe extern "C" fn ( initable : * mut GInitable , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GInitableIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInitableIface > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GInitableIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInitableIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInitableIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInitableIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInitableIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInitableIface > ( ) ) ) . init as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GInitableIface ) , "::" , stringify ! ( init ) ) ) ; } extern "C" { pub fn g_initable_get_type ( ) -> GType ; } extern "C" { pub fn g_initable_init ( initable : * mut GInitable , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_initable_new ( object_type : GType , cancellable : * mut GCancellable , error : * mut * mut GError , first_property_name : * const gchar , ... ) -> gpointer ; } extern "C" { pub fn g_initable_newv ( object_type : GType , n_parameters : guint , parameters : * mut GParameter , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gpointer ; } extern "C" { pub fn g_initable_new_valist ( object_type : GType , first_property_name : * const gchar , var_args : * mut __va_list_tag , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GObject ; } pub type GAsyncInitableIface = _GAsyncInitableIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAsyncInitableIface { pub g_iface : GTypeInterface , pub init_async : :: std :: option :: Option < unsafe extern "C" fn ( initable : * mut GAsyncInitable , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub init_finish : :: std :: option :: Option < unsafe extern "C" fn ( initable : * mut GAsyncInitable , res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GAsyncInitableIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GAsyncInitableIface > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GAsyncInitableIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GAsyncInitableIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GAsyncInitableIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncInitableIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncInitableIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncInitableIface > ( ) ) ) . init_async as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncInitableIface ) , "::" , stringify ! ( init_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncInitableIface > ( ) ) ) . init_finish as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncInitableIface ) , "::" , stringify ! ( init_finish ) ) ) ; } extern "C" { pub fn g_async_initable_get_type ( ) -> GType ; } extern "C" { pub fn g_async_initable_init_async ( initable : * mut GAsyncInitable , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_async_initable_init_finish ( initable : * mut GAsyncInitable , res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_async_initable_new_async ( object_type : GType , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer , first_property_name : * const gchar , ... ) ; } extern "C" { pub fn g_async_initable_newv_async ( object_type : GType , n_parameters : guint , parameters : * mut GParameter , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_async_initable_new_valist_async ( object_type : GType , first_property_name : * const gchar , var_args : * mut __va_list_tag , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_async_initable_new_finish ( initable : * mut GAsyncInitable , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GObject ; } pub type GAsyncResultIface = _GAsyncResultIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAsyncResultIface { pub g_iface : GTypeInterface , pub get_user_data : :: std :: option :: Option < unsafe extern "C" fn ( res : * mut GAsyncResult ) -> gpointer > , pub get_source_object : :: std :: option :: Option < unsafe extern "C" fn ( res : * mut GAsyncResult ) -> * mut GObject > , pub is_tagged : :: std :: option :: Option < unsafe extern "C" fn ( res : * mut GAsyncResult , source_tag : gpointer ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GAsyncResultIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GAsyncResultIface > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GAsyncResultIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GAsyncResultIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GAsyncResultIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncResultIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncResultIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncResultIface > ( ) ) ) . get_user_data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncResultIface ) , "::" , stringify ! ( get_user_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncResultIface > ( ) ) ) . get_source_object as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncResultIface ) , "::" , stringify ! ( get_source_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncResultIface > ( ) ) ) . is_tagged as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncResultIface ) , "::" , stringify ! ( is_tagged ) ) ) ; } extern "C" { pub fn g_async_result_get_type ( ) -> GType ; } extern "C" { pub fn g_async_result_get_user_data ( res : * mut GAsyncResult ) -> gpointer ; } extern "C" { pub fn g_async_result_get_source_object ( res : * mut GAsyncResult ) -> * mut GObject ; } extern "C" { pub fn g_async_result_legacy_propagate_error ( res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_async_result_is_tagged ( res : * mut GAsyncResult , source_tag : gpointer ) -> gboolean ; } pub type GInputStreamClass = _GInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GInputStreamPrivate = _GInputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInputStream { pub parent_instance : GObject , pub priv_ : * mut GInputStreamPrivate , } # [ test ] fn bindgen_test_layout__GInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInputStream > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStream > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInputStreamClass { pub parent_class : GObjectClass , pub read_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize > , pub skip : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize > , pub close_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub read_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub read_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize > , pub skip_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub skip_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize > , pub close_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub close_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInputStreamClass > ( ) , 248usize , concat ! ( "Size of: " , stringify ! ( _GInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . read_fn as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( read_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . skip as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( skip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . close_fn as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( close_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . read_async as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( read_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . read_finish as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( read_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . skip_async as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( skip_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . skip_finish as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( skip_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . close_async as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( close_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . close_finish as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( close_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_input_stream_read ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_input_stream_read_all ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , bytes_read : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_input_stream_read_bytes ( stream : * mut GInputStream , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_input_stream_skip ( stream : * mut GInputStream , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_input_stream_close ( stream : * mut GInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_input_stream_read_async ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_input_stream_read_finish ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_input_stream_read_all_async ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_input_stream_read_all_finish ( stream : * mut GInputStream , result : * mut GAsyncResult , bytes_read : * mut gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_input_stream_read_bytes_async ( stream : * mut GInputStream , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_input_stream_read_bytes_finish ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_input_stream_skip_async ( stream : * mut GInputStream , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_input_stream_skip_finish ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_input_stream_close_async ( stream : * mut GInputStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_input_stream_close_finish ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_input_stream_is_closed ( stream : * mut GInputStream ) -> gboolean ; } extern "C" { pub fn g_input_stream_has_pending ( stream : * mut GInputStream ) -> gboolean ; } extern "C" { pub fn g_input_stream_set_pending ( stream : * mut GInputStream , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_input_stream_clear_pending ( stream : * mut GInputStream ) ; } pub type GFilterInputStreamClass = _GFilterInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFilterInputStream { pub parent_instance : GInputStream , pub base_stream : * mut GInputStream , } # [ test ] fn bindgen_test_layout__GFilterInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFilterInputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GFilterInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFilterInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFilterInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterInputStream > ( ) ) ) . base_stream as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterInputStream ) , "::" , stringify ! ( base_stream ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFilterInputStreamClass { pub parent_class : GInputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFilterInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFilterInputStreamClass > ( ) , 272usize , concat ! ( "Size of: " , stringify ! ( _GFilterInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFilterInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFilterInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; } extern "C" { pub fn g_filter_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_filter_input_stream_get_base_stream ( stream : * mut GFilterInputStream ) -> * mut GInputStream ; } extern "C" { pub fn g_filter_input_stream_get_close_base_stream ( stream : * mut GFilterInputStream ) -> gboolean ; } extern "C" { pub fn g_filter_input_stream_set_close_base_stream ( stream : * mut GFilterInputStream , close_base : gboolean ) ; } pub type GBufferedInputStreamClass = _GBufferedInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBufferedInputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GBufferedInputStreamPrivate = _GBufferedInputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBufferedInputStream { pub parent_instance : GFilterInputStream , pub priv_ : * mut GBufferedInputStreamPrivate , } # [ test ] fn bindgen_test_layout__GBufferedInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GBufferedInputStream > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GBufferedInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GBufferedInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GBufferedInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStream > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBufferedInputStreamClass { pub parent_class : GFilterInputStreamClass , pub fill : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GBufferedInputStream , count : gssize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize > , pub fill_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GBufferedInputStream , count : gssize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub fill_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GBufferedInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GBufferedInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GBufferedInputStreamClass > ( ) , 336usize , concat ! ( "Size of: " , stringify ! ( _GBufferedInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GBufferedInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GBufferedInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . fill as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( fill ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . fill_async as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( fill_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . fill_finish as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( fill_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_buffered_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_buffered_input_stream_new ( base_stream : * mut GInputStream ) -> * mut GInputStream ; } extern "C" { pub fn g_buffered_input_stream_new_sized ( base_stream : * mut GInputStream , size : gsize ) -> * mut GInputStream ; } extern "C" { pub fn g_buffered_input_stream_get_buffer_size ( stream : * mut GBufferedInputStream ) -> gsize ; } extern "C" { pub fn g_buffered_input_stream_set_buffer_size ( stream : * mut GBufferedInputStream , size : gsize ) ; } extern "C" { pub fn g_buffered_input_stream_get_available ( stream : * mut GBufferedInputStream ) -> gsize ; } extern "C" { pub fn g_buffered_input_stream_peek ( stream : * mut GBufferedInputStream , buffer : * mut :: std :: os :: raw :: c_void , offset : gsize , count : gsize ) -> gsize ; } extern "C" { pub fn g_buffered_input_stream_peek_buffer ( stream : * mut GBufferedInputStream , count : * mut gsize ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn g_buffered_input_stream_fill ( stream : * mut GBufferedInputStream , count : gssize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_buffered_input_stream_fill_async ( stream : * mut GBufferedInputStream , count : gssize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_buffered_input_stream_fill_finish ( stream : * mut GBufferedInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_buffered_input_stream_read_byte ( stream : * mut GBufferedInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> :: std :: os :: raw :: c_int ; } pub type GOutputStreamClass = _GOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOutputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GOutputStreamPrivate = _GOutputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOutputStream { pub parent_instance : GObject , pub priv_ : * mut GOutputStreamPrivate , } # [ test ] fn bindgen_test_layout__GOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GOutputStream > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStream > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOutputStreamClass { pub parent_class : GObjectClass , pub write_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize > , pub splice : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , source : * mut GInputStream , flags : GOutputStreamSpliceFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize > , pub flush : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub close_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub write_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub write_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize > , pub splice_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , source : * mut GInputStream , flags : GOutputStreamSpliceFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub splice_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize > , pub flush_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub flush_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub close_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub close_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub writev_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , vectors : * const GOutputVector , n_vectors : gsize , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub writev_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , vectors : * const GOutputVector , n_vectors : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub writev_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , result : * mut GAsyncResult , bytes_written : * mut gsize , error : * mut * mut GError ) -> gboolean > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved7 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved8 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GOutputStreamClass > ( ) , 296usize , concat ! ( "Size of: " , stringify ! ( _GOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . write_fn as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( write_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . splice as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( splice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . flush as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( flush ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . close_fn as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( close_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . write_async as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( write_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . write_finish as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( write_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . splice_async as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( splice_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . splice_finish as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( splice_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . flush_async as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( flush_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . flush_finish as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( flush_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . close_async as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( close_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . close_finish as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( close_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . writev_fn as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( writev_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . writev_async as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( writev_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . writev_finish as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( writev_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . _g_reserved7 as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( _g_reserved7 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . _g_reserved8 as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( _g_reserved8 ) ) ) ; } extern "C" { pub fn g_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_output_stream_write ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_output_stream_write_all ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_writev ( stream : * mut GOutputStream , vectors : * const GOutputVector , n_vectors : gsize , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_writev_all ( stream : * mut GOutputStream , vectors : * mut GOutputVector , n_vectors : gsize , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_printf ( stream : * mut GOutputStream , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError , format : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_output_stream_vprintf ( stream : * mut GOutputStream , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError , format : * const gchar , args : * mut __va_list_tag ) -> gboolean ; } extern "C" { pub fn g_output_stream_write_bytes ( stream : * mut GOutputStream , bytes : * mut GBytes , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_output_stream_splice ( stream : * mut GOutputStream , source : * mut GInputStream , flags : GOutputStreamSpliceFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_output_stream_flush ( stream : * mut GOutputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_close ( stream : * mut GOutputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_write_async ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_write_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_output_stream_write_all_async ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_write_all_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , bytes_written : * mut gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_writev_async ( stream : * mut GOutputStream , vectors : * const GOutputVector , n_vectors : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_writev_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , bytes_written : * mut gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_writev_all_async ( stream : * mut GOutputStream , vectors : * mut GOutputVector , n_vectors : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_writev_all_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , bytes_written : * mut gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_write_bytes_async ( stream : * mut GOutputStream , bytes : * mut GBytes , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_write_bytes_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_output_stream_splice_async ( stream : * mut GOutputStream , source : * mut GInputStream , flags : GOutputStreamSpliceFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_splice_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_output_stream_flush_async ( stream : * mut GOutputStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_flush_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_close_async ( stream : * mut GOutputStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_close_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_is_closed ( stream : * mut GOutputStream ) -> gboolean ; } extern "C" { pub fn g_output_stream_is_closing ( stream : * mut GOutputStream ) -> gboolean ; } extern "C" { pub fn g_output_stream_has_pending ( stream : * mut GOutputStream ) -> gboolean ; } extern "C" { pub fn g_output_stream_set_pending ( stream : * mut GOutputStream , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_clear_pending ( stream : * mut GOutputStream ) ; } pub type GFilterOutputStreamClass = _GFilterOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFilterOutputStream { pub parent_instance : GOutputStream , pub base_stream : * mut GOutputStream , } # [ test ] fn bindgen_test_layout__GFilterOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFilterOutputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GFilterOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFilterOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFilterOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterOutputStream > ( ) ) ) . base_stream as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterOutputStream ) , "::" , stringify ! ( base_stream ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFilterOutputStreamClass { pub parent_class : GOutputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFilterOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFilterOutputStreamClass > ( ) , 320usize , concat ! ( "Size of: " , stringify ! ( _GFilterOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFilterOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFilterOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterOutputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterOutputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterOutputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterOutputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterOutputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterOutputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; } extern "C" { pub fn g_filter_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_filter_output_stream_get_base_stream ( stream : * mut GFilterOutputStream ) -> * mut GOutputStream ; } extern "C" { pub fn g_filter_output_stream_get_close_base_stream ( stream : * mut GFilterOutputStream ) -> gboolean ; } extern "C" { pub fn g_filter_output_stream_set_close_base_stream ( stream : * mut GFilterOutputStream , close_base : gboolean ) ; } pub type GBufferedOutputStreamClass = _GBufferedOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBufferedOutputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GBufferedOutputStreamPrivate = _GBufferedOutputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBufferedOutputStream { pub parent_instance : GFilterOutputStream , pub priv_ : * mut GBufferedOutputStreamPrivate , } # [ test ] fn bindgen_test_layout__GBufferedOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GBufferedOutputStream > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GBufferedOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GBufferedOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GBufferedOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedOutputStream > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedOutputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBufferedOutputStreamClass { pub parent_class : GFilterOutputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GBufferedOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GBufferedOutputStreamClass > ( ) , 336usize , concat ! ( "Size of: " , stringify ! ( _GBufferedOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GBufferedOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GBufferedOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedOutputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedOutputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedOutputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedOutputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; } extern "C" { pub fn g_buffered_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_buffered_output_stream_new ( base_stream : * mut GOutputStream ) -> * mut GOutputStream ; } extern "C" { pub fn g_buffered_output_stream_new_sized ( base_stream : * mut GOutputStream , size : gsize ) -> * mut GOutputStream ; } extern "C" { pub fn g_buffered_output_stream_get_buffer_size ( stream : * mut GBufferedOutputStream ) -> gsize ; } extern "C" { pub fn g_buffered_output_stream_set_buffer_size ( stream : * mut GBufferedOutputStream , size : gsize ) ; } extern "C" { pub fn g_buffered_output_stream_get_auto_grow ( stream : * mut GBufferedOutputStream ) -> gboolean ; } extern "C" { pub fn g_buffered_output_stream_set_auto_grow ( stream : * mut GBufferedOutputStream , auto_grow : gboolean ) ; } extern "C" { pub fn g_bytes_icon_get_type ( ) -> GType ; } extern "C" { pub fn g_bytes_icon_new ( bytes : * mut GBytes ) -> * mut GIcon ; } extern "C" { pub fn g_bytes_icon_get_bytes ( icon : * mut GBytesIcon ) -> * mut GBytes ; } pub type GCancellableClass = _GCancellableClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCancellablePrivate { _unused : [ u8 ; 0 ] , } pub type GCancellablePrivate = _GCancellablePrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCancellable { pub parent_instance : GObject , pub priv_ : * mut GCancellablePrivate , } # [ test ] fn bindgen_test_layout__GCancellable ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GCancellable > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GCancellable ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GCancellable > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GCancellable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellable > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellable ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellable > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellable ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCancellableClass { pub parent_class : GObjectClass , pub cancelled : :: std :: option :: Option < unsafe extern "C" fn ( cancellable : * mut GCancellable ) > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GCancellableClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GCancellableClass > ( ) , 184usize , concat ! ( "Size of: " , stringify ! ( _GCancellableClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GCancellableClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GCancellableClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . cancelled as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( cancelled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_cancellable_get_type ( ) -> GType ; } extern "C" { pub fn g_cancellable_new ( ) -> * mut GCancellable ; } extern "C" { pub fn g_cancellable_is_cancelled ( cancellable : * mut GCancellable ) -> gboolean ; } extern "C" { pub fn g_cancellable_set_error_if_cancelled ( cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_cancellable_get_fd ( cancellable : * mut GCancellable ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_cancellable_make_pollfd ( cancellable : * mut GCancellable , pollfd : * mut GPollFD ) -> gboolean ; } extern "C" { pub fn g_cancellable_release_fd ( cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_cancellable_source_new ( cancellable : * mut GCancellable ) -> * mut GSource ; } extern "C" { pub fn g_cancellable_get_current ( ) -> * mut GCancellable ; } extern "C" { pub fn g_cancellable_push_current ( cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_cancellable_pop_current ( cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_cancellable_reset ( cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_cancellable_connect ( cancellable : * mut GCancellable , callback : GCallback , data : gpointer , data_destroy_func : GDestroyNotify ) -> gulong ; } extern "C" { pub fn g_cancellable_disconnect ( cancellable : * mut GCancellable , handler_id : gulong ) ; } extern "C" { pub fn g_cancellable_cancel ( cancellable : * mut GCancellable ) ; } pub type GConverterIface = _GConverterIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterIface { pub g_iface : GTypeInterface , pub convert : :: std :: option :: Option < unsafe extern "C" fn ( converter : * mut GConverter , inbuf : * const :: std :: os :: raw :: c_void , inbuf_size : gsize , outbuf : * mut :: std :: os :: raw :: c_void , outbuf_size : gsize , flags : GConverterFlags , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> GConverterResult > , pub reset : :: std :: option :: Option < unsafe extern "C" fn ( converter : * mut GConverter ) > , } # [ test ] fn bindgen_test_layout__GConverterIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GConverterIface > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GConverterIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GConverterIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GConverterIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterIface > ( ) ) ) . convert as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterIface ) , "::" , stringify ! ( convert ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterIface > ( ) ) ) . reset as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterIface ) , "::" , stringify ! ( reset ) ) ) ; } extern "C" { pub fn g_converter_get_type ( ) -> GType ; } extern "C" { pub fn g_converter_convert ( converter : * mut GConverter , inbuf : * const :: std :: os :: raw :: c_void , inbuf_size : gsize , outbuf : * mut :: std :: os :: raw :: c_void , outbuf_size : gsize , flags : GConverterFlags , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> GConverterResult ; } extern "C" { pub fn g_converter_reset ( converter : * mut GConverter ) ; } pub type GCharsetConverterClass = _GCharsetConverterClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCharsetConverterClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GCharsetConverterClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GCharsetConverterClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GCharsetConverterClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GCharsetConverterClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GCharsetConverterClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCharsetConverterClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GCharsetConverterClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_charset_converter_get_type ( ) -> GType ; } extern "C" { pub fn g_charset_converter_new ( to_charset : * const gchar , from_charset : * const gchar , error : * mut * mut GError ) -> * mut GCharsetConverter ; } extern "C" { pub fn g_charset_converter_set_use_fallback ( converter : * mut GCharsetConverter , use_fallback : gboolean ) ; } extern "C" { pub fn g_charset_converter_get_use_fallback ( converter : * mut GCharsetConverter ) -> gboolean ; } extern "C" { pub fn g_charset_converter_get_num_fallbacks ( converter : * mut GCharsetConverter ) -> guint ; } extern "C" { pub fn g_content_type_equals ( type1 : * const gchar , type2 : * const gchar ) -> gboolean ; } extern "C" { pub fn g_content_type_is_a ( type_ : * const gchar , supertype : * const gchar ) -> gboolean ; } extern "C" { pub fn g_content_type_is_mime_type ( type_ : * const gchar , mime_type : * const gchar ) -> gboolean ; } extern "C" { pub fn g_content_type_is_unknown ( type_ : * const gchar ) -> gboolean ; } extern "C" { pub fn g_content_type_get_description ( type_ : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_content_type_get_mime_type ( type_ : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_content_type_get_icon ( type_ : * const gchar ) -> * mut GIcon ; } extern "C" { pub fn g_content_type_get_symbolic_icon ( type_ : * const gchar ) -> * mut GIcon ; } extern "C" { pub fn g_content_type_get_generic_icon_name ( type_ : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_content_type_can_be_executable ( type_ : * const gchar ) -> gboolean ; } extern "C" { pub fn g_content_type_from_mime_type ( mime_type : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_content_type_guess ( filename : * const gchar , data : * const guchar , data_size : gsize , result_uncertain : * mut gboolean ) -> * mut gchar ; } extern "C" { pub fn g_content_type_guess_for_tree ( root : * mut GFile ) -> * mut * mut gchar ; } extern "C" { pub fn g_content_types_get_registered ( ) -> * mut GList ; } extern "C" { pub fn g_content_type_get_mime_dirs ( ) -> * const * const gchar ; } extern "C" { pub fn g_content_type_set_mime_dirs ( dirs : * const * const gchar ) ; } pub type GConverterInputStreamClass = _GConverterInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterInputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GConverterInputStreamPrivate = _GConverterInputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterInputStream { pub parent_instance : GFilterInputStream , pub priv_ : * mut GConverterInputStreamPrivate , } # [ test ] fn bindgen_test_layout__GConverterInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GConverterInputStream > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GConverterInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GConverterInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GConverterInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStream > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterInputStreamClass { pub parent_class : GFilterInputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GConverterInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GConverterInputStreamClass > ( ) , 312usize , concat ! ( "Size of: " , stringify ! ( _GConverterInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GConverterInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GConverterInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_converter_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_converter_input_stream_new ( base_stream : * mut GInputStream , converter : * mut GConverter ) -> * mut GInputStream ; } extern "C" { pub fn g_converter_input_stream_get_converter ( converter_stream : * mut GConverterInputStream ) -> * mut GConverter ; } pub type GConverterOutputStreamClass = _GConverterOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterOutputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GConverterOutputStreamPrivate = _GConverterOutputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterOutputStream { pub parent_instance : GFilterOutputStream , pub priv_ : * mut GConverterOutputStreamPrivate , } # [ test ] fn bindgen_test_layout__GConverterOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GConverterOutputStream > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GConverterOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GConverterOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GConverterOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStream > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterOutputStreamClass { pub parent_class : GFilterOutputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GConverterOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GConverterOutputStreamClass > ( ) , 360usize , concat ! ( "Size of: " , stringify ! ( _GConverterOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GConverterOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GConverterOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_converter_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_converter_output_stream_new ( base_stream : * mut GOutputStream , converter : * mut GConverter ) -> * mut GOutputStream ; } extern "C" { pub fn g_converter_output_stream_get_converter ( converter_stream : * mut GConverterOutputStream ) -> * mut GConverter ; } pub type useconds_t = __useconds_t ; pub type socklen_t = __socklen_t ; extern "C" { pub fn access ( __name : * const :: std :: os :: raw :: c_char , __type : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn faccessat ( __fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __type : :: std :: os :: raw :: c_int , __flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lseek ( __fd : :: std :: os :: raw :: c_int , __offset : __off_t , __whence : :: std :: os :: raw :: c_int ) -> __off_t ; } extern "C" { pub fn close ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn closefrom ( __lowfd : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn read ( __fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_void , __nbytes : usize ) -> isize ; } extern "C" { pub fn write ( __fd : :: std :: os :: raw :: c_int , __buf : * const :: std :: os :: raw :: c_void , __n : usize ) -> isize ; } extern "C" { pub fn pread ( __fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_void , __nbytes : usize , __offset : __off_t ) -> isize ; } extern "C" { pub fn pwrite ( __fd : :: std :: os :: raw :: c_int , __buf : * const :: std :: os :: raw :: c_void , __n : usize , __offset : __off_t ) -> isize ; } extern "C" { pub fn pipe ( __pipedes : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn alarm ( __seconds : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn sleep ( __seconds : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn ualarm ( __value : __useconds_t , __interval : __useconds_t ) -> __useconds_t ; } extern "C" { pub fn usleep ( __useconds : __useconds_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pause ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chown ( __file : * const :: std :: os :: raw :: c_char , __owner : __uid_t , __group : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fchown ( __fd : :: std :: os :: raw :: c_int , __owner : __uid_t , __group : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lchown ( __file : * const :: std :: os :: raw :: c_char , __owner : __uid_t , __group : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fchownat ( __fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __owner : __uid_t , __group : __gid_t , __flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chdir ( __path : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fchdir ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcwd ( __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getwd ( __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn dup ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dup2 ( __fd : :: std :: os :: raw :: c_int , __fd2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__environ" ] pub static mut __environ : * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn execve ( __path : * const :: std :: os :: raw :: c_char , __argv : * const * const :: std :: os :: raw :: c_char , __envp : * const * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fexecve ( __fd : :: std :: os :: raw :: c_int , __argv : * const * const :: std :: os :: raw :: c_char , __envp : * const * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execv ( __path : * const :: std :: os :: raw :: c_char , __argv : * const * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execle ( __path : * const :: std :: os :: raw :: c_char , __arg : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execl ( __path : * const :: std :: os :: raw :: c_char , __arg : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execvp ( __file : * const :: std :: os :: raw :: c_char , __argv : * const * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execlp ( __file : * const :: std :: os :: raw :: c_char , __arg : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nice ( __inc : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _exit ( __status : :: std :: os :: raw :: c_int ) ; } pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_LINK_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 0 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_MAX_CANON : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_MAX_INPUT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_PATH_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_PIPE_BUF : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_CHOWN_RESTRICTED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 6 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_NO_TRUNC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 7 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_VDISABLE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 8 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_SYNC_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 9 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_ASYNC_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 10 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_PRIO_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 11 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_SOCK_MAXBUF : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 12 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_FILESIZEBITS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 13 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_REC_INCR_XFER_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 14 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_REC_MAX_XFER_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 15 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_REC_MIN_XFER_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 16 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_REC_XFER_ALIGN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 17 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_ALLOC_SIZE_MIN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 18 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_SYMLINK_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 19 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_2_SYMLINKS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 20 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_ARG_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 0 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CHILD_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CLK_TCK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NGROUPS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_OPEN_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_STREAM_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TZNAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 6 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_JOB_CONTROL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 7 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SAVED_IDS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 8 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_REALTIME_SIGNALS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 9 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PRIORITY_SCHEDULING : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 10 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TIMERS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 11 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_ASYNCHRONOUS_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 12 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PRIORITIZED_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 13 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SYNCHRONIZED_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 14 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_FSYNC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 15 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MAPPED_FILES : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 16 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MEMLOCK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 17 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MEMLOCK_RANGE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 18 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MEMORY_PROTECTION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 19 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MESSAGE_PASSING : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 20 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SEMAPHORES : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 21 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SHARED_MEMORY_OBJECTS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 22 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_AIO_LISTIO_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 23 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_AIO_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 24 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_AIO_PRIO_DELTA_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 25 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_DELAYTIMER_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 26 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MQ_OPEN_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 27 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MQ_PRIO_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 28 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 29 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PAGESIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 30 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_RTSIG_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 31 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SEM_NSEMS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SEM_VALUE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 33 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SIGQUEUE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 34 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TIMER_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 35 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_BC_BASE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 36 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_BC_DIM_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 37 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_BC_SCALE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 38 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_BC_STRING_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 39 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_COLL_WEIGHTS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 40 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_EQUIV_CLASS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 41 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_EXPR_NEST_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 42 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LINE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 43 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_RE_DUP_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 44 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CHARCLASS_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 45 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 46 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_C_BIND : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 47 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_C_DEV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 48 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_FORT_DEV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 49 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_FORT_RUN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 50 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_SW_DEV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 51 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_LOCALEDEF : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 52 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 53 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_XTI : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 54 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_SOCKET : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 55 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_INTERNET : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 56 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_OSI : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 57 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_POLL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 58 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SELECT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 59 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_UIO_MAXIOV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 60 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_IOV_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 60 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_INTERNET_STREAM : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 61 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_INTERNET_DGRAM : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 62 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_OSI_COTS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 63 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_OSI_CLTS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 64 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_OSI_M : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 65 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_T_IOV_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 66 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREADS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 67 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_SAFE_FUNCTIONS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 68 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_GETGR_R_SIZE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 69 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_GETPW_R_SIZE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 70 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LOGIN_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 71 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TTY_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 72 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_DESTRUCTOR_ITERATIONS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 73 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_KEYS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 74 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_STACK_MIN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 75 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_THREADS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 76 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_ATTR_STACKADDR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 77 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_ATTR_STACKSIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 78 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_PRIORITY_SCHEDULING : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 79 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_PRIO_INHERIT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 80 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_PRIO_PROTECT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 81 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_PROCESS_SHARED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 82 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NPROCESSORS_CONF : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 83 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NPROCESSORS_ONLN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 84 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PHYS_PAGES : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 85 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_AVPHYS_PAGES : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 86 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_ATEXIT_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 87 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PASS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 88 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 89 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_XCU_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 90 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_UNIX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 91 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_CRYPT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 92 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_ENH_I18N : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 93 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_SHM : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 94 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_CHAR_TERM : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 95 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_C_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 96 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_UPE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 97 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_XPG2 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 98 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_XPG3 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 99 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_XPG4 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 100 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CHAR_BIT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 101 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CHAR_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 102 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CHAR_MIN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 103 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_INT_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 104 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_INT_MIN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 105 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LONG_BIT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 106 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_WORD_BIT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 107 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MB_LEN_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 108 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NZERO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 109 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SSIZE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 110 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SCHAR_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 111 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SCHAR_MIN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 112 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SHRT_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 113 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SHRT_MIN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 114 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_UCHAR_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 115 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_UINT_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 116 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_ULONG_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 117 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_USHRT_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 118 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NL_ARGMAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 119 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NL_LANGMAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 120 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NL_MSGMAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 121 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NL_NMAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 122 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NL_SETMAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 123 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NL_TEXTMAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 124 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XBS5_ILP32_OFF32 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 125 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XBS5_ILP32_OFFBIG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 126 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XBS5_LP64_OFF64 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 127 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XBS5_LPBIG_OFFBIG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 128 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_LEGACY : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 129 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_REALTIME : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 130 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_REALTIME_THREADS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 131 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_ADVISORY_INFO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 132 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_BARRIERS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 133 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_BASE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 134 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_C_LANG_SUPPORT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 135 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_C_LANG_SUPPORT_R : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 136 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CLOCK_SELECTION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 137 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CPUTIME : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 138 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_CPUTIME : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 139 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_DEVICE_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 140 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_DEVICE_SPECIFIC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 141 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_DEVICE_SPECIFIC_R : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 142 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_FD_MGMT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 143 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_FIFO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 144 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PIPE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 145 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_FILE_ATTRIBUTES : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 146 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_FILE_LOCKING : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 147 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_FILE_SYSTEM : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 148 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MONOTONIC_CLOCK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 149 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MULTI_PROCESS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 150 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SINGLE_PROCESS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 151 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NETWORKING : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 152 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_READER_WRITER_LOCKS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 153 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SPIN_LOCKS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 154 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_REGEXP : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 155 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_REGEX_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 156 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SHELL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 157 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SIGNALS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 158 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SPAWN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 159 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SPORADIC_SERVER : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 160 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_SPORADIC_SERVER : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 161 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SYSTEM_DATABASE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 162 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SYSTEM_DATABASE_R : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 163 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TIMEOUTS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 164 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TYPED_MEMORY_OBJECTS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 165 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_USER_GROUPS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 166 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_USER_GROUPS_R : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 167 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_PBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 168 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_PBS_ACCOUNTING : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 169 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_PBS_LOCATE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 170 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_PBS_MESSAGE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 171 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_PBS_TRACK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 172 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SYMLOOP_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 173 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_STREAMS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 174 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_PBS_CHECKPOINT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 175 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V6_ILP32_OFF32 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 176 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V6_ILP32_OFFBIG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 177 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V6_LP64_OFF64 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 178 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V6_LPBIG_OFFBIG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 179 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_HOST_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 180 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 181 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_EVENT_FILTER : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 182 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_INHERIT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 183 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_LOG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 184 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL1_ICACHE_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 185 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL1_ICACHE_ASSOC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 186 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL1_ICACHE_LINESIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 187 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL1_DCACHE_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 188 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL1_DCACHE_ASSOC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 189 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL1_DCACHE_LINESIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 190 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL2_CACHE_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 191 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL2_CACHE_ASSOC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 192 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL2_CACHE_LINESIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 193 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL3_CACHE_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 194 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL3_CACHE_ASSOC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 195 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL3_CACHE_LINESIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 196 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL4_CACHE_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 197 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL4_CACHE_ASSOC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 198 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL4_CACHE_LINESIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 199 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_IPV6 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 235 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_RAW_SOCKETS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 236 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V7_ILP32_OFF32 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 237 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V7_ILP32_OFFBIG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 238 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V7_LP64_OFF64 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 239 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V7_LPBIG_OFFBIG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 240 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SS_REPL_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 241 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_EVENT_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 242 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 243 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_SYS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 244 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_USER_EVENT_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 245 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_STREAMS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 246 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_ROBUST_PRIO_INHERIT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 247 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_ROBUST_PRIO_PROTECT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 248 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MINSIGSTKSZ : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 249 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SIGSTKSZ : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 250 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_PATH : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 0 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_V6_WIDTH_RESTRICTED_ENVS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_GNU_LIBC_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_GNU_LIBPTHREAD_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_V5_WIDTH_RESTRICTED_ENVS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_V7_WIDTH_RESTRICTED_ENVS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1000 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1001 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1002 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1003 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS64_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1004 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS64_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1005 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS64_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1006 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS64_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1007 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFF32_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1100 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFF32_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1101 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFF32_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1102 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFF32_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1103 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFFBIG_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1104 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFFBIG_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1105 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFFBIG_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1106 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFFBIG_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1107 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LP64_OFF64_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1108 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LP64_OFF64_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1109 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LP64_OFF64_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1110 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LP64_OFF64_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1111 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LPBIG_OFFBIG_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1112 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LPBIG_OFFBIG_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1113 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LPBIG_OFFBIG_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1114 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LPBIG_OFFBIG_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1115 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFF32_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1116 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFF32_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1117 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFF32_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1118 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFF32_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1119 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFFBIG_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1120 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1121 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFFBIG_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1122 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1123 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LP64_OFF64_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1124 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LP64_OFF64_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1125 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LP64_OFF64_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1126 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LP64_OFF64_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1127 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1128 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1129 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LPBIG_OFFBIG_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1130 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1131 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFF32_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1132 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFF32_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1133 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFF32_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1134 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFF32_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1135 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFFBIG_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1136 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1137 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFFBIG_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1138 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1139 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LP64_OFF64_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1140 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LP64_OFF64_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1141 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LP64_OFF64_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1142 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LP64_OFF64_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1143 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1144 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1145 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LPBIG_OFFBIG_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1146 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1147 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_V6_ENV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1148 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_V7_ENV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1149 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = u32 ; extern "C" { pub fn pathconf ( __path : * const :: std :: os :: raw :: c_char , __name : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn fpathconf ( __fd : :: std :: os :: raw :: c_int , __name : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn sysconf ( __name : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn confstr ( __name : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> usize ; } extern "C" { pub fn getpid ( ) -> __pid_t ; } extern "C" { pub fn getppid ( ) -> __pid_t ; } extern "C" { pub fn getpgrp ( ) -> __pid_t ; } extern "C" { pub fn __getpgid ( __pid : __pid_t ) -> __pid_t ; } extern "C" { pub fn getpgid ( __pid : __pid_t ) -> __pid_t ; } extern "C" { pub fn setpgid ( __pid : __pid_t , __pgid : __pid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setpgrp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setsid ( ) -> __pid_t ; } extern "C" { pub fn getsid ( __pid : __pid_t ) -> __pid_t ; } extern "C" { pub fn getuid ( ) -> __uid_t ; } extern "C" { pub fn geteuid ( ) -> __uid_t ; } extern "C" { pub fn getgid ( ) -> __gid_t ; } extern "C" { pub fn getegid ( ) -> __gid_t ; } extern "C" { pub fn getgroups ( __size : :: std :: os :: raw :: c_int , __list : * mut __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setuid ( __uid : __uid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setreuid ( __ruid : __uid_t , __euid : __uid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn seteuid ( __uid : __uid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setgid ( __gid : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setregid ( __rgid : __gid_t , __egid : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setegid ( __gid : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fork ( ) -> __pid_t ; } extern "C" { pub fn vfork ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ttyname ( __fd : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ttyname_r ( __fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __buflen : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isatty ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ttyslot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn link ( __from : * const :: std :: os :: raw :: c_char , __to : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn linkat ( __fromfd : :: std :: os :: raw :: c_int , __from : * const :: std :: os :: raw :: c_char , __tofd : :: std :: os :: raw :: c_int , __to : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn symlink ( __from : * const :: std :: os :: raw :: c_char , __to : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn readlink ( __path : * const :: std :: os :: raw :: c_char , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> isize ; } extern "C" { pub fn symlinkat ( __from : * const :: std :: os :: raw :: c_char , __tofd : :: std :: os :: raw :: c_int , __to : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn readlinkat ( __fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> isize ; } extern "C" { pub fn unlink ( __name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unlinkat ( __fd : :: std :: os :: raw :: c_int , __name : * const :: std :: os :: raw :: c_char , __flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rmdir ( __path : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tcgetpgrp ( __fd : :: std :: os :: raw :: c_int ) -> __pid_t ; } extern "C" { pub fn tcsetpgrp ( __fd : :: std :: os :: raw :: c_int , __pgrp_id : __pid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getlogin ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getlogin_r ( __name : * mut :: std :: os :: raw :: c_char , __name_len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setlogin ( __name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}optarg" ] pub static mut optarg : * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}optind" ] pub static mut optind : :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}opterr" ] pub static mut opterr : :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}optopt" ] pub static mut optopt : :: std :: os :: raw :: c_int ; } extern "C" { pub fn getopt ( ___argc : :: std :: os :: raw :: c_int , ___argv : * const * const :: std :: os :: raw :: c_char , __shortopts : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gethostname ( __name : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sethostname ( __name : * const :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sethostid ( __id : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getdomainname ( __name : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setdomainname ( __name : * const :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vhangup ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn revoke ( __file : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn profil ( __sample_buffer : * mut :: std :: os :: raw :: c_ushort , __size : usize , __offset : usize , __scale : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acct ( __name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getusershell ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn endusershell ( ) ; } extern "C" { pub fn setusershell ( ) ; } extern "C" { pub fn daemon ( __nochdir : :: std :: os :: raw :: c_int , __noclose : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chroot ( __path : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpass ( __prompt : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fsync ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gethostid ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn sync ( ) ; } extern "C" { pub fn getpagesize ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getdtablesize ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn truncate ( __file : * const :: std :: os :: raw :: c_char , __length : __off_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftruncate ( __fd : :: std :: os :: raw :: c_int , __length : __off_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn brk ( __addr : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sbrk ( __delta : isize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn syscall ( __sysno : :: std :: os :: raw :: c_long , ... ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn lockf ( __fd : :: std :: os :: raw :: c_int , __cmd : :: std :: os :: raw :: c_int , __len : __off_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fdatasync ( __fildes : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn crypt ( __key : * const :: std :: os :: raw :: c_char , __salt : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getentropy ( __buffer : * mut :: std :: os :: raw :: c_void , __length : usize ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCredentialsClass { _unused : [ u8 ; 0 ] , } pub type GCredentialsClass = _GCredentialsClass ; extern "C" { pub fn g_credentials_get_type ( ) -> GType ; } extern "C" { pub fn g_credentials_new ( ) -> * mut GCredentials ; } extern "C" { pub fn g_credentials_to_string ( credentials : * mut GCredentials ) -> * mut gchar ; } extern "C" { pub fn g_credentials_get_native ( credentials : * mut GCredentials , native_type : GCredentialsType ) -> gpointer ; } extern "C" { pub fn g_credentials_set_native ( credentials : * mut GCredentials , native_type : GCredentialsType , native : gpointer ) ; } extern "C" { pub fn g_credentials_is_same_user ( credentials : * mut GCredentials , other_credentials : * mut GCredentials , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_credentials_get_unix_pid ( credentials : * mut GCredentials , error : * mut * mut GError ) -> pid_t ; } extern "C" { pub fn g_credentials_get_unix_user ( credentials : * mut GCredentials , error : * mut * mut GError ) -> uid_t ; } extern "C" { pub fn g_credentials_set_unix_user ( credentials : * mut GCredentials , uid : uid_t , error : * mut * mut GError ) -> gboolean ; } pub type GDatagramBasedInterface = _GDatagramBasedInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDatagramBasedInterface { pub g_iface : GTypeInterface , pub receive_messages : :: std :: option :: Option < unsafe extern "C" fn ( datagram_based : * mut GDatagramBased , messages : * mut GInputMessage , num_messages : guint , flags : gint , timeout : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint > , pub send_messages : :: std :: option :: Option < unsafe extern "C" fn ( datagram_based : * mut GDatagramBased , messages : * mut GOutputMessage , num_messages : guint , flags : gint , timeout : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint > , pub create_source : :: std :: option :: Option < unsafe extern "C" fn ( datagram_based : * mut GDatagramBased , condition : GIOCondition , cancellable : * mut GCancellable ) -> * mut GSource > , pub condition_check : :: std :: option :: Option < unsafe extern "C" fn ( datagram_based : * mut GDatagramBased , condition : GIOCondition ) -> GIOCondition > , pub condition_wait : :: std :: option :: Option < unsafe extern "C" fn ( datagram_based : * mut GDatagramBased , condition : GIOCondition , timeout : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GDatagramBasedInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDatagramBasedInterface > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GDatagramBasedInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDatagramBasedInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDatagramBasedInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDatagramBasedInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDatagramBasedInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDatagramBasedInterface > ( ) ) ) . receive_messages as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDatagramBasedInterface ) , "::" , stringify ! ( receive_messages ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDatagramBasedInterface > ( ) ) ) . send_messages as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDatagramBasedInterface ) , "::" , stringify ! ( send_messages ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDatagramBasedInterface > ( ) ) ) . create_source as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDatagramBasedInterface ) , "::" , stringify ! ( create_source ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDatagramBasedInterface > ( ) ) ) . condition_check as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDatagramBasedInterface ) , "::" , stringify ! ( condition_check ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDatagramBasedInterface > ( ) ) ) . condition_wait as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GDatagramBasedInterface ) , "::" , stringify ! ( condition_wait ) ) ) ; } extern "C" { pub fn g_datagram_based_get_type ( ) -> GType ; } extern "C" { pub fn g_datagram_based_receive_messages ( datagram_based : * mut GDatagramBased , messages : * mut GInputMessage , num_messages : guint , flags : gint , timeout : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_datagram_based_send_messages ( datagram_based : * mut GDatagramBased , messages : * mut GOutputMessage , num_messages : guint , flags : gint , timeout : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_datagram_based_create_source ( datagram_based : * mut GDatagramBased , condition : GIOCondition , cancellable : * mut GCancellable ) -> * mut GSource ; } extern "C" { pub fn g_datagram_based_condition_check ( datagram_based : * mut GDatagramBased , condition : GIOCondition ) -> GIOCondition ; } extern "C" { pub fn g_datagram_based_condition_wait ( datagram_based : * mut GDatagramBased , condition : GIOCondition , timeout : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } pub type GDataInputStreamClass = _GDataInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDataInputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GDataInputStreamPrivate = _GDataInputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDataInputStream { pub parent_instance : GBufferedInputStream , pub priv_ : * mut GDataInputStreamPrivate , } # [ test ] fn bindgen_test_layout__GDataInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDataInputStream > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GDataInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDataInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDataInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStream > ( ) ) ) . priv_ as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDataInputStreamClass { pub parent_class : GBufferedInputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GDataInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDataInputStreamClass > ( ) , 376usize , concat ! ( "Size of: " , stringify ! ( _GDataInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDataInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDataInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_data_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_data_input_stream_new ( base_stream : * mut GInputStream ) -> * mut GDataInputStream ; } extern "C" { pub fn g_data_input_stream_set_byte_order ( stream : * mut GDataInputStream , order : GDataStreamByteOrder ) ; } extern "C" { pub fn g_data_input_stream_get_byte_order ( stream : * mut GDataInputStream ) -> GDataStreamByteOrder ; } extern "C" { pub fn g_data_input_stream_set_newline_type ( stream : * mut GDataInputStream , type_ : GDataStreamNewlineType ) ; } extern "C" { pub fn g_data_input_stream_get_newline_type ( stream : * mut GDataInputStream ) -> GDataStreamNewlineType ; } extern "C" { pub fn g_data_input_stream_read_byte ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> guchar ; } extern "C" { pub fn g_data_input_stream_read_int16 ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint16 ; } extern "C" { pub fn g_data_input_stream_read_uint16 ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> guint16 ; } extern "C" { pub fn g_data_input_stream_read_int32 ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint32 ; } extern "C" { pub fn g_data_input_stream_read_uint32 ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> guint32 ; } extern "C" { pub fn g_data_input_stream_read_int64 ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint64 ; } extern "C" { pub fn g_data_input_stream_read_uint64 ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> guint64 ; } extern "C" { pub fn g_data_input_stream_read_line ( stream : * mut GDataInputStream , length : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_line_utf8 ( stream : * mut GDataInputStream , length : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_line_async ( stream : * mut GDataInputStream , io_priority : gint , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_data_input_stream_read_line_finish ( stream : * mut GDataInputStream , result : * mut GAsyncResult , length : * mut gsize , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_line_finish_utf8 ( stream : * mut GDataInputStream , result : * mut GAsyncResult , length : * mut gsize , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_until ( stream : * mut GDataInputStream , stop_chars : * const gchar , length : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_until_async ( stream : * mut GDataInputStream , stop_chars : * const gchar , io_priority : gint , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_data_input_stream_read_until_finish ( stream : * mut GDataInputStream , result : * mut GAsyncResult , length : * mut gsize , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_upto ( stream : * mut GDataInputStream , stop_chars : * const gchar , stop_chars_len : gssize , length : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_upto_async ( stream : * mut GDataInputStream , stop_chars : * const gchar , stop_chars_len : gssize , io_priority : gint , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_data_input_stream_read_upto_finish ( stream : * mut GDataInputStream , result : * mut GAsyncResult , length : * mut gsize , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } pub type GDataOutputStream = _GDataOutputStream ; pub type GDataOutputStreamClass = _GDataOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDataOutputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GDataOutputStreamPrivate = _GDataOutputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDataOutputStream { pub parent_instance : GFilterOutputStream , pub priv_ : * mut GDataOutputStreamPrivate , } # [ test ] fn bindgen_test_layout__GDataOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDataOutputStream > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GDataOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDataOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDataOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStream > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDataOutputStreamClass { pub parent_class : GFilterOutputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GDataOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDataOutputStreamClass > ( ) , 360usize , concat ! ( "Size of: " , stringify ! ( _GDataOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDataOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDataOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_data_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_data_output_stream_new ( base_stream : * mut GOutputStream ) -> * mut GDataOutputStream ; } extern "C" { pub fn g_data_output_stream_set_byte_order ( stream : * mut GDataOutputStream , order : GDataStreamByteOrder ) ; } extern "C" { pub fn g_data_output_stream_get_byte_order ( stream : * mut GDataOutputStream ) -> GDataStreamByteOrder ; } extern "C" { pub fn g_data_output_stream_put_byte ( stream : * mut GDataOutputStream , data : guchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_int16 ( stream : * mut GDataOutputStream , data : gint16 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_uint16 ( stream : * mut GDataOutputStream , data : guint16 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_int32 ( stream : * mut GDataOutputStream , data : gint32 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_uint32 ( stream : * mut GDataOutputStream , data : guint32 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_int64 ( stream : * mut GDataOutputStream , data : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_uint64 ( stream : * mut GDataOutputStream , data : guint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_string ( stream : * mut GDataOutputStream , str : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_action_group_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_action_group_get ( connection : * mut GDBusConnection , bus_name : * const gchar , object_path : * const gchar ) -> * mut GDBusActionGroup ; } extern "C" { pub fn g_dbus_address_escape_value ( string : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_dbus_is_address ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_is_supported_address ( string : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_address_get_stream ( address : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_address_get_stream_finish ( res : * mut GAsyncResult , out_guid : * mut * mut gchar , error : * mut * mut GError ) -> * mut GIOStream ; } extern "C" { pub fn g_dbus_address_get_stream_sync ( address : * const gchar , out_guid : * mut * mut gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GIOStream ; } extern "C" { pub fn g_dbus_address_get_for_bus_sync ( bus_type : GBusType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_dbus_auth_observer_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_auth_observer_new ( ) -> * mut GDBusAuthObserver ; } extern "C" { pub fn g_dbus_auth_observer_authorize_authenticated_peer ( observer : * mut GDBusAuthObserver , stream : * mut GIOStream , credentials : * mut GCredentials ) -> gboolean ; } extern "C" { pub fn g_dbus_auth_observer_allow_mechanism ( observer : * mut GDBusAuthObserver , mechanism : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_bus_get ( bus_type : GBusType , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_bus_get_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusConnection ; } extern "C" { pub fn g_bus_get_sync ( bus_type : GBusType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_connection_new ( stream : * mut GIOStream , guid : * const gchar , flags : GDBusConnectionFlags , observer : * mut GDBusAuthObserver , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_new_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_connection_new_sync ( stream : * mut GIOStream , guid : * const gchar , flags : GDBusConnectionFlags , observer : * mut GDBusAuthObserver , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_connection_new_for_address ( address : * const gchar , flags : GDBusConnectionFlags , observer : * mut GDBusAuthObserver , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_new_for_address_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_connection_new_for_address_sync ( address : * const gchar , flags : GDBusConnectionFlags , observer : * mut GDBusAuthObserver , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_connection_start_message_processing ( connection : * mut GDBusConnection ) ; } extern "C" { pub fn g_dbus_connection_is_closed ( connection : * mut GDBusConnection ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_get_stream ( connection : * mut GDBusConnection ) -> * mut GIOStream ; } extern "C" { pub fn g_dbus_connection_get_guid ( connection : * mut GDBusConnection ) -> * const gchar ; } extern "C" { pub fn g_dbus_connection_get_unique_name ( connection : * mut GDBusConnection ) -> * const gchar ; } extern "C" { pub fn g_dbus_connection_get_peer_credentials ( connection : * mut GDBusConnection ) -> * mut GCredentials ; } extern "C" { pub fn g_dbus_connection_get_last_serial ( connection : * mut GDBusConnection ) -> guint32 ; } extern "C" { pub fn g_dbus_connection_get_exit_on_close ( connection : * mut GDBusConnection ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_set_exit_on_close ( connection : * mut GDBusConnection , exit_on_close : gboolean ) ; } extern "C" { pub fn g_dbus_connection_get_capabilities ( connection : * mut GDBusConnection ) -> GDBusCapabilityFlags ; } extern "C" { pub fn g_dbus_connection_get_flags ( connection : * mut GDBusConnection ) -> GDBusConnectionFlags ; } extern "C" { pub fn g_dbus_connection_close ( connection : * mut GDBusConnection , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_close_finish ( connection : * mut GDBusConnection , res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_close_sync ( connection : * mut GDBusConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_flush ( connection : * mut GDBusConnection , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_flush_finish ( connection : * mut GDBusConnection , res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_flush_sync ( connection : * mut GDBusConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_send_message ( connection : * mut GDBusConnection , message : * mut GDBusMessage , flags : GDBusSendMessageFlags , out_serial : * mut guint32 , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_send_message_with_reply ( connection : * mut GDBusConnection , message : * mut GDBusMessage , flags : GDBusSendMessageFlags , timeout_msec : gint , out_serial : * mut guint32 , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_send_message_with_reply_finish ( connection : * mut GDBusConnection , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_connection_send_message_with_reply_sync ( connection : * mut GDBusConnection , message : * mut GDBusMessage , flags : GDBusSendMessageFlags , timeout_msec : gint , out_serial : * mut guint32 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_connection_emit_signal ( connection : * mut GDBusConnection , destination_bus_name : * const gchar , object_path : * const gchar , interface_name : * const gchar , signal_name : * const gchar , parameters : * mut GVariant , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_call ( connection : * mut GDBusConnection , bus_name : * const gchar , object_path : * const gchar , interface_name : * const gchar , method_name : * const gchar , parameters : * mut GVariant , reply_type : * const GVariantType , flags : GDBusCallFlags , timeout_msec : gint , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_call_finish ( connection : * mut GDBusConnection , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_connection_call_sync ( connection : * mut GDBusConnection , bus_name : * const gchar , object_path : * const gchar , interface_name : * const gchar , method_name : * const gchar , parameters : * mut GVariant , reply_type : * const GVariantType , flags : GDBusCallFlags , timeout_msec : gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_connection_call_with_unix_fd_list ( connection : * mut GDBusConnection , bus_name : * const gchar , object_path : * const gchar , interface_name : * const gchar , method_name : * const gchar , parameters : * mut GVariant , reply_type : * const GVariantType , flags : GDBusCallFlags , timeout_msec : gint , fd_list : * mut GUnixFDList , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_call_with_unix_fd_list_finish ( connection : * mut GDBusConnection , out_fd_list : * mut * mut GUnixFDList , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_connection_call_with_unix_fd_list_sync ( connection : * mut GDBusConnection , bus_name : * const gchar , object_path : * const gchar , interface_name : * const gchar , method_name : * const gchar , parameters : * mut GVariant , reply_type : * const GVariantType , flags : GDBusCallFlags , timeout_msec : gint , fd_list : * mut GUnixFDList , out_fd_list : * mut * mut GUnixFDList , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GVariant ; } pub type GDBusInterfaceMethodCallFunc = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender : * const gchar , object_path : * const gchar , interface_name : * const gchar , method_name : * const gchar , parameters : * mut GVariant , invocation : * mut GDBusMethodInvocation , user_data : gpointer ) > ; pub type GDBusInterfaceGetPropertyFunc = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender : * const gchar , object_path : * const gchar , interface_name : * const gchar , property_name : * const gchar , error : * mut * mut GError , user_data : gpointer ) -> * mut GVariant > ; pub type GDBusInterfaceSetPropertyFunc = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender : * const gchar , object_path : * const gchar , interface_name : * const gchar , property_name : * const gchar , value : * mut GVariant , error : * mut * mut GError , user_data : gpointer ) -> gboolean > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterfaceVTable { pub method_call : GDBusInterfaceMethodCallFunc , pub get_property : GDBusInterfaceGetPropertyFunc , pub set_property : GDBusInterfaceSetPropertyFunc , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusInterfaceVTable ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusInterfaceVTable > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GDBusInterfaceVTable ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusInterfaceVTable > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusInterfaceVTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceVTable > ( ) ) ) . method_call as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceVTable ) , "::" , stringify ! ( method_call ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceVTable > ( ) ) ) . get_property as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceVTable ) , "::" , stringify ! ( get_property ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceVTable > ( ) ) ) . set_property as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceVTable ) , "::" , stringify ! ( set_property ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceVTable > ( ) ) ) . padding as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceVTable ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_connection_register_object ( connection : * mut GDBusConnection , object_path : * const gchar , interface_info : * mut GDBusInterfaceInfo , vtable : * const GDBusInterfaceVTable , user_data : gpointer , user_data_free_func : GDestroyNotify , error : * mut * mut GError ) -> guint ; } extern "C" { pub fn g_dbus_connection_register_object_with_closures ( connection : * mut GDBusConnection , object_path : * const gchar , interface_info : * mut GDBusInterfaceInfo , method_call_closure : * mut GClosure , get_property_closure : * mut GClosure , set_property_closure : * mut GClosure , error : * mut * mut GError ) -> guint ; } extern "C" { pub fn g_dbus_connection_unregister_object ( connection : * mut GDBusConnection , registration_id : guint ) -> gboolean ; } pub type GDBusSubtreeEnumerateFunc = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender : * const gchar , object_path : * const gchar , user_data : gpointer ) -> * mut * mut gchar > ; pub type GDBusSubtreeIntrospectFunc = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender : * const gchar , object_path : * const gchar , node : * const gchar , user_data : gpointer ) -> * mut * mut GDBusInterfaceInfo > ; pub type GDBusSubtreeDispatchFunc = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender : * const gchar , object_path : * const gchar , interface_name : * const gchar , node : * const gchar , out_user_data : * mut gpointer , user_data : gpointer ) -> * const GDBusInterfaceVTable > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusSubtreeVTable { pub enumerate : GDBusSubtreeEnumerateFunc , pub introspect : GDBusSubtreeIntrospectFunc , pub dispatch : GDBusSubtreeDispatchFunc , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusSubtreeVTable ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusSubtreeVTable > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GDBusSubtreeVTable ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusSubtreeVTable > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusSubtreeVTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSubtreeVTable > ( ) ) ) . enumerate as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSubtreeVTable ) , "::" , stringify ! ( enumerate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSubtreeVTable > ( ) ) ) . introspect as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSubtreeVTable ) , "::" , stringify ! ( introspect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSubtreeVTable > ( ) ) ) . dispatch as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSubtreeVTable ) , "::" , stringify ! ( dispatch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSubtreeVTable > ( ) ) ) . padding as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSubtreeVTable ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_connection_register_subtree ( connection : * mut GDBusConnection , object_path : * const gchar , vtable : * const GDBusSubtreeVTable , flags : GDBusSubtreeFlags , user_data : gpointer , user_data_free_func : GDestroyNotify , error : * mut * mut GError ) -> guint ; } extern "C" { pub fn g_dbus_connection_unregister_subtree ( connection : * mut GDBusConnection , registration_id : guint ) -> gboolean ; } pub type GDBusSignalCallback = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender_name : * const gchar , object_path : * const gchar , interface_name : * const gchar , signal_name : * const gchar , parameters : * mut GVariant , user_data : gpointer ) > ; extern "C" { pub fn g_dbus_connection_signal_subscribe ( connection : * mut GDBusConnection , sender : * const gchar , interface_name : * const gchar , member : * const gchar , object_path : * const gchar , arg0 : * const gchar , flags : GDBusSignalFlags , callback : GDBusSignalCallback , user_data : gpointer , user_data_free_func : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_dbus_connection_signal_unsubscribe ( connection : * mut GDBusConnection , subscription_id : guint ) ; } pub type GDBusMessageFilterFunction = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , message : * mut GDBusMessage , incoming : gboolean , user_data : gpointer ) -> * mut GDBusMessage > ; extern "C" { pub fn g_dbus_connection_add_filter ( connection : * mut GDBusConnection , filter_function : GDBusMessageFilterFunction , user_data : gpointer , user_data_free_func : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_dbus_connection_remove_filter ( connection : * mut GDBusConnection , filter_id : guint ) ; } extern "C" { pub fn g_dbus_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_dbus_error_is_remote_error ( error : * const GError ) -> gboolean ; } extern "C" { pub fn g_dbus_error_get_remote_error ( error : * const GError ) -> * mut gchar ; } extern "C" { pub fn g_dbus_error_strip_remote_error ( error : * mut GError ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusErrorEntry { pub error_code : gint , pub dbus_error_name : * const gchar , } # [ test ] fn bindgen_test_layout__GDBusErrorEntry ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusErrorEntry > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GDBusErrorEntry ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusErrorEntry > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusErrorEntry ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusErrorEntry > ( ) ) ) . error_code as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusErrorEntry ) , "::" , stringify ! ( error_code ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusErrorEntry > ( ) ) ) . dbus_error_name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusErrorEntry ) , "::" , stringify ! ( dbus_error_name ) ) ) ; } extern "C" { pub fn g_dbus_error_register_error ( error_domain : GQuark , error_code : gint , dbus_error_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_error_unregister_error ( error_domain : GQuark , error_code : gint , dbus_error_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_error_register_error_domain ( error_domain_quark_name : * const gchar , quark_volatile : * mut gsize , entries : * const GDBusErrorEntry , num_entries : guint ) ; } extern "C" { pub fn g_dbus_error_new_for_dbus_error ( dbus_error_name : * const gchar , dbus_error_message : * const gchar ) -> * mut GError ; } extern "C" { pub fn g_dbus_error_set_dbus_error ( error : * mut * mut GError , dbus_error_name : * const gchar , dbus_error_message : * const gchar , format : * const gchar , ... ) ; } extern "C" { pub fn g_dbus_error_set_dbus_error_valist ( error : * mut * mut GError , dbus_error_name : * const gchar , dbus_error_message : * const gchar , format : * const gchar , var_args : * mut __va_list_tag ) ; } extern "C" { pub fn g_dbus_error_encode_gerror ( error : * const GError ) -> * mut gchar ; } pub type GDBusInterfaceIface = _GDBusInterfaceIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterfaceIface { pub parent_iface : GTypeInterface , pub get_info : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterface ) -> * mut GDBusInterfaceInfo > , pub get_object : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterface ) -> * mut GDBusObject > , pub set_object : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterface , object : * mut GDBusObject ) > , pub dup_object : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterface ) -> * mut GDBusObject > , } # [ test ] fn bindgen_test_layout__GDBusInterfaceIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusInterfaceIface > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GDBusInterfaceIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusInterfaceIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusInterfaceIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceIface > ( ) ) ) . parent_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceIface ) , "::" , stringify ! ( parent_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceIface > ( ) ) ) . get_info as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceIface ) , "::" , stringify ! ( get_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceIface > ( ) ) ) . get_object as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceIface ) , "::" , stringify ! ( get_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceIface > ( ) ) ) . set_object as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceIface ) , "::" , stringify ! ( set_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceIface > ( ) ) ) . dup_object as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceIface ) , "::" , stringify ! ( dup_object ) ) ) ; } extern "C" { pub fn g_dbus_interface_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_interface_get_info ( interface_ : * mut GDBusInterface ) -> * mut GDBusInterfaceInfo ; } extern "C" { pub fn g_dbus_interface_get_object ( interface_ : * mut GDBusInterface ) -> * mut GDBusObject ; } extern "C" { pub fn g_dbus_interface_set_object ( interface_ : * mut GDBusInterface , object : * mut GDBusObject ) ; } extern "C" { pub fn g_dbus_interface_dup_object ( interface_ : * mut GDBusInterface ) -> * mut GDBusObject ; } pub type GDBusInterfaceSkeletonClass = _GDBusInterfaceSkeletonClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterfaceSkeletonPrivate { _unused : [ u8 ; 0 ] , } pub type GDBusInterfaceSkeletonPrivate = _GDBusInterfaceSkeletonPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterfaceSkeleton { pub parent_instance : GObject , pub priv_ : * mut GDBusInterfaceSkeletonPrivate , } # [ test ] fn bindgen_test_layout__GDBusInterfaceSkeleton ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusInterfaceSkeleton > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusInterfaceSkeleton ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusInterfaceSkeleton > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusInterfaceSkeleton ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeleton > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeleton ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeleton > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeleton ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterfaceSkeletonClass { pub parent_class : GObjectClass , pub get_info : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GDBusInterfaceInfo > , pub get_vtable : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GDBusInterfaceVTable > , pub get_properties : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GVariant > , pub flush : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterfaceSkeleton ) > , pub vfunc_padding : [ gpointer ; 8usize ] , pub g_authorize_method : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterfaceSkeleton , invocation : * mut GDBusMethodInvocation ) -> gboolean > , pub signal_padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusInterfaceSkeletonClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusInterfaceSkeletonClass > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( _GDBusInterfaceSkeletonClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusInterfaceSkeletonClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusInterfaceSkeletonClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . get_info as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( get_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . get_vtable as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( get_vtable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . get_properties as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( get_properties ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . flush as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( flush ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . vfunc_padding as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( vfunc_padding ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . g_authorize_method as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( g_authorize_method ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . signal_padding as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( signal_padding ) ) ) ; } extern "C" { pub fn g_dbus_interface_skeleton_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_interface_skeleton_get_flags ( interface_ : * mut GDBusInterfaceSkeleton ) -> GDBusInterfaceSkeletonFlags ; } extern "C" { pub fn g_dbus_interface_skeleton_set_flags ( interface_ : * mut GDBusInterfaceSkeleton , flags : GDBusInterfaceSkeletonFlags ) ; } extern "C" { pub fn g_dbus_interface_skeleton_get_info ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GDBusInterfaceInfo ; } extern "C" { pub fn g_dbus_interface_skeleton_get_vtable ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GDBusInterfaceVTable ; } extern "C" { pub fn g_dbus_interface_skeleton_get_properties ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_interface_skeleton_flush ( interface_ : * mut GDBusInterfaceSkeleton ) ; } extern "C" { pub fn g_dbus_interface_skeleton_export ( interface_ : * mut GDBusInterfaceSkeleton , connection : * mut GDBusConnection , object_path : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_interface_skeleton_unexport ( interface_ : * mut GDBusInterfaceSkeleton ) ; } extern "C" { pub fn g_dbus_interface_skeleton_unexport_from_connection ( interface_ : * mut GDBusInterfaceSkeleton , connection : * mut GDBusConnection ) ; } extern "C" { pub fn g_dbus_interface_skeleton_get_connection ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_interface_skeleton_get_connections ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GList ; } extern "C" { pub fn g_dbus_interface_skeleton_has_connection ( interface_ : * mut GDBusInterfaceSkeleton , connection : * mut GDBusConnection ) -> gboolean ; } extern "C" { pub fn g_dbus_interface_skeleton_get_object_path ( interface_ : * mut GDBusInterfaceSkeleton ) -> * const gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusAnnotationInfo { pub ref_count : gint , pub key : * mut gchar , pub value : * mut gchar , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusAnnotationInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusAnnotationInfo > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusAnnotationInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusAnnotationInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusAnnotationInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusAnnotationInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusAnnotationInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusAnnotationInfo > ( ) ) ) . key as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusAnnotationInfo ) , "::" , stringify ! ( key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusAnnotationInfo > ( ) ) ) . value as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusAnnotationInfo ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusAnnotationInfo > ( ) ) ) . annotations as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusAnnotationInfo ) , "::" , stringify ! ( annotations ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusArgInfo { pub ref_count : gint , pub name : * mut gchar , pub signature : * mut gchar , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusArgInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusArgInfo > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusArgInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusArgInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusArgInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusArgInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusArgInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusArgInfo > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusArgInfo ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusArgInfo > ( ) ) ) . signature as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusArgInfo ) , "::" , stringify ! ( signature ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusArgInfo > ( ) ) ) . annotations as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusArgInfo ) , "::" , stringify ! ( annotations ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusMethodInfo { pub ref_count : gint , pub name : * mut gchar , pub in_args : * mut * mut GDBusArgInfo , pub out_args : * mut * mut GDBusArgInfo , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusMethodInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusMethodInfo > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GDBusMethodInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusMethodInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusMethodInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusMethodInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusMethodInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusMethodInfo > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusMethodInfo ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusMethodInfo > ( ) ) ) . in_args as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusMethodInfo ) , "::" , stringify ! ( in_args ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusMethodInfo > ( ) ) ) . out_args as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusMethodInfo ) , "::" , stringify ! ( out_args ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusMethodInfo > ( ) ) ) . annotations as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusMethodInfo ) , "::" , stringify ! ( annotations ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusSignalInfo { pub ref_count : gint , pub name : * mut gchar , pub args : * mut * mut GDBusArgInfo , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusSignalInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusSignalInfo > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusSignalInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusSignalInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusSignalInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSignalInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSignalInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSignalInfo > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSignalInfo ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSignalInfo > ( ) ) ) . args as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSignalInfo ) , "::" , stringify ! ( args ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSignalInfo > ( ) ) ) . annotations as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSignalInfo ) , "::" , stringify ! ( annotations ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusPropertyInfo { pub ref_count : gint , pub name : * mut gchar , pub signature : * mut gchar , pub flags : GDBusPropertyInfoFlags , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusPropertyInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusPropertyInfo > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GDBusPropertyInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusPropertyInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusPropertyInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusPropertyInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusPropertyInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusPropertyInfo > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusPropertyInfo ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusPropertyInfo > ( ) ) ) . signature as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusPropertyInfo ) , "::" , stringify ! ( signature ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusPropertyInfo > ( ) ) ) . flags as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusPropertyInfo ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusPropertyInfo > ( ) ) ) . annotations as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusPropertyInfo ) , "::" , stringify ! ( annotations ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterfaceInfo { pub ref_count : gint , pub name : * mut gchar , pub methods : * mut * mut GDBusMethodInfo , pub signals : * mut * mut GDBusSignalInfo , pub properties : * mut * mut GDBusPropertyInfo , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusInterfaceInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusInterfaceInfo > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GDBusInterfaceInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusInterfaceInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusInterfaceInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceInfo > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceInfo ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceInfo > ( ) ) ) . methods as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceInfo ) , "::" , stringify ! ( methods ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceInfo > ( ) ) ) . signals as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceInfo ) , "::" , stringify ! ( signals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceInfo > ( ) ) ) . properties as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceInfo ) , "::" , stringify ! ( properties ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceInfo > ( ) ) ) . annotations as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceInfo ) , "::" , stringify ! ( annotations ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusNodeInfo { pub ref_count : gint , pub path : * mut gchar , pub interfaces : * mut * mut GDBusInterfaceInfo , pub nodes : * mut * mut GDBusNodeInfo , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusNodeInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusNodeInfo > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GDBusNodeInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusNodeInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusNodeInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusNodeInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusNodeInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusNodeInfo > ( ) ) ) . path as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusNodeInfo ) , "::" , stringify ! ( path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusNodeInfo > ( ) ) ) . interfaces as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusNodeInfo ) , "::" , stringify ! ( interfaces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusNodeInfo > ( ) ) ) . nodes as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusNodeInfo ) , "::" , stringify ! ( nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusNodeInfo > ( ) ) ) . annotations as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusNodeInfo ) , "::" , stringify ! ( annotations ) ) ) ; } extern "C" { pub fn g_dbus_annotation_info_lookup ( annotations : * mut * mut GDBusAnnotationInfo , name : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_dbus_interface_info_lookup_method ( info : * mut GDBusInterfaceInfo , name : * const gchar ) -> * mut GDBusMethodInfo ; } extern "C" { pub fn g_dbus_interface_info_lookup_signal ( info : * mut GDBusInterfaceInfo , name : * const gchar ) -> * mut GDBusSignalInfo ; } extern "C" { pub fn g_dbus_interface_info_lookup_property ( info : * mut GDBusInterfaceInfo , name : * const gchar ) -> * mut GDBusPropertyInfo ; } extern "C" { pub fn g_dbus_interface_info_cache_build ( info : * mut GDBusInterfaceInfo ) ; } extern "C" { pub fn g_dbus_interface_info_cache_release ( info : * mut GDBusInterfaceInfo ) ; } extern "C" { pub fn g_dbus_interface_info_generate_xml ( info : * mut GDBusInterfaceInfo , indent : guint , string_builder : * mut GString ) ; } extern "C" { pub fn g_dbus_node_info_new_for_xml ( xml_data : * const gchar , error : * mut * mut GError ) -> * mut GDBusNodeInfo ; } extern "C" { pub fn g_dbus_node_info_lookup_interface ( info : * mut GDBusNodeInfo , name : * const gchar ) -> * mut GDBusInterfaceInfo ; } extern "C" { pub fn g_dbus_node_info_generate_xml ( info : * mut GDBusNodeInfo , indent : guint , string_builder : * mut GString ) ; } extern "C" { pub fn g_dbus_node_info_ref ( info : * mut GDBusNodeInfo ) -> * mut GDBusNodeInfo ; } extern "C" { pub fn g_dbus_interface_info_ref ( info : * mut GDBusInterfaceInfo ) -> * mut GDBusInterfaceInfo ; } extern "C" { pub fn g_dbus_method_info_ref ( info : * mut GDBusMethodInfo ) -> * mut GDBusMethodInfo ; } extern "C" { pub fn g_dbus_signal_info_ref ( info : * mut GDBusSignalInfo ) -> * mut GDBusSignalInfo ; } extern "C" { pub fn g_dbus_property_info_ref ( info : * mut GDBusPropertyInfo ) -> * mut GDBusPropertyInfo ; } extern "C" { pub fn g_dbus_arg_info_ref ( info : * mut GDBusArgInfo ) -> * mut GDBusArgInfo ; } extern "C" { pub fn g_dbus_annotation_info_ref ( info : * mut GDBusAnnotationInfo ) -> * mut GDBusAnnotationInfo ; } extern "C" { pub fn g_dbus_node_info_unref ( info : * mut GDBusNodeInfo ) ; } extern "C" { pub fn g_dbus_interface_info_unref ( info : * mut GDBusInterfaceInfo ) ; } extern "C" { pub fn g_dbus_method_info_unref ( info : * mut GDBusMethodInfo ) ; } extern "C" { pub fn g_dbus_signal_info_unref ( info : * mut GDBusSignalInfo ) ; } extern "C" { pub fn g_dbus_property_info_unref ( info : * mut GDBusPropertyInfo ) ; } extern "C" { pub fn g_dbus_arg_info_unref ( info : * mut GDBusArgInfo ) ; } extern "C" { pub fn g_dbus_annotation_info_unref ( info : * mut GDBusAnnotationInfo ) ; } extern "C" { pub fn g_dbus_node_info_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_interface_info_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_method_info_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_signal_info_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_property_info_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_arg_info_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_annotation_info_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusMenuModel { _unused : [ u8 ; 0 ] , } pub type GDBusMenuModel = _GDBusMenuModel ; extern "C" { pub fn g_dbus_menu_model_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_menu_model_get ( connection : * mut GDBusConnection , bus_name : * const gchar , object_path : * const gchar ) -> * mut GDBusMenuModel ; } extern "C" { pub fn g_dbus_message_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_message_new ( ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_new_signal ( path : * const gchar , interface_ : * const gchar , signal : * const gchar ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_new_method_call ( name : * const gchar , path : * const gchar , interface_ : * const gchar , method : * const gchar ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_new_method_reply ( method_call_message : * mut GDBusMessage ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_new_method_error ( method_call_message : * mut GDBusMessage , error_name : * const gchar , error_message_format : * const gchar , ... ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_new_method_error_valist ( method_call_message : * mut GDBusMessage , error_name : * const gchar , error_message_format : * const gchar , var_args : * mut __va_list_tag ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_new_method_error_literal ( method_call_message : * mut GDBusMessage , error_name : * const gchar , error_message : * const gchar ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_print ( message : * mut GDBusMessage , indent : guint ) -> * mut gchar ; } extern "C" { pub fn g_dbus_message_get_locked ( message : * mut GDBusMessage ) -> gboolean ; } extern "C" { pub fn g_dbus_message_lock ( message : * mut GDBusMessage ) ; } extern "C" { pub fn g_dbus_message_copy ( message : * mut GDBusMessage , error : * mut * mut GError ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_get_byte_order ( message : * mut GDBusMessage ) -> GDBusMessageByteOrder ; } extern "C" { pub fn g_dbus_message_set_byte_order ( message : * mut GDBusMessage , byte_order : GDBusMessageByteOrder ) ; } extern "C" { pub fn g_dbus_message_get_message_type ( message : * mut GDBusMessage ) -> GDBusMessageType ; } extern "C" { pub fn g_dbus_message_set_message_type ( message : * mut GDBusMessage , type_ : GDBusMessageType ) ; } extern "C" { pub fn g_dbus_message_get_flags ( message : * mut GDBusMessage ) -> GDBusMessageFlags ; } extern "C" { pub fn g_dbus_message_set_flags ( message : * mut GDBusMessage , flags : GDBusMessageFlags ) ; } extern "C" { pub fn g_dbus_message_get_serial ( message : * mut GDBusMessage ) -> guint32 ; } extern "C" { pub fn g_dbus_message_set_serial ( message : * mut GDBusMessage , serial : guint32 ) ; } extern "C" { pub fn g_dbus_message_get_header ( message : * mut GDBusMessage , header_field : GDBusMessageHeaderField ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_message_set_header ( message : * mut GDBusMessage , header_field : GDBusMessageHeaderField , value : * mut GVariant ) ; } extern "C" { pub fn g_dbus_message_get_header_fields ( message : * mut GDBusMessage ) -> * mut guchar ; } extern "C" { pub fn g_dbus_message_get_body ( message : * mut GDBusMessage ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_message_set_body ( message : * mut GDBusMessage , body : * mut GVariant ) ; } extern "C" { pub fn g_dbus_message_get_unix_fd_list ( message : * mut GDBusMessage ) -> * mut GUnixFDList ; } extern "C" { pub fn g_dbus_message_set_unix_fd_list ( message : * mut GDBusMessage , fd_list : * mut GUnixFDList ) ; } extern "C" { pub fn g_dbus_message_get_reply_serial ( message : * mut GDBusMessage ) -> guint32 ; } extern "C" { pub fn g_dbus_message_set_reply_serial ( message : * mut GDBusMessage , value : guint32 ) ; } extern "C" { pub fn g_dbus_message_get_interface ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_interface ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_member ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_member ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_path ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_path ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_sender ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_sender ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_destination ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_destination ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_error_name ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_error_name ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_signature ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_signature ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_num_unix_fds ( message : * mut GDBusMessage ) -> guint32 ; } extern "C" { pub fn g_dbus_message_set_num_unix_fds ( message : * mut GDBusMessage , value : guint32 ) ; } extern "C" { pub fn g_dbus_message_get_arg0 ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_get_arg0_path ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_new_from_blob ( blob : * mut guchar , blob_len : gsize , capabilities : GDBusCapabilityFlags , error : * mut * mut GError ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_bytes_needed ( blob : * mut guchar , blob_len : gsize , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_dbus_message_to_blob ( message : * mut GDBusMessage , out_size : * mut gsize , capabilities : GDBusCapabilityFlags , error : * mut * mut GError ) -> * mut guchar ; } extern "C" { pub fn g_dbus_message_to_gerror ( message : * mut GDBusMessage , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_method_invocation_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_method_invocation_get_sender ( invocation : * mut GDBusMethodInvocation ) -> * const gchar ; } extern "C" { pub fn g_dbus_method_invocation_get_object_path ( invocation : * mut GDBusMethodInvocation ) -> * const gchar ; } extern "C" { pub fn g_dbus_method_invocation_get_interface_name ( invocation : * mut GDBusMethodInvocation ) -> * const gchar ; } extern "C" { pub fn g_dbus_method_invocation_get_method_name ( invocation : * mut GDBusMethodInvocation ) -> * const gchar ; } extern "C" { pub fn g_dbus_method_invocation_get_method_info ( invocation : * mut GDBusMethodInvocation ) -> * const GDBusMethodInfo ; } extern "C" { pub fn g_dbus_method_invocation_get_property_info ( invocation : * mut GDBusMethodInvocation ) -> * const GDBusPropertyInfo ; } extern "C" { pub fn g_dbus_method_invocation_get_connection ( invocation : * mut GDBusMethodInvocation ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_method_invocation_get_message ( invocation : * mut GDBusMethodInvocation ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_method_invocation_get_parameters ( invocation : * mut GDBusMethodInvocation ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_method_invocation_get_user_data ( invocation : * mut GDBusMethodInvocation ) -> gpointer ; } extern "C" { pub fn g_dbus_method_invocation_return_value ( invocation : * mut GDBusMethodInvocation , parameters : * mut GVariant ) ; } extern "C" { pub fn g_dbus_method_invocation_return_value_with_unix_fd_list ( invocation : * mut GDBusMethodInvocation , parameters : * mut GVariant , fd_list : * mut GUnixFDList ) ; } extern "C" { pub fn g_dbus_method_invocation_return_error ( invocation : * mut GDBusMethodInvocation , domain : GQuark , code : gint , format : * const gchar , ... ) ; } extern "C" { pub fn g_dbus_method_invocation_return_error_valist ( invocation : * mut GDBusMethodInvocation , domain : GQuark , code : gint , format : * const gchar , var_args : * mut __va_list_tag ) ; } extern "C" { pub fn g_dbus_method_invocation_return_error_literal ( invocation : * mut GDBusMethodInvocation , domain : GQuark , code : gint , message : * const gchar ) ; } extern "C" { pub fn g_dbus_method_invocation_return_gerror ( invocation : * mut GDBusMethodInvocation , error : * const GError ) ; } extern "C" { pub fn g_dbus_method_invocation_take_error ( invocation : * mut GDBusMethodInvocation , error : * mut GError ) ; } extern "C" { pub fn g_dbus_method_invocation_return_dbus_error ( invocation : * mut GDBusMethodInvocation , error_name : * const gchar , error_message : * const gchar ) ; } pub type GBusAcquiredCallback = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , name : * const gchar , user_data : gpointer ) > ; pub type GBusNameAcquiredCallback = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , name : * const gchar , user_data : gpointer ) > ; pub type GBusNameLostCallback = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , name : * const gchar , user_data : gpointer ) > ; extern "C" { pub fn g_bus_own_name ( bus_type : GBusType , name : * const gchar , flags : GBusNameOwnerFlags , bus_acquired_handler : GBusAcquiredCallback , name_acquired_handler : GBusNameAcquiredCallback , name_lost_handler : GBusNameLostCallback , user_data : gpointer , user_data_free_func : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_bus_own_name_on_connection ( connection : * mut GDBusConnection , name : * const gchar , flags : GBusNameOwnerFlags , name_acquired_handler : GBusNameAcquiredCallback , name_lost_handler : GBusNameLostCallback , user_data : gpointer , user_data_free_func : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_bus_own_name_with_closures ( bus_type : GBusType , name : * const gchar , flags : GBusNameOwnerFlags , bus_acquired_closure : * mut GClosure , name_acquired_closure : * mut GClosure , name_lost_closure : * mut GClosure ) -> guint ; } extern "C" { pub fn g_bus_own_name_on_connection_with_closures ( connection : * mut GDBusConnection , name : * const gchar , flags : GBusNameOwnerFlags , name_acquired_closure : * mut GClosure , name_lost_closure : * mut GClosure ) -> guint ; } extern "C" { pub fn g_bus_unown_name ( owner_id : guint ) ; } pub type GBusNameAppearedCallback = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , name : * const gchar , name_owner : * const gchar , user_data : gpointer ) > ; pub type GBusNameVanishedCallback = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , name : * const gchar , user_data : gpointer ) > ; extern "C" { pub fn g_bus_watch_name ( bus_type : GBusType , name : * const gchar , flags : GBusNameWatcherFlags , name_appeared_handler : GBusNameAppearedCallback , name_vanished_handler : GBusNameVanishedCallback , user_data : gpointer , user_data_free_func : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_bus_watch_name_on_connection ( connection : * mut GDBusConnection , name : * const gchar , flags : GBusNameWatcherFlags , name_appeared_handler : GBusNameAppearedCallback , name_vanished_handler : GBusNameVanishedCallback , user_data : gpointer , user_data_free_func : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_bus_watch_name_with_closures ( bus_type : GBusType , name : * const gchar , flags : GBusNameWatcherFlags , name_appeared_closure : * mut GClosure , name_vanished_closure : * mut GClosure ) -> guint ; } extern "C" { pub fn g_bus_watch_name_on_connection_with_closures ( connection : * mut GDBusConnection , name : * const gchar , flags : GBusNameWatcherFlags , name_appeared_closure : * mut GClosure , name_vanished_closure : * mut GClosure ) -> guint ; } extern "C" { pub fn g_bus_unwatch_name ( watcher_id : guint ) ; } pub type GDBusObjectIface = _GDBusObjectIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectIface { pub parent_iface : GTypeInterface , pub get_object_path : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GDBusObject ) -> * const gchar > , pub get_interfaces : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GDBusObject ) -> * mut GList > , pub get_interface : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GDBusObject , interface_name : * const gchar ) -> * mut GDBusInterface > , pub interface_added : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GDBusObject , interface_ : * mut GDBusInterface ) > , pub interface_removed : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GDBusObject , interface_ : * mut GDBusInterface ) > , } # [ test ] fn bindgen_test_layout__GDBusObjectIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectIface > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectIface > ( ) ) ) . parent_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectIface ) , "::" , stringify ! ( parent_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectIface > ( ) ) ) . get_object_path as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectIface ) , "::" , stringify ! ( get_object_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectIface > ( ) ) ) . get_interfaces as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectIface ) , "::" , stringify ! ( get_interfaces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectIface > ( ) ) ) . get_interface as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectIface ) , "::" , stringify ! ( get_interface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectIface > ( ) ) ) . interface_added as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectIface ) , "::" , stringify ! ( interface_added ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectIface > ( ) ) ) . interface_removed as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectIface ) , "::" , stringify ! ( interface_removed ) ) ) ; } extern "C" { pub fn g_dbus_object_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_get_object_path ( object : * mut GDBusObject ) -> * const gchar ; } extern "C" { pub fn g_dbus_object_get_interfaces ( object : * mut GDBusObject ) -> * mut GList ; } extern "C" { pub fn g_dbus_object_get_interface ( object : * mut GDBusObject , interface_name : * const gchar ) -> * mut GDBusInterface ; } pub type GDBusObjectManagerIface = _GDBusObjectManagerIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerIface { pub parent_iface : GTypeInterface , pub get_object_path : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager ) -> * const gchar > , pub get_objects : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager ) -> * mut GList > , pub get_object : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager , object_path : * const gchar ) -> * mut GDBusObject > , pub get_interface : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager , object_path : * const gchar , interface_name : * const gchar ) -> * mut GDBusInterface > , pub object_added : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager , object : * mut GDBusObject ) > , pub object_removed : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager , object : * mut GDBusObject ) > , pub interface_added : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager , object : * mut GDBusObject , interface_ : * mut GDBusInterface ) > , pub interface_removed : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager , object : * mut GDBusObject , interface_ : * mut GDBusInterface ) > , } # [ test ] fn bindgen_test_layout__GDBusObjectManagerIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectManagerIface > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectManagerIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectManagerIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectManagerIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . parent_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( parent_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . get_object_path as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( get_object_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . get_objects as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( get_objects ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . get_object as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( get_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . get_interface as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( get_interface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . object_added as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( object_added ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . object_removed as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( object_removed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . interface_added as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( interface_added ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . interface_removed as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( interface_removed ) ) ) ; } extern "C" { pub fn g_dbus_object_manager_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_manager_get_object_path ( manager : * mut GDBusObjectManager ) -> * const gchar ; } extern "C" { pub fn g_dbus_object_manager_get_objects ( manager : * mut GDBusObjectManager ) -> * mut GList ; } extern "C" { pub fn g_dbus_object_manager_get_object ( manager : * mut GDBusObjectManager , object_path : * const gchar ) -> * mut GDBusObject ; } extern "C" { pub fn g_dbus_object_manager_get_interface ( manager : * mut GDBusObjectManager , object_path : * const gchar , interface_name : * const gchar ) -> * mut GDBusInterface ; } pub type GDBusObjectManagerClientClass = _GDBusObjectManagerClientClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerClientPrivate { _unused : [ u8 ; 0 ] , } pub type GDBusObjectManagerClientPrivate = _GDBusObjectManagerClientPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerClient { pub parent_instance : GObject , pub priv_ : * mut GDBusObjectManagerClientPrivate , } # [ test ] fn bindgen_test_layout__GDBusObjectManagerClient ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectManagerClient > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectManagerClient ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectManagerClient > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectManagerClient ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerClient > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerClient ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerClient > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerClient ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerClientClass { pub parent_class : GObjectClass , pub interface_proxy_signal : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManagerClient , object_proxy : * mut GDBusObjectProxy , interface_proxy : * mut GDBusProxy , sender_name : * const gchar , signal_name : * const gchar , parameters : * mut GVariant ) > , pub interface_proxy_properties_changed : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManagerClient , object_proxy : * mut GDBusObjectProxy , interface_proxy : * mut GDBusProxy , changed_properties : * mut GVariant , invalidated_properties : * const * const gchar ) > , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusObjectManagerClientClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectManagerClientClass > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectManagerClientClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectManagerClientClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectManagerClientClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerClientClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerClientClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerClientClass > ( ) ) ) . interface_proxy_signal as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerClientClass ) , "::" , stringify ! ( interface_proxy_signal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerClientClass > ( ) ) ) . interface_proxy_properties_changed as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerClientClass ) , "::" , stringify ! ( interface_proxy_properties_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerClientClass > ( ) ) ) . padding as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerClientClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_object_manager_client_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_manager_client_new ( connection : * mut GDBusConnection , flags : GDBusObjectManagerClientFlags , name : * const gchar , object_path : * const gchar , get_proxy_type_func : GDBusProxyTypeFunc , get_proxy_type_user_data : gpointer , get_proxy_type_destroy_notify : GDestroyNotify , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_object_manager_client_new_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusObjectManager ; } extern "C" { pub fn g_dbus_object_manager_client_new_sync ( connection : * mut GDBusConnection , flags : GDBusObjectManagerClientFlags , name : * const gchar , object_path : * const gchar , get_proxy_type_func : GDBusProxyTypeFunc , get_proxy_type_user_data : gpointer , get_proxy_type_destroy_notify : GDestroyNotify , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusObjectManager ; } extern "C" { pub fn g_dbus_object_manager_client_new_for_bus ( bus_type : GBusType , flags : GDBusObjectManagerClientFlags , name : * const gchar , object_path : * const gchar , get_proxy_type_func : GDBusProxyTypeFunc , get_proxy_type_user_data : gpointer , get_proxy_type_destroy_notify : GDestroyNotify , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_object_manager_client_new_for_bus_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusObjectManager ; } extern "C" { pub fn g_dbus_object_manager_client_new_for_bus_sync ( bus_type : GBusType , flags : GDBusObjectManagerClientFlags , name : * const gchar , object_path : * const gchar , get_proxy_type_func : GDBusProxyTypeFunc , get_proxy_type_user_data : gpointer , get_proxy_type_destroy_notify : GDestroyNotify , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusObjectManager ; } extern "C" { pub fn g_dbus_object_manager_client_get_connection ( manager : * mut GDBusObjectManagerClient ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_object_manager_client_get_flags ( manager : * mut GDBusObjectManagerClient ) -> GDBusObjectManagerClientFlags ; } extern "C" { pub fn g_dbus_object_manager_client_get_name ( manager : * mut GDBusObjectManagerClient ) -> * const gchar ; } extern "C" { pub fn g_dbus_object_manager_client_get_name_owner ( manager : * mut GDBusObjectManagerClient ) -> * mut gchar ; } pub type GDBusObjectManagerServerClass = _GDBusObjectManagerServerClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerServerPrivate { _unused : [ u8 ; 0 ] , } pub type GDBusObjectManagerServerPrivate = _GDBusObjectManagerServerPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerServer { pub parent_instance : GObject , pub priv_ : * mut GDBusObjectManagerServerPrivate , } # [ test ] fn bindgen_test_layout__GDBusObjectManagerServer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectManagerServer > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectManagerServer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectManagerServer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectManagerServer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerServer > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerServer ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerServer > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerServer ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerServerClass { pub parent_class : GObjectClass , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusObjectManagerServerClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectManagerServerClass > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectManagerServerClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectManagerServerClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectManagerServerClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerServerClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerServerClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerServerClass > ( ) ) ) . padding as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerServerClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_object_manager_server_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_manager_server_new ( object_path : * const gchar ) -> * mut GDBusObjectManagerServer ; } extern "C" { pub fn g_dbus_object_manager_server_get_connection ( manager : * mut GDBusObjectManagerServer ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_object_manager_server_set_connection ( manager : * mut GDBusObjectManagerServer , connection : * mut GDBusConnection ) ; } extern "C" { pub fn g_dbus_object_manager_server_export ( manager : * mut GDBusObjectManagerServer , object : * mut GDBusObjectSkeleton ) ; } extern "C" { pub fn g_dbus_object_manager_server_export_uniquely ( manager : * mut GDBusObjectManagerServer , object : * mut GDBusObjectSkeleton ) ; } extern "C" { pub fn g_dbus_object_manager_server_is_exported ( manager : * mut GDBusObjectManagerServer , object : * mut GDBusObjectSkeleton ) -> gboolean ; } extern "C" { pub fn g_dbus_object_manager_server_unexport ( manager : * mut GDBusObjectManagerServer , object_path : * const gchar ) -> gboolean ; } pub type GDBusObjectProxyClass = _GDBusObjectProxyClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectProxyPrivate { _unused : [ u8 ; 0 ] , } pub type GDBusObjectProxyPrivate = _GDBusObjectProxyPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectProxy { pub parent_instance : GObject , pub priv_ : * mut GDBusObjectProxyPrivate , } # [ test ] fn bindgen_test_layout__GDBusObjectProxy ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectProxy > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectProxy ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectProxy > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectProxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectProxy > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectProxy ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectProxy > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectProxy ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectProxyClass { pub parent_class : GObjectClass , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusObjectProxyClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectProxyClass > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectProxyClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectProxyClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectProxyClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectProxyClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectProxyClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectProxyClass > ( ) ) ) . padding as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectProxyClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_object_proxy_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_proxy_new ( connection : * mut GDBusConnection , object_path : * const gchar ) -> * mut GDBusObjectProxy ; } extern "C" { pub fn g_dbus_object_proxy_get_connection ( proxy : * mut GDBusObjectProxy ) -> * mut GDBusConnection ; } pub type GDBusObjectSkeletonClass = _GDBusObjectSkeletonClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectSkeletonPrivate { _unused : [ u8 ; 0 ] , } pub type GDBusObjectSkeletonPrivate = _GDBusObjectSkeletonPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectSkeleton { pub parent_instance : GObject , pub priv_ : * mut GDBusObjectSkeletonPrivate , } # [ test ] fn bindgen_test_layout__GDBusObjectSkeleton ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectSkeleton > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectSkeleton ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectSkeleton > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectSkeleton ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectSkeleton > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectSkeleton ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectSkeleton > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectSkeleton ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectSkeletonClass { pub parent_class : GObjectClass , pub authorize_method : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GDBusObjectSkeleton , interface_ : * mut GDBusInterfaceSkeleton , invocation : * mut GDBusMethodInvocation ) -> gboolean > , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusObjectSkeletonClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectSkeletonClass > ( ) , 208usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectSkeletonClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectSkeletonClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectSkeletonClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectSkeletonClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectSkeletonClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectSkeletonClass > ( ) ) ) . authorize_method as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectSkeletonClass ) , "::" , stringify ! ( authorize_method ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectSkeletonClass > ( ) ) ) . padding as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectSkeletonClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_object_skeleton_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_skeleton_new ( object_path : * const gchar ) -> * mut GDBusObjectSkeleton ; } extern "C" { pub fn g_dbus_object_skeleton_flush ( object : * mut GDBusObjectSkeleton ) ; } extern "C" { pub fn g_dbus_object_skeleton_add_interface ( object : * mut GDBusObjectSkeleton , interface_ : * mut GDBusInterfaceSkeleton ) ; } extern "C" { pub fn g_dbus_object_skeleton_remove_interface ( object : * mut GDBusObjectSkeleton , interface_ : * mut GDBusInterfaceSkeleton ) ; } extern "C" { pub fn g_dbus_object_skeleton_remove_interface_by_name ( object : * mut GDBusObjectSkeleton , interface_name : * const gchar ) ; } extern "C" { pub fn g_dbus_object_skeleton_set_object_path ( object : * mut GDBusObjectSkeleton , object_path : * const gchar ) ; } pub type GDBusProxyClass = _GDBusProxyClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusProxyPrivate { _unused : [ u8 ; 0 ] , } pub type GDBusProxyPrivate = _GDBusProxyPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusProxy { pub parent_instance : GObject , pub priv_ : * mut GDBusProxyPrivate , } # [ test ] fn bindgen_test_layout__GDBusProxy ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusProxy > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusProxy ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusProxy > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusProxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusProxy > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusProxy ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusProxy > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusProxy ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusProxyClass { pub parent_class : GObjectClass , pub g_properties_changed : :: std :: option :: Option < unsafe extern "C" fn ( proxy : * mut GDBusProxy , changed_properties : * mut GVariant , invalidated_properties : * const * const gchar ) > , pub g_signal : :: std :: option :: Option < unsafe extern "C" fn ( proxy : * mut GDBusProxy , sender_name : * const gchar , signal_name : * const gchar , parameters : * mut GVariant ) > , pub padding : [ gpointer ; 32usize ] , } # [ test ] fn bindgen_test_layout__GDBusProxyClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusProxyClass > ( ) , 408usize , concat ! ( "Size of: " , stringify ! ( _GDBusProxyClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusProxyClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusProxyClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusProxyClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusProxyClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusProxyClass > ( ) ) ) . g_properties_changed as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusProxyClass ) , "::" , stringify ! ( g_properties_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusProxyClass > ( ) ) ) . g_signal as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusProxyClass ) , "::" , stringify ! ( g_signal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusProxyClass > ( ) ) ) . padding as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusProxyClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_proxy_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_proxy_new ( connection : * mut GDBusConnection , flags : GDBusProxyFlags , info : * mut GDBusInterfaceInfo , name : * const gchar , object_path : * const gchar , interface_name : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_proxy_new_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusProxy ; } extern "C" { pub fn g_dbus_proxy_new_sync ( connection : * mut GDBusConnection , flags : GDBusProxyFlags , info : * mut GDBusInterfaceInfo , name : * const gchar , object_path : * const gchar , interface_name : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusProxy ; } extern "C" { pub fn g_dbus_proxy_new_for_bus ( bus_type : GBusType , flags : GDBusProxyFlags , info : * mut GDBusInterfaceInfo , name : * const gchar , object_path : * const gchar , interface_name : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_proxy_new_for_bus_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusProxy ; } extern "C" { pub fn g_dbus_proxy_new_for_bus_sync ( bus_type : GBusType , flags : GDBusProxyFlags , info : * mut GDBusInterfaceInfo , name : * const gchar , object_path : * const gchar , interface_name : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusProxy ; } extern "C" { pub fn g_dbus_proxy_get_connection ( proxy : * mut GDBusProxy ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_proxy_get_flags ( proxy : * mut GDBusProxy ) -> GDBusProxyFlags ; } extern "C" { pub fn g_dbus_proxy_get_name ( proxy : * mut GDBusProxy ) -> * const gchar ; } extern "C" { pub fn g_dbus_proxy_get_name_owner ( proxy : * mut GDBusProxy ) -> * mut gchar ; } extern "C" { pub fn g_dbus_proxy_get_object_path ( proxy : * mut GDBusProxy ) -> * const gchar ; } extern "C" { pub fn g_dbus_proxy_get_interface_name ( proxy : * mut GDBusProxy ) -> * const gchar ; } extern "C" { pub fn g_dbus_proxy_get_default_timeout ( proxy : * mut GDBusProxy ) -> gint ; } extern "C" { pub fn g_dbus_proxy_set_default_timeout ( proxy : * mut GDBusProxy , timeout_msec : gint ) ; } extern "C" { pub fn g_dbus_proxy_get_interface_info ( proxy : * mut GDBusProxy ) -> * mut GDBusInterfaceInfo ; } extern "C" { pub fn g_dbus_proxy_set_interface_info ( proxy : * mut GDBusProxy , info : * mut GDBusInterfaceInfo ) ; } extern "C" { pub fn g_dbus_proxy_get_cached_property ( proxy : * mut GDBusProxy , property_name : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_proxy_set_cached_property ( proxy : * mut GDBusProxy , property_name : * const gchar , value : * mut GVariant ) ; } extern "C" { pub fn g_dbus_proxy_get_cached_property_names ( proxy : * mut GDBusProxy ) -> * mut * mut gchar ; } extern "C" { pub fn g_dbus_proxy_call ( proxy : * mut GDBusProxy , method_name : * const gchar , parameters : * mut GVariant , flags : GDBusCallFlags , timeout_msec : gint , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_proxy_call_finish ( proxy : * mut GDBusProxy , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_proxy_call_sync ( proxy : * mut GDBusProxy , method_name : * const gchar , parameters : * mut GVariant , flags : GDBusCallFlags , timeout_msec : gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_proxy_call_with_unix_fd_list ( proxy : * mut GDBusProxy , method_name : * const gchar , parameters : * mut GVariant , flags : GDBusCallFlags , timeout_msec : gint , fd_list : * mut GUnixFDList , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_proxy_call_with_unix_fd_list_finish ( proxy : * mut GDBusProxy , out_fd_list : * mut * mut GUnixFDList , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_proxy_call_with_unix_fd_list_sync ( proxy : * mut GDBusProxy , method_name : * const gchar , parameters : * mut GVariant , flags : GDBusCallFlags , timeout_msec : gint , fd_list : * mut GUnixFDList , out_fd_list : * mut * mut GUnixFDList , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_server_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_server_new_sync ( address : * const gchar , flags : GDBusServerFlags , guid : * const gchar , observer : * mut GDBusAuthObserver , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusServer ; } extern "C" { pub fn g_dbus_server_get_client_address ( server : * mut GDBusServer ) -> * const gchar ; } extern "C" { pub fn g_dbus_server_get_guid ( server : * mut GDBusServer ) -> * const gchar ; } extern "C" { pub fn g_dbus_server_get_flags ( server : * mut GDBusServer ) -> GDBusServerFlags ; } extern "C" { pub fn g_dbus_server_start ( server : * mut GDBusServer ) ; } extern "C" { pub fn g_dbus_server_stop ( server : * mut GDBusServer ) ; } extern "C" { pub fn g_dbus_server_is_active ( server : * mut GDBusServer ) -> gboolean ; } extern "C" { pub fn g_dbus_is_guid ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_generate_guid ( ) -> * mut gchar ; } extern "C" { pub fn g_dbus_is_name ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_is_unique_name ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_is_member_name ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_is_interface_name ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_is_error_name ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_gvariant_to_gvalue ( value : * mut GVariant , out_gvalue : * mut GValue ) ; } extern "C" { pub fn g_dbus_gvalue_to_gvariant ( gvalue : * const GValue , type_ : * const GVariantType ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_escape_object_path_bytestring ( bytes : * const guint8 ) -> * mut gchar ; } extern "C" { pub fn g_dbus_escape_object_path ( s : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_dbus_unescape_object_path ( s : * const gchar ) -> * mut guint8 ; } extern "C" { pub fn g_debug_controller_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDebugController { _unused : [ u8 ; 0 ] , } pub type GDebugController = _GDebugController ; pub type GDebugControllerInterface = _GDebugControllerInterface ; pub type GDebugController_autoptr = * mut GDebugController ; pub type GDebugController_listautoptr = * mut GList ; pub type GDebugController_slistautoptr = * mut GSList ; pub type GDebugController_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDebugControllerInterface { pub g_iface : GTypeInterface , } # [ test ] fn bindgen_test_layout__GDebugControllerInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDebugControllerInterface > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GDebugControllerInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDebugControllerInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDebugControllerInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugControllerInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugControllerInterface ) , "::" , stringify ! ( g_iface ) ) ) ; } extern "C" { pub fn g_debug_controller_get_debug_enabled ( self_ : * mut GDebugController ) -> gboolean ; } extern "C" { pub fn g_debug_controller_set_debug_enabled ( self_ : * mut GDebugController , debug_enabled : gboolean ) ; } extern "C" { pub fn g_debug_controller_dbus_get_type ( ) -> GType ; } pub type GDebugControllerDBus = _GDebugControllerDBus ; pub type GDebugControllerDBusClass = _GDebugControllerDBusClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDebugControllerDBus { pub parent_instance : GObject , } # [ test ] fn bindgen_test_layout__GDebugControllerDBus ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDebugControllerDBus > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GDebugControllerDBus ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDebugControllerDBus > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDebugControllerDBus ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugControllerDBus > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugControllerDBus ) , "::" , stringify ! ( parent_instance ) ) ) ; } pub type GDebugControllerDBus_autoptr = * mut GDebugControllerDBus ; pub type GDebugControllerDBus_listautoptr = * mut GList ; pub type GDebugControllerDBus_slistautoptr = * mut GSList ; pub type GDebugControllerDBus_queueautoptr = * mut GQueue ; pub type GDebugControllerDBusClass_autoptr = * mut GDebugControllerDBusClass ; pub type GDebugControllerDBusClass_listautoptr = * mut GList ; pub type GDebugControllerDBusClass_slistautoptr = * mut GSList ; pub type GDebugControllerDBusClass_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDebugControllerDBusClass { pub parent_class : GObjectClass , pub authorize : :: std :: option :: Option < unsafe extern "C" fn ( controller : * mut GDebugControllerDBus , invocation : * mut GDBusMethodInvocation ) -> gboolean > , pub padding : [ gpointer ; 12usize ] , } # [ test ] fn bindgen_test_layout__GDebugControllerDBusClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDebugControllerDBusClass > ( ) , 240usize , concat ! ( "Size of: " , stringify ! ( _GDebugControllerDBusClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDebugControllerDBusClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDebugControllerDBusClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugControllerDBusClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugControllerDBusClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugControllerDBusClass > ( ) ) ) . authorize as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugControllerDBusClass ) , "::" , stringify ! ( authorize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugControllerDBusClass > ( ) ) ) . padding as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugControllerDBusClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_debug_controller_dbus_new ( connection : * mut GDBusConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDebugControllerDBus ; } extern "C" { pub fn g_debug_controller_dbus_stop ( self_ : * mut GDebugControllerDBus ) ; } pub type GDriveIface = _GDriveIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDriveIface { pub g_iface : GTypeInterface , pub changed : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) > , pub disconnected : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) > , pub eject_button : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) > , pub get_name : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> * mut :: std :: os :: raw :: c_char > , pub get_icon : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> * mut GIcon > , pub has_volumes : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub get_volumes : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> * mut GList > , pub is_media_removable : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub has_media : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub is_media_check_automatic : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub can_eject : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub can_poll_for_media : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub eject : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_finish : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub poll_for_media : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub poll_for_media_finish : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub get_identifier : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , kind : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char > , pub enumerate_identifiers : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> * mut * mut :: std :: os :: raw :: c_char > , pub get_start_stop_type : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> GDriveStartStopType > , pub can_start : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub can_start_degraded : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub start : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , flags : GDriveStartFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub start_finish : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub can_stop : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub stop : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub stop_finish : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub stop_button : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) > , pub eject_with_operation : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_with_operation_finish : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub get_sort_key : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> * const gchar > , pub get_symbolic_icon : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> * mut GIcon > , pub is_removable : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GDriveIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDriveIface > ( ) , 272usize , concat ! ( "Size of: " , stringify ! ( _GDriveIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDriveIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDriveIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . changed as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . disconnected as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( disconnected ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . eject_button as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( eject_button ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_name as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_icon as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_icon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . has_volumes as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( has_volumes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_volumes as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_volumes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . is_media_removable as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( is_media_removable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . has_media as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( has_media ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . is_media_check_automatic as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( is_media_check_automatic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . can_eject as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( can_eject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . can_poll_for_media as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( can_poll_for_media ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . eject as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( eject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . eject_finish as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( eject_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . poll_for_media as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( poll_for_media ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . poll_for_media_finish as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( poll_for_media_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_identifier as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_identifier ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . enumerate_identifiers as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( enumerate_identifiers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_start_stop_type as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_start_stop_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . can_start as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( can_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . can_start_degraded as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( can_start_degraded ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . start as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . start_finish as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( start_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . can_stop as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( can_stop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . stop as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( stop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . stop_finish as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( stop_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . stop_button as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( stop_button ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . eject_with_operation as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( eject_with_operation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . eject_with_operation_finish as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( eject_with_operation_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_sort_key as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_sort_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_symbolic_icon as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_symbolic_icon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . is_removable as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( is_removable ) ) ) ; } extern "C" { pub fn g_drive_get_type ( ) -> GType ; } extern "C" { pub fn g_drive_get_name ( drive : * mut GDrive ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_drive_get_icon ( drive : * mut GDrive ) -> * mut GIcon ; } extern "C" { pub fn g_drive_get_symbolic_icon ( drive : * mut GDrive ) -> * mut GIcon ; } extern "C" { pub fn g_drive_has_volumes ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_get_volumes ( drive : * mut GDrive ) -> * mut GList ; } extern "C" { pub fn g_drive_is_removable ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_is_media_removable ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_has_media ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_is_media_check_automatic ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_can_poll_for_media ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_can_eject ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_eject ( drive : * mut GDrive , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_drive_eject_finish ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_drive_poll_for_media ( drive : * mut GDrive , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_drive_poll_for_media_finish ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_drive_get_identifier ( drive : * mut GDrive , kind : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_drive_enumerate_identifiers ( drive : * mut GDrive ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_drive_get_start_stop_type ( drive : * mut GDrive ) -> GDriveStartStopType ; } extern "C" { pub fn g_drive_can_start ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_can_start_degraded ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_start ( drive : * mut GDrive , flags : GDriveStartFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_drive_start_finish ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_drive_can_stop ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_stop ( drive : * mut GDrive , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_drive_stop_finish ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_drive_eject_with_operation ( drive : * mut GDrive , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_drive_eject_with_operation_finish ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_drive_get_sort_key ( drive : * mut GDrive ) -> * const gchar ; } pub type GDtlsConnectionInterface = _GDtlsConnectionInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDtlsConnectionInterface { pub g_iface : GTypeInterface , pub accept_certificate : :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDtlsConnection , peer_cert : * mut GTlsCertificate , errors : GTlsCertificateFlags ) -> gboolean > , pub handshake : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub handshake_async : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub handshake_finish : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub shutdown : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , shutdown_read : gboolean , shutdown_write : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub shutdown_async : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , shutdown_read : gboolean , shutdown_write : gboolean , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub shutdown_finish : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub set_advertised_protocols : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , protocols : * const * const gchar ) > , pub get_negotiated_protocol : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection ) -> * const gchar > , pub get_binding_data : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , type_ : GTlsChannelBindingType , data : * mut GByteArray , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GDtlsConnectionInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDtlsConnectionInterface > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _GDtlsConnectionInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDtlsConnectionInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDtlsConnectionInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . accept_certificate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( accept_certificate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . handshake as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( handshake ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . handshake_async as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( handshake_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . handshake_finish as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( handshake_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . shutdown as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( shutdown ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . shutdown_async as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( shutdown_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . shutdown_finish as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( shutdown_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . set_advertised_protocols as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( set_advertised_protocols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . get_negotiated_protocol as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( get_negotiated_protocol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . get_binding_data as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( get_binding_data ) ) ) ; } extern "C" { pub fn g_dtls_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_dtls_connection_set_database ( conn : * mut GDtlsConnection , database : * mut GTlsDatabase ) ; } extern "C" { pub fn g_dtls_connection_get_database ( conn : * mut GDtlsConnection ) -> * mut GTlsDatabase ; } extern "C" { pub fn g_dtls_connection_set_certificate ( conn : * mut GDtlsConnection , certificate : * mut GTlsCertificate ) ; } extern "C" { pub fn g_dtls_connection_get_certificate ( conn : * mut GDtlsConnection ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_dtls_connection_set_interaction ( conn : * mut GDtlsConnection , interaction : * mut GTlsInteraction ) ; } extern "C" { pub fn g_dtls_connection_get_interaction ( conn : * mut GDtlsConnection ) -> * mut GTlsInteraction ; } extern "C" { pub fn g_dtls_connection_get_peer_certificate ( conn : * mut GDtlsConnection ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_dtls_connection_get_peer_certificate_errors ( conn : * mut GDtlsConnection ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_dtls_connection_set_require_close_notify ( conn : * mut GDtlsConnection , require_close_notify : gboolean ) ; } extern "C" { pub fn g_dtls_connection_get_require_close_notify ( conn : * mut GDtlsConnection ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_set_rehandshake_mode ( conn : * mut GDtlsConnection , mode : GTlsRehandshakeMode ) ; } extern "C" { pub fn g_dtls_connection_get_rehandshake_mode ( conn : * mut GDtlsConnection ) -> GTlsRehandshakeMode ; } extern "C" { pub fn g_dtls_connection_handshake ( conn : * mut GDtlsConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_handshake_async ( conn : * mut GDtlsConnection , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dtls_connection_handshake_finish ( conn : * mut GDtlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_shutdown ( conn : * mut GDtlsConnection , shutdown_read : gboolean , shutdown_write : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_shutdown_async ( conn : * mut GDtlsConnection , shutdown_read : gboolean , shutdown_write : gboolean , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dtls_connection_shutdown_finish ( conn : * mut GDtlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_close ( conn : * mut GDtlsConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_close_async ( conn : * mut GDtlsConnection , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dtls_connection_close_finish ( conn : * mut GDtlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_emit_accept_certificate ( conn : * mut GDtlsConnection , peer_cert : * mut GTlsCertificate , errors : GTlsCertificateFlags ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_set_advertised_protocols ( conn : * mut GDtlsConnection , protocols : * const * const gchar ) ; } extern "C" { pub fn g_dtls_connection_get_negotiated_protocol ( conn : * mut GDtlsConnection ) -> * const gchar ; } extern "C" { pub fn g_dtls_connection_get_channel_binding_data ( conn : * mut GDtlsConnection , type_ : GTlsChannelBindingType , data : * mut GByteArray , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_get_protocol_version ( conn : * mut GDtlsConnection ) -> GTlsProtocolVersion ; } extern "C" { pub fn g_dtls_connection_get_ciphersuite_name ( conn : * mut GDtlsConnection ) -> * mut gchar ; } pub type GDtlsClientConnectionInterface = _GDtlsClientConnectionInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDtlsClientConnectionInterface { pub g_iface : GTypeInterface , } # [ test ] fn bindgen_test_layout__GDtlsClientConnectionInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDtlsClientConnectionInterface > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GDtlsClientConnectionInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDtlsClientConnectionInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDtlsClientConnectionInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsClientConnectionInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsClientConnectionInterface ) , "::" , stringify ! ( g_iface ) ) ) ; } extern "C" { pub fn g_dtls_client_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_dtls_client_connection_new ( base_socket : * mut GDatagramBased , server_identity : * mut GSocketConnectable , error : * mut * mut GError ) -> * mut GDatagramBased ; } extern "C" { pub fn g_dtls_client_connection_get_validation_flags ( conn : * mut GDtlsClientConnection ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_dtls_client_connection_set_validation_flags ( conn : * mut GDtlsClientConnection , flags : GTlsCertificateFlags ) ; } extern "C" { pub fn g_dtls_client_connection_get_server_identity ( conn : * mut GDtlsClientConnection ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_dtls_client_connection_set_server_identity ( conn : * mut GDtlsClientConnection , identity : * mut GSocketConnectable ) ; } extern "C" { pub fn g_dtls_client_connection_get_accepted_cas ( conn : * mut GDtlsClientConnection ) -> * mut GList ; } pub type GDtlsServerConnectionInterface = _GDtlsServerConnectionInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDtlsServerConnectionInterface { pub g_iface : GTypeInterface , } # [ test ] fn bindgen_test_layout__GDtlsServerConnectionInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDtlsServerConnectionInterface > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GDtlsServerConnectionInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDtlsServerConnectionInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDtlsServerConnectionInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsServerConnectionInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsServerConnectionInterface ) , "::" , stringify ! ( g_iface ) ) ) ; } extern "C" { pub fn g_dtls_server_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_dtls_server_connection_new ( base_socket : * mut GDatagramBased , certificate : * mut GTlsCertificate , error : * mut * mut GError ) -> * mut GDatagramBased ; } pub type GIconIface = _GIconIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIconIface { pub g_iface : GTypeInterface , pub hash : :: std :: option :: Option < unsafe extern "C" fn ( icon : * mut GIcon ) -> guint > , pub equal : :: std :: option :: Option < unsafe extern "C" fn ( icon1 : * mut GIcon , icon2 : * mut GIcon ) -> gboolean > , pub to_tokens : :: std :: option :: Option < unsafe extern "C" fn ( icon : * mut GIcon , tokens : * mut GPtrArray , out_version : * mut gint ) -> gboolean > , pub from_tokens : :: std :: option :: Option < unsafe extern "C" fn ( tokens : * mut * mut gchar , num_tokens : gint , version : gint , error : * mut * mut GError ) -> * mut GIcon > , pub serialize : :: std :: option :: Option < unsafe extern "C" fn ( icon : * mut GIcon ) -> * mut GVariant > , } # [ test ] fn bindgen_test_layout__GIconIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GIconIface > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GIconIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GIconIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GIconIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIconIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GIconIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIconIface > ( ) ) ) . hash as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GIconIface ) , "::" , stringify ! ( hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIconIface > ( ) ) ) . equal as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GIconIface ) , "::" , stringify ! ( equal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIconIface > ( ) ) ) . to_tokens as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GIconIface ) , "::" , stringify ! ( to_tokens ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIconIface > ( ) ) ) . from_tokens as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GIconIface ) , "::" , stringify ! ( from_tokens ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIconIface > ( ) ) ) . serialize as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GIconIface ) , "::" , stringify ! ( serialize ) ) ) ; } extern "C" { pub fn g_icon_get_type ( ) -> GType ; } extern "C" { pub fn g_icon_hash ( icon : gconstpointer ) -> guint ; } extern "C" { pub fn g_icon_equal ( icon1 : * mut GIcon , icon2 : * mut GIcon ) -> gboolean ; } extern "C" { pub fn g_icon_to_string ( icon : * mut GIcon ) -> * mut gchar ; } extern "C" { pub fn g_icon_new_for_string ( str : * const gchar , error : * mut * mut GError ) -> * mut GIcon ; } extern "C" { pub fn g_icon_serialize ( icon : * mut GIcon ) -> * mut GVariant ; } extern "C" { pub fn g_icon_deserialize ( value : * mut GVariant ) -> * mut GIcon ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEmblem { _unused : [ u8 ; 0 ] , } pub type GEmblem = _GEmblem ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEmblemClass { _unused : [ u8 ; 0 ] , } pub type GEmblemClass = _GEmblemClass ; extern "C" { pub fn g_emblem_get_type ( ) -> GType ; } extern "C" { pub fn g_emblem_new ( icon : * mut GIcon ) -> * mut GEmblem ; } extern "C" { pub fn g_emblem_new_with_origin ( icon : * mut GIcon , origin : GEmblemOrigin ) -> * mut GEmblem ; } extern "C" { pub fn g_emblem_get_icon ( emblem : * mut GEmblem ) -> * mut GIcon ; } extern "C" { pub fn g_emblem_get_origin ( emblem : * mut GEmblem ) -> GEmblemOrigin ; } pub type GEmblemedIcon = _GEmblemedIcon ; pub type GEmblemedIconClass = _GEmblemedIconClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEmblemedIconPrivate { _unused : [ u8 ; 0 ] , } pub type GEmblemedIconPrivate = _GEmblemedIconPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEmblemedIcon { pub parent_instance : GObject , pub priv_ : * mut GEmblemedIconPrivate , } # [ test ] fn bindgen_test_layout__GEmblemedIcon ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GEmblemedIcon > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GEmblemedIcon ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GEmblemedIcon > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GEmblemedIcon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEmblemedIcon > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GEmblemedIcon ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEmblemedIcon > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GEmblemedIcon ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEmblemedIconClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GEmblemedIconClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GEmblemedIconClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GEmblemedIconClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GEmblemedIconClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GEmblemedIconClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEmblemedIconClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GEmblemedIconClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_emblemed_icon_get_type ( ) -> GType ; } extern "C" { pub fn g_emblemed_icon_new ( icon : * mut GIcon , emblem : * mut GEmblem ) -> * mut GIcon ; } extern "C" { pub fn g_emblemed_icon_get_icon ( emblemed : * mut GEmblemedIcon ) -> * mut GIcon ; } extern "C" { pub fn g_emblemed_icon_get_emblems ( emblemed : * mut GEmblemedIcon ) -> * mut GList ; } extern "C" { pub fn g_emblemed_icon_add_emblem ( emblemed : * mut GEmblemedIcon , emblem : * mut GEmblem ) ; } extern "C" { pub fn g_emblemed_icon_clear_emblems ( emblemed : * mut GEmblemedIcon ) ; } pub type GFileIface = _GFileIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileIface { pub g_iface : GTypeInterface , pub dup : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut GFile > , pub hash : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> guint > , pub equal : :: std :: option :: Option < unsafe extern "C" fn ( file1 : * mut GFile , file2 : * mut GFile ) -> gboolean > , pub is_native : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> gboolean > , pub has_uri_scheme : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , uri_scheme : * const :: std :: os :: raw :: c_char ) -> gboolean > , pub get_uri_scheme : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char > , pub get_basename : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char > , pub get_path : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char > , pub get_uri : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char > , pub get_parse_name : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char > , pub get_parent : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut GFile > , pub prefix_matches : :: std :: option :: Option < unsafe extern "C" fn ( prefix : * mut GFile , file : * mut GFile ) -> gboolean > , pub get_relative_path : :: std :: option :: Option < unsafe extern "C" fn ( parent : * mut GFile , descendant : * mut GFile ) -> * mut :: std :: os :: raw :: c_char > , pub resolve_relative_path : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , relative_path : * const :: std :: os :: raw :: c_char ) -> * mut GFile > , pub get_child_for_display_name : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , display_name : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GFile > , pub enumerate_children : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileEnumerator > , pub enumerate_children_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub enumerate_children_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileEnumerator > , pub query_info : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo > , pub query_info_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub query_info_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo > , pub query_filesystem_info : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo > , pub query_filesystem_info_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub query_filesystem_info_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo > , pub find_enclosing_mount : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GMount > , pub find_enclosing_mount_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub find_enclosing_mount_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GMount > , pub set_display_name : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , display_name : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFile > , pub set_display_name_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , display_name : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub set_display_name_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFile > , pub query_settable_attributes : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileAttributeInfoList > , pub _query_settable_attributes_async : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _query_settable_attributes_finish : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub query_writable_namespaces : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileAttributeInfoList > , pub _query_writable_namespaces_async : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _query_writable_namespaces_finish : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub set_attribute : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , type_ : GFileAttributeType , value_p : gpointer , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub set_attributes_from_info : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , info : * mut GFileInfo , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub set_attributes_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , info : * mut GFileInfo , flags : GFileQueryInfoFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub set_attributes_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , info : * mut * mut GFileInfo , error : * mut * mut GError ) -> gboolean > , pub read_fn : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInputStream > , pub read_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub read_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInputStream > , pub append_to : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileOutputStream > , pub append_to_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub append_to_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileOutputStream > , pub create : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileOutputStream > , pub create_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub create_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileOutputStream > , pub replace : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileOutputStream > , pub replace_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub replace_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileOutputStream > , pub delete_file : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub delete_file_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub delete_file_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub trash : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub trash_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub trash_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub make_directory : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub make_directory_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub make_directory_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub make_symbolic_link : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , symlink_value : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub make_symbolic_link_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , symlink_value : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub make_symbolic_link_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub copy : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , error : * mut * mut GError ) -> gboolean > , pub copy_async : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub copy_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub move_ : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , error : * mut * mut GError ) -> gboolean > , pub move_async : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub move_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub mount_mountable : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub mount_mountable_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFile > , pub unmount_mountable : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub unmount_mountable_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub eject_mountable : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_mountable_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub mount_enclosing_volume : :: std :: option :: Option < unsafe extern "C" fn ( location : * mut GFile , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub mount_enclosing_volume_finish : :: std :: option :: Option < unsafe extern "C" fn ( location : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub monitor_dir : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileMonitorFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileMonitor > , pub monitor_file : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileMonitorFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileMonitor > , pub open_readwrite : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileIOStream > , pub open_readwrite_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub open_readwrite_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileIOStream > , pub create_readwrite : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileIOStream > , pub create_readwrite_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub create_readwrite_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileIOStream > , pub replace_readwrite : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileIOStream > , pub replace_readwrite_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub replace_readwrite_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileIOStream > , pub start_mountable : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GDriveStartFlags , start_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub start_mountable_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub stop_mountable : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub stop_mountable_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub supports_thread_contexts : gboolean , pub unmount_mountable_with_operation : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub unmount_mountable_with_operation_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub eject_mountable_with_operation : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_mountable_with_operation_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub poll_mountable : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub poll_mountable_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub measure_disk_usage : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileMeasureFlags , cancellable : * mut GCancellable , progress_callback : GFileMeasureProgressCallback , progress_data : gpointer , disk_usage : * mut guint64 , num_dirs : * mut guint64 , num_files : * mut guint64 , error : * mut * mut GError ) -> gboolean > , pub measure_disk_usage_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileMeasureFlags , io_priority : gint , cancellable : * mut GCancellable , progress_callback : GFileMeasureProgressCallback , progress_data : gpointer , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub measure_disk_usage_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , disk_usage : * mut guint64 , num_dirs : * mut guint64 , num_files : * mut guint64 , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GFileIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileIface > ( ) , 840usize , concat ! ( "Size of: " , stringify ! ( _GFileIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . dup as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( dup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . hash as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . equal as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( equal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . is_native as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( is_native ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . has_uri_scheme as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( has_uri_scheme ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_uri_scheme as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_uri_scheme ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_basename as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_basename ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_path as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_uri as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_uri ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_parse_name as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_parse_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_parent as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . prefix_matches as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( prefix_matches ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_relative_path as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_relative_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . resolve_relative_path as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( resolve_relative_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_child_for_display_name as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_child_for_display_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . enumerate_children as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( enumerate_children ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . enumerate_children_async as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( enumerate_children_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . enumerate_children_finish as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( enumerate_children_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_info as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_info_async as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_info_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_info_finish as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_info_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_filesystem_info as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_filesystem_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_filesystem_info_async as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_filesystem_info_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_filesystem_info_finish as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_filesystem_info_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . find_enclosing_mount as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( find_enclosing_mount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . find_enclosing_mount_async as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( find_enclosing_mount_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . find_enclosing_mount_finish as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( find_enclosing_mount_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_display_name as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_display_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_display_name_async as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_display_name_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_display_name_finish as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_display_name_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_settable_attributes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_settable_attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . _query_settable_attributes_async as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( _query_settable_attributes_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . _query_settable_attributes_finish as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( _query_settable_attributes_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_writable_namespaces as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_writable_namespaces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . _query_writable_namespaces_async as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( _query_writable_namespaces_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . _query_writable_namespaces_finish as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( _query_writable_namespaces_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_attribute as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_attribute ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_attributes_from_info as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_attributes_from_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_attributes_async as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_attributes_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_attributes_finish as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_attributes_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . read_fn as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( read_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . read_async as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( read_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . read_finish as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( read_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . append_to as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( append_to ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . append_to_async as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( append_to_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . append_to_finish as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( append_to_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . create as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( create ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . create_async as * const _ as usize } , 392usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( create_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . create_finish as * const _ as usize } , 400usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( create_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . replace as * const _ as usize } , 408usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( replace ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . replace_async as * const _ as usize } , 416usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( replace_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . replace_finish as * const _ as usize } , 424usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( replace_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . delete_file as * const _ as usize } , 432usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( delete_file ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . delete_file_async as * const _ as usize } , 440usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( delete_file_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . delete_file_finish as * const _ as usize } , 448usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( delete_file_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . trash as * const _ as usize } , 456usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( trash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . trash_async as * const _ as usize } , 464usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( trash_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . trash_finish as * const _ as usize } , 472usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( trash_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . make_directory as * const _ as usize } , 480usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( make_directory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . make_directory_async as * const _ as usize } , 488usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( make_directory_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . make_directory_finish as * const _ as usize } , 496usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( make_directory_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . make_symbolic_link as * const _ as usize } , 504usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( make_symbolic_link ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . make_symbolic_link_async as * const _ as usize } , 512usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( make_symbolic_link_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . make_symbolic_link_finish as * const _ as usize } , 520usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( make_symbolic_link_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . copy as * const _ as usize } , 528usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( copy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . copy_async as * const _ as usize } , 536usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( copy_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . copy_finish as * const _ as usize } , 544usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( copy_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . move_ as * const _ as usize } , 552usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( move_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . move_async as * const _ as usize } , 560usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( move_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . move_finish as * const _ as usize } , 568usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( move_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . mount_mountable as * const _ as usize } , 576usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( mount_mountable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . mount_mountable_finish as * const _ as usize } , 584usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( mount_mountable_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . unmount_mountable as * const _ as usize } , 592usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( unmount_mountable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . unmount_mountable_finish as * const _ as usize } , 600usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( unmount_mountable_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . eject_mountable as * const _ as usize } , 608usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( eject_mountable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . eject_mountable_finish as * const _ as usize } , 616usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( eject_mountable_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . mount_enclosing_volume as * const _ as usize } , 624usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( mount_enclosing_volume ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . mount_enclosing_volume_finish as * const _ as usize } , 632usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( mount_enclosing_volume_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . monitor_dir as * const _ as usize } , 640usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( monitor_dir ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . monitor_file as * const _ as usize } , 648usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( monitor_file ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . open_readwrite as * const _ as usize } , 656usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( open_readwrite ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . open_readwrite_async as * const _ as usize } , 664usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( open_readwrite_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . open_readwrite_finish as * const _ as usize } , 672usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( open_readwrite_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . create_readwrite as * const _ as usize } , 680usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( create_readwrite ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . create_readwrite_async as * const _ as usize } , 688usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( create_readwrite_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . create_readwrite_finish as * const _ as usize } , 696usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( create_readwrite_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . replace_readwrite as * const _ as usize } , 704usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( replace_readwrite ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . replace_readwrite_async as * const _ as usize } , 712usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( replace_readwrite_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . replace_readwrite_finish as * const _ as usize } , 720usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( replace_readwrite_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . start_mountable as * const _ as usize } , 728usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( start_mountable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . start_mountable_finish as * const _ as usize } , 736usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( start_mountable_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . stop_mountable as * const _ as usize } , 744usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( stop_mountable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . stop_mountable_finish as * const _ as usize } , 752usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( stop_mountable_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . supports_thread_contexts as * const _ as usize } , 760usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( supports_thread_contexts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . unmount_mountable_with_operation as * const _ as usize } , 768usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( unmount_mountable_with_operation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . unmount_mountable_with_operation_finish as * const _ as usize } , 776usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( unmount_mountable_with_operation_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . eject_mountable_with_operation as * const _ as usize } , 784usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( eject_mountable_with_operation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . eject_mountable_with_operation_finish as * const _ as usize } , 792usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( eject_mountable_with_operation_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . poll_mountable as * const _ as usize } , 800usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( poll_mountable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . poll_mountable_finish as * const _ as usize } , 808usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( poll_mountable_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . measure_disk_usage as * const _ as usize } , 816usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( measure_disk_usage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . measure_disk_usage_async as * const _ as usize } , 824usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( measure_disk_usage_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . measure_disk_usage_finish as * const _ as usize } , 832usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( measure_disk_usage_finish ) ) ) ; } extern "C" { pub fn g_file_get_type ( ) -> GType ; } extern "C" { pub fn g_file_new_for_path ( path : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_file_new_for_uri ( uri : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_file_new_for_commandline_arg ( arg : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_file_new_for_commandline_arg_and_cwd ( arg : * const gchar , cwd : * const gchar ) -> * mut GFile ; } extern "C" { pub fn g_file_new_tmp ( tmpl : * const :: std :: os :: raw :: c_char , iostream : * mut * mut GFileIOStream , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_new_tmp_async ( tmpl : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_new_tmp_finish ( result : * mut GAsyncResult , iostream : * mut * mut GFileIOStream , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_new_tmp_dir_async ( tmpl : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_new_tmp_dir_finish ( result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_parse_name ( parse_name : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_file_new_build_filename ( first_element : * const gchar , ... ) -> * mut GFile ; } extern "C" { pub fn g_file_new_build_filenamev ( args : * const * const gchar ) -> * mut GFile ; } extern "C" { pub fn g_file_dup ( file : * mut GFile ) -> * mut GFile ; } extern "C" { pub fn g_file_hash ( file : gconstpointer ) -> guint ; } extern "C" { pub fn g_file_equal ( file1 : * mut GFile , file2 : * mut GFile ) -> gboolean ; } extern "C" { pub fn g_file_get_basename ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_get_path ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_peek_path ( file : * mut GFile ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_get_uri ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_get_parse_name ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_get_parent ( file : * mut GFile ) -> * mut GFile ; } extern "C" { pub fn g_file_has_parent ( file : * mut GFile , parent : * mut GFile ) -> gboolean ; } extern "C" { pub fn g_file_get_child ( file : * mut GFile , name : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_file_get_child_for_display_name ( file : * mut GFile , display_name : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_has_prefix ( file : * mut GFile , prefix : * mut GFile ) -> gboolean ; } extern "C" { pub fn g_file_get_relative_path ( parent : * mut GFile , descendant : * mut GFile ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_resolve_relative_path ( file : * mut GFile , relative_path : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_file_is_native ( file : * mut GFile ) -> gboolean ; } extern "C" { pub fn g_file_has_uri_scheme ( file : * mut GFile , uri_scheme : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_get_uri_scheme ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_read ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInputStream ; } extern "C" { pub fn g_file_read_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_read_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInputStream ; } extern "C" { pub fn g_file_append_to ( file : * mut GFile , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileOutputStream ; } extern "C" { pub fn g_file_create ( file : * mut GFile , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileOutputStream ; } extern "C" { pub fn g_file_replace ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileOutputStream ; } extern "C" { pub fn g_file_append_to_async ( file : * mut GFile , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_append_to_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileOutputStream ; } extern "C" { pub fn g_file_create_async ( file : * mut GFile , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_create_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileOutputStream ; } extern "C" { pub fn g_file_replace_async ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_replace_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileOutputStream ; } extern "C" { pub fn g_file_open_readwrite ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileIOStream ; } extern "C" { pub fn g_file_open_readwrite_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_open_readwrite_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileIOStream ; } extern "C" { pub fn g_file_create_readwrite ( file : * mut GFile , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileIOStream ; } extern "C" { pub fn g_file_create_readwrite_async ( file : * mut GFile , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_create_readwrite_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileIOStream ; } extern "C" { pub fn g_file_replace_readwrite ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileIOStream ; } extern "C" { pub fn g_file_replace_readwrite_async ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_replace_readwrite_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileIOStream ; } extern "C" { pub fn g_file_query_exists ( file : * mut GFile , cancellable : * mut GCancellable ) -> gboolean ; } extern "C" { pub fn g_file_query_file_type ( file : * mut GFile , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable ) -> GFileType ; } extern "C" { pub fn g_file_query_info ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_query_info_async ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_query_info_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_query_filesystem_info ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_query_filesystem_info_async ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_query_filesystem_info_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_find_enclosing_mount ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GMount ; } extern "C" { pub fn g_file_find_enclosing_mount_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_find_enclosing_mount_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GMount ; } extern "C" { pub fn g_file_enumerate_children ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileEnumerator ; } extern "C" { pub fn g_file_enumerate_children_async ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_enumerate_children_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileEnumerator ; } extern "C" { pub fn g_file_set_display_name ( file : * mut GFile , display_name : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_set_display_name_async ( file : * mut GFile , display_name : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_set_display_name_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_delete ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_delete_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_delete_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_trash ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_trash_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_trash_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_copy ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_copy_async ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_copy_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_move ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_move_async ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_move_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_make_directory ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_make_directory_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_make_directory_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_make_directory_with_parents ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_make_symbolic_link ( file : * mut GFile , symlink_value : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_make_symbolic_link_async ( file : * mut GFile , symlink_value : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_make_symbolic_link_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_query_settable_attributes ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileAttributeInfoList ; } extern "C" { pub fn g_file_query_writable_namespaces ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileAttributeInfoList ; } extern "C" { pub fn g_file_set_attribute ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , type_ : GFileAttributeType , value_p : gpointer , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attributes_from_info ( file : * mut GFile , info : * mut GFileInfo , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attributes_async ( file : * mut GFile , info : * mut GFileInfo , flags : GFileQueryInfoFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_set_attributes_finish ( file : * mut GFile , result : * mut GAsyncResult , info : * mut * mut GFileInfo , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attribute_string ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attribute_byte_string ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attribute_uint32 ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , value : guint32 , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attribute_int32 ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , value : gint32 , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attribute_uint64 ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , value : guint64 , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attribute_int64 ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , value : gint64 , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_mount_enclosing_volume ( location : * mut GFile , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_mount_enclosing_volume_finish ( location : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_mount_mountable ( file : * mut GFile , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_mount_mountable_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_unmount_mountable ( file : * mut GFile , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_unmount_mountable_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_unmount_mountable_with_operation ( file : * mut GFile , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_unmount_mountable_with_operation_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_eject_mountable ( file : * mut GFile , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_eject_mountable_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_eject_mountable_with_operation ( file : * mut GFile , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_eject_mountable_with_operation_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_build_attribute_list_for_copy ( file : * mut GFile , flags : GFileCopyFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_copy_attributes ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_monitor_directory ( file : * mut GFile , flags : GFileMonitorFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileMonitor ; } extern "C" { pub fn g_file_monitor_file ( file : * mut GFile , flags : GFileMonitorFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileMonitor ; } extern "C" { pub fn g_file_monitor ( file : * mut GFile , flags : GFileMonitorFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileMonitor ; } extern "C" { pub fn g_file_measure_disk_usage ( file : * mut GFile , flags : GFileMeasureFlags , cancellable : * mut GCancellable , progress_callback : GFileMeasureProgressCallback , progress_data : gpointer , disk_usage : * mut guint64 , num_dirs : * mut guint64 , num_files : * mut guint64 , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_measure_disk_usage_async ( file : * mut GFile , flags : GFileMeasureFlags , io_priority : gint , cancellable : * mut GCancellable , progress_callback : GFileMeasureProgressCallback , progress_data : gpointer , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_measure_disk_usage_finish ( file : * mut GFile , result : * mut GAsyncResult , disk_usage : * mut guint64 , num_dirs : * mut guint64 , num_files : * mut guint64 , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_start_mountable ( file : * mut GFile , flags : GDriveStartFlags , start_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_start_mountable_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_stop_mountable ( file : * mut GFile , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_stop_mountable_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_poll_mountable ( file : * mut GFile , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_poll_mountable_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_query_default_handler ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GAppInfo ; } extern "C" { pub fn g_file_query_default_handler_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_query_default_handler_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GAppInfo ; } extern "C" { pub fn g_file_load_contents ( file : * mut GFile , cancellable : * mut GCancellable , contents : * mut * mut :: std :: os :: raw :: c_char , length : * mut gsize , etag_out : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_load_contents_async ( file : * mut GFile , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_load_contents_finish ( file : * mut GFile , res : * mut GAsyncResult , contents : * mut * mut :: std :: os :: raw :: c_char , length : * mut gsize , etag_out : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_load_partial_contents_async ( file : * mut GFile , cancellable : * mut GCancellable , read_more_callback : GFileReadMoreCallback , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_load_partial_contents_finish ( file : * mut GFile , res : * mut GAsyncResult , contents : * mut * mut :: std :: os :: raw :: c_char , length : * mut gsize , etag_out : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_replace_contents ( file : * mut GFile , contents : * const :: std :: os :: raw :: c_char , length : gsize , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , new_etag : * mut * mut :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_replace_contents_async ( file : * mut GFile , contents : * const :: std :: os :: raw :: c_char , length : gsize , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_replace_contents_bytes_async ( file : * mut GFile , contents : * mut GBytes , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_replace_contents_finish ( file : * mut GFile , res : * mut GAsyncResult , new_etag : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_supports_thread_contexts ( file : * mut GFile ) -> gboolean ; } extern "C" { pub fn g_file_load_bytes ( file : * mut GFile , cancellable : * mut GCancellable , etag_out : * mut * mut gchar , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_file_load_bytes_async ( file : * mut GFile , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_load_bytes_finish ( file : * mut GFile , result : * mut GAsyncResult , etag_out : * mut * mut gchar , error : * mut * mut GError ) -> * mut GBytes ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileAttributeInfo { pub name : * mut :: std :: os :: raw :: c_char , pub type_ : GFileAttributeType , pub flags : GFileAttributeInfoFlags , } # [ test ] fn bindgen_test_layout__GFileAttributeInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileAttributeInfo > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GFileAttributeInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileAttributeInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileAttributeInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileAttributeInfo > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileAttributeInfo ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileAttributeInfo > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GFileAttributeInfo ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileAttributeInfo > ( ) ) ) . flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _GFileAttributeInfo ) , "::" , stringify ! ( flags ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileAttributeInfoList { pub infos : * mut GFileAttributeInfo , pub n_infos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__GFileAttributeInfoList ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileAttributeInfoList > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GFileAttributeInfoList ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileAttributeInfoList > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileAttributeInfoList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileAttributeInfoList > ( ) ) ) . infos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileAttributeInfoList ) , "::" , stringify ! ( infos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileAttributeInfoList > ( ) ) ) . n_infos as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GFileAttributeInfoList ) , "::" , stringify ! ( n_infos ) ) ) ; } extern "C" { pub fn g_file_attribute_info_list_get_type ( ) -> GType ; } extern "C" { pub fn g_file_attribute_info_list_new ( ) -> * mut GFileAttributeInfoList ; } extern "C" { pub fn g_file_attribute_info_list_ref ( list : * mut GFileAttributeInfoList ) -> * mut GFileAttributeInfoList ; } extern "C" { pub fn g_file_attribute_info_list_unref ( list : * mut GFileAttributeInfoList ) ; } extern "C" { pub fn g_file_attribute_info_list_dup ( list : * mut GFileAttributeInfoList ) -> * mut GFileAttributeInfoList ; } extern "C" { pub fn g_file_attribute_info_list_lookup ( list : * mut GFileAttributeInfoList , name : * const :: std :: os :: raw :: c_char ) -> * const GFileAttributeInfo ; } extern "C" { pub fn g_file_attribute_info_list_add ( list : * mut GFileAttributeInfoList , name : * const :: std :: os :: raw :: c_char , type_ : GFileAttributeType , flags : GFileAttributeInfoFlags ) ; } pub type GFileEnumeratorClass = _GFileEnumeratorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileEnumeratorPrivate { _unused : [ u8 ; 0 ] , } pub type GFileEnumeratorPrivate = _GFileEnumeratorPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileEnumerator { pub parent_instance : GObject , pub priv_ : * mut GFileEnumeratorPrivate , } # [ test ] fn bindgen_test_layout__GFileEnumerator ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileEnumerator > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GFileEnumerator ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileEnumerator > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileEnumerator ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumerator > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumerator ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumerator > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumerator ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileEnumeratorClass { pub parent_class : GObjectClass , pub next_file : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GFileEnumerator , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo > , pub close_fn : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GFileEnumerator , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub next_files_async : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GFileEnumerator , num_files : :: std :: os :: raw :: c_int , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub next_files_finish : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GFileEnumerator , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList > , pub close_async : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GFileEnumerator , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub close_finish : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GFileEnumerator , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved7 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFileEnumeratorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileEnumeratorClass > ( ) , 240usize , concat ! ( "Size of: " , stringify ! ( _GFileEnumeratorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileEnumeratorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileEnumeratorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . next_file as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( next_file ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . close_fn as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( close_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . next_files_async as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( next_files_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . next_files_finish as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( next_files_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . close_async as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( close_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . close_finish as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( close_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved7 as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved7 ) ) ) ; } extern "C" { pub fn g_file_enumerator_get_type ( ) -> GType ; } extern "C" { pub fn g_file_enumerator_next_file ( enumerator : * mut GFileEnumerator , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_enumerator_close ( enumerator : * mut GFileEnumerator , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_enumerator_next_files_async ( enumerator : * mut GFileEnumerator , num_files : :: std :: os :: raw :: c_int , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_enumerator_next_files_finish ( enumerator : * mut GFileEnumerator , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_file_enumerator_close_async ( enumerator : * mut GFileEnumerator , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_enumerator_close_finish ( enumerator : * mut GFileEnumerator , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_enumerator_is_closed ( enumerator : * mut GFileEnumerator ) -> gboolean ; } extern "C" { pub fn g_file_enumerator_has_pending ( enumerator : * mut GFileEnumerator ) -> gboolean ; } extern "C" { pub fn g_file_enumerator_set_pending ( enumerator : * mut GFileEnumerator , pending : gboolean ) ; } extern "C" { pub fn g_file_enumerator_get_container ( enumerator : * mut GFileEnumerator ) -> * mut GFile ; } extern "C" { pub fn g_file_enumerator_get_child ( enumerator : * mut GFileEnumerator , info : * mut GFileInfo ) -> * mut GFile ; } extern "C" { pub fn g_file_enumerator_iterate ( direnum : * mut GFileEnumerator , out_info : * mut * mut GFileInfo , out_child : * mut * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileIconClass { _unused : [ u8 ; 0 ] , } pub type GFileIconClass = _GFileIconClass ; extern "C" { pub fn g_file_icon_get_type ( ) -> GType ; } extern "C" { pub fn g_file_icon_new ( file : * mut GFile ) -> * mut GIcon ; } extern "C" { pub fn g_file_icon_get_file ( icon : * mut GFileIcon ) -> * mut GFile ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileInfoClass { _unused : [ u8 ; 0 ] , } pub type GFileInfoClass = _GFileInfoClass ; extern "C" { pub fn g_file_info_get_type ( ) -> GType ; } extern "C" { pub fn g_file_info_new ( ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_info_dup ( other : * mut GFileInfo ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_info_copy_into ( src_info : * mut GFileInfo , dest_info : * mut GFileInfo ) ; } extern "C" { pub fn g_file_info_has_attribute ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_info_has_namespace ( info : * mut GFileInfo , name_space : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_info_list_attributes ( info : * mut GFileInfo , name_space : * const :: std :: os :: raw :: c_char ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_attribute_data ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , type_ : * mut GFileAttributeType , value_pp : * mut gpointer , status : * mut GFileAttributeStatus ) -> gboolean ; } extern "C" { pub fn g_file_info_get_attribute_type ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> GFileAttributeType ; } extern "C" { pub fn g_file_info_remove_attribute ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_get_attribute_status ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> GFileAttributeStatus ; } extern "C" { pub fn g_file_info_set_attribute_status ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , status : GFileAttributeStatus ) -> gboolean ; } extern "C" { pub fn g_file_info_get_attribute_as_string ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_attribute_string ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_attribute_byte_string ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_attribute_boolean ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_info_get_attribute_uint32 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> guint32 ; } extern "C" { pub fn g_file_info_get_attribute_int32 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> gint32 ; } extern "C" { pub fn g_file_info_get_attribute_uint64 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> guint64 ; } extern "C" { pub fn g_file_info_get_attribute_int64 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> gint64 ; } extern "C" { pub fn g_file_info_get_attribute_object ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> * mut GObject ; } extern "C" { pub fn g_file_info_get_attribute_stringv ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_attribute_file_path ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_set_attribute ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , type_ : GFileAttributeType , value_p : gpointer ) ; } extern "C" { pub fn g_file_info_set_attribute_string ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_attribute_byte_string ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_attribute_boolean ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : gboolean ) ; } extern "C" { pub fn g_file_info_set_attribute_uint32 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : guint32 ) ; } extern "C" { pub fn g_file_info_set_attribute_int32 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : gint32 ) ; } extern "C" { pub fn g_file_info_set_attribute_uint64 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : guint64 ) ; } extern "C" { pub fn g_file_info_set_attribute_int64 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : gint64 ) ; } extern "C" { pub fn g_file_info_set_attribute_object ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : * mut GObject ) ; } extern "C" { pub fn g_file_info_set_attribute_stringv ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : * mut * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_attribute_file_path ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_clear_status ( info : * mut GFileInfo ) ; } extern "C" { pub fn g_file_info_get_deletion_date ( info : * mut GFileInfo ) -> * mut GDateTime ; } extern "C" { pub fn g_file_info_get_file_type ( info : * mut GFileInfo ) -> GFileType ; } extern "C" { pub fn g_file_info_get_is_hidden ( info : * mut GFileInfo ) -> gboolean ; } extern "C" { pub fn g_file_info_get_is_backup ( info : * mut GFileInfo ) -> gboolean ; } extern "C" { pub fn g_file_info_get_is_symlink ( info : * mut GFileInfo ) -> gboolean ; } extern "C" { pub fn g_file_info_get_name ( info : * mut GFileInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_display_name ( info : * mut GFileInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_edit_name ( info : * mut GFileInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_icon ( info : * mut GFileInfo ) -> * mut GIcon ; } extern "C" { pub fn g_file_info_get_symbolic_icon ( info : * mut GFileInfo ) -> * mut GIcon ; } extern "C" { pub fn g_file_info_get_content_type ( info : * mut GFileInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_size ( info : * mut GFileInfo ) -> goffset ; } extern "C" { pub fn g_file_info_get_modification_time ( info : * mut GFileInfo , result : * mut GTimeVal ) ; } extern "C" { pub fn g_file_info_get_modification_date_time ( info : * mut GFileInfo ) -> * mut GDateTime ; } extern "C" { pub fn g_file_info_get_access_date_time ( info : * mut GFileInfo ) -> * mut GDateTime ; } extern "C" { pub fn g_file_info_get_creation_date_time ( info : * mut GFileInfo ) -> * mut GDateTime ; } extern "C" { pub fn g_file_info_get_symlink_target ( info : * mut GFileInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_etag ( info : * mut GFileInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_sort_order ( info : * mut GFileInfo ) -> gint32 ; } extern "C" { pub fn g_file_info_set_attribute_mask ( info : * mut GFileInfo , mask : * mut GFileAttributeMatcher ) ; } extern "C" { pub fn g_file_info_unset_attribute_mask ( info : * mut GFileInfo ) ; } extern "C" { pub fn g_file_info_set_file_type ( info : * mut GFileInfo , type_ : GFileType ) ; } extern "C" { pub fn g_file_info_set_is_hidden ( info : * mut GFileInfo , is_hidden : gboolean ) ; } extern "C" { pub fn g_file_info_set_is_symlink ( info : * mut GFileInfo , is_symlink : gboolean ) ; } extern "C" { pub fn g_file_info_set_name ( info : * mut GFileInfo , name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_display_name ( info : * mut GFileInfo , display_name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_edit_name ( info : * mut GFileInfo , edit_name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_icon ( info : * mut GFileInfo , icon : * mut GIcon ) ; } extern "C" { pub fn g_file_info_set_symbolic_icon ( info : * mut GFileInfo , icon : * mut GIcon ) ; } extern "C" { pub fn g_file_info_set_content_type ( info : * mut GFileInfo , content_type : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_size ( info : * mut GFileInfo , size : goffset ) ; } extern "C" { pub fn g_file_info_set_modification_time ( info : * mut GFileInfo , mtime : * mut GTimeVal ) ; } extern "C" { pub fn g_file_info_set_modification_date_time ( info : * mut GFileInfo , mtime : * mut GDateTime ) ; } extern "C" { pub fn g_file_info_set_access_date_time ( info : * mut GFileInfo , atime : * mut GDateTime ) ; } extern "C" { pub fn g_file_info_set_creation_date_time ( info : * mut GFileInfo , creation_time : * mut GDateTime ) ; } extern "C" { pub fn g_file_info_set_symlink_target ( info : * mut GFileInfo , symlink_target : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_sort_order ( info : * mut GFileInfo , sort_order : gint32 ) ; } extern "C" { pub fn g_file_attribute_matcher_get_type ( ) -> GType ; } extern "C" { pub fn g_file_attribute_matcher_new ( attributes : * const :: std :: os :: raw :: c_char ) -> * mut GFileAttributeMatcher ; } extern "C" { pub fn g_file_attribute_matcher_ref ( matcher : * mut GFileAttributeMatcher ) -> * mut GFileAttributeMatcher ; } extern "C" { pub fn g_file_attribute_matcher_unref ( matcher : * mut GFileAttributeMatcher ) ; } extern "C" { pub fn g_file_attribute_matcher_subtract ( matcher : * mut GFileAttributeMatcher , subtract : * mut GFileAttributeMatcher ) -> * mut GFileAttributeMatcher ; } extern "C" { pub fn g_file_attribute_matcher_matches ( matcher : * mut GFileAttributeMatcher , attribute : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_attribute_matcher_matches_only ( matcher : * mut GFileAttributeMatcher , attribute : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_attribute_matcher_enumerate_namespace ( matcher : * mut GFileAttributeMatcher , ns : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_attribute_matcher_enumerate_next ( matcher : * mut GFileAttributeMatcher ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_attribute_matcher_to_string ( matcher : * mut GFileAttributeMatcher ) -> * mut :: std :: os :: raw :: c_char ; } pub type GFileInputStreamClass = _GFileInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileInputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GFileInputStreamPrivate = _GFileInputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileInputStream { pub parent_instance : GInputStream , pub priv_ : * mut GFileInputStreamPrivate , } # [ test ] fn bindgen_test_layout__GFileInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileInputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GFileInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStream > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileInputStreamClass { pub parent_class : GInputStreamClass , pub tell : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileInputStream ) -> goffset > , pub can_seek : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileInputStream ) -> gboolean > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileInputStream , offset : goffset , type_ : GSeekType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub query_info : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileInputStream , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo > , pub query_info_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileInputStream , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub query_info_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFileInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileInputStreamClass > ( ) , 336usize , concat ! ( "Size of: " , stringify ! ( _GFileInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . tell as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( tell ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . can_seek as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( can_seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . seek as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . query_info as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( query_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . query_info_async as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( query_info_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . query_info_finish as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( query_info_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_file_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_file_input_stream_query_info ( stream : * mut GFileInputStream , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_input_stream_query_info_async ( stream : * mut GFileInputStream , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_input_stream_query_info_finish ( stream : * mut GFileInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_io_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_io_error_from_errno ( err_no : gint ) -> GIOErrorEnum ; } extern "C" { pub fn g_io_error_from_file_error ( file_error : GFileError ) -> GIOErrorEnum ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GIOStreamPrivate = _GIOStreamPrivate ; pub type GIOStreamClass = _GIOStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOStream { pub parent_instance : GObject , pub priv_ : * mut GIOStreamPrivate , } # [ test ] fn bindgen_test_layout__GIOStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GIOStream > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GIOStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GIOStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GIOStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStream > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOStreamClass { pub parent_class : GObjectClass , pub get_input_stream : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GIOStream ) -> * mut GInputStream > , pub get_output_stream : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GIOStream ) -> * mut GOutputStream > , pub close_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GIOStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub close_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GIOStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub close_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GIOStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved7 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved8 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved9 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved10 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GIOStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GIOStreamClass > ( ) , 256usize , concat ! ( "Size of: " , stringify ! ( _GIOStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GIOStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GIOStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . get_input_stream as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( get_input_stream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . get_output_stream as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( get_output_stream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . close_fn as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( close_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . close_async as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( close_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . close_finish as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( close_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved7 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved7 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved8 as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved8 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved9 as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved9 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved10 as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved10 ) ) ) ; } extern "C" { pub fn g_io_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_io_stream_get_input_stream ( stream : * mut GIOStream ) -> * mut GInputStream ; } extern "C" { pub fn g_io_stream_get_output_stream ( stream : * mut GIOStream ) -> * mut GOutputStream ; } extern "C" { pub fn g_io_stream_splice_async ( stream1 : * mut GIOStream , stream2 : * mut GIOStream , flags : GIOStreamSpliceFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_io_stream_splice_finish ( result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_io_stream_close ( stream : * mut GIOStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_io_stream_close_async ( stream : * mut GIOStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_io_stream_close_finish ( stream : * mut GIOStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_io_stream_is_closed ( stream : * mut GIOStream ) -> gboolean ; } extern "C" { pub fn g_io_stream_has_pending ( stream : * mut GIOStream ) -> gboolean ; } extern "C" { pub fn g_io_stream_set_pending ( stream : * mut GIOStream , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_io_stream_clear_pending ( stream : * mut GIOStream ) ; } pub type GFileIOStreamClass = _GFileIOStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileIOStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GFileIOStreamPrivate = _GFileIOStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileIOStream { pub parent_instance : GIOStream , pub priv_ : * mut GFileIOStreamPrivate , } # [ test ] fn bindgen_test_layout__GFileIOStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileIOStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GFileIOStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileIOStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileIOStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStream > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileIOStreamClass { pub parent_class : GIOStreamClass , pub tell : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream ) -> goffset > , pub can_seek : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream ) -> gboolean > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream , offset : goffset , type_ : GSeekType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub can_truncate : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream ) -> gboolean > , pub truncate_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream , size : goffset , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub query_info : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo > , pub query_info_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub query_info_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo > , pub get_etag : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream ) -> * mut :: std :: os :: raw :: c_char > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFileIOStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileIOStreamClass > ( ) , 368usize , concat ! ( "Size of: " , stringify ! ( _GFileIOStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileIOStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileIOStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . tell as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( tell ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . can_seek as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( can_seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . seek as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . can_truncate as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( can_truncate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . truncate_fn as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( truncate_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . query_info as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( query_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . query_info_async as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( query_info_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . query_info_finish as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( query_info_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . get_etag as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( get_etag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_file_io_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_file_io_stream_query_info ( stream : * mut GFileIOStream , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_io_stream_query_info_async ( stream : * mut GFileIOStream , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_io_stream_query_info_finish ( stream : * mut GFileIOStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_io_stream_get_etag ( stream : * mut GFileIOStream ) -> * mut :: std :: os :: raw :: c_char ; } pub type GFileMonitorClass = _GFileMonitorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileMonitorPrivate { _unused : [ u8 ; 0 ] , } pub type GFileMonitorPrivate = _GFileMonitorPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileMonitor { pub parent_instance : GObject , pub priv_ : * mut GFileMonitorPrivate , } # [ test ] fn bindgen_test_layout__GFileMonitor ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileMonitor > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GFileMonitor ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileMonitor > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileMonitor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitor > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitor ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitor > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitor ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileMonitorClass { pub parent_class : GObjectClass , pub changed : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GFileMonitor , file : * mut GFile , other_file : * mut GFile , event_type : GFileMonitorEvent ) > , pub cancel : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GFileMonitor ) -> gboolean > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFileMonitorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileMonitorClass > ( ) , 192usize , concat ! ( "Size of: " , stringify ! ( _GFileMonitorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileMonitorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileMonitorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . changed as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . cancel as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( cancel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_file_monitor_get_type ( ) -> GType ; } extern "C" { pub fn g_file_monitor_cancel ( monitor : * mut GFileMonitor ) -> gboolean ; } extern "C" { pub fn g_file_monitor_is_cancelled ( monitor : * mut GFileMonitor ) -> gboolean ; } extern "C" { pub fn g_file_monitor_set_rate_limit ( monitor : * mut GFileMonitor , limit_msecs : gint ) ; } extern "C" { pub fn g_file_monitor_emit_event ( monitor : * mut GFileMonitor , child : * mut GFile , other_file : * mut GFile , event_type : GFileMonitorEvent ) ; } pub type GFilenameCompleterClass = _GFilenameCompleterClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFilenameCompleterClass { pub parent_class : GObjectClass , pub got_completion_data : :: std :: option :: Option < unsafe extern "C" fn ( filename_completer : * mut GFilenameCompleter ) > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFilenameCompleterClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFilenameCompleterClass > ( ) , 168usize , concat ! ( "Size of: " , stringify ! ( _GFilenameCompleterClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFilenameCompleterClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFilenameCompleterClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilenameCompleterClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFilenameCompleterClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilenameCompleterClass > ( ) ) ) . got_completion_data as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GFilenameCompleterClass ) , "::" , stringify ! ( got_completion_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilenameCompleterClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GFilenameCompleterClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilenameCompleterClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GFilenameCompleterClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilenameCompleterClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GFilenameCompleterClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; } extern "C" { pub fn g_filename_completer_get_type ( ) -> GType ; } extern "C" { pub fn g_filename_completer_new ( ) -> * mut GFilenameCompleter ; } extern "C" { pub fn g_filename_completer_get_completion_suffix ( completer : * mut GFilenameCompleter , initial_text : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_filename_completer_get_completions ( completer : * mut GFilenameCompleter , initial_text : * const :: std :: os :: raw :: c_char ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_filename_completer_set_dirs_only ( completer : * mut GFilenameCompleter , dirs_only : gboolean ) ; } pub type GFileOutputStreamClass = _GFileOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileOutputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GFileOutputStreamPrivate = _GFileOutputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileOutputStream { pub parent_instance : GOutputStream , pub priv_ : * mut GFileOutputStreamPrivate , } # [ test ] fn bindgen_test_layout__GFileOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileOutputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GFileOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStream > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileOutputStreamClass { pub parent_class : GOutputStreamClass , pub tell : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream ) -> goffset > , pub can_seek : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream ) -> gboolean > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream , offset : goffset , type_ : GSeekType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub can_truncate : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream ) -> gboolean > , pub truncate_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream , size : goffset , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub query_info : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo > , pub query_info_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub query_info_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo > , pub get_etag : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream ) -> * mut :: std :: os :: raw :: c_char > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFileOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileOutputStreamClass > ( ) , 408usize , concat ! ( "Size of: " , stringify ! ( _GFileOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . tell as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( tell ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . can_seek as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( can_seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . seek as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . can_truncate as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( can_truncate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . truncate_fn as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( truncate_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . query_info as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( query_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . query_info_async as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( query_info_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . query_info_finish as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( query_info_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . get_etag as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( get_etag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 392usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 400usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_file_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_file_output_stream_query_info ( stream : * mut GFileOutputStream , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_output_stream_query_info_async ( stream : * mut GFileOutputStream , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_output_stream_query_info_finish ( stream : * mut GFileOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_output_stream_get_etag ( stream : * mut GFileOutputStream ) -> * mut :: std :: os :: raw :: c_char ; } pub type GInetAddressClass = _GInetAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetAddressPrivate { _unused : [ u8 ; 0 ] , } pub type GInetAddressPrivate = _GInetAddressPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetAddress { pub parent_instance : GObject , pub priv_ : * mut GInetAddressPrivate , } # [ test ] fn bindgen_test_layout__GInetAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInetAddress > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GInetAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInetAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInetAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddress > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddress ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetAddressClass { pub parent_class : GObjectClass , pub to_string : :: std :: option :: Option < unsafe extern "C" fn ( address : * mut GInetAddress ) -> * mut gchar > , pub to_bytes : :: std :: option :: Option < unsafe extern "C" fn ( address : * mut GInetAddress ) -> * const guint8 > , } # [ test ] fn bindgen_test_layout__GInetAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInetAddressClass > ( ) , 152usize , concat ! ( "Size of: " , stringify ! ( _GInetAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInetAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInetAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddressClass > ( ) ) ) . to_string as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddressClass ) , "::" , stringify ! ( to_string ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddressClass > ( ) ) ) . to_bytes as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddressClass ) , "::" , stringify ! ( to_bytes ) ) ) ; } extern "C" { pub fn g_inet_address_get_type ( ) -> GType ; } extern "C" { pub fn g_inet_address_new_from_string ( string : * const gchar ) -> * mut GInetAddress ; } extern "C" { pub fn g_inet_address_new_from_bytes ( bytes : * const guint8 , family : GSocketFamily ) -> * mut GInetAddress ; } extern "C" { pub fn g_inet_address_new_loopback ( family : GSocketFamily ) -> * mut GInetAddress ; } extern "C" { pub fn g_inet_address_new_any ( family : GSocketFamily ) -> * mut GInetAddress ; } extern "C" { pub fn g_inet_address_equal ( address : * mut GInetAddress , other_address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_to_string ( address : * mut GInetAddress ) -> * mut gchar ; } extern "C" { pub fn g_inet_address_to_bytes ( address : * mut GInetAddress ) -> * const guint8 ; } extern "C" { pub fn g_inet_address_get_native_size ( address : * mut GInetAddress ) -> gsize ; } extern "C" { pub fn g_inet_address_get_family ( address : * mut GInetAddress ) -> GSocketFamily ; } extern "C" { pub fn g_inet_address_get_is_any ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_loopback ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_link_local ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_site_local ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_multicast ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_mc_global ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_mc_link_local ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_mc_node_local ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_mc_org_local ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_mc_site_local ( address : * mut GInetAddress ) -> gboolean ; } pub type GInetAddressMaskClass = _GInetAddressMaskClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetAddressMaskPrivate { _unused : [ u8 ; 0 ] , } pub type GInetAddressMaskPrivate = _GInetAddressMaskPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetAddressMask { pub parent_instance : GObject , pub priv_ : * mut GInetAddressMaskPrivate , } # [ test ] fn bindgen_test_layout__GInetAddressMask ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInetAddressMask > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GInetAddressMask ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInetAddressMask > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInetAddressMask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddressMask > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddressMask ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddressMask > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddressMask ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetAddressMaskClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GInetAddressMaskClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInetAddressMaskClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GInetAddressMaskClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInetAddressMaskClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInetAddressMaskClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddressMaskClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddressMaskClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_inet_address_mask_get_type ( ) -> GType ; } extern "C" { pub fn g_inet_address_mask_new ( addr : * mut GInetAddress , length : guint , error : * mut * mut GError ) -> * mut GInetAddressMask ; } extern "C" { pub fn g_inet_address_mask_new_from_string ( mask_string : * const gchar , error : * mut * mut GError ) -> * mut GInetAddressMask ; } extern "C" { pub fn g_inet_address_mask_to_string ( mask : * mut GInetAddressMask ) -> * mut gchar ; } extern "C" { pub fn g_inet_address_mask_get_family ( mask : * mut GInetAddressMask ) -> GSocketFamily ; } extern "C" { pub fn g_inet_address_mask_get_address ( mask : * mut GInetAddressMask ) -> * mut GInetAddress ; } extern "C" { pub fn g_inet_address_mask_get_length ( mask : * mut GInetAddressMask ) -> guint ; } extern "C" { pub fn g_inet_address_mask_matches ( mask : * mut GInetAddressMask , address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_mask_equal ( mask : * mut GInetAddressMask , mask2 : * mut GInetAddressMask ) -> gboolean ; } pub type GSocketAddressClass = _GSocketAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketAddress { pub parent_instance : GObject , } # [ test ] fn bindgen_test_layout__GSocketAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketAddress > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GSocketAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketAddressClass { pub parent_class : GObjectClass , pub get_family : :: std :: option :: Option < unsafe extern "C" fn ( address : * mut GSocketAddress ) -> GSocketFamily > , pub get_native_size : :: std :: option :: Option < unsafe extern "C" fn ( address : * mut GSocketAddress ) -> gssize > , pub to_native : :: std :: option :: Option < unsafe extern "C" fn ( address : * mut GSocketAddress , dest : gpointer , destlen : gsize , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GSocketAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketAddressClass > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( _GSocketAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressClass > ( ) ) ) . get_family as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressClass ) , "::" , stringify ! ( get_family ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressClass > ( ) ) ) . get_native_size as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressClass ) , "::" , stringify ! ( get_native_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressClass > ( ) ) ) . to_native as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressClass ) , "::" , stringify ! ( to_native ) ) ) ; } extern "C" { pub fn g_socket_address_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_address_get_family ( address : * mut GSocketAddress ) -> GSocketFamily ; } extern "C" { pub fn g_socket_address_new_from_native ( native : gpointer , len : gsize ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_address_to_native ( address : * mut GSocketAddress , dest : gpointer , destlen : gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_address_get_native_size ( address : * mut GSocketAddress ) -> gssize ; } pub type GInetSocketAddressClass = _GInetSocketAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetSocketAddressPrivate { _unused : [ u8 ; 0 ] , } pub type GInetSocketAddressPrivate = _GInetSocketAddressPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetSocketAddress { pub parent_instance : GSocketAddress , pub priv_ : * mut GInetSocketAddressPrivate , } # [ test ] fn bindgen_test_layout__GInetSocketAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInetSocketAddress > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GInetSocketAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInetSocketAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInetSocketAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetSocketAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInetSocketAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetSocketAddress > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GInetSocketAddress ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetSocketAddressClass { pub parent_class : GSocketAddressClass , } # [ test ] fn bindgen_test_layout__GInetSocketAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInetSocketAddressClass > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( _GInetSocketAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInetSocketAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInetSocketAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetSocketAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInetSocketAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_inet_socket_address_get_type ( ) -> GType ; } extern "C" { pub fn g_inet_socket_address_new ( address : * mut GInetAddress , port : guint16 ) -> * mut GSocketAddress ; } extern "C" { pub fn g_inet_socket_address_new_from_string ( address : * const :: std :: os :: raw :: c_char , port : guint ) -> * mut GSocketAddress ; } extern "C" { pub fn g_inet_socket_address_get_address ( address : * mut GInetSocketAddress ) -> * mut GInetAddress ; } extern "C" { pub fn g_inet_socket_address_get_port ( address : * mut GInetSocketAddress ) -> guint16 ; } extern "C" { pub fn g_inet_socket_address_get_flowinfo ( address : * mut GInetSocketAddress ) -> guint32 ; } extern "C" { pub fn g_inet_socket_address_get_scope_id ( address : * mut GInetSocketAddress ) -> guint32 ; } extern "C" { pub fn g_app_info_create_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_converter_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_converter_result_get_type ( ) -> GType ; } extern "C" { pub fn g_data_stream_byte_order_get_type ( ) -> GType ; } extern "C" { pub fn g_data_stream_newline_type_get_type ( ) -> GType ; } extern "C" { pub fn g_file_attribute_type_get_type ( ) -> GType ; } extern "C" { pub fn g_file_attribute_info_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_file_attribute_status_get_type ( ) -> GType ; } extern "C" { pub fn g_file_query_info_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_file_create_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_file_measure_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_mount_mount_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_mount_unmount_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_drive_start_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_drive_start_stop_type_get_type ( ) -> GType ; } extern "C" { pub fn g_file_copy_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_file_monitor_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_file_type_get_type ( ) -> GType ; } extern "C" { pub fn g_filesystem_preview_type_get_type ( ) -> GType ; } extern "C" { pub fn g_file_monitor_event_get_type ( ) -> GType ; } extern "C" { pub fn g_io_error_enum_get_type ( ) -> GType ; } extern "C" { pub fn g_ask_password_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_password_save_get_type ( ) -> GType ; } extern "C" { pub fn g_mount_operation_result_get_type ( ) -> GType ; } extern "C" { pub fn g_output_stream_splice_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_io_stream_splice_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_emblem_origin_get_type ( ) -> GType ; } extern "C" { pub fn g_resolver_error_get_type ( ) -> GType ; } extern "C" { pub fn g_resolver_record_type_get_type ( ) -> GType ; } extern "C" { pub fn g_resource_error_get_type ( ) -> GType ; } extern "C" { pub fn g_resource_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_resource_lookup_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_family_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_type_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_msg_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_protocol_get_type ( ) -> GType ; } extern "C" { pub fn g_zlib_compressor_format_get_type ( ) -> GType ; } extern "C" { pub fn g_unix_socket_address_type_get_type ( ) -> GType ; } extern "C" { pub fn g_bus_type_get_type ( ) -> GType ; } extern "C" { pub fn g_bus_name_owner_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_bus_name_watcher_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_proxy_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_error_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_connection_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_capability_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_call_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_message_type_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_message_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_message_header_field_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_property_info_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_subtree_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_server_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_signal_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_send_message_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_credentials_type_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_message_byte_order_get_type ( ) -> GType ; } extern "C" { pub fn g_application_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_error_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_certificate_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_authentication_mode_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_channel_binding_type_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_channel_binding_error_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_rehandshake_mode_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_password_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_interaction_result_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_interface_skeleton_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_manager_client_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_database_verify_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_database_lookup_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_certificate_request_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_protocol_version_get_type ( ) -> GType ; } extern "C" { pub fn g_io_module_scope_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_client_event_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_listener_event_get_type ( ) -> GType ; } extern "C" { pub fn g_test_dbus_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_subprocess_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_notification_priority_get_type ( ) -> GType ; } extern "C" { pub fn g_network_connectivity_get_type ( ) -> GType ; } extern "C" { pub fn g_pollable_return_get_type ( ) -> GType ; } extern "C" { pub fn g_memory_monitor_warning_level_get_type ( ) -> GType ; } extern "C" { pub fn g_resolver_name_lookup_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_settings_bind_flags_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOModuleScope { _unused : [ u8 ; 0 ] , } pub type GIOModuleScope = _GIOModuleScope ; extern "C" { pub fn g_io_module_scope_new ( flags : GIOModuleScopeFlags ) -> * mut GIOModuleScope ; } extern "C" { pub fn g_io_module_scope_free ( scope : * mut GIOModuleScope ) ; } extern "C" { pub fn g_io_module_scope_block ( scope : * mut GIOModuleScope , basename : * const gchar ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOModuleClass { _unused : [ u8 ; 0 ] , } pub type GIOModuleClass = _GIOModuleClass ; extern "C" { pub fn g_io_module_get_type ( ) -> GType ; } extern "C" { pub fn g_io_module_new ( filename : * const gchar ) -> * mut GIOModule ; } extern "C" { pub fn g_io_modules_scan_all_in_directory ( dirname : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_io_modules_load_all_in_directory ( dirname : * const gchar ) -> * mut GList ; } extern "C" { pub fn g_io_modules_scan_all_in_directory_with_scope ( dirname : * const gchar , scope : * mut GIOModuleScope ) ; } extern "C" { pub fn g_io_modules_load_all_in_directory_with_scope ( dirname : * const gchar , scope : * mut GIOModuleScope ) -> * mut GList ; } extern "C" { pub fn g_io_extension_point_register ( name : * const :: std :: os :: raw :: c_char ) -> * mut GIOExtensionPoint ; } extern "C" { pub fn g_io_extension_point_lookup ( name : * const :: std :: os :: raw :: c_char ) -> * mut GIOExtensionPoint ; } extern "C" { pub fn g_io_extension_point_set_required_type ( extension_point : * mut GIOExtensionPoint , type_ : GType ) ; } extern "C" { pub fn g_io_extension_point_get_required_type ( extension_point : * mut GIOExtensionPoint ) -> GType ; } extern "C" { pub fn g_io_extension_point_get_extensions ( extension_point : * mut GIOExtensionPoint ) -> * mut GList ; } extern "C" { pub fn g_io_extension_point_get_extension_by_name ( extension_point : * mut GIOExtensionPoint , name : * const :: std :: os :: raw :: c_char ) -> * mut GIOExtension ; } extern "C" { pub fn g_io_extension_point_implement ( extension_point_name : * const :: std :: os :: raw :: c_char , type_ : GType , extension_name : * const :: std :: os :: raw :: c_char , priority : gint ) -> * mut GIOExtension ; } extern "C" { pub fn g_io_extension_get_type ( extension : * mut GIOExtension ) -> GType ; } extern "C" { pub fn g_io_extension_get_name ( extension : * mut GIOExtension ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_io_extension_get_priority ( extension : * mut GIOExtension ) -> gint ; } extern "C" { pub fn g_io_extension_ref_class ( extension : * mut GIOExtension ) -> * mut GTypeClass ; } extern "C" { pub fn g_io_module_load ( module : * mut GIOModule ) ; } extern "C" { pub fn g_io_module_unload ( module : * mut GIOModule ) ; } extern "C" { pub fn g_io_module_query ( ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_io_scheduler_push_job ( job_func : GIOSchedulerJobFunc , user_data : gpointer , notify : GDestroyNotify , io_priority : gint , cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_io_scheduler_cancel_all_jobs ( ) ; } extern "C" { pub fn g_io_scheduler_job_send_to_mainloop ( job : * mut GIOSchedulerJob , func : GSourceFunc , user_data : gpointer , notify : GDestroyNotify ) -> gboolean ; } extern "C" { pub fn g_io_scheduler_job_send_to_mainloop_async ( job : * mut GIOSchedulerJob , func : GSourceFunc , user_data : gpointer , notify : GDestroyNotify ) ; } extern "C" { pub fn g_list_model_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GListModel { _unused : [ u8 ; 0 ] , } pub type GListModel = _GListModel ; pub type GListModelInterface = _GListModelInterface ; pub type GListModel_autoptr = * mut GListModel ; pub type GListModel_listautoptr = * mut GList ; pub type GListModel_slistautoptr = * mut GSList ; pub type GListModel_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GListModelInterface { pub g_iface : GTypeInterface , pub get_item_type : :: std :: option :: Option < unsafe extern "C" fn ( list : * mut GListModel ) -> GType > , pub get_n_items : :: std :: option :: Option < unsafe extern "C" fn ( list : * mut GListModel ) -> guint > , pub get_item : :: std :: option :: Option < unsafe extern "C" fn ( list : * mut GListModel , position : guint ) -> gpointer > , } # [ test ] fn bindgen_test_layout__GListModelInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GListModelInterface > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GListModelInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GListModelInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GListModelInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GListModelInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GListModelInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GListModelInterface > ( ) ) ) . get_item_type as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GListModelInterface ) , "::" , stringify ! ( get_item_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GListModelInterface > ( ) ) ) . get_n_items as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GListModelInterface ) , "::" , stringify ! ( get_n_items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GListModelInterface > ( ) ) ) . get_item as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GListModelInterface ) , "::" , stringify ! ( get_item ) ) ) ; } extern "C" { pub fn g_list_model_get_item_type ( list : * mut GListModel ) -> GType ; } extern "C" { pub fn g_list_model_get_n_items ( list : * mut GListModel ) -> guint ; } extern "C" { pub fn g_list_model_get_item ( list : * mut GListModel , position : guint ) -> gpointer ; } extern "C" { pub fn g_list_model_get_object ( list : * mut GListModel , position : guint ) -> * mut GObject ; } extern "C" { pub fn g_list_model_items_changed ( list : * mut GListModel , position : guint , removed : guint , added : guint ) ; } extern "C" { pub fn g_list_store_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GListStore { _unused : [ u8 ; 0 ] , } pub type GListStore = _GListStore ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct GListStoreClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout_GListStoreClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GListStoreClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( GListStoreClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GListStoreClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( GListStoreClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GListStoreClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GListStoreClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type GListStore_autoptr = * mut GListStore ; pub type GListStore_listautoptr = * mut GList ; pub type GListStore_slistautoptr = * mut GSList ; pub type GListStore_queueautoptr = * mut GQueue ; pub type GListStoreClass_autoptr = * mut GListStoreClass ; pub type GListStoreClass_listautoptr = * mut GList ; pub type GListStoreClass_slistautoptr = * mut GSList ; pub type GListStoreClass_queueautoptr = * mut GQueue ; extern "C" { pub fn g_list_store_new ( item_type : GType ) -> * mut GListStore ; } extern "C" { pub fn g_list_store_insert ( store : * mut GListStore , position : guint , item : gpointer ) ; } extern "C" { pub fn g_list_store_insert_sorted ( store : * mut GListStore , item : gpointer , compare_func : GCompareDataFunc , user_data : gpointer ) -> guint ; } extern "C" { pub fn g_list_store_sort ( store : * mut GListStore , compare_func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_list_store_append ( store : * mut GListStore , item : gpointer ) ; } extern "C" { pub fn g_list_store_remove ( store : * mut GListStore , position : guint ) ; } extern "C" { pub fn g_list_store_remove_all ( store : * mut GListStore ) ; } extern "C" { pub fn g_list_store_splice ( store : * mut GListStore , position : guint , n_removals : guint , additions : * mut gpointer , n_additions : guint ) ; } extern "C" { pub fn g_list_store_find ( store : * mut GListStore , item : gpointer , position : * mut guint ) -> gboolean ; } extern "C" { pub fn g_list_store_find_with_equal_func ( store : * mut GListStore , item : gpointer , equal_func : GEqualFunc , position : * mut guint ) -> gboolean ; } extern "C" { pub fn g_list_store_find_with_equal_func_full ( store : * mut GListStore , item : gpointer , equal_func : GEqualFuncFull , user_data : gpointer , position : * mut guint ) -> gboolean ; } pub type GLoadableIconIface = _GLoadableIconIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GLoadableIconIface { pub g_iface : GTypeInterface , pub load : :: std :: option :: Option < unsafe extern "C" fn ( icon : * mut GLoadableIcon , size : :: std :: os :: raw :: c_int , type_ : * mut * mut :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GInputStream > , pub load_async : :: std :: option :: Option < unsafe extern "C" fn ( icon : * mut GLoadableIcon , size : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub load_finish : :: std :: option :: Option < unsafe extern "C" fn ( icon : * mut GLoadableIcon , res : * mut GAsyncResult , type_ : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GInputStream > , } # [ test ] fn bindgen_test_layout__GLoadableIconIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GLoadableIconIface > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GLoadableIconIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GLoadableIconIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GLoadableIconIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLoadableIconIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GLoadableIconIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLoadableIconIface > ( ) ) ) . load as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GLoadableIconIface ) , "::" , stringify ! ( load ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLoadableIconIface > ( ) ) ) . load_async as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GLoadableIconIface ) , "::" , stringify ! ( load_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLoadableIconIface > ( ) ) ) . load_finish as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GLoadableIconIface ) , "::" , stringify ! ( load_finish ) ) ) ; } extern "C" { pub fn g_loadable_icon_get_type ( ) -> GType ; } extern "C" { pub fn g_loadable_icon_load ( icon : * mut GLoadableIcon , size : :: std :: os :: raw :: c_int , type_ : * mut * mut :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GInputStream ; } extern "C" { pub fn g_loadable_icon_load_async ( icon : * mut GLoadableIcon , size : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_loadable_icon_load_finish ( icon : * mut GLoadableIcon , res : * mut GAsyncResult , type_ : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GInputStream ; } pub type GMemoryInputStreamClass = _GMemoryInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryInputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GMemoryInputStreamPrivate = _GMemoryInputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryInputStream { pub parent_instance : GInputStream , pub priv_ : * mut GMemoryInputStreamPrivate , } # [ test ] fn bindgen_test_layout__GMemoryInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMemoryInputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GMemoryInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMemoryInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMemoryInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStream > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryInputStreamClass { pub parent_class : GInputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GMemoryInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMemoryInputStreamClass > ( ) , 288usize , concat ! ( "Size of: " , stringify ! ( _GMemoryInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMemoryInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMemoryInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_memory_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_memory_input_stream_new ( ) -> * mut GInputStream ; } extern "C" { pub fn g_memory_input_stream_new_from_data ( data : * const :: std :: os :: raw :: c_void , len : gssize , destroy : GDestroyNotify ) -> * mut GInputStream ; } extern "C" { pub fn g_memory_input_stream_new_from_bytes ( bytes : * mut GBytes ) -> * mut GInputStream ; } extern "C" { pub fn g_memory_input_stream_add_data ( stream : * mut GMemoryInputStream , data : * const :: std :: os :: raw :: c_void , len : gssize , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_memory_input_stream_add_bytes ( stream : * mut GMemoryInputStream , bytes : * mut GBytes ) ; } extern "C" { pub fn g_memory_monitor_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryMonitor { _unused : [ u8 ; 0 ] , } pub type GMemoryMonitor = _GMemoryMonitor ; pub type GMemoryMonitorInterface = _GMemoryMonitorInterface ; pub type GMemoryMonitor_autoptr = * mut GMemoryMonitor ; pub type GMemoryMonitor_listautoptr = * mut GList ; pub type GMemoryMonitor_slistautoptr = * mut GSList ; pub type GMemoryMonitor_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryMonitorInterface { pub g_iface : GTypeInterface , pub low_memory_warning : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GMemoryMonitor , level : GMemoryMonitorWarningLevel ) > , } # [ test ] fn bindgen_test_layout__GMemoryMonitorInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMemoryMonitorInterface > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GMemoryMonitorInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMemoryMonitorInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMemoryMonitorInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryMonitorInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryMonitorInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryMonitorInterface > ( ) ) ) . low_memory_warning as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryMonitorInterface ) , "::" , stringify ! ( low_memory_warning ) ) ) ; } extern "C" { pub fn g_memory_monitor_dup_default ( ) -> * mut GMemoryMonitor ; } pub type GMemoryOutputStreamClass = _GMemoryOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryOutputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GMemoryOutputStreamPrivate = _GMemoryOutputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryOutputStream { pub parent_instance : GOutputStream , pub priv_ : * mut GMemoryOutputStreamPrivate , } # [ test ] fn bindgen_test_layout__GMemoryOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMemoryOutputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GMemoryOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMemoryOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMemoryOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStream > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryOutputStreamClass { pub parent_class : GOutputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GMemoryOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMemoryOutputStreamClass > ( ) , 336usize , concat ! ( "Size of: " , stringify ! ( _GMemoryOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMemoryOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMemoryOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } pub type GReallocFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer , size : gsize ) -> gpointer > ; extern "C" { pub fn g_memory_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_memory_output_stream_new ( data : gpointer , size : gsize , realloc_function : GReallocFunc , destroy_function : GDestroyNotify ) -> * mut GOutputStream ; } extern "C" { pub fn g_memory_output_stream_new_resizable ( ) -> * mut GOutputStream ; } extern "C" { pub fn g_memory_output_stream_get_data ( ostream : * mut GMemoryOutputStream ) -> gpointer ; } extern "C" { pub fn g_memory_output_stream_get_size ( ostream : * mut GMemoryOutputStream ) -> gsize ; } extern "C" { pub fn g_memory_output_stream_get_data_size ( ostream : * mut GMemoryOutputStream ) -> gsize ; } extern "C" { pub fn g_memory_output_stream_steal_data ( ostream : * mut GMemoryOutputStream ) -> gpointer ; } extern "C" { pub fn g_memory_output_stream_steal_as_bytes ( ostream : * mut GMemoryOutputStream ) -> * mut GBytes ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuModelPrivate { _unused : [ u8 ; 0 ] , } pub type GMenuModelPrivate = _GMenuModelPrivate ; pub type GMenuModelClass = _GMenuModelClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuAttributeIterPrivate { _unused : [ u8 ; 0 ] , } pub type GMenuAttributeIterPrivate = _GMenuAttributeIterPrivate ; pub type GMenuAttributeIterClass = _GMenuAttributeIterClass ; pub type GMenuAttributeIter = _GMenuAttributeIter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuLinkIterPrivate { _unused : [ u8 ; 0 ] , } pub type GMenuLinkIterPrivate = _GMenuLinkIterPrivate ; pub type GMenuLinkIterClass = _GMenuLinkIterClass ; pub type GMenuLinkIter = _GMenuLinkIter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuModel { pub parent_instance : GObject , pub priv_ : * mut GMenuModelPrivate , } # [ test ] fn bindgen_test_layout__GMenuModel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMenuModel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GMenuModel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMenuModel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMenuModel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModel > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModel ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModel > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModel ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuModelClass { pub parent_class : GObjectClass , pub is_mutable : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel ) -> gboolean > , pub get_n_items : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel ) -> gint > , pub get_item_attributes : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel , item_index : gint , attributes : * mut * mut GHashTable ) > , pub iterate_item_attributes : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel , item_index : gint ) -> * mut GMenuAttributeIter > , pub get_item_attribute_value : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel , item_index : gint , attribute : * const gchar , expected_type : * const GVariantType ) -> * mut GVariant > , pub get_item_links : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel , item_index : gint , links : * mut * mut GHashTable ) > , pub iterate_item_links : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel , item_index : gint ) -> * mut GMenuLinkIter > , pub get_item_link : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel , item_index : gint , link : * const gchar ) -> * mut GMenuModel > , } # [ test ] fn bindgen_test_layout__GMenuModelClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMenuModelClass > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( _GMenuModelClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMenuModelClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMenuModelClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . is_mutable as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( is_mutable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . get_n_items as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( get_n_items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . get_item_attributes as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( get_item_attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . iterate_item_attributes as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( iterate_item_attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . get_item_attribute_value as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( get_item_attribute_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . get_item_links as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( get_item_links ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . iterate_item_links as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( iterate_item_links ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . get_item_link as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( get_item_link ) ) ) ; } extern "C" { pub fn g_menu_model_get_type ( ) -> GType ; } extern "C" { pub fn g_menu_model_is_mutable ( model : * mut GMenuModel ) -> gboolean ; } extern "C" { pub fn g_menu_model_get_n_items ( model : * mut GMenuModel ) -> gint ; } extern "C" { pub fn g_menu_model_iterate_item_attributes ( model : * mut GMenuModel , item_index : gint ) -> * mut GMenuAttributeIter ; } extern "C" { pub fn g_menu_model_get_item_attribute_value ( model : * mut GMenuModel , item_index : gint , attribute : * const gchar , expected_type : * const GVariantType ) -> * mut GVariant ; } extern "C" { pub fn g_menu_model_get_item_attribute ( model : * mut GMenuModel , item_index : gint , attribute : * const gchar , format_string : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_menu_model_iterate_item_links ( model : * mut GMenuModel , item_index : gint ) -> * mut GMenuLinkIter ; } extern "C" { pub fn g_menu_model_get_item_link ( model : * mut GMenuModel , item_index : gint , link : * const gchar ) -> * mut GMenuModel ; } extern "C" { pub fn g_menu_model_items_changed ( model : * mut GMenuModel , position : gint , removed : gint , added : gint ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuAttributeIter { pub parent_instance : GObject , pub priv_ : * mut GMenuAttributeIterPrivate , } # [ test ] fn bindgen_test_layout__GMenuAttributeIter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMenuAttributeIter > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GMenuAttributeIter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMenuAttributeIter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMenuAttributeIter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuAttributeIter > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuAttributeIter ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuAttributeIter > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuAttributeIter ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuAttributeIterClass { pub parent_class : GObjectClass , pub get_next : :: std :: option :: Option < unsafe extern "C" fn ( iter : * mut GMenuAttributeIter , out_name : * mut * const gchar , value : * mut * mut GVariant ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GMenuAttributeIterClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMenuAttributeIterClass > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( _GMenuAttributeIterClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMenuAttributeIterClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMenuAttributeIterClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuAttributeIterClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuAttributeIterClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuAttributeIterClass > ( ) ) ) . get_next as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuAttributeIterClass ) , "::" , stringify ! ( get_next ) ) ) ; } extern "C" { pub fn g_menu_attribute_iter_get_type ( ) -> GType ; } extern "C" { pub fn g_menu_attribute_iter_get_next ( iter : * mut GMenuAttributeIter , out_name : * mut * const gchar , value : * mut * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_menu_attribute_iter_next ( iter : * mut GMenuAttributeIter ) -> gboolean ; } extern "C" { pub fn g_menu_attribute_iter_get_name ( iter : * mut GMenuAttributeIter ) -> * const gchar ; } extern "C" { pub fn g_menu_attribute_iter_get_value ( iter : * mut GMenuAttributeIter ) -> * mut GVariant ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuLinkIter { pub parent_instance : GObject , pub priv_ : * mut GMenuLinkIterPrivate , } # [ test ] fn bindgen_test_layout__GMenuLinkIter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMenuLinkIter > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GMenuLinkIter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMenuLinkIter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMenuLinkIter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuLinkIter > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuLinkIter ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuLinkIter > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuLinkIter ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuLinkIterClass { pub parent_class : GObjectClass , pub get_next : :: std :: option :: Option < unsafe extern "C" fn ( iter : * mut GMenuLinkIter , out_link : * mut * const gchar , value : * mut * mut GMenuModel ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GMenuLinkIterClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMenuLinkIterClass > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( _GMenuLinkIterClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMenuLinkIterClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMenuLinkIterClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuLinkIterClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuLinkIterClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuLinkIterClass > ( ) ) ) . get_next as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuLinkIterClass ) , "::" , stringify ! ( get_next ) ) ) ; } extern "C" { pub fn g_menu_link_iter_get_type ( ) -> GType ; } extern "C" { pub fn g_menu_link_iter_get_next ( iter : * mut GMenuLinkIter , out_link : * mut * const gchar , value : * mut * mut GMenuModel ) -> gboolean ; } extern "C" { pub fn g_menu_link_iter_next ( iter : * mut GMenuLinkIter ) -> gboolean ; } extern "C" { pub fn g_menu_link_iter_get_name ( iter : * mut GMenuLinkIter ) -> * const gchar ; } extern "C" { pub fn g_menu_link_iter_get_value ( iter : * mut GMenuLinkIter ) -> * mut GMenuModel ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuItem { _unused : [ u8 ; 0 ] , } pub type GMenuItem = _GMenuItem ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenu { _unused : [ u8 ; 0 ] , } pub type GMenu = _GMenu ; extern "C" { pub fn g_menu_get_type ( ) -> GType ; } extern "C" { pub fn g_menu_new ( ) -> * mut GMenu ; } extern "C" { pub fn g_menu_freeze ( menu : * mut GMenu ) ; } extern "C" { pub fn g_menu_insert_item ( menu : * mut GMenu , position : gint , item : * mut GMenuItem ) ; } extern "C" { pub fn g_menu_prepend_item ( menu : * mut GMenu , item : * mut GMenuItem ) ; } extern "C" { pub fn g_menu_append_item ( menu : * mut GMenu , item : * mut GMenuItem ) ; } extern "C" { pub fn g_menu_remove ( menu : * mut GMenu , position : gint ) ; } extern "C" { pub fn g_menu_remove_all ( menu : * mut GMenu ) ; } extern "C" { pub fn g_menu_insert ( menu : * mut GMenu , position : gint , label : * const gchar , detailed_action : * const gchar ) ; } extern "C" { pub fn g_menu_prepend ( menu : * mut GMenu , label : * const gchar , detailed_action : * const gchar ) ; } extern "C" { pub fn g_menu_append ( menu : * mut GMenu , label : * const gchar , detailed_action : * const gchar ) ; } extern "C" { pub fn g_menu_insert_section ( menu : * mut GMenu , position : gint , label : * const gchar , section : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_prepend_section ( menu : * mut GMenu , label : * const gchar , section : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_append_section ( menu : * mut GMenu , label : * const gchar , section : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_insert_submenu ( menu : * mut GMenu , position : gint , label : * const gchar , submenu : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_prepend_submenu ( menu : * mut GMenu , label : * const gchar , submenu : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_append_submenu ( menu : * mut GMenu , label : * const gchar , submenu : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_item_get_type ( ) -> GType ; } extern "C" { pub fn g_menu_item_new ( label : * const gchar , detailed_action : * const gchar ) -> * mut GMenuItem ; } extern "C" { pub fn g_menu_item_new_from_model ( model : * mut GMenuModel , item_index : gint ) -> * mut GMenuItem ; } extern "C" { pub fn g_menu_item_new_submenu ( label : * const gchar , submenu : * mut GMenuModel ) -> * mut GMenuItem ; } extern "C" { pub fn g_menu_item_new_section ( label : * const gchar , section : * mut GMenuModel ) -> * mut GMenuItem ; } extern "C" { pub fn g_menu_item_get_attribute_value ( menu_item : * mut GMenuItem , attribute : * const gchar , expected_type : * const GVariantType ) -> * mut GVariant ; } extern "C" { pub fn g_menu_item_get_attribute ( menu_item : * mut GMenuItem , attribute : * const gchar , format_string : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_menu_item_get_link ( menu_item : * mut GMenuItem , link : * const gchar ) -> * mut GMenuModel ; } extern "C" { pub fn g_menu_item_set_attribute_value ( menu_item : * mut GMenuItem , attribute : * const gchar , value : * mut GVariant ) ; } extern "C" { pub fn g_menu_item_set_attribute ( menu_item : * mut GMenuItem , attribute : * const gchar , format_string : * const gchar , ... ) ; } extern "C" { pub fn g_menu_item_set_link ( menu_item : * mut GMenuItem , link : * const gchar , model : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_item_set_label ( menu_item : * mut GMenuItem , label : * const gchar ) ; } extern "C" { pub fn g_menu_item_set_submenu ( menu_item : * mut GMenuItem , submenu : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_item_set_section ( menu_item : * mut GMenuItem , section : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_item_set_action_and_target_value ( menu_item : * mut GMenuItem , action : * const gchar , target_value : * mut GVariant ) ; } extern "C" { pub fn g_menu_item_set_action_and_target ( menu_item : * mut GMenuItem , action : * const gchar , format_string : * const gchar , ... ) ; } extern "C" { pub fn g_menu_item_set_detailed_action ( menu_item : * mut GMenuItem , detailed_action : * const gchar ) ; } extern "C" { pub fn g_menu_item_set_icon ( menu_item : * mut GMenuItem , icon : * mut GIcon ) ; } extern "C" { pub fn g_dbus_connection_export_menu_model ( connection : * mut GDBusConnection , object_path : * const gchar , menu : * mut GMenuModel , error : * mut * mut GError ) -> guint ; } extern "C" { pub fn g_dbus_connection_unexport_menu_model ( connection : * mut GDBusConnection , export_id : guint ) ; } pub type GMountIface = _GMountIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMountIface { pub g_iface : GTypeInterface , pub changed : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) > , pub unmounted : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) > , pub get_root : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut GFile > , pub get_name : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut :: std :: os :: raw :: c_char > , pub get_icon : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut GIcon > , pub get_uuid : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut :: std :: os :: raw :: c_char > , pub get_volume : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut GVolume > , pub get_drive : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut GDrive > , pub can_unmount : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> gboolean > , pub can_eject : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> gboolean > , pub unmount : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub unmount_finish : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub eject : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_finish : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub remount : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub remount_finish : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub guess_content_type : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , force_rescan : gboolean , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub guess_content_type_finish : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut * mut gchar > , pub guess_content_type_sync : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , force_rescan : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut * mut gchar > , pub pre_unmount : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) > , pub unmount_with_operation : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub unmount_with_operation_finish : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub eject_with_operation : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_with_operation_finish : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub get_default_location : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut GFile > , pub get_sort_key : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * const gchar > , pub get_symbolic_icon : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut GIcon > , } # [ test ] fn bindgen_test_layout__GMountIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMountIface > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( _GMountIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMountIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMountIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . changed as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . unmounted as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( unmounted ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_root as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_root ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_name as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_icon as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_icon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_uuid as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_uuid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_volume as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_volume ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_drive as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_drive ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . can_unmount as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( can_unmount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . can_eject as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( can_eject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . unmount as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( unmount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . unmount_finish as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( unmount_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . eject as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( eject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . eject_finish as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( eject_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . remount as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( remount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . remount_finish as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( remount_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . guess_content_type as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( guess_content_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . guess_content_type_finish as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( guess_content_type_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . guess_content_type_sync as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( guess_content_type_sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . pre_unmount as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( pre_unmount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . unmount_with_operation as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( unmount_with_operation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . unmount_with_operation_finish as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( unmount_with_operation_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . eject_with_operation as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( eject_with_operation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . eject_with_operation_finish as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( eject_with_operation_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_default_location as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_default_location ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_sort_key as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_sort_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_symbolic_icon as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_symbolic_icon ) ) ) ; } extern "C" { pub fn g_mount_get_type ( ) -> GType ; } extern "C" { pub fn g_mount_get_root ( mount : * mut GMount ) -> * mut GFile ; } extern "C" { pub fn g_mount_get_default_location ( mount : * mut GMount ) -> * mut GFile ; } extern "C" { pub fn g_mount_get_name ( mount : * mut GMount ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_mount_get_icon ( mount : * mut GMount ) -> * mut GIcon ; } extern "C" { pub fn g_mount_get_symbolic_icon ( mount : * mut GMount ) -> * mut GIcon ; } extern "C" { pub fn g_mount_get_uuid ( mount : * mut GMount ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_mount_get_volume ( mount : * mut GMount ) -> * mut GVolume ; } extern "C" { pub fn g_mount_get_drive ( mount : * mut GMount ) -> * mut GDrive ; } extern "C" { pub fn g_mount_can_unmount ( mount : * mut GMount ) -> gboolean ; } extern "C" { pub fn g_mount_can_eject ( mount : * mut GMount ) -> gboolean ; } extern "C" { pub fn g_mount_unmount ( mount : * mut GMount , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_mount_unmount_finish ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_mount_eject ( mount : * mut GMount , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_mount_eject_finish ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_mount_remount ( mount : * mut GMount , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_mount_remount_finish ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_mount_guess_content_type ( mount : * mut GMount , force_rescan : gboolean , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_mount_guess_content_type_finish ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_mount_guess_content_type_sync ( mount : * mut GMount , force_rescan : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_mount_is_shadowed ( mount : * mut GMount ) -> gboolean ; } extern "C" { pub fn g_mount_shadow ( mount : * mut GMount ) ; } extern "C" { pub fn g_mount_unshadow ( mount : * mut GMount ) ; } extern "C" { pub fn g_mount_unmount_with_operation ( mount : * mut GMount , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_mount_unmount_with_operation_finish ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_mount_eject_with_operation ( mount : * mut GMount , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_mount_eject_with_operation_finish ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_mount_get_sort_key ( mount : * mut GMount ) -> * const gchar ; } pub type GMountOperationClass = _GMountOperationClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMountOperationPrivate { _unused : [ u8 ; 0 ] , } pub type GMountOperationPrivate = _GMountOperationPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMountOperation { pub parent_instance : GObject , pub priv_ : * mut GMountOperationPrivate , } # [ test ] fn bindgen_test_layout__GMountOperation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMountOperation > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GMountOperation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMountOperation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMountOperation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperation > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperation ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperation > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperation ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMountOperationClass { pub parent_class : GObjectClass , pub ask_password : :: std :: option :: Option < unsafe extern "C" fn ( op : * mut GMountOperation , message : * const :: std :: os :: raw :: c_char , default_user : * const :: std :: os :: raw :: c_char , default_domain : * const :: std :: os :: raw :: c_char , flags : GAskPasswordFlags ) > , pub ask_question : :: std :: option :: Option < unsafe extern "C" fn ( op : * mut GMountOperation , message : * const :: std :: os :: raw :: c_char , choices : * mut * const :: std :: os :: raw :: c_char ) > , pub reply : :: std :: option :: Option < unsafe extern "C" fn ( op : * mut GMountOperation , result : GMountOperationResult ) > , pub aborted : :: std :: option :: Option < unsafe extern "C" fn ( op : * mut GMountOperation ) > , pub show_processes : :: std :: option :: Option < unsafe extern "C" fn ( op : * mut GMountOperation , message : * const gchar , processes : * mut GArray , choices : * mut * const gchar ) > , pub show_unmount_progress : :: std :: option :: Option < unsafe extern "C" fn ( op : * mut GMountOperation , message : * const gchar , time_left : gint64 , bytes_left : gint64 ) > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved7 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved8 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved9 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GMountOperationClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMountOperationClass > ( ) , 256usize , concat ! ( "Size of: " , stringify ! ( _GMountOperationClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMountOperationClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMountOperationClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . ask_password as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( ask_password ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . ask_question as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( ask_question ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . reply as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( reply ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . aborted as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( aborted ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . show_processes as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( show_processes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . show_unmount_progress as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( show_unmount_progress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved7 as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved7 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved8 as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved8 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved9 as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved9 ) ) ) ; } extern "C" { pub fn g_mount_operation_get_type ( ) -> GType ; } extern "C" { pub fn g_mount_operation_new ( ) -> * mut GMountOperation ; } extern "C" { pub fn g_mount_operation_get_username ( op : * mut GMountOperation ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_mount_operation_set_username ( op : * mut GMountOperation , username : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_mount_operation_get_password ( op : * mut GMountOperation ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_mount_operation_set_password ( op : * mut GMountOperation , password : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_mount_operation_get_anonymous ( op : * mut GMountOperation ) -> gboolean ; } extern "C" { pub fn g_mount_operation_set_anonymous ( op : * mut GMountOperation , anonymous : gboolean ) ; } extern "C" { pub fn g_mount_operation_get_domain ( op : * mut GMountOperation ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_mount_operation_set_domain ( op : * mut GMountOperation , domain : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_mount_operation_get_password_save ( op : * mut GMountOperation ) -> GPasswordSave ; } extern "C" { pub fn g_mount_operation_set_password_save ( op : * mut GMountOperation , save : GPasswordSave ) ; } extern "C" { pub fn g_mount_operation_get_choice ( op : * mut GMountOperation ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_mount_operation_set_choice ( op : * mut GMountOperation , choice : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn g_mount_operation_reply ( op : * mut GMountOperation , result : GMountOperationResult ) ; } extern "C" { pub fn g_mount_operation_get_is_tcrypt_hidden_volume ( op : * mut GMountOperation ) -> gboolean ; } extern "C" { pub fn g_mount_operation_set_is_tcrypt_hidden_volume ( op : * mut GMountOperation , hidden_volume : gboolean ) ; } extern "C" { pub fn g_mount_operation_get_is_tcrypt_system_volume ( op : * mut GMountOperation ) -> gboolean ; } extern "C" { pub fn g_mount_operation_set_is_tcrypt_system_volume ( op : * mut GMountOperation , system_volume : gboolean ) ; } extern "C" { pub fn g_mount_operation_get_pim ( op : * mut GMountOperation ) -> guint ; } extern "C" { pub fn g_mount_operation_set_pim ( op : * mut GMountOperation , pim : guint ) ; } pub type GNativeSocketAddressClass = _GNativeSocketAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNativeSocketAddressPrivate { _unused : [ u8 ; 0 ] , } pub type GNativeSocketAddressPrivate = _GNativeSocketAddressPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNativeSocketAddress { pub parent_instance : GSocketAddress , pub priv_ : * mut GNativeSocketAddressPrivate , } # [ test ] fn bindgen_test_layout__GNativeSocketAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNativeSocketAddress > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GNativeSocketAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNativeSocketAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNativeSocketAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNativeSocketAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNativeSocketAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNativeSocketAddress > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GNativeSocketAddress ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNativeSocketAddressClass { pub parent_class : GSocketAddressClass , } # [ test ] fn bindgen_test_layout__GNativeSocketAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNativeSocketAddressClass > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( _GNativeSocketAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNativeSocketAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNativeSocketAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNativeSocketAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNativeSocketAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_native_socket_address_get_type ( ) -> GType ; } extern "C" { pub fn g_native_socket_address_new ( native : gpointer , len : gsize ) -> * mut GSocketAddress ; } pub type GVolumeMonitorClass = _GVolumeMonitorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVolumeMonitor { pub parent_instance : GObject , pub priv_ : gpointer , } # [ test ] fn bindgen_test_layout__GVolumeMonitor ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVolumeMonitor > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GVolumeMonitor ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVolumeMonitor > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVolumeMonitor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitor > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitor ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitor > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitor ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVolumeMonitorClass { pub parent_class : GObjectClass , pub volume_added : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , volume : * mut GVolume ) > , pub volume_removed : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , volume : * mut GVolume ) > , pub volume_changed : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , volume : * mut GVolume ) > , pub mount_added : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , mount : * mut GMount ) > , pub mount_removed : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , mount : * mut GMount ) > , pub mount_pre_unmount : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , mount : * mut GMount ) > , pub mount_changed : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , mount : * mut GMount ) > , pub drive_connected : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , drive : * mut GDrive ) > , pub drive_disconnected : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , drive : * mut GDrive ) > , pub drive_changed : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , drive : * mut GDrive ) > , pub is_supported : :: std :: option :: Option < unsafe extern "C" fn ( ) -> gboolean > , pub get_connected_drives : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor ) -> * mut GList > , pub get_volumes : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor ) -> * mut GList > , pub get_mounts : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor ) -> * mut GList > , pub get_volume_for_uuid : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , uuid : * const :: std :: os :: raw :: c_char ) -> * mut GVolume > , pub get_mount_for_uuid : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , uuid : * const :: std :: os :: raw :: c_char ) -> * mut GMount > , pub adopt_orphan_mount : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , volume_monitor : * mut GVolumeMonitor ) -> * mut GVolume > , pub drive_eject_button : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , drive : * mut GDrive ) > , pub drive_stop_button : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , drive : * mut GDrive ) > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GVolumeMonitorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVolumeMonitorClass > ( ) , 336usize , concat ! ( "Size of: " , stringify ! ( _GVolumeMonitorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVolumeMonitorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVolumeMonitorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . volume_added as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( volume_added ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . volume_removed as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( volume_removed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . volume_changed as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( volume_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . mount_added as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( mount_added ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . mount_removed as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( mount_removed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . mount_pre_unmount as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( mount_pre_unmount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . mount_changed as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( mount_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . drive_connected as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( drive_connected ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . drive_disconnected as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( drive_disconnected ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . drive_changed as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( drive_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . is_supported as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( is_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . get_connected_drives as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( get_connected_drives ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . get_volumes as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( get_volumes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . get_mounts as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( get_mounts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . get_volume_for_uuid as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( get_volume_for_uuid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . get_mount_for_uuid as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( get_mount_for_uuid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . adopt_orphan_mount as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( adopt_orphan_mount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . drive_eject_button as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( drive_eject_button ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . drive_stop_button as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( drive_stop_button ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; } extern "C" { pub fn g_volume_monitor_get_type ( ) -> GType ; } extern "C" { pub fn g_volume_monitor_get ( ) -> * mut GVolumeMonitor ; } extern "C" { pub fn g_volume_monitor_get_connected_drives ( volume_monitor : * mut GVolumeMonitor ) -> * mut GList ; } extern "C" { pub fn g_volume_monitor_get_volumes ( volume_monitor : * mut GVolumeMonitor ) -> * mut GList ; } extern "C" { pub fn g_volume_monitor_get_mounts ( volume_monitor : * mut GVolumeMonitor ) -> * mut GList ; } extern "C" { pub fn g_volume_monitor_get_volume_for_uuid ( volume_monitor : * mut GVolumeMonitor , uuid : * const :: std :: os :: raw :: c_char ) -> * mut GVolume ; } extern "C" { pub fn g_volume_monitor_get_mount_for_uuid ( volume_monitor : * mut GVolumeMonitor , uuid : * const :: std :: os :: raw :: c_char ) -> * mut GMount ; } extern "C" { pub fn g_volume_monitor_adopt_orphan_mount ( mount : * mut GMount ) -> * mut GVolume ; } pub type GNativeVolumeMonitor = _GNativeVolumeMonitor ; pub type GNativeVolumeMonitorClass = _GNativeVolumeMonitorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNativeVolumeMonitor { pub parent_instance : GVolumeMonitor , } # [ test ] fn bindgen_test_layout__GNativeVolumeMonitor ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNativeVolumeMonitor > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GNativeVolumeMonitor ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNativeVolumeMonitor > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNativeVolumeMonitor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNativeVolumeMonitor > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNativeVolumeMonitor ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNativeVolumeMonitorClass { pub parent_class : GVolumeMonitorClass , pub get_mount_for_mount_path : :: std :: option :: Option < unsafe extern "C" fn ( mount_path : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable ) -> * mut GMount > , } # [ test ] fn bindgen_test_layout__GNativeVolumeMonitorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNativeVolumeMonitorClass > ( ) , 344usize , concat ! ( "Size of: " , stringify ! ( _GNativeVolumeMonitorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNativeVolumeMonitorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNativeVolumeMonitorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNativeVolumeMonitorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNativeVolumeMonitorClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNativeVolumeMonitorClass > ( ) ) ) . get_mount_for_mount_path as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GNativeVolumeMonitorClass ) , "::" , stringify ! ( get_mount_for_mount_path ) ) ) ; } extern "C" { pub fn g_native_volume_monitor_get_type ( ) -> GType ; } pub type GNetworkAddressClass = _GNetworkAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkAddressPrivate { _unused : [ u8 ; 0 ] , } pub type GNetworkAddressPrivate = _GNetworkAddressPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkAddress { pub parent_instance : GObject , pub priv_ : * mut GNetworkAddressPrivate , } # [ test ] fn bindgen_test_layout__GNetworkAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNetworkAddress > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GNetworkAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNetworkAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNetworkAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkAddress > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkAddress ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkAddressClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GNetworkAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNetworkAddressClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GNetworkAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNetworkAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNetworkAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_network_address_get_type ( ) -> GType ; } extern "C" { pub fn g_network_address_new ( hostname : * const gchar , port : guint16 ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_network_address_new_loopback ( port : guint16 ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_network_address_parse ( host_and_port : * const gchar , default_port : guint16 , error : * mut * mut GError ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_network_address_parse_uri ( uri : * const gchar , default_port : guint16 , error : * mut * mut GError ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_network_address_get_hostname ( addr : * mut GNetworkAddress ) -> * const gchar ; } extern "C" { pub fn g_network_address_get_port ( addr : * mut GNetworkAddress ) -> guint16 ; } extern "C" { pub fn g_network_address_get_scheme ( addr : * mut GNetworkAddress ) -> * const gchar ; } pub type GNetworkMonitorInterface = _GNetworkMonitorInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkMonitorInterface { pub g_iface : GTypeInterface , pub network_changed : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GNetworkMonitor , network_available : gboolean ) > , pub can_reach : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GNetworkMonitor , connectable : * mut GSocketConnectable , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub can_reach_async : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GNetworkMonitor , connectable : * mut GSocketConnectable , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub can_reach_finish : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GNetworkMonitor , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GNetworkMonitorInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNetworkMonitorInterface > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GNetworkMonitorInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNetworkMonitorInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNetworkMonitorInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkMonitorInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkMonitorInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkMonitorInterface > ( ) ) ) . network_changed as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkMonitorInterface ) , "::" , stringify ! ( network_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkMonitorInterface > ( ) ) ) . can_reach as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkMonitorInterface ) , "::" , stringify ! ( can_reach ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkMonitorInterface > ( ) ) ) . can_reach_async as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkMonitorInterface ) , "::" , stringify ! ( can_reach_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkMonitorInterface > ( ) ) ) . can_reach_finish as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkMonitorInterface ) , "::" , stringify ! ( can_reach_finish ) ) ) ; } extern "C" { pub fn g_network_monitor_get_type ( ) -> GType ; } extern "C" { pub fn g_network_monitor_get_default ( ) -> * mut GNetworkMonitor ; } extern "C" { pub fn g_network_monitor_get_network_available ( monitor : * mut GNetworkMonitor ) -> gboolean ; } extern "C" { pub fn g_network_monitor_get_network_metered ( monitor : * mut GNetworkMonitor ) -> gboolean ; } extern "C" { pub fn g_network_monitor_get_connectivity ( monitor : * mut GNetworkMonitor ) -> GNetworkConnectivity ; } extern "C" { pub fn g_network_monitor_can_reach ( monitor : * mut GNetworkMonitor , connectable : * mut GSocketConnectable , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_network_monitor_can_reach_async ( monitor : * mut GNetworkMonitor , connectable : * mut GSocketConnectable , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_network_monitor_can_reach_finish ( monitor : * mut GNetworkMonitor , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } pub type GNetworkServiceClass = _GNetworkServiceClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkServicePrivate { _unused : [ u8 ; 0 ] , } pub type GNetworkServicePrivate = _GNetworkServicePrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkService { pub parent_instance : GObject , pub priv_ : * mut GNetworkServicePrivate , } # [ test ] fn bindgen_test_layout__GNetworkService ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNetworkService > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GNetworkService ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNetworkService > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNetworkService ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkService > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkService ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkService > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkService ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkServiceClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GNetworkServiceClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNetworkServiceClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GNetworkServiceClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNetworkServiceClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNetworkServiceClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkServiceClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkServiceClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_network_service_get_type ( ) -> GType ; } extern "C" { pub fn g_network_service_new ( service : * const gchar , protocol : * const gchar , domain : * const gchar ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_network_service_get_service ( srv : * mut GNetworkService ) -> * const gchar ; } extern "C" { pub fn g_network_service_get_protocol ( srv : * mut GNetworkService ) -> * const gchar ; } extern "C" { pub fn g_network_service_get_domain ( srv : * mut GNetworkService ) -> * const gchar ; } extern "C" { pub fn g_network_service_get_scheme ( srv : * mut GNetworkService ) -> * const gchar ; } extern "C" { pub fn g_network_service_set_scheme ( srv : * mut GNetworkService , scheme : * const gchar ) ; } extern "C" { pub fn g_notification_get_type ( ) -> GType ; } extern "C" { pub fn g_notification_new ( title : * const gchar ) -> * mut GNotification ; } extern "C" { pub fn g_notification_set_title ( notification : * mut GNotification , title : * const gchar ) ; } extern "C" { pub fn g_notification_set_body ( notification : * mut GNotification , body : * const gchar ) ; } extern "C" { pub fn g_notification_set_icon ( notification : * mut GNotification , icon : * mut GIcon ) ; } extern "C" { pub fn g_notification_set_urgent ( notification : * mut GNotification , urgent : gboolean ) ; } extern "C" { pub fn g_notification_set_priority ( notification : * mut GNotification , priority : GNotificationPriority ) ; } extern "C" { pub fn g_notification_set_category ( notification : * mut GNotification , category : * const gchar ) ; } extern "C" { pub fn g_notification_add_button ( notification : * mut GNotification , label : * const gchar , detailed_action : * const gchar ) ; } extern "C" { pub fn g_notification_add_button_with_target ( notification : * mut GNotification , label : * const gchar , action : * const gchar , target_format : * const gchar , ... ) ; } extern "C" { pub fn g_notification_add_button_with_target_value ( notification : * mut GNotification , label : * const gchar , action : * const gchar , target : * mut GVariant ) ; } extern "C" { pub fn g_notification_set_default_action ( notification : * mut GNotification , detailed_action : * const gchar ) ; } extern "C" { pub fn g_notification_set_default_action_and_target ( notification : * mut GNotification , action : * const gchar , target_format : * const gchar , ... ) ; } extern "C" { pub fn g_notification_set_default_action_and_target_value ( notification : * mut GNotification , action : * const gchar , target : * mut GVariant ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPermissionPrivate { _unused : [ u8 ; 0 ] , } pub type GPermissionPrivate = _GPermissionPrivate ; pub type GPermissionClass = _GPermissionClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPermission { pub parent_instance : GObject , pub priv_ : * mut GPermissionPrivate , } # [ test ] fn bindgen_test_layout__GPermission ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPermission > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GPermission ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPermission > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPermission ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermission > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPermission ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermission > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GPermission ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPermissionClass { pub parent_class : GObjectClass , pub acquire : :: std :: option :: Option < unsafe extern "C" fn ( permission : * mut GPermission , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub acquire_async : :: std :: option :: Option < unsafe extern "C" fn ( permission : * mut GPermission , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub acquire_finish : :: std :: option :: Option < unsafe extern "C" fn ( permission : * mut GPermission , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub release : :: std :: option :: Option < unsafe extern "C" fn ( permission : * mut GPermission , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub release_async : :: std :: option :: Option < unsafe extern "C" fn ( permission : * mut GPermission , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub release_finish : :: std :: option :: Option < unsafe extern "C" fn ( permission : * mut GPermission , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub reserved : [ gpointer ; 16usize ] , } # [ test ] fn bindgen_test_layout__GPermissionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPermissionClass > ( ) , 312usize , concat ! ( "Size of: " , stringify ! ( _GPermissionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPermissionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPermissionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . acquire as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( acquire ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . acquire_async as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( acquire_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . acquire_finish as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( acquire_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . release as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( release ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . release_async as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( release_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . release_finish as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( release_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . reserved as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( reserved ) ) ) ; } extern "C" { pub fn g_permission_get_type ( ) -> GType ; } extern "C" { pub fn g_permission_acquire ( permission : * mut GPermission , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_permission_acquire_async ( permission : * mut GPermission , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_permission_acquire_finish ( permission : * mut GPermission , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_permission_release ( permission : * mut GPermission , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_permission_release_async ( permission : * mut GPermission , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_permission_release_finish ( permission : * mut GPermission , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_permission_get_allowed ( permission : * mut GPermission ) -> gboolean ; } extern "C" { pub fn g_permission_get_can_acquire ( permission : * mut GPermission ) -> gboolean ; } extern "C" { pub fn g_permission_get_can_release ( permission : * mut GPermission ) -> gboolean ; } extern "C" { pub fn g_permission_impl_update ( permission : * mut GPermission , allowed : gboolean , can_acquire : gboolean , can_release : gboolean ) ; } pub type GPollableInputStreamInterface = _GPollableInputStreamInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPollableInputStreamInterface { pub g_iface : GTypeInterface , pub can_poll : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableInputStream ) -> gboolean > , pub is_readable : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableInputStream ) -> gboolean > , pub create_source : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableInputStream , cancellable : * mut GCancellable ) -> * mut GSource > , pub read_nonblocking : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , error : * mut * mut GError ) -> gssize > , } # [ test ] fn bindgen_test_layout__GPollableInputStreamInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPollableInputStreamInterface > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GPollableInputStreamInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPollableInputStreamInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPollableInputStreamInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableInputStreamInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableInputStreamInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableInputStreamInterface > ( ) ) ) . can_poll as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableInputStreamInterface ) , "::" , stringify ! ( can_poll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableInputStreamInterface > ( ) ) ) . is_readable as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableInputStreamInterface ) , "::" , stringify ! ( is_readable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableInputStreamInterface > ( ) ) ) . create_source as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableInputStreamInterface ) , "::" , stringify ! ( create_source ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableInputStreamInterface > ( ) ) ) . read_nonblocking as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableInputStreamInterface ) , "::" , stringify ! ( read_nonblocking ) ) ) ; } extern "C" { pub fn g_pollable_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_pollable_input_stream_can_poll ( stream : * mut GPollableInputStream ) -> gboolean ; } extern "C" { pub fn g_pollable_input_stream_is_readable ( stream : * mut GPollableInputStream ) -> gboolean ; } extern "C" { pub fn g_pollable_input_stream_create_source ( stream : * mut GPollableInputStream , cancellable : * mut GCancellable ) -> * mut GSource ; } extern "C" { pub fn g_pollable_input_stream_read_nonblocking ( stream : * mut GPollableInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } pub type GPollableOutputStreamInterface = _GPollableOutputStreamInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPollableOutputStreamInterface { pub g_iface : GTypeInterface , pub can_poll : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableOutputStream ) -> gboolean > , pub is_writable : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableOutputStream ) -> gboolean > , pub create_source : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableOutputStream , cancellable : * mut GCancellable ) -> * mut GSource > , pub write_nonblocking : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , error : * mut * mut GError ) -> gssize > , pub writev_nonblocking : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableOutputStream , vectors : * const GOutputVector , n_vectors : gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> GPollableReturn > , } # [ test ] fn bindgen_test_layout__GPollableOutputStreamInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPollableOutputStreamInterface > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GPollableOutputStreamInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPollableOutputStreamInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPollableOutputStreamInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableOutputStreamInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableOutputStreamInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableOutputStreamInterface > ( ) ) ) . can_poll as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableOutputStreamInterface ) , "::" , stringify ! ( can_poll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableOutputStreamInterface > ( ) ) ) . is_writable as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableOutputStreamInterface ) , "::" , stringify ! ( is_writable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableOutputStreamInterface > ( ) ) ) . create_source as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableOutputStreamInterface ) , "::" , stringify ! ( create_source ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableOutputStreamInterface > ( ) ) ) . write_nonblocking as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableOutputStreamInterface ) , "::" , stringify ! ( write_nonblocking ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableOutputStreamInterface > ( ) ) ) . writev_nonblocking as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableOutputStreamInterface ) , "::" , stringify ! ( writev_nonblocking ) ) ) ; } extern "C" { pub fn g_pollable_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_pollable_output_stream_can_poll ( stream : * mut GPollableOutputStream ) -> gboolean ; } extern "C" { pub fn g_pollable_output_stream_is_writable ( stream : * mut GPollableOutputStream ) -> gboolean ; } extern "C" { pub fn g_pollable_output_stream_create_source ( stream : * mut GPollableOutputStream , cancellable : * mut GCancellable ) -> * mut GSource ; } extern "C" { pub fn g_pollable_output_stream_write_nonblocking ( stream : * mut GPollableOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_pollable_output_stream_writev_nonblocking ( stream : * mut GPollableOutputStream , vectors : * const GOutputVector , n_vectors : gsize , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GPollableReturn ; } extern "C" { pub fn g_pollable_source_new ( pollable_stream : * mut GObject ) -> * mut GSource ; } extern "C" { pub fn g_pollable_source_new_full ( pollable_stream : gpointer , child_source : * mut GSource , cancellable : * mut GCancellable ) -> * mut GSource ; } extern "C" { pub fn g_pollable_stream_read ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , blocking : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_pollable_stream_write ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , blocking : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_pollable_stream_write_all ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , blocking : gboolean , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_power_profile_monitor_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPowerProfileMonitor { _unused : [ u8 ; 0 ] , } pub type GPowerProfileMonitor = _GPowerProfileMonitor ; pub type GPowerProfileMonitorInterface = _GPowerProfileMonitorInterface ; pub type GPowerProfileMonitor_autoptr = * mut GPowerProfileMonitor ; pub type GPowerProfileMonitor_listautoptr = * mut GList ; pub type GPowerProfileMonitor_slistautoptr = * mut GSList ; pub type GPowerProfileMonitor_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPowerProfileMonitorInterface { pub g_iface : GTypeInterface , } # [ test ] fn bindgen_test_layout__GPowerProfileMonitorInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPowerProfileMonitorInterface > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GPowerProfileMonitorInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPowerProfileMonitorInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPowerProfileMonitorInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPowerProfileMonitorInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPowerProfileMonitorInterface ) , "::" , stringify ! ( g_iface ) ) ) ; } extern "C" { pub fn g_power_profile_monitor_dup_default ( ) -> * mut GPowerProfileMonitor ; } extern "C" { pub fn g_power_profile_monitor_get_power_saver_enabled ( monitor : * mut GPowerProfileMonitor ) -> gboolean ; } extern "C" { pub fn g_property_action_get_type ( ) -> GType ; } extern "C" { pub fn g_property_action_new ( name : * const gchar , object : gpointer , property_name : * const gchar ) -> * mut GPropertyAction ; } pub type GProxyInterface = _GProxyInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyInterface { pub g_iface : GTypeInterface , pub connect : :: std :: option :: Option < unsafe extern "C" fn ( proxy : * mut GProxy , connection : * mut GIOStream , proxy_address : * mut GProxyAddress , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GIOStream > , pub connect_async : :: std :: option :: Option < unsafe extern "C" fn ( proxy : * mut GProxy , connection : * mut GIOStream , proxy_address : * mut GProxyAddress , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub connect_finish : :: std :: option :: Option < unsafe extern "C" fn ( proxy : * mut GProxy , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GIOStream > , pub supports_hostname : :: std :: option :: Option < unsafe extern "C" fn ( proxy : * mut GProxy ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GProxyInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GProxyInterface > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GProxyInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GProxyInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GProxyInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyInterface > ( ) ) ) . connect as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyInterface ) , "::" , stringify ! ( connect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyInterface > ( ) ) ) . connect_async as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyInterface ) , "::" , stringify ! ( connect_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyInterface > ( ) ) ) . connect_finish as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyInterface ) , "::" , stringify ! ( connect_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyInterface > ( ) ) ) . supports_hostname as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyInterface ) , "::" , stringify ! ( supports_hostname ) ) ) ; } extern "C" { pub fn g_proxy_get_type ( ) -> GType ; } extern "C" { pub fn g_proxy_get_default_for_protocol ( protocol : * const gchar ) -> * mut GProxy ; } extern "C" { pub fn g_proxy_connect ( proxy : * mut GProxy , connection : * mut GIOStream , proxy_address : * mut GProxyAddress , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GIOStream ; } extern "C" { pub fn g_proxy_connect_async ( proxy : * mut GProxy , connection : * mut GIOStream , proxy_address : * mut GProxyAddress , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_proxy_connect_finish ( proxy : * mut GProxy , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GIOStream ; } extern "C" { pub fn g_proxy_supports_hostname ( proxy : * mut GProxy ) -> gboolean ; } pub type GProxyAddressClass = _GProxyAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyAddressPrivate { _unused : [ u8 ; 0 ] , } pub type GProxyAddressPrivate = _GProxyAddressPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyAddress { pub parent_instance : GInetSocketAddress , pub priv_ : * mut GProxyAddressPrivate , } # [ test ] fn bindgen_test_layout__GProxyAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GProxyAddress > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GProxyAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GProxyAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GProxyAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddress > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddress ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyAddressClass { pub parent_class : GInetSocketAddressClass , } # [ test ] fn bindgen_test_layout__GProxyAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GProxyAddressClass > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( _GProxyAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GProxyAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GProxyAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_proxy_address_get_type ( ) -> GType ; } extern "C" { pub fn g_proxy_address_new ( inetaddr : * mut GInetAddress , port : guint16 , protocol : * const gchar , dest_hostname : * const gchar , dest_port : guint16 , username : * const gchar , password : * const gchar ) -> * mut GSocketAddress ; } extern "C" { pub fn g_proxy_address_get_protocol ( proxy : * mut GProxyAddress ) -> * const gchar ; } extern "C" { pub fn g_proxy_address_get_destination_protocol ( proxy : * mut GProxyAddress ) -> * const gchar ; } extern "C" { pub fn g_proxy_address_get_destination_hostname ( proxy : * mut GProxyAddress ) -> * const gchar ; } extern "C" { pub fn g_proxy_address_get_destination_port ( proxy : * mut GProxyAddress ) -> guint16 ; } extern "C" { pub fn g_proxy_address_get_username ( proxy : * mut GProxyAddress ) -> * const gchar ; } extern "C" { pub fn g_proxy_address_get_password ( proxy : * mut GProxyAddress ) -> * const gchar ; } extern "C" { pub fn g_proxy_address_get_uri ( proxy : * mut GProxyAddress ) -> * const gchar ; } pub type GSocketAddressEnumeratorClass = _GSocketAddressEnumeratorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketAddressEnumerator { pub parent_instance : GObject , } # [ test ] fn bindgen_test_layout__GSocketAddressEnumerator ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketAddressEnumerator > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GSocketAddressEnumerator ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketAddressEnumerator > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketAddressEnumerator ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressEnumerator > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressEnumerator ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketAddressEnumeratorClass { pub parent_class : GObjectClass , pub next : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GSocketAddressEnumerator , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketAddress > , pub next_async : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GSocketAddressEnumerator , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub next_finish : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GSocketAddressEnumerator , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GSocketAddress > , } # [ test ] fn bindgen_test_layout__GSocketAddressEnumeratorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketAddressEnumeratorClass > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( _GSocketAddressEnumeratorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketAddressEnumeratorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketAddressEnumeratorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressEnumeratorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressEnumeratorClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressEnumeratorClass > ( ) ) ) . next as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressEnumeratorClass ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressEnumeratorClass > ( ) ) ) . next_async as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressEnumeratorClass ) , "::" , stringify ! ( next_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressEnumeratorClass > ( ) ) ) . next_finish as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressEnumeratorClass ) , "::" , stringify ! ( next_finish ) ) ) ; } extern "C" { pub fn g_socket_address_enumerator_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_address_enumerator_next ( enumerator : * mut GSocketAddressEnumerator , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_address_enumerator_next_async ( enumerator : * mut GSocketAddressEnumerator , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_address_enumerator_next_finish ( enumerator : * mut GSocketAddressEnumerator , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GSocketAddress ; } pub type GProxyAddressEnumeratorClass = _GProxyAddressEnumeratorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyAddressEnumeratorPrivate { _unused : [ u8 ; 0 ] , } pub type GProxyAddressEnumeratorPrivate = _GProxyAddressEnumeratorPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyAddressEnumerator { pub parent_instance : GSocketAddressEnumerator , pub priv_ : * mut GProxyAddressEnumeratorPrivate , } # [ test ] fn bindgen_test_layout__GProxyAddressEnumerator ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GProxyAddressEnumerator > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GProxyAddressEnumerator ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GProxyAddressEnumerator > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GProxyAddressEnumerator ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumerator > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumerator ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumerator > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumerator ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyAddressEnumeratorClass { pub parent_class : GSocketAddressEnumeratorClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved7 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GProxyAddressEnumeratorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GProxyAddressEnumeratorClass > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _GProxyAddressEnumeratorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GProxyAddressEnumeratorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GProxyAddressEnumeratorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved7 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved7 ) ) ) ; } extern "C" { pub fn g_proxy_address_enumerator_get_type ( ) -> GType ; } pub type GProxyResolverInterface = _GProxyResolverInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyResolverInterface { pub g_iface : GTypeInterface , pub is_supported : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GProxyResolver ) -> gboolean > , pub lookup : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GProxyResolver , uri : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut * mut gchar > , pub lookup_async : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GProxyResolver , uri : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_finish : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GProxyResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut * mut gchar > , } # [ test ] fn bindgen_test_layout__GProxyResolverInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GProxyResolverInterface > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GProxyResolverInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GProxyResolverInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GProxyResolverInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyResolverInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyResolverInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyResolverInterface > ( ) ) ) . is_supported as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyResolverInterface ) , "::" , stringify ! ( is_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyResolverInterface > ( ) ) ) . lookup as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyResolverInterface ) , "::" , stringify ! ( lookup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyResolverInterface > ( ) ) ) . lookup_async as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyResolverInterface ) , "::" , stringify ! ( lookup_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyResolverInterface > ( ) ) ) . lookup_finish as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyResolverInterface ) , "::" , stringify ! ( lookup_finish ) ) ) ; } extern "C" { pub fn g_proxy_resolver_get_type ( ) -> GType ; } extern "C" { pub fn g_proxy_resolver_get_default ( ) -> * mut GProxyResolver ; } extern "C" { pub fn g_proxy_resolver_is_supported ( resolver : * mut GProxyResolver ) -> gboolean ; } extern "C" { pub fn g_proxy_resolver_lookup ( resolver : * mut GProxyResolver , uri : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_proxy_resolver_lookup_async ( resolver : * mut GProxyResolver , uri : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_proxy_resolver_lookup_finish ( resolver : * mut GProxyResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut * mut gchar ; } pub type GRemoteActionGroupInterface = _GRemoteActionGroupInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRemoteActionGroupInterface { pub g_iface : GTypeInterface , pub activate_action_full : :: std :: option :: Option < unsafe extern "C" fn ( remote : * mut GRemoteActionGroup , action_name : * const gchar , parameter : * mut GVariant , platform_data : * mut GVariant ) > , pub change_action_state_full : :: std :: option :: Option < unsafe extern "C" fn ( remote : * mut GRemoteActionGroup , action_name : * const gchar , value : * mut GVariant , platform_data : * mut GVariant ) > , } # [ test ] fn bindgen_test_layout__GRemoteActionGroupInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GRemoteActionGroupInterface > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GRemoteActionGroupInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GRemoteActionGroupInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GRemoteActionGroupInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRemoteActionGroupInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GRemoteActionGroupInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRemoteActionGroupInterface > ( ) ) ) . activate_action_full as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GRemoteActionGroupInterface ) , "::" , stringify ! ( activate_action_full ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRemoteActionGroupInterface > ( ) ) ) . change_action_state_full as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GRemoteActionGroupInterface ) , "::" , stringify ! ( change_action_state_full ) ) ) ; } extern "C" { pub fn g_remote_action_group_get_type ( ) -> GType ; } extern "C" { pub fn g_remote_action_group_activate_action_full ( remote : * mut GRemoteActionGroup , action_name : * const gchar , parameter : * mut GVariant , platform_data : * mut GVariant ) ; } extern "C" { pub fn g_remote_action_group_change_action_state_full ( remote : * mut GRemoteActionGroup , action_name : * const gchar , value : * mut GVariant , platform_data : * mut GVariant ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GResolverPrivate { _unused : [ u8 ; 0 ] , } pub type GResolverPrivate = _GResolverPrivate ; pub type GResolverClass = _GResolverClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GResolver { pub parent_instance : GObject , pub priv_ : * mut GResolverPrivate , } # [ test ] fn bindgen_test_layout__GResolver ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GResolver > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GResolver ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GResolver > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GResolver ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolver > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GResolver ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolver > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GResolver ) , "::" , stringify ! ( priv_ ) ) ) ; } pub const GResolverNameLookupFlags_G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT : GResolverNameLookupFlags = 0 ; pub const GResolverNameLookupFlags_G_RESOLVER_NAME_LOOKUP_FLAGS_IPV4_ONLY : GResolverNameLookupFlags = 1 ; pub const GResolverNameLookupFlags_G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY : GResolverNameLookupFlags = 2 ; pub type GResolverNameLookupFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GResolverClass { pub parent_class : GObjectClass , pub reload : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver ) > , pub lookup_by_name : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , hostname : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList > , pub lookup_by_name_async : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , hostname : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_by_name_finish : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList > , pub lookup_by_address : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , address : * mut GInetAddress , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut gchar > , pub lookup_by_address_async : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , address : * mut GInetAddress , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_by_address_finish : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut gchar > , pub lookup_service : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , rrname : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList > , pub lookup_service_async : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , rrname : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_service_finish : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList > , pub lookup_records : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , rrname : * const gchar , record_type : GResolverRecordType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList > , pub lookup_records_async : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , rrname : * const gchar , record_type : GResolverRecordType , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_records_finish : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList > , pub lookup_by_name_with_flags_async : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , hostname : * const gchar , flags : GResolverNameLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_by_name_with_flags_finish : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList > , pub lookup_by_name_with_flags : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , hostname : * const gchar , flags : GResolverNameLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList > , } # [ test ] fn bindgen_test_layout__GResolverClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GResolverClass > ( ) , 264usize , concat ! ( "Size of: " , stringify ! ( _GResolverClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GResolverClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GResolverClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . reload as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( reload ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_name as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_name_async as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_name_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_name_finish as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_name_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_address as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_address ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_address_async as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_address_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_address_finish as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_address_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_service as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_service ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_service_async as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_service_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_service_finish as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_service_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_records as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_records ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_records_async as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_records_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_records_finish as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_records_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_name_with_flags_async as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_name_with_flags_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_name_with_flags_finish as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_name_with_flags_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_name_with_flags as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_name_with_flags ) ) ) ; } extern "C" { pub fn g_resolver_get_type ( ) -> GType ; } extern "C" { pub fn g_resolver_get_default ( ) -> * mut GResolver ; } extern "C" { pub fn g_resolver_set_default ( resolver : * mut GResolver ) ; } extern "C" { pub fn g_resolver_lookup_by_name ( resolver : * mut GResolver , hostname : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_lookup_by_name_async ( resolver : * mut GResolver , hostname : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_resolver_lookup_by_name_finish ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_lookup_by_name_with_flags_async ( resolver : * mut GResolver , hostname : * const gchar , flags : GResolverNameLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_resolver_lookup_by_name_with_flags_finish ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_lookup_by_name_with_flags ( resolver : * mut GResolver , hostname : * const gchar , flags : GResolverNameLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_free_addresses ( addresses : * mut GList ) ; } extern "C" { pub fn g_resolver_lookup_by_address ( resolver : * mut GResolver , address : * mut GInetAddress , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_resolver_lookup_by_address_async ( resolver : * mut GResolver , address : * mut GInetAddress , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_resolver_lookup_by_address_finish ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_resolver_lookup_service ( resolver : * mut GResolver , service : * const gchar , protocol : * const gchar , domain : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_lookup_service_async ( resolver : * mut GResolver , service : * const gchar , protocol : * const gchar , domain : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_resolver_lookup_service_finish ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_lookup_records ( resolver : * mut GResolver , rrname : * const gchar , record_type : GResolverRecordType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_lookup_records_async ( resolver : * mut GResolver , rrname : * const gchar , record_type : GResolverRecordType , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_resolver_lookup_records_finish ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_free_targets ( targets : * mut GList ) ; } extern "C" { pub fn g_resolver_get_timeout ( resolver : * mut GResolver ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn g_resolver_set_timeout ( resolver : * mut GResolver , timeout_ms : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn g_resolver_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_resource_error_quark ( ) -> GQuark ; } pub type GStaticResource = _GStaticResource ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GStaticResource { pub data : * const guint8 , pub data_len : gsize , pub resource : * mut GResource , pub next : * mut GStaticResource , pub padding : gpointer , } # [ test ] fn bindgen_test_layout__GStaticResource ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GStaticResource > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GStaticResource ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GStaticResource > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GStaticResource ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticResource > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticResource ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticResource > ( ) ) ) . data_len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticResource ) , "::" , stringify ! ( data_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticResource > ( ) ) ) . resource as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticResource ) , "::" , stringify ! ( resource ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticResource > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticResource ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticResource > ( ) ) ) . padding as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticResource ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_resource_get_type ( ) -> GType ; } extern "C" { pub fn g_resource_new_from_data ( data : * mut GBytes , error : * mut * mut GError ) -> * mut GResource ; } extern "C" { pub fn g_resource_ref ( resource : * mut GResource ) -> * mut GResource ; } extern "C" { pub fn g_resource_unref ( resource : * mut GResource ) ; } extern "C" { pub fn g_resource_load ( filename : * const gchar , error : * mut * mut GError ) -> * mut GResource ; } extern "C" { pub fn g_resource_open_stream ( resource : * mut GResource , path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , error : * mut * mut GError ) -> * mut GInputStream ; } extern "C" { pub fn g_resource_lookup_data ( resource : * mut GResource , path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_resource_enumerate_children ( resource : * mut GResource , path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , error : * mut * mut GError ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_resource_get_info ( resource : * mut GResource , path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , size : * mut gsize , flags : * mut guint32 , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_resources_register ( resource : * mut GResource ) ; } extern "C" { pub fn g_resources_unregister ( resource : * mut GResource ) ; } extern "C" { pub fn g_resources_open_stream ( path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , error : * mut * mut GError ) -> * mut GInputStream ; } extern "C" { pub fn g_resources_lookup_data ( path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_resources_enumerate_children ( path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , error : * mut * mut GError ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_resources_get_info ( path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , size : * mut gsize , flags : * mut guint32 , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_static_resource_init ( static_resource : * mut GStaticResource ) ; } extern "C" { pub fn g_static_resource_fini ( static_resource : * mut GStaticResource ) ; } extern "C" { pub fn g_static_resource_get_resource ( static_resource : * mut GStaticResource ) -> * mut GResource ; } pub type GSeekableIface = _GSeekableIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSeekableIface { pub g_iface : GTypeInterface , pub tell : :: std :: option :: Option < unsafe extern "C" fn ( seekable : * mut GSeekable ) -> goffset > , pub can_seek : :: std :: option :: Option < unsafe extern "C" fn ( seekable : * mut GSeekable ) -> gboolean > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( seekable : * mut GSeekable , offset : goffset , type_ : GSeekType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub can_truncate : :: std :: option :: Option < unsafe extern "C" fn ( seekable : * mut GSeekable ) -> gboolean > , pub truncate_fn : :: std :: option :: Option < unsafe extern "C" fn ( seekable : * mut GSeekable , offset : goffset , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GSeekableIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSeekableIface > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GSeekableIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSeekableIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSeekableIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSeekableIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSeekableIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSeekableIface > ( ) ) ) . tell as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GSeekableIface ) , "::" , stringify ! ( tell ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSeekableIface > ( ) ) ) . can_seek as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSeekableIface ) , "::" , stringify ! ( can_seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSeekableIface > ( ) ) ) . seek as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSeekableIface ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSeekableIface > ( ) ) ) . can_truncate as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GSeekableIface ) , "::" , stringify ! ( can_truncate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSeekableIface > ( ) ) ) . truncate_fn as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GSeekableIface ) , "::" , stringify ! ( truncate_fn ) ) ) ; } extern "C" { pub fn g_seekable_get_type ( ) -> GType ; } extern "C" { pub fn g_seekable_tell ( seekable : * mut GSeekable ) -> goffset ; } extern "C" { pub fn g_seekable_can_seek ( seekable : * mut GSeekable ) -> gboolean ; } extern "C" { pub fn g_seekable_seek ( seekable : * mut GSeekable , offset : goffset , type_ : GSeekType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_seekable_can_truncate ( seekable : * mut GSeekable ) -> gboolean ; } extern "C" { pub fn g_seekable_truncate ( seekable : * mut GSeekable , offset : goffset , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettingsSchemaSource { _unused : [ u8 ; 0 ] , } pub type GSettingsSchemaSource = _GSettingsSchemaSource ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettingsSchema { _unused : [ u8 ; 0 ] , } pub type GSettingsSchema = _GSettingsSchema ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettingsSchemaKey { _unused : [ u8 ; 0 ] , } pub type GSettingsSchemaKey = _GSettingsSchemaKey ; extern "C" { pub fn g_settings_schema_source_get_type ( ) -> GType ; } extern "C" { pub fn g_settings_schema_source_get_default ( ) -> * mut GSettingsSchemaSource ; } extern "C" { pub fn g_settings_schema_source_ref ( source : * mut GSettingsSchemaSource ) -> * mut GSettingsSchemaSource ; } extern "C" { pub fn g_settings_schema_source_unref ( source : * mut GSettingsSchemaSource ) ; } extern "C" { pub fn g_settings_schema_source_new_from_directory ( directory : * const gchar , parent : * mut GSettingsSchemaSource , trusted : gboolean , error : * mut * mut GError ) -> * mut GSettingsSchemaSource ; } extern "C" { pub fn g_settings_schema_source_lookup ( source : * mut GSettingsSchemaSource , schema_id : * const gchar , recursive : gboolean ) -> * mut GSettingsSchema ; } extern "C" { pub fn g_settings_schema_source_list_schemas ( source : * mut GSettingsSchemaSource , recursive : gboolean , non_relocatable : * mut * mut * mut gchar , relocatable : * mut * mut * mut gchar ) ; } extern "C" { pub fn g_settings_schema_get_type ( ) -> GType ; } extern "C" { pub fn g_settings_schema_ref ( schema : * mut GSettingsSchema ) -> * mut GSettingsSchema ; } extern "C" { pub fn g_settings_schema_unref ( schema : * mut GSettingsSchema ) ; } extern "C" { pub fn g_settings_schema_get_id ( schema : * mut GSettingsSchema ) -> * const gchar ; } extern "C" { pub fn g_settings_schema_get_path ( schema : * mut GSettingsSchema ) -> * const gchar ; } extern "C" { pub fn g_settings_schema_get_key ( schema : * mut GSettingsSchema , name : * const gchar ) -> * mut GSettingsSchemaKey ; } extern "C" { pub fn g_settings_schema_has_key ( schema : * mut GSettingsSchema , name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_settings_schema_list_keys ( schema : * mut GSettingsSchema ) -> * mut * mut gchar ; } extern "C" { pub fn g_settings_schema_list_children ( schema : * mut GSettingsSchema ) -> * mut * mut gchar ; } extern "C" { pub fn g_settings_schema_key_get_type ( ) -> GType ; } extern "C" { pub fn g_settings_schema_key_ref ( key : * mut GSettingsSchemaKey ) -> * mut GSettingsSchemaKey ; } extern "C" { pub fn g_settings_schema_key_unref ( key : * mut GSettingsSchemaKey ) ; } extern "C" { pub fn g_settings_schema_key_get_value_type ( key : * mut GSettingsSchemaKey ) -> * const GVariantType ; } extern "C" { pub fn g_settings_schema_key_get_default_value ( key : * mut GSettingsSchemaKey ) -> * mut GVariant ; } extern "C" { pub fn g_settings_schema_key_get_range ( key : * mut GSettingsSchemaKey ) -> * mut GVariant ; } extern "C" { pub fn g_settings_schema_key_range_check ( key : * mut GSettingsSchemaKey , value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_settings_schema_key_get_name ( key : * mut GSettingsSchemaKey ) -> * const gchar ; } extern "C" { pub fn g_settings_schema_key_get_summary ( key : * mut GSettingsSchemaKey ) -> * const gchar ; } extern "C" { pub fn g_settings_schema_key_get_description ( key : * mut GSettingsSchemaKey ) -> * const gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettingsPrivate { _unused : [ u8 ; 0 ] , } pub type GSettingsPrivate = _GSettingsPrivate ; pub type GSettingsClass = _GSettingsClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettingsClass { pub parent_class : GObjectClass , pub writable_changed : :: std :: option :: Option < unsafe extern "C" fn ( settings : * mut GSettings , key : * const gchar ) > , pub changed : :: std :: option :: Option < unsafe extern "C" fn ( settings : * mut GSettings , key : * const gchar ) > , pub writable_change_event : :: std :: option :: Option < unsafe extern "C" fn ( settings : * mut GSettings , key : GQuark ) -> gboolean > , pub change_event : :: std :: option :: Option < unsafe extern "C" fn ( settings : * mut GSettings , keys : * const GQuark , n_keys : gint ) -> gboolean > , pub padding : [ gpointer ; 20usize ] , } # [ test ] fn bindgen_test_layout__GSettingsClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSettingsClass > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( _GSettingsClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSettingsClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSettingsClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettingsClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSettingsClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettingsClass > ( ) ) ) . writable_changed as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSettingsClass ) , "::" , stringify ! ( writable_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettingsClass > ( ) ) ) . changed as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSettingsClass ) , "::" , stringify ! ( changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettingsClass > ( ) ) ) . writable_change_event as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSettingsClass ) , "::" , stringify ! ( writable_change_event ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettingsClass > ( ) ) ) . change_event as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GSettingsClass ) , "::" , stringify ! ( change_event ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettingsClass > ( ) ) ) . padding as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GSettingsClass ) , "::" , stringify ! ( padding ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettings { pub parent_instance : GObject , pub priv_ : * mut GSettingsPrivate , } # [ test ] fn bindgen_test_layout__GSettings ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSettings > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSettings ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSettings > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSettings ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettings > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSettings ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettings > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSettings ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_settings_get_type ( ) -> GType ; } extern "C" { pub fn g_settings_list_schemas ( ) -> * const * const gchar ; } extern "C" { pub fn g_settings_list_relocatable_schemas ( ) -> * const * const gchar ; } extern "C" { pub fn g_settings_new ( schema_id : * const gchar ) -> * mut GSettings ; } extern "C" { pub fn g_settings_new_with_path ( schema_id : * const gchar , path : * const gchar ) -> * mut GSettings ; } extern "C" { pub fn g_settings_new_with_backend ( schema_id : * const gchar , backend : * mut GSettingsBackend ) -> * mut GSettings ; } extern "C" { pub fn g_settings_new_with_backend_and_path ( schema_id : * const gchar , backend : * mut GSettingsBackend , path : * const gchar ) -> * mut GSettings ; } extern "C" { pub fn g_settings_new_full ( schema : * mut GSettingsSchema , backend : * mut GSettingsBackend , path : * const gchar ) -> * mut GSettings ; } extern "C" { pub fn g_settings_list_children ( settings : * mut GSettings ) -> * mut * mut gchar ; } extern "C" { pub fn g_settings_list_keys ( settings : * mut GSettings ) -> * mut * mut gchar ; } extern "C" { pub fn g_settings_get_range ( settings : * mut GSettings , key : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_settings_range_check ( settings : * mut GSettings , key : * const gchar , value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_settings_set_value ( settings : * mut GSettings , key : * const gchar , value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_settings_get_value ( settings : * mut GSettings , key : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_settings_get_user_value ( settings : * mut GSettings , key : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_settings_get_default_value ( settings : * mut GSettings , key : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_settings_set ( settings : * mut GSettings , key : * const gchar , format : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_settings_get ( settings : * mut GSettings , key : * const gchar , format : * const gchar , ... ) ; } extern "C" { pub fn g_settings_reset ( settings : * mut GSettings , key : * const gchar ) ; } extern "C" { pub fn g_settings_get_int ( settings : * mut GSettings , key : * const gchar ) -> gint ; } extern "C" { pub fn g_settings_set_int ( settings : * mut GSettings , key : * const gchar , value : gint ) -> gboolean ; } extern "C" { pub fn g_settings_get_int64 ( settings : * mut GSettings , key : * const gchar ) -> gint64 ; } extern "C" { pub fn g_settings_set_int64 ( settings : * mut GSettings , key : * const gchar , value : gint64 ) -> gboolean ; } extern "C" { pub fn g_settings_get_uint ( settings : * mut GSettings , key : * const gchar ) -> guint ; } extern "C" { pub fn g_settings_set_uint ( settings : * mut GSettings , key : * const gchar , value : guint ) -> gboolean ; } extern "C" { pub fn g_settings_get_uint64 ( settings : * mut GSettings , key : * const gchar ) -> guint64 ; } extern "C" { pub fn g_settings_set_uint64 ( settings : * mut GSettings , key : * const gchar , value : guint64 ) -> gboolean ; } extern "C" { pub fn g_settings_get_string ( settings : * mut GSettings , key : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_settings_set_string ( settings : * mut GSettings , key : * const gchar , value : * const gchar ) -> gboolean ; } extern "C" { pub fn g_settings_get_boolean ( settings : * mut GSettings , key : * const gchar ) -> gboolean ; } extern "C" { pub fn g_settings_set_boolean ( settings : * mut GSettings , key : * const gchar , value : gboolean ) -> gboolean ; } extern "C" { pub fn g_settings_get_double ( settings : * mut GSettings , key : * const gchar ) -> gdouble ; } extern "C" { pub fn g_settings_set_double ( settings : * mut GSettings , key : * const gchar , value : gdouble ) -> gboolean ; } extern "C" { pub fn g_settings_get_strv ( settings : * mut GSettings , key : * const gchar ) -> * mut * mut gchar ; } extern "C" { pub fn g_settings_set_strv ( settings : * mut GSettings , key : * const gchar , value : * const * const gchar ) -> gboolean ; } extern "C" { pub fn g_settings_get_enum ( settings : * mut GSettings , key : * const gchar ) -> gint ; } extern "C" { pub fn g_settings_set_enum ( settings : * mut GSettings , key : * const gchar , value : gint ) -> gboolean ; } extern "C" { pub fn g_settings_get_flags ( settings : * mut GSettings , key : * const gchar ) -> guint ; } extern "C" { pub fn g_settings_set_flags ( settings : * mut GSettings , key : * const gchar , value : guint ) -> gboolean ; } extern "C" { pub fn g_settings_get_child ( settings : * mut GSettings , name : * const gchar ) -> * mut GSettings ; } extern "C" { pub fn g_settings_is_writable ( settings : * mut GSettings , name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_settings_delay ( settings : * mut GSettings ) ; } extern "C" { pub fn g_settings_apply ( settings : * mut GSettings ) ; } extern "C" { pub fn g_settings_revert ( settings : * mut GSettings ) ; } extern "C" { pub fn g_settings_get_has_unapplied ( settings : * mut GSettings ) -> gboolean ; } extern "C" { pub fn g_settings_sync ( ) ; } pub type GSettingsBindSetMapping = :: std :: option :: Option < unsafe extern "C" fn ( value : * const GValue , expected_type : * const GVariantType , user_data : gpointer ) -> * mut GVariant > ; pub type GSettingsBindGetMapping = :: std :: option :: Option < unsafe extern "C" fn ( value : * mut GValue , variant : * mut GVariant , user_data : gpointer ) -> gboolean > ; pub type GSettingsGetMapping = :: std :: option :: Option < unsafe extern "C" fn ( value : * mut GVariant , result : * mut gpointer , user_data : gpointer ) -> gboolean > ; pub const GSettingsBindFlags_G_SETTINGS_BIND_DEFAULT : GSettingsBindFlags = 0 ; pub const GSettingsBindFlags_G_SETTINGS_BIND_GET : GSettingsBindFlags = 1 ; pub const GSettingsBindFlags_G_SETTINGS_BIND_SET : GSettingsBindFlags = 2 ; pub const GSettingsBindFlags_G_SETTINGS_BIND_NO_SENSITIVITY : GSettingsBindFlags = 4 ; pub const GSettingsBindFlags_G_SETTINGS_BIND_GET_NO_CHANGES : GSettingsBindFlags = 8 ; pub const GSettingsBindFlags_G_SETTINGS_BIND_INVERT_BOOLEAN : GSettingsBindFlags = 16 ; pub type GSettingsBindFlags = u32 ; extern "C" { pub fn g_settings_bind ( settings : * mut GSettings , key : * const gchar , object : gpointer , property : * const gchar , flags : GSettingsBindFlags ) ; } extern "C" { pub fn g_settings_bind_with_mapping ( settings : * mut GSettings , key : * const gchar , object : gpointer , property : * const gchar , flags : GSettingsBindFlags , get_mapping : GSettingsBindGetMapping , set_mapping : GSettingsBindSetMapping , user_data : gpointer , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_settings_bind_writable ( settings : * mut GSettings , key : * const gchar , object : gpointer , property : * const gchar , inverted : gboolean ) ; } extern "C" { pub fn g_settings_unbind ( object : gpointer , property : * const gchar ) ; } extern "C" { pub fn g_settings_create_action ( settings : * mut GSettings , key : * const gchar ) -> * mut GAction ; } extern "C" { pub fn g_settings_get_mapped ( settings : * mut GSettings , key : * const gchar , mapping : GSettingsGetMapping , user_data : gpointer ) -> gpointer ; } extern "C" { pub fn g_simple_action_get_type ( ) -> GType ; } extern "C" { pub fn g_simple_action_new ( name : * const gchar , parameter_type : * const GVariantType ) -> * mut GSimpleAction ; } extern "C" { pub fn g_simple_action_new_stateful ( name : * const gchar , parameter_type : * const GVariantType , state : * mut GVariant ) -> * mut GSimpleAction ; } extern "C" { pub fn g_simple_action_set_enabled ( simple : * mut GSimpleAction , enabled : gboolean ) ; } extern "C" { pub fn g_simple_action_set_state ( simple : * mut GSimpleAction , value : * mut GVariant ) ; } extern "C" { pub fn g_simple_action_set_state_hint ( simple : * mut GSimpleAction , state_hint : * mut GVariant ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleActionGroupPrivate { _unused : [ u8 ; 0 ] , } pub type GSimpleActionGroupPrivate = _GSimpleActionGroupPrivate ; pub type GSimpleActionGroupClass = _GSimpleActionGroupClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleActionGroup { pub parent_instance : GObject , pub priv_ : * mut GSimpleActionGroupPrivate , } # [ test ] fn bindgen_test_layout__GSimpleActionGroup ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSimpleActionGroup > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSimpleActionGroup ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSimpleActionGroup > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSimpleActionGroup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleActionGroup > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleActionGroup ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleActionGroup > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleActionGroup ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleActionGroupClass { pub parent_class : GObjectClass , pub padding : [ gpointer ; 12usize ] , } # [ test ] fn bindgen_test_layout__GSimpleActionGroupClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSimpleActionGroupClass > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( _GSimpleActionGroupClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSimpleActionGroupClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSimpleActionGroupClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleActionGroupClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleActionGroupClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleActionGroupClass > ( ) ) ) . padding as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleActionGroupClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_simple_action_group_get_type ( ) -> GType ; } extern "C" { pub fn g_simple_action_group_new ( ) -> * mut GSimpleActionGroup ; } extern "C" { pub fn g_simple_action_group_lookup ( simple : * mut GSimpleActionGroup , action_name : * const gchar ) -> * mut GAction ; } extern "C" { pub fn g_simple_action_group_insert ( simple : * mut GSimpleActionGroup , action : * mut GAction ) ; } extern "C" { pub fn g_simple_action_group_remove ( simple : * mut GSimpleActionGroup , action_name : * const gchar ) ; } extern "C" { pub fn g_simple_action_group_add_entries ( simple : * mut GSimpleActionGroup , entries : * const GActionEntry , n_entries : gint , user_data : gpointer ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleAsyncResultClass { _unused : [ u8 ; 0 ] , } pub type GSimpleAsyncResultClass = _GSimpleAsyncResultClass ; extern "C" { pub fn g_simple_async_result_get_type ( ) -> GType ; } extern "C" { pub fn g_simple_async_result_new ( source_object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , source_tag : gpointer ) -> * mut GSimpleAsyncResult ; } extern "C" { pub fn g_simple_async_result_new_error ( source_object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , domain : GQuark , code : gint , format : * const :: std :: os :: raw :: c_char , ... ) -> * mut GSimpleAsyncResult ; } extern "C" { pub fn g_simple_async_result_new_from_error ( source_object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , error : * const GError ) -> * mut GSimpleAsyncResult ; } extern "C" { pub fn g_simple_async_result_new_take_error ( source_object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , error : * mut GError ) -> * mut GSimpleAsyncResult ; } extern "C" { pub fn g_simple_async_result_set_op_res_gpointer ( simple : * mut GSimpleAsyncResult , op_res : gpointer , destroy_op_res : GDestroyNotify ) ; } extern "C" { pub fn g_simple_async_result_get_op_res_gpointer ( simple : * mut GSimpleAsyncResult ) -> gpointer ; } extern "C" { pub fn g_simple_async_result_set_op_res_gssize ( simple : * mut GSimpleAsyncResult , op_res : gssize ) ; } extern "C" { pub fn g_simple_async_result_get_op_res_gssize ( simple : * mut GSimpleAsyncResult ) -> gssize ; } extern "C" { pub fn g_simple_async_result_set_op_res_gboolean ( simple : * mut GSimpleAsyncResult , op_res : gboolean ) ; } extern "C" { pub fn g_simple_async_result_get_op_res_gboolean ( simple : * mut GSimpleAsyncResult ) -> gboolean ; } extern "C" { pub fn g_simple_async_result_set_check_cancellable ( simple : * mut GSimpleAsyncResult , check_cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_simple_async_result_get_source_tag ( simple : * mut GSimpleAsyncResult ) -> gpointer ; } extern "C" { pub fn g_simple_async_result_set_handle_cancellation ( simple : * mut GSimpleAsyncResult , handle_cancellation : gboolean ) ; } extern "C" { pub fn g_simple_async_result_complete ( simple : * mut GSimpleAsyncResult ) ; } extern "C" { pub fn g_simple_async_result_complete_in_idle ( simple : * mut GSimpleAsyncResult ) ; } extern "C" { pub fn g_simple_async_result_run_in_thread ( simple : * mut GSimpleAsyncResult , func : GSimpleAsyncThreadFunc , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_simple_async_result_set_from_error ( simple : * mut GSimpleAsyncResult , error : * const GError ) ; } extern "C" { pub fn g_simple_async_result_take_error ( simple : * mut GSimpleAsyncResult , error : * mut GError ) ; } extern "C" { pub fn g_simple_async_result_propagate_error ( simple : * mut GSimpleAsyncResult , dest : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_simple_async_result_set_error ( simple : * mut GSimpleAsyncResult , domain : GQuark , code : gint , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_simple_async_result_set_error_va ( simple : * mut GSimpleAsyncResult , domain : GQuark , code : gint , format : * const :: std :: os :: raw :: c_char , args : * mut __va_list_tag ) ; } extern "C" { pub fn g_simple_async_result_is_valid ( result : * mut GAsyncResult , source : * mut GObject , source_tag : gpointer ) -> gboolean ; } extern "C" { pub fn g_simple_async_report_error_in_idle ( object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , domain : GQuark , code : gint , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_simple_async_report_gerror_in_idle ( object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , error : * const GError ) ; } extern "C" { pub fn g_simple_async_report_take_gerror_in_idle ( object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , error : * mut GError ) ; } extern "C" { pub fn g_simple_io_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_simple_io_stream_new ( input_stream : * mut GInputStream , output_stream : * mut GOutputStream ) -> * mut GIOStream ; } extern "C" { pub fn g_simple_permission_get_type ( ) -> GType ; } extern "C" { pub fn g_simple_permission_new ( allowed : gboolean ) -> * mut GPermission ; } pub type GSimpleProxyResolver = _GSimpleProxyResolver ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleProxyResolverPrivate { _unused : [ u8 ; 0 ] , } pub type GSimpleProxyResolverPrivate = _GSimpleProxyResolverPrivate ; pub type GSimpleProxyResolverClass = _GSimpleProxyResolverClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleProxyResolver { pub parent_instance : GObject , pub priv_ : * mut GSimpleProxyResolverPrivate , } # [ test ] fn bindgen_test_layout__GSimpleProxyResolver ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSimpleProxyResolver > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSimpleProxyResolver ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSimpleProxyResolver > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSimpleProxyResolver ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolver > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolver ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolver > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolver ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleProxyResolverClass { pub parent_class : GObjectClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSimpleProxyResolverClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSimpleProxyResolverClass > ( ) , 176usize , concat ! ( "Size of: " , stringify ! ( _GSimpleProxyResolverClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSimpleProxyResolverClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSimpleProxyResolverClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolverClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolverClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolverClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolverClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolverClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolverClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolverClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolverClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolverClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolverClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolverClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolverClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_simple_proxy_resolver_get_type ( ) -> GType ; } extern "C" { pub fn g_simple_proxy_resolver_new ( default_proxy : * const gchar , ignore_hosts : * mut * mut gchar ) -> * mut GProxyResolver ; } extern "C" { pub fn g_simple_proxy_resolver_set_default_proxy ( resolver : * mut GSimpleProxyResolver , default_proxy : * const gchar ) ; } extern "C" { pub fn g_simple_proxy_resolver_set_ignore_hosts ( resolver : * mut GSimpleProxyResolver , ignore_hosts : * mut * mut gchar ) ; } extern "C" { pub fn g_simple_proxy_resolver_set_uri_proxy ( resolver : * mut GSimpleProxyResolver , uri_scheme : * const gchar , proxy : * const gchar ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketPrivate { _unused : [ u8 ; 0 ] , } pub type GSocketPrivate = _GSocketPrivate ; pub type GSocketClass = _GSocketClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketClass { pub parent_class : GObjectClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved7 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved8 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved9 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved10 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSocketClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketClass > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _GSocketClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved7 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved7 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved8 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved8 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved9 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved9 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved10 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved10 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocket { pub parent_instance : GObject , pub priv_ : * mut GSocketPrivate , } # [ test ] fn bindgen_test_layout__GSocket ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocket > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSocket ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocket > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocket ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocket > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocket ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocket > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSocket ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_socket_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_new ( family : GSocketFamily , type_ : GSocketType , protocol : GSocketProtocol , error : * mut * mut GError ) -> * mut GSocket ; } extern "C" { pub fn g_socket_new_from_fd ( fd : gint , error : * mut * mut GError ) -> * mut GSocket ; } extern "C" { pub fn g_socket_get_fd ( socket : * mut GSocket ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_socket_get_family ( socket : * mut GSocket ) -> GSocketFamily ; } extern "C" { pub fn g_socket_get_socket_type ( socket : * mut GSocket ) -> GSocketType ; } extern "C" { pub fn g_socket_get_protocol ( socket : * mut GSocket ) -> GSocketProtocol ; } extern "C" { pub fn g_socket_get_local_address ( socket : * mut GSocket , error : * mut * mut GError ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_get_remote_address ( socket : * mut GSocket , error : * mut * mut GError ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_set_blocking ( socket : * mut GSocket , blocking : gboolean ) ; } extern "C" { pub fn g_socket_get_blocking ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_set_keepalive ( socket : * mut GSocket , keepalive : gboolean ) ; } extern "C" { pub fn g_socket_get_keepalive ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_get_listen_backlog ( socket : * mut GSocket ) -> gint ; } extern "C" { pub fn g_socket_set_listen_backlog ( socket : * mut GSocket , backlog : gint ) ; } extern "C" { pub fn g_socket_get_timeout ( socket : * mut GSocket ) -> guint ; } extern "C" { pub fn g_socket_set_timeout ( socket : * mut GSocket , timeout : guint ) ; } extern "C" { pub fn g_socket_get_ttl ( socket : * mut GSocket ) -> guint ; } extern "C" { pub fn g_socket_set_ttl ( socket : * mut GSocket , ttl : guint ) ; } extern "C" { pub fn g_socket_get_broadcast ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_set_broadcast ( socket : * mut GSocket , broadcast : gboolean ) ; } extern "C" { pub fn g_socket_get_multicast_loopback ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_set_multicast_loopback ( socket : * mut GSocket , loopback : gboolean ) ; } extern "C" { pub fn g_socket_get_multicast_ttl ( socket : * mut GSocket ) -> guint ; } extern "C" { pub fn g_socket_set_multicast_ttl ( socket : * mut GSocket , ttl : guint ) ; } extern "C" { pub fn g_socket_is_connected ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_bind ( socket : * mut GSocket , address : * mut GSocketAddress , allow_reuse : gboolean , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_join_multicast_group ( socket : * mut GSocket , group : * mut GInetAddress , source_specific : gboolean , iface : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_leave_multicast_group ( socket : * mut GSocket , group : * mut GInetAddress , source_specific : gboolean , iface : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_join_multicast_group_ssm ( socket : * mut GSocket , group : * mut GInetAddress , source_specific : * mut GInetAddress , iface : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_leave_multicast_group_ssm ( socket : * mut GSocket , group : * mut GInetAddress , source_specific : * mut GInetAddress , iface : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_connect ( socket : * mut GSocket , address : * mut GSocketAddress , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_check_connect_result ( socket : * mut GSocket , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_get_available_bytes ( socket : * mut GSocket ) -> gssize ; } extern "C" { pub fn g_socket_condition_check ( socket : * mut GSocket , condition : GIOCondition ) -> GIOCondition ; } extern "C" { pub fn g_socket_condition_wait ( socket : * mut GSocket , condition : GIOCondition , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_condition_timed_wait ( socket : * mut GSocket , condition : GIOCondition , timeout_us : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_accept ( socket : * mut GSocket , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocket ; } extern "C" { pub fn g_socket_listen ( socket : * mut GSocket , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_receive ( socket : * mut GSocket , buffer : * mut gchar , size : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_receive_bytes ( socket : * mut GSocket , size : gsize , timeout_us : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_socket_receive_from ( socket : * mut GSocket , address : * mut * mut GSocketAddress , buffer : * mut gchar , size : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_receive_bytes_from ( socket : * mut GSocket , address : * mut * mut GSocketAddress , size : gsize , timeout_us : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_socket_send ( socket : * mut GSocket , buffer : * const gchar , size : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_send_to ( socket : * mut GSocket , address : * mut GSocketAddress , buffer : * const gchar , size : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_receive_message ( socket : * mut GSocket , address : * mut * mut GSocketAddress , vectors : * mut GInputVector , num_vectors : gint , messages : * mut * mut * mut GSocketControlMessage , num_messages : * mut gint , flags : * mut gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_send_message ( socket : * mut GSocket , address : * mut GSocketAddress , vectors : * mut GOutputVector , num_vectors : gint , messages : * mut * mut GSocketControlMessage , num_messages : gint , flags : gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_receive_messages ( socket : * mut GSocket , messages : * mut GInputMessage , num_messages : guint , flags : gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_socket_send_messages ( socket : * mut GSocket , messages : * mut GOutputMessage , num_messages : guint , flags : gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_socket_close ( socket : * mut GSocket , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_shutdown ( socket : * mut GSocket , shutdown_read : gboolean , shutdown_write : gboolean , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_is_closed ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_create_source ( socket : * mut GSocket , condition : GIOCondition , cancellable : * mut GCancellable ) -> * mut GSource ; } extern "C" { pub fn g_socket_speaks_ipv4 ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_get_credentials ( socket : * mut GSocket , error : * mut * mut GError ) -> * mut GCredentials ; } extern "C" { pub fn g_socket_receive_with_blocking ( socket : * mut GSocket , buffer : * mut gchar , size : gsize , blocking : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_send_with_blocking ( socket : * mut GSocket , buffer : * const gchar , size : gsize , blocking : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_send_message_with_timeout ( socket : * mut GSocket , address : * mut GSocketAddress , vectors : * const GOutputVector , num_vectors : gint , messages : * mut * mut GSocketControlMessage , num_messages : gint , flags : gint , timeout_us : gint64 , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GPollableReturn ; } extern "C" { pub fn g_socket_get_option ( socket : * mut GSocket , level : gint , optname : gint , value : * mut gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_set_option ( socket : * mut GSocket , level : gint , optname : gint , value : gint , error : * mut * mut GError ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketClientPrivate { _unused : [ u8 ; 0 ] , } pub type GSocketClientPrivate = _GSocketClientPrivate ; pub type GSocketClientClass = _GSocketClientClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketClientClass { pub parent_class : GObjectClass , pub event : :: std :: option :: Option < unsafe extern "C" fn ( client : * mut GSocketClient , event : GSocketClientEvent , connectable : * mut GSocketConnectable , connection : * mut GIOStream ) > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSocketClientClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketClientClass > ( ) , 176usize , concat ! ( "Size of: " , stringify ! ( _GSocketClientClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketClientClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketClientClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClientClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClientClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClientClass > ( ) ) ) . event as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClientClass ) , "::" , stringify ! ( event ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClientClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClientClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClientClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClientClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClientClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClientClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClientClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClientClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketClient { pub parent_instance : GObject , pub priv_ : * mut GSocketClientPrivate , } # [ test ] fn bindgen_test_layout__GSocketClient ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketClient > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSocketClient ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketClient > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketClient ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClient > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClient ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClient > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClient ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_socket_client_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_client_new ( ) -> * mut GSocketClient ; } extern "C" { pub fn g_socket_client_get_family ( client : * mut GSocketClient ) -> GSocketFamily ; } extern "C" { pub fn g_socket_client_set_family ( client : * mut GSocketClient , family : GSocketFamily ) ; } extern "C" { pub fn g_socket_client_get_socket_type ( client : * mut GSocketClient ) -> GSocketType ; } extern "C" { pub fn g_socket_client_set_socket_type ( client : * mut GSocketClient , type_ : GSocketType ) ; } extern "C" { pub fn g_socket_client_get_protocol ( client : * mut GSocketClient ) -> GSocketProtocol ; } extern "C" { pub fn g_socket_client_set_protocol ( client : * mut GSocketClient , protocol : GSocketProtocol ) ; } extern "C" { pub fn g_socket_client_get_local_address ( client : * mut GSocketClient ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_client_set_local_address ( client : * mut GSocketClient , address : * mut GSocketAddress ) ; } extern "C" { pub fn g_socket_client_get_timeout ( client : * mut GSocketClient ) -> guint ; } extern "C" { pub fn g_socket_client_set_timeout ( client : * mut GSocketClient , timeout : guint ) ; } extern "C" { pub fn g_socket_client_get_enable_proxy ( client : * mut GSocketClient ) -> gboolean ; } extern "C" { pub fn g_socket_client_set_enable_proxy ( client : * mut GSocketClient , enable : gboolean ) ; } extern "C" { pub fn g_socket_client_get_tls ( client : * mut GSocketClient ) -> gboolean ; } extern "C" { pub fn g_socket_client_set_tls ( client : * mut GSocketClient , tls : gboolean ) ; } extern "C" { pub fn g_socket_client_get_tls_validation_flags ( client : * mut GSocketClient ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_socket_client_set_tls_validation_flags ( client : * mut GSocketClient , flags : GTlsCertificateFlags ) ; } extern "C" { pub fn g_socket_client_get_proxy_resolver ( client : * mut GSocketClient ) -> * mut GProxyResolver ; } extern "C" { pub fn g_socket_client_set_proxy_resolver ( client : * mut GSocketClient , proxy_resolver : * mut GProxyResolver ) ; } extern "C" { pub fn g_socket_client_connect ( client : * mut GSocketClient , connectable : * mut GSocketConnectable , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_to_host ( client : * mut GSocketClient , host_and_port : * const gchar , default_port : guint16 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_to_service ( client : * mut GSocketClient , domain : * const gchar , service : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_to_uri ( client : * mut GSocketClient , uri : * const gchar , default_port : guint16 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_async ( client : * mut GSocketClient , connectable : * mut GSocketConnectable , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_client_connect_finish ( client : * mut GSocketClient , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_to_host_async ( client : * mut GSocketClient , host_and_port : * const gchar , default_port : guint16 , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_client_connect_to_host_finish ( client : * mut GSocketClient , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_to_service_async ( client : * mut GSocketClient , domain : * const gchar , service : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_client_connect_to_service_finish ( client : * mut GSocketClient , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_to_uri_async ( client : * mut GSocketClient , uri : * const gchar , default_port : guint16 , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_client_connect_to_uri_finish ( client : * mut GSocketClient , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_add_application_proxy ( client : * mut GSocketClient , protocol : * const gchar ) ; } pub type GSocketConnectableIface = _GSocketConnectableIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketConnectableIface { pub g_iface : GTypeInterface , pub enumerate : :: std :: option :: Option < unsafe extern "C" fn ( connectable : * mut GSocketConnectable ) -> * mut GSocketAddressEnumerator > , pub proxy_enumerate : :: std :: option :: Option < unsafe extern "C" fn ( connectable : * mut GSocketConnectable ) -> * mut GSocketAddressEnumerator > , pub to_string : :: std :: option :: Option < unsafe extern "C" fn ( connectable : * mut GSocketConnectable ) -> * mut gchar > , } # [ test ] fn bindgen_test_layout__GSocketConnectableIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketConnectableIface > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GSocketConnectableIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketConnectableIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketConnectableIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectableIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectableIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectableIface > ( ) ) ) . enumerate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectableIface ) , "::" , stringify ! ( enumerate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectableIface > ( ) ) ) . proxy_enumerate as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectableIface ) , "::" , stringify ! ( proxy_enumerate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectableIface > ( ) ) ) . to_string as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectableIface ) , "::" , stringify ! ( to_string ) ) ) ; } extern "C" { pub fn g_socket_connectable_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_connectable_enumerate ( connectable : * mut GSocketConnectable ) -> * mut GSocketAddressEnumerator ; } extern "C" { pub fn g_socket_connectable_proxy_enumerate ( connectable : * mut GSocketConnectable ) -> * mut GSocketAddressEnumerator ; } extern "C" { pub fn g_socket_connectable_to_string ( connectable : * mut GSocketConnectable ) -> * mut gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketConnectionPrivate { _unused : [ u8 ; 0 ] , } pub type GSocketConnectionPrivate = _GSocketConnectionPrivate ; pub type GSocketConnectionClass = _GSocketConnectionClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketConnectionClass { pub parent_class : GIOStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSocketConnectionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketConnectionClass > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( _GSocketConnectionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketConnectionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketConnectionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketConnection { pub parent_instance : GIOStream , pub priv_ : * mut GSocketConnectionPrivate , } # [ test ] fn bindgen_test_layout__GSocketConnection ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketConnection > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GSocketConnection ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketConnection > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketConnection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnection > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnection ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnection > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnection ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_socket_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_connection_is_connected ( connection : * mut GSocketConnection ) -> gboolean ; } extern "C" { pub fn g_socket_connection_connect ( connection : * mut GSocketConnection , address : * mut GSocketAddress , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_connection_connect_async ( connection : * mut GSocketConnection , address : * mut GSocketAddress , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_connection_connect_finish ( connection : * mut GSocketConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_connection_get_socket ( connection : * mut GSocketConnection ) -> * mut GSocket ; } extern "C" { pub fn g_socket_connection_get_local_address ( connection : * mut GSocketConnection , error : * mut * mut GError ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_connection_get_remote_address ( connection : * mut GSocketConnection , error : * mut * mut GError ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_connection_factory_register_type ( g_type : GType , family : GSocketFamily , type_ : GSocketType , protocol : gint ) ; } extern "C" { pub fn g_socket_connection_factory_lookup_type ( family : GSocketFamily , type_ : GSocketType , protocol_id : gint ) -> GType ; } extern "C" { pub fn g_socket_connection_factory_create_connection ( socket : * mut GSocket ) -> * mut GSocketConnection ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketControlMessagePrivate { _unused : [ u8 ; 0 ] , } pub type GSocketControlMessagePrivate = _GSocketControlMessagePrivate ; pub type GSocketControlMessageClass = _GSocketControlMessageClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketControlMessageClass { pub parent_class : GObjectClass , pub get_size : :: std :: option :: Option < unsafe extern "C" fn ( message : * mut GSocketControlMessage ) -> gsize > , pub get_level : :: std :: option :: Option < unsafe extern "C" fn ( message : * mut GSocketControlMessage ) -> :: std :: os :: raw :: c_int > , pub get_type : :: std :: option :: Option < unsafe extern "C" fn ( message : * mut GSocketControlMessage ) -> :: std :: os :: raw :: c_int > , pub serialize : :: std :: option :: Option < unsafe extern "C" fn ( message : * mut GSocketControlMessage , data : gpointer ) > , pub deserialize : :: std :: option :: Option < unsafe extern "C" fn ( level : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int , size : gsize , data : gpointer ) -> * mut GSocketControlMessage > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSocketControlMessageClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketControlMessageClass > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _GSocketControlMessageClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketControlMessageClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketControlMessageClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . get_size as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( get_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . get_level as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( get_level ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . get_type as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( get_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . serialize as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( serialize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . deserialize as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( deserialize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketControlMessage { pub parent_instance : GObject , pub priv_ : * mut GSocketControlMessagePrivate , } # [ test ] fn bindgen_test_layout__GSocketControlMessage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketControlMessage > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSocketControlMessage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketControlMessage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketControlMessage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessage > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessage ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessage > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessage ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_socket_control_message_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_control_message_get_size ( message : * mut GSocketControlMessage ) -> gsize ; } extern "C" { pub fn g_socket_control_message_get_level ( message : * mut GSocketControlMessage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_socket_control_message_get_msg_type ( message : * mut GSocketControlMessage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_socket_control_message_serialize ( message : * mut GSocketControlMessage , data : gpointer ) ; } extern "C" { pub fn g_socket_control_message_deserialize ( level : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int , size : gsize , data : gpointer ) -> * mut GSocketControlMessage ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketListenerPrivate { _unused : [ u8 ; 0 ] , } pub type GSocketListenerPrivate = _GSocketListenerPrivate ; pub type GSocketListenerClass = _GSocketListenerClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketListenerClass { pub parent_class : GObjectClass , pub changed : :: std :: option :: Option < unsafe extern "C" fn ( listener : * mut GSocketListener ) > , pub event : :: std :: option :: Option < unsafe extern "C" fn ( listener : * mut GSocketListener , event : GSocketListenerEvent , socket : * mut GSocket ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSocketListenerClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketListenerClass > ( ) , 192usize , concat ! ( "Size of: " , stringify ! ( _GSocketListenerClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketListenerClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketListenerClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . changed as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . event as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( event ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketListener { pub parent_instance : GObject , pub priv_ : * mut GSocketListenerPrivate , } # [ test ] fn bindgen_test_layout__GSocketListener ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketListener > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSocketListener ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketListener > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketListener ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListener > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListener ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListener > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListener ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_socket_listener_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_listener_new ( ) -> * mut GSocketListener ; } extern "C" { pub fn g_socket_listener_set_backlog ( listener : * mut GSocketListener , listen_backlog : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn g_socket_listener_add_socket ( listener : * mut GSocketListener , socket : * mut GSocket , source_object : * mut GObject , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_listener_add_address ( listener : * mut GSocketListener , address : * mut GSocketAddress , type_ : GSocketType , protocol : GSocketProtocol , source_object : * mut GObject , effective_address : * mut * mut GSocketAddress , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_listener_add_inet_port ( listener : * mut GSocketListener , port : guint16 , source_object : * mut GObject , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_listener_add_any_inet_port ( listener : * mut GSocketListener , source_object : * mut GObject , error : * mut * mut GError ) -> guint16 ; } extern "C" { pub fn g_socket_listener_accept_socket ( listener : * mut GSocketListener , source_object : * mut * mut GObject , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocket ; } extern "C" { pub fn g_socket_listener_accept_socket_async ( listener : * mut GSocketListener , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_listener_accept_socket_finish ( listener : * mut GSocketListener , result : * mut GAsyncResult , source_object : * mut * mut GObject , error : * mut * mut GError ) -> * mut GSocket ; } extern "C" { pub fn g_socket_listener_accept ( listener : * mut GSocketListener , source_object : * mut * mut GObject , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_listener_accept_async ( listener : * mut GSocketListener , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_listener_accept_finish ( listener : * mut GSocketListener , result : * mut GAsyncResult , source_object : * mut * mut GObject , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_listener_close ( listener : * mut GSocketListener ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketServicePrivate { _unused : [ u8 ; 0 ] , } pub type GSocketServicePrivate = _GSocketServicePrivate ; pub type GSocketServiceClass = _GSocketServiceClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketServiceClass { pub parent_class : GSocketListenerClass , pub incoming : :: std :: option :: Option < unsafe extern "C" fn ( service : * mut GSocketService , connection : * mut GSocketConnection , source_object : * mut GObject ) -> gboolean > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSocketServiceClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketServiceClass > ( ) , 248usize , concat ! ( "Size of: " , stringify ! ( _GSocketServiceClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketServiceClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketServiceClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . incoming as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( incoming ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketService { pub parent_instance : GSocketListener , pub priv_ : * mut GSocketServicePrivate , } # [ test ] fn bindgen_test_layout__GSocketService ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketService > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GSocketService ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketService > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketService ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketService > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketService ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketService > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketService ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_socket_service_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_service_new ( ) -> * mut GSocketService ; } extern "C" { pub fn g_socket_service_start ( service : * mut GSocketService ) ; } extern "C" { pub fn g_socket_service_stop ( service : * mut GSocketService ) ; } extern "C" { pub fn g_socket_service_is_active ( service : * mut GSocketService ) -> gboolean ; } extern "C" { pub fn g_srv_target_get_type ( ) -> GType ; } extern "C" { pub fn g_srv_target_new ( hostname : * const gchar , port : guint16 , priority : guint16 , weight : guint16 ) -> * mut GSrvTarget ; } extern "C" { pub fn g_srv_target_copy ( target : * mut GSrvTarget ) -> * mut GSrvTarget ; } extern "C" { pub fn g_srv_target_free ( target : * mut GSrvTarget ) ; } extern "C" { pub fn g_srv_target_get_hostname ( target : * mut GSrvTarget ) -> * const gchar ; } extern "C" { pub fn g_srv_target_get_port ( target : * mut GSrvTarget ) -> guint16 ; } extern "C" { pub fn g_srv_target_get_priority ( target : * mut GSrvTarget ) -> guint16 ; } extern "C" { pub fn g_srv_target_get_weight ( target : * mut GSrvTarget ) -> guint16 ; } extern "C" { pub fn g_srv_target_list_sort ( targets : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_subprocess_get_type ( ) -> GType ; } extern "C" { pub fn g_subprocess_new ( flags : GSubprocessFlags , error : * mut * mut GError , argv0 : * const gchar , ... ) -> * mut GSubprocess ; } extern "C" { pub fn g_subprocess_newv ( argv : * const * const gchar , flags : GSubprocessFlags , error : * mut * mut GError ) -> * mut GSubprocess ; } extern "C" { pub fn g_subprocess_get_stdin_pipe ( subprocess : * mut GSubprocess ) -> * mut GOutputStream ; } extern "C" { pub fn g_subprocess_get_stdout_pipe ( subprocess : * mut GSubprocess ) -> * mut GInputStream ; } extern "C" { pub fn g_subprocess_get_stderr_pipe ( subprocess : * mut GSubprocess ) -> * mut GInputStream ; } extern "C" { pub fn g_subprocess_get_identifier ( subprocess : * mut GSubprocess ) -> * const gchar ; } extern "C" { pub fn g_subprocess_send_signal ( subprocess : * mut GSubprocess , signal_num : gint ) ; } extern "C" { pub fn g_subprocess_force_exit ( subprocess : * mut GSubprocess ) ; } extern "C" { pub fn g_subprocess_wait ( subprocess : * mut GSubprocess , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_wait_async ( subprocess : * mut GSubprocess , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_subprocess_wait_finish ( subprocess : * mut GSubprocess , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_wait_check ( subprocess : * mut GSubprocess , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_wait_check_async ( subprocess : * mut GSubprocess , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_subprocess_wait_check_finish ( subprocess : * mut GSubprocess , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_get_status ( subprocess : * mut GSubprocess ) -> gint ; } extern "C" { pub fn g_subprocess_get_successful ( subprocess : * mut GSubprocess ) -> gboolean ; } extern "C" { pub fn g_subprocess_get_if_exited ( subprocess : * mut GSubprocess ) -> gboolean ; } extern "C" { pub fn g_subprocess_get_exit_status ( subprocess : * mut GSubprocess ) -> gint ; } extern "C" { pub fn g_subprocess_get_if_signaled ( subprocess : * mut GSubprocess ) -> gboolean ; } extern "C" { pub fn g_subprocess_get_term_sig ( subprocess : * mut GSubprocess ) -> gint ; } extern "C" { pub fn g_subprocess_communicate ( subprocess : * mut GSubprocess , stdin_buf : * mut GBytes , cancellable : * mut GCancellable , stdout_buf : * mut * mut GBytes , stderr_buf : * mut * mut GBytes , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_communicate_async ( subprocess : * mut GSubprocess , stdin_buf : * mut GBytes , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_subprocess_communicate_finish ( subprocess : * mut GSubprocess , result : * mut GAsyncResult , stdout_buf : * mut * mut GBytes , stderr_buf : * mut * mut GBytes , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_communicate_utf8 ( subprocess : * mut GSubprocess , stdin_buf : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , stdout_buf : * mut * mut :: std :: os :: raw :: c_char , stderr_buf : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_communicate_utf8_async ( subprocess : * mut GSubprocess , stdin_buf : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_subprocess_communicate_utf8_finish ( subprocess : * mut GSubprocess , result : * mut GAsyncResult , stdout_buf : * mut * mut :: std :: os :: raw :: c_char , stderr_buf : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_launcher_get_type ( ) -> GType ; } extern "C" { pub fn g_subprocess_launcher_new ( flags : GSubprocessFlags ) -> * mut GSubprocessLauncher ; } extern "C" { pub fn g_subprocess_launcher_spawn ( self_ : * mut GSubprocessLauncher , error : * mut * mut GError , argv0 : * const gchar , ... ) -> * mut GSubprocess ; } extern "C" { pub fn g_subprocess_launcher_spawnv ( self_ : * mut GSubprocessLauncher , argv : * const * const gchar , error : * mut * mut GError ) -> * mut GSubprocess ; } extern "C" { pub fn g_subprocess_launcher_set_environ ( self_ : * mut GSubprocessLauncher , env : * mut * mut gchar ) ; } extern "C" { pub fn g_subprocess_launcher_setenv ( self_ : * mut GSubprocessLauncher , variable : * const gchar , value : * const gchar , overwrite : gboolean ) ; } extern "C" { pub fn g_subprocess_launcher_unsetenv ( self_ : * mut GSubprocessLauncher , variable : * const gchar ) ; } extern "C" { pub fn g_subprocess_launcher_getenv ( self_ : * mut GSubprocessLauncher , variable : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_subprocess_launcher_set_cwd ( self_ : * mut GSubprocessLauncher , cwd : * const gchar ) ; } extern "C" { pub fn g_subprocess_launcher_set_flags ( self_ : * mut GSubprocessLauncher , flags : GSubprocessFlags ) ; } extern "C" { pub fn g_subprocess_launcher_set_stdin_file_path ( self_ : * mut GSubprocessLauncher , path : * const gchar ) ; } extern "C" { pub fn g_subprocess_launcher_take_stdin_fd ( self_ : * mut GSubprocessLauncher , fd : gint ) ; } extern "C" { pub fn g_subprocess_launcher_set_stdout_file_path ( self_ : * mut GSubprocessLauncher , path : * const gchar ) ; } extern "C" { pub fn g_subprocess_launcher_take_stdout_fd ( self_ : * mut GSubprocessLauncher , fd : gint ) ; } extern "C" { pub fn g_subprocess_launcher_set_stderr_file_path ( self_ : * mut GSubprocessLauncher , path : * const gchar ) ; } extern "C" { pub fn g_subprocess_launcher_take_stderr_fd ( self_ : * mut GSubprocessLauncher , fd : gint ) ; } extern "C" { pub fn g_subprocess_launcher_take_fd ( self_ : * mut GSubprocessLauncher , source_fd : gint , target_fd : gint ) ; } extern "C" { pub fn g_subprocess_launcher_close ( self_ : * mut GSubprocessLauncher ) ; } extern "C" { pub fn g_subprocess_launcher_set_child_setup ( self_ : * mut GSubprocessLauncher , child_setup : GSpawnChildSetupFunc , user_data : gpointer , destroy_notify : GDestroyNotify ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTaskClass { _unused : [ u8 ; 0 ] , } pub type GTaskClass = _GTaskClass ; extern "C" { pub fn g_task_get_type ( ) -> GType ; } extern "C" { pub fn g_task_new ( source_object : gpointer , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , callback_data : gpointer ) -> * mut GTask ; } extern "C" { pub fn g_task_report_error ( source_object : gpointer , callback : GAsyncReadyCallback , callback_data : gpointer , source_tag : gpointer , error : * mut GError ) ; } extern "C" { pub fn g_task_report_new_error ( source_object : gpointer , callback : GAsyncReadyCallback , callback_data : gpointer , source_tag : gpointer , domain : GQuark , code : gint , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_task_set_task_data ( task : * mut GTask , task_data : gpointer , task_data_destroy : GDestroyNotify ) ; } extern "C" { pub fn g_task_set_priority ( task : * mut GTask , priority : gint ) ; } extern "C" { pub fn g_task_set_check_cancellable ( task : * mut GTask , check_cancellable : gboolean ) ; } extern "C" { pub fn g_task_set_source_tag ( task : * mut GTask , source_tag : gpointer ) ; } extern "C" { pub fn g_task_set_name ( task : * mut GTask , name : * const gchar ) ; } extern "C" { pub fn g_task_set_static_name ( task : * mut GTask , name : * const gchar ) ; } extern "C" { pub fn g_task_get_source_object ( task : * mut GTask ) -> gpointer ; } extern "C" { pub fn g_task_get_task_data ( task : * mut GTask ) -> gpointer ; } extern "C" { pub fn g_task_get_priority ( task : * mut GTask ) -> gint ; } extern "C" { pub fn g_task_get_context ( task : * mut GTask ) -> * mut GMainContext ; } extern "C" { pub fn g_task_get_cancellable ( task : * mut GTask ) -> * mut GCancellable ; } extern "C" { pub fn g_task_get_check_cancellable ( task : * mut GTask ) -> gboolean ; } extern "C" { pub fn g_task_get_source_tag ( task : * mut GTask ) -> gpointer ; } extern "C" { pub fn g_task_get_name ( task : * mut GTask ) -> * const gchar ; } extern "C" { pub fn g_task_is_valid ( result : gpointer , source_object : gpointer ) -> gboolean ; } pub type GTaskThreadFunc = :: std :: option :: Option < unsafe extern "C" fn ( task : * mut GTask , source_object : gpointer , task_data : gpointer , cancellable : * mut GCancellable ) > ; extern "C" { pub fn g_task_run_in_thread ( task : * mut GTask , task_func : GTaskThreadFunc ) ; } extern "C" { pub fn g_task_run_in_thread_sync ( task : * mut GTask , task_func : GTaskThreadFunc ) ; } extern "C" { pub fn g_task_set_return_on_cancel ( task : * mut GTask , return_on_cancel : gboolean ) -> gboolean ; } extern "C" { pub fn g_task_get_return_on_cancel ( task : * mut GTask ) -> gboolean ; } extern "C" { pub fn g_task_attach_source ( task : * mut GTask , source : * mut GSource , callback : GSourceFunc ) ; } extern "C" { pub fn g_task_return_pointer ( task : * mut GTask , result : gpointer , result_destroy : GDestroyNotify ) ; } extern "C" { pub fn g_task_return_boolean ( task : * mut GTask , result : gboolean ) ; } extern "C" { pub fn g_task_return_int ( task : * mut GTask , result : gssize ) ; } extern "C" { pub fn g_task_return_error ( task : * mut GTask , error : * mut GError ) ; } extern "C" { pub fn g_task_return_prefixed_error ( task : * mut GTask , error : * mut GError , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_task_return_new_error ( task : * mut GTask , domain : GQuark , code : gint , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_task_return_new_error_literal ( task : * mut GTask , domain : GQuark , code : gint , message : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_task_return_value ( task : * mut GTask , result : * mut GValue ) ; } extern "C" { pub fn g_task_return_error_if_cancelled ( task : * mut GTask ) -> gboolean ; } extern "C" { pub fn g_task_propagate_pointer ( task : * mut GTask , error : * mut * mut GError ) -> gpointer ; } extern "C" { pub fn g_task_propagate_boolean ( task : * mut GTask , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_task_propagate_int ( task : * mut GTask , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_task_propagate_value ( task : * mut GTask , value : * mut GValue , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_task_had_error ( task : * mut GTask ) -> gboolean ; } extern "C" { pub fn g_task_get_completed ( task : * mut GTask ) -> gboolean ; } extern "C" { pub fn g_task_print_alive_tasks ( ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTcpConnectionPrivate { _unused : [ u8 ; 0 ] , } pub type GTcpConnectionPrivate = _GTcpConnectionPrivate ; pub type GTcpConnectionClass = _GTcpConnectionClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTcpConnectionClass { pub parent_class : GSocketConnectionClass , } # [ test ] fn bindgen_test_layout__GTcpConnectionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTcpConnectionClass > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( _GTcpConnectionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTcpConnectionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTcpConnectionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTcpConnectionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTcpConnectionClass ) , "::" , stringify ! ( parent_class ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTcpConnection { pub parent_instance : GSocketConnection , pub priv_ : * mut GTcpConnectionPrivate , } # [ test ] fn bindgen_test_layout__GTcpConnection ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTcpConnection > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GTcpConnection ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTcpConnection > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTcpConnection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTcpConnection > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTcpConnection ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTcpConnection > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GTcpConnection ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_tcp_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_tcp_connection_set_graceful_disconnect ( connection : * mut GTcpConnection , graceful_disconnect : gboolean ) ; } extern "C" { pub fn g_tcp_connection_get_graceful_disconnect ( connection : * mut GTcpConnection ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTcpWrapperConnectionPrivate { _unused : [ u8 ; 0 ] , } pub type GTcpWrapperConnectionPrivate = _GTcpWrapperConnectionPrivate ; pub type GTcpWrapperConnectionClass = _GTcpWrapperConnectionClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTcpWrapperConnectionClass { pub parent_class : GTcpConnectionClass , } # [ test ] fn bindgen_test_layout__GTcpWrapperConnectionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTcpWrapperConnectionClass > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( _GTcpWrapperConnectionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTcpWrapperConnectionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTcpWrapperConnectionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTcpWrapperConnectionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTcpWrapperConnectionClass ) , "::" , stringify ! ( parent_class ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTcpWrapperConnection { pub parent_instance : GTcpConnection , pub priv_ : * mut GTcpWrapperConnectionPrivate , } # [ test ] fn bindgen_test_layout__GTcpWrapperConnection ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTcpWrapperConnection > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GTcpWrapperConnection ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTcpWrapperConnection > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTcpWrapperConnection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTcpWrapperConnection > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTcpWrapperConnection ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTcpWrapperConnection > ( ) ) ) . priv_ as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GTcpWrapperConnection ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_tcp_wrapper_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_tcp_wrapper_connection_new ( base_io_stream : * mut GIOStream , socket : * mut GSocket ) -> * mut GSocketConnection ; } extern "C" { pub fn g_tcp_wrapper_connection_get_base_io_stream ( conn : * mut GTcpWrapperConnection ) -> * mut GIOStream ; } extern "C" { pub fn g_test_dbus_get_type ( ) -> GType ; } extern "C" { pub fn g_test_dbus_new ( flags : GTestDBusFlags ) -> * mut GTestDBus ; } extern "C" { pub fn g_test_dbus_get_flags ( self_ : * mut GTestDBus ) -> GTestDBusFlags ; } extern "C" { pub fn g_test_dbus_get_bus_address ( self_ : * mut GTestDBus ) -> * const gchar ; } extern "C" { pub fn g_test_dbus_add_service_dir ( self_ : * mut GTestDBus , path : * const gchar ) ; } extern "C" { pub fn g_test_dbus_up ( self_ : * mut GTestDBus ) ; } extern "C" { pub fn g_test_dbus_stop ( self_ : * mut GTestDBus ) ; } extern "C" { pub fn g_test_dbus_down ( self_ : * mut GTestDBus ) ; } extern "C" { pub fn g_test_dbus_unset ( ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThemedIconClass { _unused : [ u8 ; 0 ] , } pub type GThemedIconClass = _GThemedIconClass ; extern "C" { pub fn g_themed_icon_get_type ( ) -> GType ; } extern "C" { pub fn g_themed_icon_new ( iconname : * const :: std :: os :: raw :: c_char ) -> * mut GIcon ; } extern "C" { pub fn g_themed_icon_new_with_default_fallbacks ( iconname : * const :: std :: os :: raw :: c_char ) -> * mut GIcon ; } extern "C" { pub fn g_themed_icon_new_from_names ( iconnames : * mut * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int ) -> * mut GIcon ; } extern "C" { pub fn g_themed_icon_prepend_name ( icon : * mut GThemedIcon , iconname : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_themed_icon_append_name ( icon : * mut GThemedIcon , iconname : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_themed_icon_get_names ( icon : * mut GThemedIcon ) -> * const * const gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThreadedSocketServicePrivate { _unused : [ u8 ; 0 ] , } pub type GThreadedSocketServicePrivate = _GThreadedSocketServicePrivate ; pub type GThreadedSocketServiceClass = _GThreadedSocketServiceClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThreadedSocketServiceClass { pub parent_class : GSocketServiceClass , pub run : :: std :: option :: Option < unsafe extern "C" fn ( service : * mut GThreadedSocketService , connection : * mut GSocketConnection , source_object : * mut GObject ) -> gboolean > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GThreadedSocketServiceClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GThreadedSocketServiceClass > ( ) , 296usize , concat ! ( "Size of: " , stringify ! ( _GThreadedSocketServiceClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GThreadedSocketServiceClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GThreadedSocketServiceClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . run as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( run ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThreadedSocketService { pub parent_instance : GSocketService , pub priv_ : * mut GThreadedSocketServicePrivate , } # [ test ] fn bindgen_test_layout__GThreadedSocketService ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GThreadedSocketService > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GThreadedSocketService ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GThreadedSocketService > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GThreadedSocketService ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketService > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketService ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketService > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketService ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_threaded_socket_service_get_type ( ) -> GType ; } extern "C" { pub fn g_threaded_socket_service_new ( max_threads : :: std :: os :: raw :: c_int ) -> * mut GSocketService ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsBackend { _unused : [ u8 ; 0 ] , } pub type GTlsBackend = _GTlsBackend ; pub type GTlsBackendInterface = _GTlsBackendInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsBackendInterface { pub g_iface : GTypeInterface , pub supports_tls : :: std :: option :: Option < unsafe extern "C" fn ( backend : * mut GTlsBackend ) -> gboolean > , pub get_certificate_type : :: std :: option :: Option < unsafe extern "C" fn ( ) -> GType > , pub get_client_connection_type : :: std :: option :: Option < unsafe extern "C" fn ( ) -> GType > , pub get_server_connection_type : :: std :: option :: Option < unsafe extern "C" fn ( ) -> GType > , pub get_file_database_type : :: std :: option :: Option < unsafe extern "C" fn ( ) -> GType > , pub get_default_database : :: std :: option :: Option < unsafe extern "C" fn ( backend : * mut GTlsBackend ) -> * mut GTlsDatabase > , pub supports_dtls : :: std :: option :: Option < unsafe extern "C" fn ( backend : * mut GTlsBackend ) -> gboolean > , pub get_dtls_client_connection_type : :: std :: option :: Option < unsafe extern "C" fn ( ) -> GType > , pub get_dtls_server_connection_type : :: std :: option :: Option < unsafe extern "C" fn ( ) -> GType > , } # [ test ] fn bindgen_test_layout__GTlsBackendInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsBackendInterface > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GTlsBackendInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsBackendInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsBackendInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . supports_tls as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( supports_tls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_certificate_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_certificate_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_client_connection_type as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_client_connection_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_server_connection_type as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_server_connection_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_file_database_type as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_file_database_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_default_database as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_default_database ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . supports_dtls as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( supports_dtls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_dtls_client_connection_type as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_dtls_client_connection_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_dtls_server_connection_type as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_dtls_server_connection_type ) ) ) ; } extern "C" { pub fn g_tls_backend_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_backend_get_default ( ) -> * mut GTlsBackend ; } extern "C" { pub fn g_tls_backend_get_default_database ( backend : * mut GTlsBackend ) -> * mut GTlsDatabase ; } extern "C" { pub fn g_tls_backend_set_default_database ( backend : * mut GTlsBackend , database : * mut GTlsDatabase ) ; } extern "C" { pub fn g_tls_backend_supports_tls ( backend : * mut GTlsBackend ) -> gboolean ; } extern "C" { pub fn g_tls_backend_supports_dtls ( backend : * mut GTlsBackend ) -> gboolean ; } extern "C" { pub fn g_tls_backend_get_certificate_type ( backend : * mut GTlsBackend ) -> GType ; } extern "C" { pub fn g_tls_backend_get_client_connection_type ( backend : * mut GTlsBackend ) -> GType ; } extern "C" { pub fn g_tls_backend_get_server_connection_type ( backend : * mut GTlsBackend ) -> GType ; } extern "C" { pub fn g_tls_backend_get_file_database_type ( backend : * mut GTlsBackend ) -> GType ; } extern "C" { pub fn g_tls_backend_get_dtls_client_connection_type ( backend : * mut GTlsBackend ) -> GType ; } extern "C" { pub fn g_tls_backend_get_dtls_server_connection_type ( backend : * mut GTlsBackend ) -> GType ; } pub type GTlsCertificateClass = _GTlsCertificateClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsCertificatePrivate { _unused : [ u8 ; 0 ] , } pub type GTlsCertificatePrivate = _GTlsCertificatePrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsCertificate { pub parent_instance : GObject , pub priv_ : * mut GTlsCertificatePrivate , } # [ test ] fn bindgen_test_layout__GTlsCertificate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsCertificate > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GTlsCertificate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsCertificate > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsCertificate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsCertificate > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsCertificate ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsCertificate > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsCertificate ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsCertificateClass { pub parent_class : GObjectClass , pub verify : :: std :: option :: Option < unsafe extern "C" fn ( cert : * mut GTlsCertificate , identity : * mut GSocketConnectable , trusted_ca : * mut GTlsCertificate ) -> GTlsCertificateFlags > , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GTlsCertificateClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsCertificateClass > ( ) , 208usize , concat ! ( "Size of: " , stringify ! ( _GTlsCertificateClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsCertificateClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsCertificateClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsCertificateClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsCertificateClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsCertificateClass > ( ) ) ) . verify as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsCertificateClass ) , "::" , stringify ! ( verify ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsCertificateClass > ( ) ) ) . padding as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsCertificateClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_tls_certificate_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_certificate_new_from_pem ( data : * const gchar , length : gssize , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_new_from_pkcs12 ( data : * const guint8 , length : gsize , password : * const gchar , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_new_from_file_with_password ( file : * const gchar , password : * const gchar , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_new_from_file ( file : * const gchar , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_new_from_files ( cert_file : * const gchar , key_file : * const gchar , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_new_from_pkcs11_uris ( pkcs11_uri : * const gchar , private_key_pkcs11_uri : * const gchar , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_list_new_from_file ( file : * const gchar , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_tls_certificate_get_issuer ( cert : * mut GTlsCertificate ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_verify ( cert : * mut GTlsCertificate , identity : * mut GSocketConnectable , trusted_ca : * mut GTlsCertificate ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_tls_certificate_is_same ( cert_one : * mut GTlsCertificate , cert_two : * mut GTlsCertificate ) -> gboolean ; } extern "C" { pub fn g_tls_certificate_get_not_valid_before ( cert : * mut GTlsCertificate ) -> * mut GDateTime ; } extern "C" { pub fn g_tls_certificate_get_not_valid_after ( cert : * mut GTlsCertificate ) -> * mut GDateTime ; } extern "C" { pub fn g_tls_certificate_get_subject_name ( cert : * mut GTlsCertificate ) -> * mut gchar ; } extern "C" { pub fn g_tls_certificate_get_issuer_name ( cert : * mut GTlsCertificate ) -> * mut gchar ; } extern "C" { pub fn g_tls_certificate_get_dns_names ( cert : * mut GTlsCertificate ) -> * mut GPtrArray ; } extern "C" { pub fn g_tls_certificate_get_ip_addresses ( cert : * mut GTlsCertificate ) -> * mut GPtrArray ; } pub type GTlsConnectionClass = _GTlsConnectionClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsConnectionPrivate { _unused : [ u8 ; 0 ] , } pub type GTlsConnectionPrivate = _GTlsConnectionPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsConnection { pub parent_instance : GIOStream , pub priv_ : * mut GTlsConnectionPrivate , } # [ test ] fn bindgen_test_layout__GTlsConnection ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsConnection > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GTlsConnection ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsConnection > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsConnection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnection > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnection ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnection > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnection ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsConnectionClass { pub parent_class : GIOStreamClass , pub accept_certificate : :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GTlsConnection , peer_cert : * mut GTlsCertificate , errors : GTlsCertificateFlags ) -> gboolean > , pub handshake : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GTlsConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub handshake_async : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GTlsConnection , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub handshake_finish : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GTlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub get_binding_data : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GTlsConnection , type_ : GTlsChannelBindingType , data : * mut GByteArray , error : * mut * mut GError ) -> gboolean > , pub get_negotiated_protocol : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GTlsConnection ) -> * const gchar > , pub padding : [ gpointer ; 6usize ] , } # [ test ] fn bindgen_test_layout__GTlsConnectionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsConnectionClass > ( ) , 352usize , concat ! ( "Size of: " , stringify ! ( _GTlsConnectionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsConnectionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsConnectionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . accept_certificate as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( accept_certificate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . handshake as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( handshake ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . handshake_async as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( handshake_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . handshake_finish as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( handshake_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . get_binding_data as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( get_binding_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . get_negotiated_protocol as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( get_negotiated_protocol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . padding as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_tls_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_connection_set_use_system_certdb ( conn : * mut GTlsConnection , use_system_certdb : gboolean ) ; } extern "C" { pub fn g_tls_connection_get_use_system_certdb ( conn : * mut GTlsConnection ) -> gboolean ; } extern "C" { pub fn g_tls_connection_set_database ( conn : * mut GTlsConnection , database : * mut GTlsDatabase ) ; } extern "C" { pub fn g_tls_connection_get_database ( conn : * mut GTlsConnection ) -> * mut GTlsDatabase ; } extern "C" { pub fn g_tls_connection_set_certificate ( conn : * mut GTlsConnection , certificate : * mut GTlsCertificate ) ; } extern "C" { pub fn g_tls_connection_get_certificate ( conn : * mut GTlsConnection ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_connection_set_interaction ( conn : * mut GTlsConnection , interaction : * mut GTlsInteraction ) ; } extern "C" { pub fn g_tls_connection_get_interaction ( conn : * mut GTlsConnection ) -> * mut GTlsInteraction ; } extern "C" { pub fn g_tls_connection_get_peer_certificate ( conn : * mut GTlsConnection ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_connection_get_peer_certificate_errors ( conn : * mut GTlsConnection ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_tls_connection_set_require_close_notify ( conn : * mut GTlsConnection , require_close_notify : gboolean ) ; } extern "C" { pub fn g_tls_connection_get_require_close_notify ( conn : * mut GTlsConnection ) -> gboolean ; } extern "C" { pub fn g_tls_connection_set_rehandshake_mode ( conn : * mut GTlsConnection , mode : GTlsRehandshakeMode ) ; } extern "C" { pub fn g_tls_connection_get_rehandshake_mode ( conn : * mut GTlsConnection ) -> GTlsRehandshakeMode ; } extern "C" { pub fn g_tls_connection_set_advertised_protocols ( conn : * mut GTlsConnection , protocols : * const * const gchar ) ; } extern "C" { pub fn g_tls_connection_get_negotiated_protocol ( conn : * mut GTlsConnection ) -> * const gchar ; } extern "C" { pub fn g_tls_connection_get_channel_binding_data ( conn : * mut GTlsConnection , type_ : GTlsChannelBindingType , data : * mut GByteArray , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_tls_connection_handshake ( conn : * mut GTlsConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_tls_connection_handshake_async ( conn : * mut GTlsConnection , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_connection_handshake_finish ( conn : * mut GTlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_tls_connection_get_protocol_version ( conn : * mut GTlsConnection ) -> GTlsProtocolVersion ; } extern "C" { pub fn g_tls_connection_get_ciphersuite_name ( conn : * mut GTlsConnection ) -> * mut gchar ; } extern "C" { pub fn g_tls_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_tls_channel_binding_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_tls_connection_emit_accept_certificate ( conn : * mut GTlsConnection , peer_cert : * mut GTlsCertificate , errors : GTlsCertificateFlags ) -> gboolean ; } pub type GTlsClientConnectionInterface = _GTlsClientConnectionInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsClientConnectionInterface { pub g_iface : GTypeInterface , pub copy_session_state : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GTlsClientConnection , source : * mut GTlsClientConnection ) > , } # [ test ] fn bindgen_test_layout__GTlsClientConnectionInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsClientConnectionInterface > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GTlsClientConnectionInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsClientConnectionInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsClientConnectionInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsClientConnectionInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsClientConnectionInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsClientConnectionInterface > ( ) ) ) . copy_session_state as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsClientConnectionInterface ) , "::" , stringify ! ( copy_session_state ) ) ) ; } extern "C" { pub fn g_tls_client_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_client_connection_new ( base_io_stream : * mut GIOStream , server_identity : * mut GSocketConnectable , error : * mut * mut GError ) -> * mut GIOStream ; } extern "C" { pub fn g_tls_client_connection_get_validation_flags ( conn : * mut GTlsClientConnection ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_tls_client_connection_set_validation_flags ( conn : * mut GTlsClientConnection , flags : GTlsCertificateFlags ) ; } extern "C" { pub fn g_tls_client_connection_get_server_identity ( conn : * mut GTlsClientConnection ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_tls_client_connection_set_server_identity ( conn : * mut GTlsClientConnection , identity : * mut GSocketConnectable ) ; } extern "C" { pub fn g_tls_client_connection_get_use_ssl3 ( conn : * mut GTlsClientConnection ) -> gboolean ; } extern "C" { pub fn g_tls_client_connection_set_use_ssl3 ( conn : * mut GTlsClientConnection , use_ssl3 : gboolean ) ; } extern "C" { pub fn g_tls_client_connection_get_accepted_cas ( conn : * mut GTlsClientConnection ) -> * mut GList ; } extern "C" { pub fn g_tls_client_connection_copy_session_state ( conn : * mut GTlsClientConnection , source : * mut GTlsClientConnection ) ; } pub type GTlsDatabaseClass = _GTlsDatabaseClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsDatabasePrivate { _unused : [ u8 ; 0 ] , } pub type GTlsDatabasePrivate = _GTlsDatabasePrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsDatabase { pub parent_instance : GObject , pub priv_ : * mut GTlsDatabasePrivate , } # [ test ] fn bindgen_test_layout__GTlsDatabase ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsDatabase > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GTlsDatabase ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsDatabase > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsDatabase ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabase > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabase ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabase > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabase ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsDatabaseClass { pub parent_class : GObjectClass , pub verify_chain : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , chain : * mut GTlsCertificate , purpose : * const gchar , identity : * mut GSocketConnectable , interaction : * mut GTlsInteraction , flags : GTlsDatabaseVerifyFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsCertificateFlags > , pub verify_chain_async : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , chain : * mut GTlsCertificate , purpose : * const gchar , identity : * mut GSocketConnectable , interaction : * mut GTlsInteraction , flags : GTlsDatabaseVerifyFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub verify_chain_finish : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> GTlsCertificateFlags > , pub create_certificate_handle : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , certificate : * mut GTlsCertificate ) -> * mut gchar > , pub lookup_certificate_for_handle : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , handle : * const gchar , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GTlsCertificate > , pub lookup_certificate_for_handle_async : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , handle : * const gchar , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_certificate_for_handle_finish : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GTlsCertificate > , pub lookup_certificate_issuer : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , certificate : * mut GTlsCertificate , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GTlsCertificate > , pub lookup_certificate_issuer_async : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , certificate : * mut GTlsCertificate , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_certificate_issuer_finish : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GTlsCertificate > , pub lookup_certificates_issued_by : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , issuer_raw_dn : * mut GByteArray , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList > , pub lookup_certificates_issued_by_async : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , issuer_raw_dn : * mut GByteArray , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_certificates_issued_by_finish : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList > , pub padding : [ gpointer ; 16usize ] , } # [ test ] fn bindgen_test_layout__GTlsDatabaseClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsDatabaseClass > ( ) , 368usize , concat ! ( "Size of: " , stringify ! ( _GTlsDatabaseClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsDatabaseClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsDatabaseClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . verify_chain as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( verify_chain ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . verify_chain_async as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( verify_chain_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . verify_chain_finish as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( verify_chain_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . create_certificate_handle as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( create_certificate_handle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificate_for_handle as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificate_for_handle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificate_for_handle_async as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificate_for_handle_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificate_for_handle_finish as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificate_for_handle_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificate_issuer as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificate_issuer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificate_issuer_async as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificate_issuer_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificate_issuer_finish as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificate_issuer_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificates_issued_by as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificates_issued_by ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificates_issued_by_async as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificates_issued_by_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificates_issued_by_finish as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificates_issued_by_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . padding as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_tls_database_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_database_verify_chain ( self_ : * mut GTlsDatabase , chain : * mut GTlsCertificate , purpose : * const gchar , identity : * mut GSocketConnectable , interaction : * mut GTlsInteraction , flags : GTlsDatabaseVerifyFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_tls_database_verify_chain_async ( self_ : * mut GTlsDatabase , chain : * mut GTlsCertificate , purpose : * const gchar , identity : * mut GSocketConnectable , interaction : * mut GTlsInteraction , flags : GTlsDatabaseVerifyFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_database_verify_chain_finish ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_tls_database_create_certificate_handle ( self_ : * mut GTlsDatabase , certificate : * mut GTlsCertificate ) -> * mut gchar ; } extern "C" { pub fn g_tls_database_lookup_certificate_for_handle ( self_ : * mut GTlsDatabase , handle : * const gchar , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_database_lookup_certificate_for_handle_async ( self_ : * mut GTlsDatabase , handle : * const gchar , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_database_lookup_certificate_for_handle_finish ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_database_lookup_certificate_issuer ( self_ : * mut GTlsDatabase , certificate : * mut GTlsCertificate , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_database_lookup_certificate_issuer_async ( self_ : * mut GTlsDatabase , certificate : * mut GTlsCertificate , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_database_lookup_certificate_issuer_finish ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_database_lookup_certificates_issued_by ( self_ : * mut GTlsDatabase , issuer_raw_dn : * mut GByteArray , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_tls_database_lookup_certificates_issued_by_async ( self_ : * mut GTlsDatabase , issuer_raw_dn : * mut GByteArray , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_database_lookup_certificates_issued_by_finish ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList ; } pub type GTlsFileDatabaseInterface = _GTlsFileDatabaseInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsFileDatabaseInterface { pub g_iface : GTypeInterface , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GTlsFileDatabaseInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsFileDatabaseInterface > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GTlsFileDatabaseInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsFileDatabaseInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsFileDatabaseInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsFileDatabaseInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsFileDatabaseInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsFileDatabaseInterface > ( ) ) ) . padding as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsFileDatabaseInterface ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_tls_file_database_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_file_database_new ( anchors : * const gchar , error : * mut * mut GError ) -> * mut GTlsDatabase ; } pub type GTlsInteractionClass = _GTlsInteractionClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsInteractionPrivate { _unused : [ u8 ; 0 ] , } pub type GTlsInteractionPrivate = _GTlsInteractionPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsInteraction { pub parent_instance : GObject , pub priv_ : * mut GTlsInteractionPrivate , } # [ test ] fn bindgen_test_layout__GTlsInteraction ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsInteraction > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GTlsInteraction ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsInteraction > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsInteraction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteraction > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteraction ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteraction > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteraction ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsInteractionClass { pub parent_class : GObjectClass , pub ask_password : :: std :: option :: Option < unsafe extern "C" fn ( interaction : * mut GTlsInteraction , password : * mut GTlsPassword , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsInteractionResult > , pub ask_password_async : :: std :: option :: Option < unsafe extern "C" fn ( interaction : * mut GTlsInteraction , password : * mut GTlsPassword , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub ask_password_finish : :: std :: option :: Option < unsafe extern "C" fn ( interaction : * mut GTlsInteraction , result : * mut GAsyncResult , error : * mut * mut GError ) -> GTlsInteractionResult > , pub request_certificate : :: std :: option :: Option < unsafe extern "C" fn ( interaction : * mut GTlsInteraction , connection : * mut GTlsConnection , flags : GTlsCertificateRequestFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsInteractionResult > , pub request_certificate_async : :: std :: option :: Option < unsafe extern "C" fn ( interaction : * mut GTlsInteraction , connection : * mut GTlsConnection , flags : GTlsCertificateRequestFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub request_certificate_finish : :: std :: option :: Option < unsafe extern "C" fn ( interaction : * mut GTlsInteraction , result : * mut GAsyncResult , error : * mut * mut GError ) -> GTlsInteractionResult > , pub padding : [ gpointer ; 21usize ] , } # [ test ] fn bindgen_test_layout__GTlsInteractionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsInteractionClass > ( ) , 352usize , concat ! ( "Size of: " , stringify ! ( _GTlsInteractionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsInteractionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsInteractionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . ask_password as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( ask_password ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . ask_password_async as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( ask_password_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . ask_password_finish as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( ask_password_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . request_certificate as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( request_certificate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . request_certificate_async as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( request_certificate_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . request_certificate_finish as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( request_certificate_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . padding as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_tls_interaction_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_interaction_invoke_ask_password ( interaction : * mut GTlsInteraction , password : * mut GTlsPassword , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsInteractionResult ; } extern "C" { pub fn g_tls_interaction_ask_password ( interaction : * mut GTlsInteraction , password : * mut GTlsPassword , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsInteractionResult ; } extern "C" { pub fn g_tls_interaction_ask_password_async ( interaction : * mut GTlsInteraction , password : * mut GTlsPassword , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_interaction_ask_password_finish ( interaction : * mut GTlsInteraction , result : * mut GAsyncResult , error : * mut * mut GError ) -> GTlsInteractionResult ; } extern "C" { pub fn g_tls_interaction_invoke_request_certificate ( interaction : * mut GTlsInteraction , connection : * mut GTlsConnection , flags : GTlsCertificateRequestFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsInteractionResult ; } extern "C" { pub fn g_tls_interaction_request_certificate ( interaction : * mut GTlsInteraction , connection : * mut GTlsConnection , flags : GTlsCertificateRequestFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsInteractionResult ; } extern "C" { pub fn g_tls_interaction_request_certificate_async ( interaction : * mut GTlsInteraction , connection : * mut GTlsConnection , flags : GTlsCertificateRequestFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_interaction_request_certificate_finish ( interaction : * mut GTlsInteraction , result : * mut GAsyncResult , error : * mut * mut GError ) -> GTlsInteractionResult ; } pub type GTlsPasswordClass = _GTlsPasswordClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsPasswordPrivate { _unused : [ u8 ; 0 ] , } pub type GTlsPasswordPrivate = _GTlsPasswordPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsPassword { pub parent_instance : GObject , pub priv_ : * mut GTlsPasswordPrivate , } # [ test ] fn bindgen_test_layout__GTlsPassword ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsPassword > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GTlsPassword ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsPassword > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsPassword ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPassword > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPassword ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPassword > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPassword ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsPasswordClass { pub parent_class : GObjectClass , pub get_value : :: std :: option :: Option < unsafe extern "C" fn ( password : * mut GTlsPassword , length : * mut gsize ) -> * const guchar > , pub set_value : :: std :: option :: Option < unsafe extern "C" fn ( password : * mut GTlsPassword , value : * mut guchar , length : gssize , destroy : GDestroyNotify ) > , pub get_default_warning : :: std :: option :: Option < unsafe extern "C" fn ( password : * mut GTlsPassword ) -> * const gchar > , pub padding : [ gpointer ; 4usize ] , } # [ test ] fn bindgen_test_layout__GTlsPasswordClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsPasswordClass > ( ) , 192usize , concat ! ( "Size of: " , stringify ! ( _GTlsPasswordClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsPasswordClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsPasswordClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPasswordClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPasswordClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPasswordClass > ( ) ) ) . get_value as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPasswordClass ) , "::" , stringify ! ( get_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPasswordClass > ( ) ) ) . set_value as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPasswordClass ) , "::" , stringify ! ( set_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPasswordClass > ( ) ) ) . get_default_warning as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPasswordClass ) , "::" , stringify ! ( get_default_warning ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPasswordClass > ( ) ) ) . padding as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPasswordClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_tls_password_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_password_new ( flags : GTlsPasswordFlags , description : * const gchar ) -> * mut GTlsPassword ; } extern "C" { pub fn g_tls_password_get_value ( password : * mut GTlsPassword , length : * mut gsize ) -> * const guchar ; } extern "C" { pub fn g_tls_password_set_value ( password : * mut GTlsPassword , value : * const guchar , length : gssize ) ; } extern "C" { pub fn g_tls_password_set_value_full ( password : * mut GTlsPassword , value : * mut guchar , length : gssize , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_tls_password_get_flags ( password : * mut GTlsPassword ) -> GTlsPasswordFlags ; } extern "C" { pub fn g_tls_password_set_flags ( password : * mut GTlsPassword , flags : GTlsPasswordFlags ) ; } extern "C" { pub fn g_tls_password_get_description ( password : * mut GTlsPassword ) -> * const gchar ; } extern "C" { pub fn g_tls_password_set_description ( password : * mut GTlsPassword , description : * const gchar ) ; } extern "C" { pub fn g_tls_password_get_warning ( password : * mut GTlsPassword ) -> * const gchar ; } extern "C" { pub fn g_tls_password_set_warning ( password : * mut GTlsPassword , warning : * const gchar ) ; } pub type GTlsServerConnectionInterface = _GTlsServerConnectionInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsServerConnectionInterface { pub g_iface : GTypeInterface , } # [ test ] fn bindgen_test_layout__GTlsServerConnectionInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsServerConnectionInterface > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GTlsServerConnectionInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsServerConnectionInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsServerConnectionInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsServerConnectionInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsServerConnectionInterface ) , "::" , stringify ! ( g_iface ) ) ) ; } extern "C" { pub fn g_tls_server_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_server_connection_new ( base_io_stream : * mut GIOStream , certificate : * mut GTlsCertificate , error : * mut * mut GError ) -> * mut GIOStream ; } pub type GUnixConnection = _GUnixConnection ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixConnectionPrivate { _unused : [ u8 ; 0 ] , } pub type GUnixConnectionPrivate = _GUnixConnectionPrivate ; pub type GUnixConnectionClass = _GUnixConnectionClass ; pub type GUnixConnection_autoptr = * mut GUnixConnection ; pub type GUnixConnection_listautoptr = * mut GList ; pub type GUnixConnection_slistautoptr = * mut GSList ; pub type GUnixConnection_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixConnectionClass { pub parent_class : GSocketConnectionClass , } # [ test ] fn bindgen_test_layout__GUnixConnectionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixConnectionClass > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( _GUnixConnectionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixConnectionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixConnectionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixConnectionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixConnectionClass ) , "::" , stringify ! ( parent_class ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixConnection { pub parent_instance : GSocketConnection , pub priv_ : * mut GUnixConnectionPrivate , } # [ test ] fn bindgen_test_layout__GUnixConnection ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixConnection > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GUnixConnection ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixConnection > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixConnection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixConnection > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixConnection ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixConnection > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixConnection ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_unix_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_unix_connection_send_fd ( connection : * mut GUnixConnection , fd : gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_unix_connection_receive_fd ( connection : * mut GUnixConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_unix_connection_send_credentials ( connection : * mut GUnixConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_unix_connection_send_credentials_async ( connection : * mut GUnixConnection , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_unix_connection_send_credentials_finish ( connection : * mut GUnixConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_unix_connection_receive_credentials ( connection : * mut GUnixConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GCredentials ; } extern "C" { pub fn g_unix_connection_receive_credentials_async ( connection : * mut GUnixConnection , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_unix_connection_receive_credentials_finish ( connection : * mut GUnixConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GCredentials ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixCredentialsMessagePrivate { _unused : [ u8 ; 0 ] , } pub type GUnixCredentialsMessagePrivate = _GUnixCredentialsMessagePrivate ; pub type GUnixCredentialsMessageClass = _GUnixCredentialsMessageClass ; pub type GUnixCredentialsMessage_autoptr = * mut GUnixCredentialsMessage ; pub type GUnixCredentialsMessage_listautoptr = * mut GList ; pub type GUnixCredentialsMessage_slistautoptr = * mut GSList ; pub type GUnixCredentialsMessage_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixCredentialsMessageClass { pub parent_class : GSocketControlMessageClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GUnixCredentialsMessageClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixCredentialsMessageClass > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( _GUnixCredentialsMessageClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixCredentialsMessageClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixCredentialsMessageClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixCredentialsMessageClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixCredentialsMessageClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixCredentialsMessageClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixCredentialsMessageClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixCredentialsMessageClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixCredentialsMessageClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixCredentialsMessage { pub parent_instance : GSocketControlMessage , pub priv_ : * mut GUnixCredentialsMessagePrivate , } # [ test ] fn bindgen_test_layout__GUnixCredentialsMessage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixCredentialsMessage > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GUnixCredentialsMessage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixCredentialsMessage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixCredentialsMessage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixCredentialsMessage > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixCredentialsMessage ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixCredentialsMessage > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixCredentialsMessage ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_unix_credentials_message_get_type ( ) -> GType ; } extern "C" { pub fn g_unix_credentials_message_new ( ) -> * mut GSocketControlMessage ; } extern "C" { pub fn g_unix_credentials_message_new_with_credentials ( credentials : * mut GCredentials ) -> * mut GSocketControlMessage ; } extern "C" { pub fn g_unix_credentials_message_get_credentials ( message : * mut GUnixCredentialsMessage ) -> * mut GCredentials ; } extern "C" { pub fn g_unix_credentials_message_is_supported ( ) -> gboolean ; } pub type GUnixFDList_autoptr = * mut GUnixFDList ; pub type GUnixFDList_listautoptr = * mut GList ; pub type GUnixFDList_slistautoptr = * mut GSList ; pub type GUnixFDList_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixFDListPrivate { _unused : [ u8 ; 0 ] , } pub type GUnixFDListPrivate = _GUnixFDListPrivate ; pub type GUnixFDListClass = _GUnixFDListClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixFDListClass { pub parent_class : GObjectClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GUnixFDListClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixFDListClass > ( ) , 176usize , concat ! ( "Size of: " , stringify ! ( _GUnixFDListClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixFDListClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixFDListClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDListClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDListClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDListClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDListClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDListClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDListClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDListClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDListClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDListClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDListClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDListClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDListClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixFDList { pub parent_instance : GObject , pub priv_ : * mut GUnixFDListPrivate , } # [ test ] fn bindgen_test_layout__GUnixFDList ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixFDList > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GUnixFDList ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixFDList > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixFDList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDList > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDList ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDList > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDList ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_unix_fd_list_get_type ( ) -> GType ; } extern "C" { pub fn g_unix_fd_list_new ( ) -> * mut GUnixFDList ; } extern "C" { pub fn g_unix_fd_list_new_from_array ( fds : * const gint , n_fds : gint ) -> * mut GUnixFDList ; } extern "C" { pub fn g_unix_fd_list_append ( list : * mut GUnixFDList , fd : gint , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_unix_fd_list_get_length ( list : * mut GUnixFDList ) -> gint ; } extern "C" { pub fn g_unix_fd_list_get ( list : * mut GUnixFDList , index_ : gint , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_unix_fd_list_peek_fds ( list : * mut GUnixFDList , length : * mut gint ) -> * const gint ; } extern "C" { pub fn g_unix_fd_list_steal_fds ( list : * mut GUnixFDList , length : * mut gint ) -> * mut gint ; } pub type GUnixSocketAddress = _GUnixSocketAddress ; pub type GUnixSocketAddressClass = _GUnixSocketAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixSocketAddressPrivate { _unused : [ u8 ; 0 ] , } pub type GUnixSocketAddressPrivate = _GUnixSocketAddressPrivate ; pub type GUnixSocketAddress_autoptr = * mut GUnixSocketAddress ; pub type GUnixSocketAddress_listautoptr = * mut GList ; pub type GUnixSocketAddress_slistautoptr = * mut GSList ; pub type GUnixSocketAddress_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixSocketAddress { pub parent_instance : GSocketAddress , pub priv_ : * mut GUnixSocketAddressPrivate , } # [ test ] fn bindgen_test_layout__GUnixSocketAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixSocketAddress > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GUnixSocketAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixSocketAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixSocketAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixSocketAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixSocketAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixSocketAddress > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixSocketAddress ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixSocketAddressClass { pub parent_class : GSocketAddressClass , } # [ test ] fn bindgen_test_layout__GUnixSocketAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixSocketAddressClass > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( _GUnixSocketAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixSocketAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixSocketAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixSocketAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixSocketAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_unix_socket_address_get_type ( ) -> GType ; } extern "C" { pub fn g_unix_socket_address_new ( path : * const gchar ) -> * mut GSocketAddress ; } extern "C" { pub fn g_unix_socket_address_new_abstract ( path : * const gchar , path_len : gint ) -> * mut GSocketAddress ; } extern "C" { pub fn g_unix_socket_address_new_with_type ( path : * const gchar , path_len : gint , type_ : GUnixSocketAddressType ) -> * mut GSocketAddress ; } extern "C" { pub fn g_unix_socket_address_get_path ( address : * mut GUnixSocketAddress ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_unix_socket_address_get_path_len ( address : * mut GUnixSocketAddress ) -> gsize ; } extern "C" { pub fn g_unix_socket_address_get_address_type ( address : * mut GUnixSocketAddress ) -> GUnixSocketAddressType ; } extern "C" { pub fn g_unix_socket_address_get_is_abstract ( address : * mut GUnixSocketAddress ) -> gboolean ; } extern "C" { pub fn g_unix_socket_address_abstract_names_supported ( ) -> gboolean ; } pub type GVfsFileLookupFunc = :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , identifier : * const :: std :: os :: raw :: c_char , user_data : gpointer ) -> * mut GFile > ; pub type GVfsClass = _GVfsClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVfs { pub parent_instance : GObject , } # [ test ] fn bindgen_test_layout__GVfs ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVfs > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GVfs ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVfs > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVfs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfs > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVfs ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVfsClass { pub parent_class : GObjectClass , pub is_active : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs ) -> gboolean > , pub get_file_for_path : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , path : * const :: std :: os :: raw :: c_char ) -> * mut GFile > , pub get_file_for_uri : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , uri : * const :: std :: os :: raw :: c_char ) -> * mut GFile > , pub get_supported_uri_schemes : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs ) -> * const * const gchar > , pub parse_name : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , parse_name : * const :: std :: os :: raw :: c_char ) -> * mut GFile > , pub local_file_add_info : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , filename : * const :: std :: os :: raw :: c_char , device : guint64 , attribute_matcher : * mut GFileAttributeMatcher , info : * mut GFileInfo , cancellable : * mut GCancellable , extra_data : * mut gpointer , free_extra_data : * mut GDestroyNotify ) > , pub add_writable_namespaces : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , list : * mut GFileAttributeInfoList ) > , pub local_file_set_attributes : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , filename : * const :: std :: os :: raw :: c_char , info : * mut GFileInfo , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub local_file_removed : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , filename : * const :: std :: os :: raw :: c_char ) > , pub local_file_moved : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , source : * const :: std :: os :: raw :: c_char , dest : * const :: std :: os :: raw :: c_char ) > , pub deserialize_icon : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , value : * mut GVariant ) -> * mut GIcon > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GVfsClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVfsClass > ( ) , 272usize , concat ! ( "Size of: " , stringify ! ( _GVfsClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVfsClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVfsClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . is_active as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( is_active ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . get_file_for_path as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( get_file_for_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . get_file_for_uri as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( get_file_for_uri ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . get_supported_uri_schemes as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( get_supported_uri_schemes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . parse_name as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( parse_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . local_file_add_info as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( local_file_add_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . add_writable_namespaces as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( add_writable_namespaces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . local_file_set_attributes as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( local_file_set_attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . local_file_removed as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( local_file_removed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . local_file_moved as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( local_file_moved ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . deserialize_icon as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( deserialize_icon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; } extern "C" { pub fn g_vfs_get_type ( ) -> GType ; } extern "C" { pub fn g_vfs_is_active ( vfs : * mut GVfs ) -> gboolean ; } extern "C" { pub fn g_vfs_get_file_for_path ( vfs : * mut GVfs , path : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_vfs_get_file_for_uri ( vfs : * mut GVfs , uri : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_vfs_get_supported_uri_schemes ( vfs : * mut GVfs ) -> * const * const gchar ; } extern "C" { pub fn g_vfs_parse_name ( vfs : * mut GVfs , parse_name : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_vfs_get_default ( ) -> * mut GVfs ; } extern "C" { pub fn g_vfs_get_local ( ) -> * mut GVfs ; } extern "C" { pub fn g_vfs_register_uri_scheme ( vfs : * mut GVfs , scheme : * const :: std :: os :: raw :: c_char , uri_func : GVfsFileLookupFunc , uri_data : gpointer , uri_destroy : GDestroyNotify , parse_name_func : GVfsFileLookupFunc , parse_name_data : gpointer , parse_name_destroy : GDestroyNotify ) -> gboolean ; } extern "C" { pub fn g_vfs_unregister_uri_scheme ( vfs : * mut GVfs , scheme : * const :: std :: os :: raw :: c_char ) -> gboolean ; } pub type GVolumeIface = _GVolumeIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVolumeIface { pub g_iface : GTypeInterface , pub changed : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) > , pub removed : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) > , pub get_name : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut :: std :: os :: raw :: c_char > , pub get_icon : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut GIcon > , pub get_uuid : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut :: std :: os :: raw :: c_char > , pub get_drive : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut GDrive > , pub get_mount : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut GMount > , pub can_mount : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> gboolean > , pub can_eject : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> gboolean > , pub mount_fn : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub mount_finish : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub eject : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_finish : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub get_identifier : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , kind : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char > , pub enumerate_identifiers : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut * mut :: std :: os :: raw :: c_char > , pub should_automount : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> gboolean > , pub get_activation_root : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut GFile > , pub eject_with_operation : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_with_operation_finish : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub get_sort_key : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * const gchar > , pub get_symbolic_icon : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut GIcon > , } # [ test ] fn bindgen_test_layout__GVolumeIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVolumeIface > ( ) , 184usize , concat ! ( "Size of: " , stringify ! ( _GVolumeIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVolumeIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVolumeIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . changed as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . removed as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( removed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_name as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_icon as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_icon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_uuid as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_uuid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_drive as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_drive ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_mount as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_mount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . can_mount as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( can_mount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . can_eject as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( can_eject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . mount_fn as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( mount_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . mount_finish as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( mount_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . eject as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( eject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . eject_finish as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( eject_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_identifier as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_identifier ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . enumerate_identifiers as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( enumerate_identifiers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . should_automount as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( should_automount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_activation_root as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_activation_root ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . eject_with_operation as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( eject_with_operation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . eject_with_operation_finish as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( eject_with_operation_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_sort_key as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_sort_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_symbolic_icon as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_symbolic_icon ) ) ) ; } extern "C" { pub fn g_volume_get_type ( ) -> GType ; } extern "C" { pub fn g_volume_get_name ( volume : * mut GVolume ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_volume_get_icon ( volume : * mut GVolume ) -> * mut GIcon ; } extern "C" { pub fn g_volume_get_symbolic_icon ( volume : * mut GVolume ) -> * mut GIcon ; } extern "C" { pub fn g_volume_get_uuid ( volume : * mut GVolume ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_volume_get_drive ( volume : * mut GVolume ) -> * mut GDrive ; } extern "C" { pub fn g_volume_get_mount ( volume : * mut GVolume ) -> * mut GMount ; } extern "C" { pub fn g_volume_can_mount ( volume : * mut GVolume ) -> gboolean ; } extern "C" { pub fn g_volume_can_eject ( volume : * mut GVolume ) -> gboolean ; } extern "C" { pub fn g_volume_should_automount ( volume : * mut GVolume ) -> gboolean ; } extern "C" { pub fn g_volume_mount ( volume : * mut GVolume , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_volume_mount_finish ( volume : * mut GVolume , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_volume_eject ( volume : * mut GVolume , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_volume_eject_finish ( volume : * mut GVolume , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_volume_get_identifier ( volume : * mut GVolume , kind : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_volume_enumerate_identifiers ( volume : * mut GVolume ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_volume_get_activation_root ( volume : * mut GVolume ) -> * mut GFile ; } extern "C" { pub fn g_volume_eject_with_operation ( volume : * mut GVolume , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_volume_eject_with_operation_finish ( volume : * mut GVolume , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_volume_get_sort_key ( volume : * mut GVolume ) -> * const gchar ; } pub type GZlibCompressorClass = _GZlibCompressorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GZlibCompressorClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GZlibCompressorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GZlibCompressorClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GZlibCompressorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GZlibCompressorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GZlibCompressorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GZlibCompressorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GZlibCompressorClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_zlib_compressor_get_type ( ) -> GType ; } extern "C" { pub fn g_zlib_compressor_new ( format : GZlibCompressorFormat , level : :: std :: os :: raw :: c_int ) -> * mut GZlibCompressor ; } extern "C" { pub fn g_zlib_compressor_get_file_info ( compressor : * mut GZlibCompressor ) -> * mut GFileInfo ; } extern "C" { pub fn g_zlib_compressor_set_file_info ( compressor : * mut GZlibCompressor , file_info : * mut GFileInfo ) ; } pub type GZlibDecompressorClass = _GZlibDecompressorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GZlibDecompressorClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GZlibDecompressorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GZlibDecompressorClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GZlibDecompressorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GZlibDecompressorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GZlibDecompressorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GZlibDecompressorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GZlibDecompressorClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_zlib_decompressor_get_type ( ) -> GType ; } extern "C" { pub fn g_zlib_decompressor_new ( format : GZlibCompressorFormat ) -> * mut GZlibDecompressor ; } extern "C" { pub fn g_zlib_decompressor_get_file_info ( decompressor : * mut GZlibDecompressor ) -> * mut GFileInfo ; } pub type GAction_autoptr = * mut GAction ; pub type GAction_listautoptr = * mut GList ; pub type GAction_slistautoptr = * mut GSList ; pub type GAction_queueautoptr = * mut GQueue ; pub type GActionMap_autoptr = * mut GActionMap ; pub type GActionMap_listautoptr = * mut GList ; pub type GActionMap_slistautoptr = * mut GSList ; pub type GActionMap_queueautoptr = * mut GQueue ; pub type GAppInfo_autoptr = * mut GAppInfo ; pub type GAppInfo_listautoptr = * mut GList ; pub type GAppInfo_slistautoptr = * mut GSList ; pub type GAppInfo_queueautoptr = * mut GQueue ; pub type GAppLaunchContext_autoptr = * mut GAppLaunchContext ; pub type GAppLaunchContext_listautoptr = * mut GList ; pub type GAppLaunchContext_slistautoptr = * mut GSList ; pub type GAppLaunchContext_queueautoptr = * mut GQueue ; pub type GAppInfoMonitor_autoptr = * mut GAppInfoMonitor ; pub type GAppInfoMonitor_listautoptr = * mut GList ; pub type GAppInfoMonitor_slistautoptr = * mut GSList ; pub type GAppInfoMonitor_queueautoptr = * mut GQueue ; pub type GApplicationCommandLine_autoptr = * mut GApplicationCommandLine ; pub type GApplicationCommandLine_listautoptr = * mut GList ; pub type GApplicationCommandLine_slistautoptr = * mut GSList ; pub type GApplicationCommandLine_queueautoptr = * mut GQueue ; pub type GApplication_autoptr = * mut GApplication ; pub type GApplication_listautoptr = * mut GList ; pub type GApplication_slistautoptr = * mut GSList ; pub type GApplication_queueautoptr = * mut GQueue ; pub type GAsyncInitable_autoptr = * mut GAsyncInitable ; pub type GAsyncInitable_listautoptr = * mut GList ; pub type GAsyncInitable_slistautoptr = * mut GSList ; pub type GAsyncInitable_queueautoptr = * mut GQueue ; pub type GAsyncResult_autoptr = * mut GAsyncResult ; pub type GAsyncResult_listautoptr = * mut GList ; pub type GAsyncResult_slistautoptr = * mut GSList ; pub type GAsyncResult_queueautoptr = * mut GQueue ; pub type GBufferedInputStream_autoptr = * mut GBufferedInputStream ; pub type GBufferedInputStream_listautoptr = * mut GList ; pub type GBufferedInputStream_slistautoptr = * mut GSList ; pub type GBufferedInputStream_queueautoptr = * mut GQueue ; pub type GBufferedOutputStream_autoptr = * mut GBufferedOutputStream ; pub type GBufferedOutputStream_listautoptr = * mut GList ; pub type GBufferedOutputStream_slistautoptr = * mut GSList ; pub type GBufferedOutputStream_queueautoptr = * mut GQueue ; pub type GBytesIcon_autoptr = * mut GBytesIcon ; pub type GBytesIcon_listautoptr = * mut GList ; pub type GBytesIcon_slistautoptr = * mut GSList ; pub type GBytesIcon_queueautoptr = * mut GQueue ; pub type GCancellable_autoptr = * mut GCancellable ; pub type GCancellable_listautoptr = * mut GList ; pub type GCancellable_slistautoptr = * mut GSList ; pub type GCancellable_queueautoptr = * mut GQueue ; pub type GCharsetConverter_autoptr = * mut GCharsetConverter ; pub type GCharsetConverter_listautoptr = * mut GList ; pub type GCharsetConverter_slistautoptr = * mut GSList ; pub type GCharsetConverter_queueautoptr = * mut GQueue ; pub type GConverter_autoptr = * mut GConverter ; pub type GConverter_listautoptr = * mut GList ; pub type GConverter_slistautoptr = * mut GSList ; pub type GConverter_queueautoptr = * mut GQueue ; pub type GConverterInputStream_autoptr = * mut GConverterInputStream ; pub type GConverterInputStream_listautoptr = * mut GList ; pub type GConverterInputStream_slistautoptr = * mut GSList ; pub type GConverterInputStream_queueautoptr = * mut GQueue ; pub type GConverterOutputStream_autoptr = * mut GConverterOutputStream ; pub type GConverterOutputStream_listautoptr = * mut GList ; pub type GConverterOutputStream_slistautoptr = * mut GSList ; pub type GConverterOutputStream_queueautoptr = * mut GQueue ; pub type GCredentials_autoptr = * mut GCredentials ; pub type GCredentials_listautoptr = * mut GList ; pub type GCredentials_slistautoptr = * mut GSList ; pub type GCredentials_queueautoptr = * mut GQueue ; pub type GDatagramBased_autoptr = * mut GDatagramBased ; pub type GDatagramBased_listautoptr = * mut GList ; pub type GDatagramBased_slistautoptr = * mut GSList ; pub type GDatagramBased_queueautoptr = * mut GQueue ; pub type GDataInputStream_autoptr = * mut GDataInputStream ; pub type GDataInputStream_listautoptr = * mut GList ; pub type GDataInputStream_slistautoptr = * mut GSList ; pub type GDataInputStream_queueautoptr = * mut GQueue ; pub type GDataOutputStream_autoptr = * mut GDataOutputStream ; pub type GDataOutputStream_listautoptr = * mut GList ; pub type GDataOutputStream_slistautoptr = * mut GSList ; pub type GDataOutputStream_queueautoptr = * mut GQueue ; pub type GDBusActionGroup_autoptr = * mut GDBusActionGroup ; pub type GDBusActionGroup_listautoptr = * mut GList ; pub type GDBusActionGroup_slistautoptr = * mut GSList ; pub type GDBusActionGroup_queueautoptr = * mut GQueue ; pub type GDBusAuthObserver_autoptr = * mut GDBusAuthObserver ; pub type GDBusAuthObserver_listautoptr = * mut GList ; pub type GDBusAuthObserver_slistautoptr = * mut GSList ; pub type GDBusAuthObserver_queueautoptr = * mut GQueue ; pub type GDBusConnection_autoptr = * mut GDBusConnection ; pub type GDBusConnection_listautoptr = * mut GList ; pub type GDBusConnection_slistautoptr = * mut GSList ; pub type GDBusConnection_queueautoptr = * mut GQueue ; pub type GDBusInterface_autoptr = * mut GDBusInterface ; pub type GDBusInterface_listautoptr = * mut GList ; pub type GDBusInterface_slistautoptr = * mut GSList ; pub type GDBusInterface_queueautoptr = * mut GQueue ; pub type GDBusInterfaceSkeleton_autoptr = * mut GDBusInterfaceSkeleton ; pub type GDBusInterfaceSkeleton_listautoptr = * mut GList ; pub type GDBusInterfaceSkeleton_slistautoptr = * mut GSList ; pub type GDBusInterfaceSkeleton_queueautoptr = * mut GQueue ; pub type GDBusMenuModel_autoptr = * mut GDBusMenuModel ; pub type GDBusMenuModel_listautoptr = * mut GList ; pub type GDBusMenuModel_slistautoptr = * mut GSList ; pub type GDBusMenuModel_queueautoptr = * mut GQueue ; pub type GDBusMessage_autoptr = * mut GDBusMessage ; pub type GDBusMessage_listautoptr = * mut GList ; pub type GDBusMessage_slistautoptr = * mut GSList ; pub type GDBusMessage_queueautoptr = * mut GQueue ; pub type GDBusMethodInvocation_autoptr = * mut GDBusMethodInvocation ; pub type GDBusMethodInvocation_listautoptr = * mut GList ; pub type GDBusMethodInvocation_slistautoptr = * mut GSList ; pub type GDBusMethodInvocation_queueautoptr = * mut GQueue ; pub type GDBusNodeInfo_autoptr = * mut GDBusNodeInfo ; pub type GDBusNodeInfo_listautoptr = * mut GList ; pub type GDBusNodeInfo_slistautoptr = * mut GSList ; pub type GDBusNodeInfo_queueautoptr = * mut GQueue ; pub type GDBusObject_autoptr = * mut GDBusObject ; pub type GDBusObject_listautoptr = * mut GList ; pub type GDBusObject_slistautoptr = * mut GSList ; pub type GDBusObject_queueautoptr = * mut GQueue ; pub type GDBusObjectManagerClient_autoptr = * mut GDBusObjectManagerClient ; pub type GDBusObjectManagerClient_listautoptr = * mut GList ; pub type GDBusObjectManagerClient_slistautoptr = * mut GSList ; pub type GDBusObjectManagerClient_queueautoptr = * mut GQueue ; pub type GDBusObjectManager_autoptr = * mut GDBusObjectManager ; pub type GDBusObjectManager_listautoptr = * mut GList ; pub type GDBusObjectManager_slistautoptr = * mut GSList ; pub type GDBusObjectManager_queueautoptr = * mut GQueue ; pub type GDBusObjectManagerServer_autoptr = * mut GDBusObjectManagerServer ; pub type GDBusObjectManagerServer_listautoptr = * mut GList ; pub type GDBusObjectManagerServer_slistautoptr = * mut GSList ; pub type GDBusObjectManagerServer_queueautoptr = * mut GQueue ; pub type GDBusObjectProxy_autoptr = * mut GDBusObjectProxy ; pub type GDBusObjectProxy_listautoptr = * mut GList ; pub type GDBusObjectProxy_slistautoptr = * mut GSList ; pub type GDBusObjectProxy_queueautoptr = * mut GQueue ; pub type GDBusObjectSkeleton_autoptr = * mut GDBusObjectSkeleton ; pub type GDBusObjectSkeleton_listautoptr = * mut GList ; pub type GDBusObjectSkeleton_slistautoptr = * mut GSList ; pub type GDBusObjectSkeleton_queueautoptr = * mut GQueue ; pub type GDBusProxy_autoptr = * mut GDBusProxy ; pub type GDBusProxy_listautoptr = * mut GList ; pub type GDBusProxy_slistautoptr = * mut GSList ; pub type GDBusProxy_queueautoptr = * mut GQueue ; pub type GDBusServer_autoptr = * mut GDBusServer ; pub type GDBusServer_listautoptr = * mut GList ; pub type GDBusServer_slistautoptr = * mut GSList ; pub type GDBusServer_queueautoptr = * mut GQueue ; pub type GDrive_autoptr = * mut GDrive ; pub type GDrive_listautoptr = * mut GList ; pub type GDrive_slistautoptr = * mut GSList ; pub type GDrive_queueautoptr = * mut GQueue ; pub type GEmblemedIcon_autoptr = * mut GEmblemedIcon ; pub type GEmblemedIcon_listautoptr = * mut GList ; pub type GEmblemedIcon_slistautoptr = * mut GSList ; pub type GEmblemedIcon_queueautoptr = * mut GQueue ; pub type GEmblem_autoptr = * mut GEmblem ; pub type GEmblem_listautoptr = * mut GList ; pub type GEmblem_slistautoptr = * mut GSList ; pub type GEmblem_queueautoptr = * mut GQueue ; pub type GFileEnumerator_autoptr = * mut GFileEnumerator ; pub type GFileEnumerator_listautoptr = * mut GList ; pub type GFileEnumerator_slistautoptr = * mut GSList ; pub type GFileEnumerator_queueautoptr = * mut GQueue ; pub type GFile_autoptr = * mut GFile ; pub type GFile_listautoptr = * mut GList ; pub type GFile_slistautoptr = * mut GSList ; pub type GFile_queueautoptr = * mut GQueue ; pub type GFileAttributeInfoList_autoptr = * mut GFileAttributeInfoList ; pub type GFileAttributeInfoList_listautoptr = * mut GList ; pub type GFileAttributeInfoList_slistautoptr = * mut GSList ; pub type GFileAttributeInfoList_queueautoptr = * mut GQueue ; pub type GFileIcon_autoptr = * mut GFileIcon ; pub type GFileIcon_listautoptr = * mut GList ; pub type GFileIcon_slistautoptr = * mut GSList ; pub type GFileIcon_queueautoptr = * mut GQueue ; pub type GFileInfo_autoptr = * mut GFileInfo ; pub type GFileInfo_listautoptr = * mut GList ; pub type GFileInfo_slistautoptr = * mut GSList ; pub type GFileInfo_queueautoptr = * mut GQueue ; pub type GFileInputStream_autoptr = * mut GFileInputStream ; pub type GFileInputStream_listautoptr = * mut GList ; pub type GFileInputStream_slistautoptr = * mut GSList ; pub type GFileInputStream_queueautoptr = * mut GQueue ; pub type GFileIOStream_autoptr = * mut GFileIOStream ; pub type GFileIOStream_listautoptr = * mut GList ; pub type GFileIOStream_slistautoptr = * mut GSList ; pub type GFileIOStream_queueautoptr = * mut GQueue ; pub type GFileMonitor_autoptr = * mut GFileMonitor ; pub type GFileMonitor_listautoptr = * mut GList ; pub type GFileMonitor_slistautoptr = * mut GSList ; pub type GFileMonitor_queueautoptr = * mut GQueue ; pub type GFilenameCompleter_autoptr = * mut GFilenameCompleter ; pub type GFilenameCompleter_listautoptr = * mut GList ; pub type GFilenameCompleter_slistautoptr = * mut GSList ; pub type GFilenameCompleter_queueautoptr = * mut GQueue ; pub type GFileOutputStream_autoptr = * mut GFileOutputStream ; pub type GFileOutputStream_listautoptr = * mut GList ; pub type GFileOutputStream_slistautoptr = * mut GSList ; pub type GFileOutputStream_queueautoptr = * mut GQueue ; pub type GFilterInputStream_autoptr = * mut GFilterInputStream ; pub type GFilterInputStream_listautoptr = * mut GList ; pub type GFilterInputStream_slistautoptr = * mut GSList ; pub type GFilterInputStream_queueautoptr = * mut GQueue ; pub type GFilterOutputStream_autoptr = * mut GFilterOutputStream ; pub type GFilterOutputStream_listautoptr = * mut GList ; pub type GFilterOutputStream_slistautoptr = * mut GSList ; pub type GFilterOutputStream_queueautoptr = * mut GQueue ; pub type GIcon_autoptr = * mut GIcon ; pub type GIcon_listautoptr = * mut GList ; pub type GIcon_slistautoptr = * mut GSList ; pub type GIcon_queueautoptr = * mut GQueue ; pub type GInetAddress_autoptr = * mut GInetAddress ; pub type GInetAddress_listautoptr = * mut GList ; pub type GInetAddress_slistautoptr = * mut GSList ; pub type GInetAddress_queueautoptr = * mut GQueue ; pub type GInetAddressMask_autoptr = * mut GInetAddressMask ; pub type GInetAddressMask_listautoptr = * mut GList ; pub type GInetAddressMask_slistautoptr = * mut GSList ; pub type GInetAddressMask_queueautoptr = * mut GQueue ; pub type GInetSocketAddress_autoptr = * mut GInetSocketAddress ; pub type GInetSocketAddress_listautoptr = * mut GList ; pub type GInetSocketAddress_slistautoptr = * mut GSList ; pub type GInetSocketAddress_queueautoptr = * mut GQueue ; pub type GInitable_autoptr = * mut GInitable ; pub type GInitable_listautoptr = * mut GList ; pub type GInitable_slistautoptr = * mut GSList ; pub type GInitable_queueautoptr = * mut GQueue ; pub type GInputStream_autoptr = * mut GInputStream ; pub type GInputStream_listautoptr = * mut GList ; pub type GInputStream_slistautoptr = * mut GSList ; pub type GInputStream_queueautoptr = * mut GQueue ; pub type GIOModule_autoptr = * mut GIOModule ; pub type GIOModule_listautoptr = * mut GList ; pub type GIOModule_slistautoptr = * mut GSList ; pub type GIOModule_queueautoptr = * mut GQueue ; pub type GIOStream_autoptr = * mut GIOStream ; pub type GIOStream_listautoptr = * mut GList ; pub type GIOStream_slistautoptr = * mut GSList ; pub type GIOStream_queueautoptr = * mut GQueue ; pub type GLoadableIcon_autoptr = * mut GLoadableIcon ; pub type GLoadableIcon_listautoptr = * mut GList ; pub type GLoadableIcon_slistautoptr = * mut GSList ; pub type GLoadableIcon_queueautoptr = * mut GQueue ; pub type GMemoryInputStream_autoptr = * mut GMemoryInputStream ; pub type GMemoryInputStream_listautoptr = * mut GList ; pub type GMemoryInputStream_slistautoptr = * mut GSList ; pub type GMemoryInputStream_queueautoptr = * mut GQueue ; pub type GMemoryOutputStream_autoptr = * mut GMemoryOutputStream ; pub type GMemoryOutputStream_listautoptr = * mut GList ; pub type GMemoryOutputStream_slistautoptr = * mut GSList ; pub type GMemoryOutputStream_queueautoptr = * mut GQueue ; pub type GMenu_autoptr = * mut GMenu ; pub type GMenu_listautoptr = * mut GList ; pub type GMenu_slistautoptr = * mut GSList ; pub type GMenu_queueautoptr = * mut GQueue ; pub type GMenuItem_autoptr = * mut GMenuItem ; pub type GMenuItem_listautoptr = * mut GList ; pub type GMenuItem_slistautoptr = * mut GSList ; pub type GMenuItem_queueautoptr = * mut GQueue ; pub type GMenuModel_autoptr = * mut GMenuModel ; pub type GMenuModel_listautoptr = * mut GList ; pub type GMenuModel_slistautoptr = * mut GSList ; pub type GMenuModel_queueautoptr = * mut GQueue ; pub type GMenuAttributeIter_autoptr = * mut GMenuAttributeIter ; pub type GMenuAttributeIter_listautoptr = * mut GList ; pub type GMenuAttributeIter_slistautoptr = * mut GSList ; pub type GMenuAttributeIter_queueautoptr = * mut GQueue ; pub type GMenuLinkIter_autoptr = * mut GMenuLinkIter ; pub type GMenuLinkIter_listautoptr = * mut GList ; pub type GMenuLinkIter_slistautoptr = * mut GSList ; pub type GMenuLinkIter_queueautoptr = * mut GQueue ; pub type GMount_autoptr = * mut GMount ; pub type GMount_listautoptr = * mut GList ; pub type GMount_slistautoptr = * mut GSList ; pub type GMount_queueautoptr = * mut GQueue ; pub type GMountOperation_autoptr = * mut GMountOperation ; pub type GMountOperation_listautoptr = * mut GList ; pub type GMountOperation_slistautoptr = * mut GSList ; pub type GMountOperation_queueautoptr = * mut GQueue ; pub type GNativeVolumeMonitor_autoptr = * mut GNativeVolumeMonitor ; pub type GNativeVolumeMonitor_listautoptr = * mut GList ; pub type GNativeVolumeMonitor_slistautoptr = * mut GSList ; pub type GNativeVolumeMonitor_queueautoptr = * mut GQueue ; pub type GNetworkAddress_autoptr = * mut GNetworkAddress ; pub type GNetworkAddress_listautoptr = * mut GList ; pub type GNetworkAddress_slistautoptr = * mut GSList ; pub type GNetworkAddress_queueautoptr = * mut GQueue ; pub type GNetworkMonitor_autoptr = * mut GNetworkMonitor ; pub type GNetworkMonitor_listautoptr = * mut GList ; pub type GNetworkMonitor_slistautoptr = * mut GSList ; pub type GNetworkMonitor_queueautoptr = * mut GQueue ; pub type GNetworkService_autoptr = * mut GNetworkService ; pub type GNetworkService_listautoptr = * mut GList ; pub type GNetworkService_slistautoptr = * mut GSList ; pub type GNetworkService_queueautoptr = * mut GQueue ; pub type GNotification_autoptr = * mut GNotification ; pub type GNotification_listautoptr = * mut GList ; pub type GNotification_slistautoptr = * mut GSList ; pub type GNotification_queueautoptr = * mut GQueue ; pub type GOutputStream_autoptr = * mut GOutputStream ; pub type GOutputStream_listautoptr = * mut GList ; pub type GOutputStream_slistautoptr = * mut GSList ; pub type GOutputStream_queueautoptr = * mut GQueue ; pub type GPermission_autoptr = * mut GPermission ; pub type GPermission_listautoptr = * mut GList ; pub type GPermission_slistautoptr = * mut GSList ; pub type GPermission_queueautoptr = * mut GQueue ; pub type GPollableInputStream_autoptr = * mut GPollableInputStream ; pub type GPollableInputStream_listautoptr = * mut GList ; pub type GPollableInputStream_slistautoptr = * mut GSList ; pub type GPollableInputStream_queueautoptr = * mut GQueue ; pub type GPollableOutputStream_autoptr = * mut GPollableOutputStream ; pub type GPollableOutputStream_listautoptr = * mut GList ; pub type GPollableOutputStream_slistautoptr = * mut GSList ; pub type GPollableOutputStream_queueautoptr = * mut GQueue ; pub type GPropertyAction_autoptr = * mut GPropertyAction ; pub type GPropertyAction_listautoptr = * mut GList ; pub type GPropertyAction_slistautoptr = * mut GSList ; pub type GPropertyAction_queueautoptr = * mut GQueue ; pub type GProxyAddressEnumerator_autoptr = * mut GProxyAddressEnumerator ; pub type GProxyAddressEnumerator_listautoptr = * mut GList ; pub type GProxyAddressEnumerator_slistautoptr = * mut GSList ; pub type GProxyAddressEnumerator_queueautoptr = * mut GQueue ; pub type GProxyAddress_autoptr = * mut GProxyAddress ; pub type GProxyAddress_listautoptr = * mut GList ; pub type GProxyAddress_slistautoptr = * mut GSList ; pub type GProxyAddress_queueautoptr = * mut GQueue ; pub type GProxy_autoptr = * mut GProxy ; pub type GProxy_listautoptr = * mut GList ; pub type GProxy_slistautoptr = * mut GSList ; pub type GProxy_queueautoptr = * mut GQueue ; pub type GProxyResolver_autoptr = * mut GProxyResolver ; pub type GProxyResolver_listautoptr = * mut GList ; pub type GProxyResolver_slistautoptr = * mut GSList ; pub type GProxyResolver_queueautoptr = * mut GQueue ; pub type GRemoteActionGroup_autoptr = * mut GRemoteActionGroup ; pub type GRemoteActionGroup_listautoptr = * mut GList ; pub type GRemoteActionGroup_slistautoptr = * mut GSList ; pub type GRemoteActionGroup_queueautoptr = * mut GQueue ; pub type GResolver_autoptr = * mut GResolver ; pub type GResolver_listautoptr = * mut GList ; pub type GResolver_slistautoptr = * mut GSList ; pub type GResolver_queueautoptr = * mut GQueue ; pub type GResource_autoptr = * mut GResource ; pub type GResource_listautoptr = * mut GList ; pub type GResource_slistautoptr = * mut GSList ; pub type GResource_queueautoptr = * mut GQueue ; pub type GSeekable_autoptr = * mut GSeekable ; pub type GSeekable_listautoptr = * mut GList ; pub type GSeekable_slistautoptr = * mut GSList ; pub type GSeekable_queueautoptr = * mut GQueue ; pub type GSettingsBackend_autoptr = * mut GSettingsBackend ; pub type GSettingsBackend_listautoptr = * mut GList ; pub type GSettingsBackend_slistautoptr = * mut GSList ; pub type GSettingsBackend_queueautoptr = * mut GQueue ; pub type GSettingsSchema_autoptr = * mut GSettingsSchema ; pub type GSettingsSchema_listautoptr = * mut GList ; pub type GSettingsSchema_slistautoptr = * mut GSList ; pub type GSettingsSchema_queueautoptr = * mut GQueue ; pub type GSettingsSchemaKey_autoptr = * mut GSettingsSchemaKey ; pub type GSettingsSchemaKey_listautoptr = * mut GList ; pub type GSettingsSchemaKey_slistautoptr = * mut GSList ; pub type GSettingsSchemaKey_queueautoptr = * mut GQueue ; pub type GSettingsSchemaSource_autoptr = * mut GSettingsSchemaSource ; pub type GSettingsSchemaSource_listautoptr = * mut GList ; pub type GSettingsSchemaSource_slistautoptr = * mut GSList ; pub type GSettingsSchemaSource_queueautoptr = * mut GQueue ; pub type GSettings_autoptr = * mut GSettings ; pub type GSettings_listautoptr = * mut GList ; pub type GSettings_slistautoptr = * mut GSList ; pub type GSettings_queueautoptr = * mut GQueue ; pub type GSimpleActionGroup_autoptr = * mut GSimpleActionGroup ; pub type GSimpleActionGroup_listautoptr = * mut GList ; pub type GSimpleActionGroup_slistautoptr = * mut GSList ; pub type GSimpleActionGroup_queueautoptr = * mut GQueue ; pub type GSimpleAction_autoptr = * mut GSimpleAction ; pub type GSimpleAction_listautoptr = * mut GList ; pub type GSimpleAction_slistautoptr = * mut GSList ; pub type GSimpleAction_queueautoptr = * mut GQueue ; pub type GSimpleAsyncResult_autoptr = * mut GSimpleAsyncResult ; pub type GSimpleAsyncResult_listautoptr = * mut GList ; pub type GSimpleAsyncResult_slistautoptr = * mut GSList ; pub type GSimpleAsyncResult_queueautoptr = * mut GQueue ; pub type GSimplePermission_autoptr = * mut GSimplePermission ; pub type GSimplePermission_listautoptr = * mut GList ; pub type GSimplePermission_slistautoptr = * mut GSList ; pub type GSimplePermission_queueautoptr = * mut GQueue ; pub type GSimpleProxyResolver_autoptr = * mut GSimpleProxyResolver ; pub type GSimpleProxyResolver_listautoptr = * mut GList ; pub type GSimpleProxyResolver_slistautoptr = * mut GSList ; pub type GSimpleProxyResolver_queueautoptr = * mut GQueue ; pub type GSocketAddressEnumerator_autoptr = * mut GSocketAddressEnumerator ; pub type GSocketAddressEnumerator_listautoptr = * mut GList ; pub type GSocketAddressEnumerator_slistautoptr = * mut GSList ; pub type GSocketAddressEnumerator_queueautoptr = * mut GQueue ; pub type GSocketAddress_autoptr = * mut GSocketAddress ; pub type GSocketAddress_listautoptr = * mut GList ; pub type GSocketAddress_slistautoptr = * mut GSList ; pub type GSocketAddress_queueautoptr = * mut GQueue ; pub type GSocketClient_autoptr = * mut GSocketClient ; pub type GSocketClient_listautoptr = * mut GList ; pub type GSocketClient_slistautoptr = * mut GSList ; pub type GSocketClient_queueautoptr = * mut GQueue ; pub type GSocketConnectable_autoptr = * mut GSocketConnectable ; pub type GSocketConnectable_listautoptr = * mut GList ; pub type GSocketConnectable_slistautoptr = * mut GSList ; pub type GSocketConnectable_queueautoptr = * mut GQueue ; pub type GSocketConnection_autoptr = * mut GSocketConnection ; pub type GSocketConnection_listautoptr = * mut GList ; pub type GSocketConnection_slistautoptr = * mut GSList ; pub type GSocketConnection_queueautoptr = * mut GQueue ; pub type GSocketControlMessage_autoptr = * mut GSocketControlMessage ; pub type GSocketControlMessage_listautoptr = * mut GList ; pub type GSocketControlMessage_slistautoptr = * mut GSList ; pub type GSocketControlMessage_queueautoptr = * mut GQueue ; pub type GSocket_autoptr = * mut GSocket ; pub type GSocket_listautoptr = * mut GList ; pub type GSocket_slistautoptr = * mut GSList ; pub type GSocket_queueautoptr = * mut GQueue ; pub type GSocketListener_autoptr = * mut GSocketListener ; pub type GSocketListener_listautoptr = * mut GList ; pub type GSocketListener_slistautoptr = * mut GSList ; pub type GSocketListener_queueautoptr = * mut GQueue ; pub type GSocketService_autoptr = * mut GSocketService ; pub type GSocketService_listautoptr = * mut GList ; pub type GSocketService_slistautoptr = * mut GSList ; pub type GSocketService_queueautoptr = * mut GQueue ; pub type GSubprocess_autoptr = * mut GSubprocess ; pub type GSubprocess_listautoptr = * mut GList ; pub type GSubprocess_slistautoptr = * mut GSList ; pub type GSubprocess_queueautoptr = * mut GQueue ; pub type GSubprocessLauncher_autoptr = * mut GSubprocessLauncher ; pub type GSubprocessLauncher_listautoptr = * mut GList ; pub type GSubprocessLauncher_slistautoptr = * mut GSList ; pub type GSubprocessLauncher_queueautoptr = * mut GQueue ; pub type GTask_autoptr = * mut GTask ; pub type GTask_listautoptr = * mut GList ; pub type GTask_slistautoptr = * mut GSList ; pub type GTask_queueautoptr = * mut GQueue ; pub type GTcpConnection_autoptr = * mut GTcpConnection ; pub type GTcpConnection_listautoptr = * mut GList ; pub type GTcpConnection_slistautoptr = * mut GSList ; pub type GTcpConnection_queueautoptr = * mut GQueue ; pub type GTcpWrapperConnection_autoptr = * mut GTcpWrapperConnection ; pub type GTcpWrapperConnection_listautoptr = * mut GList ; pub type GTcpWrapperConnection_slistautoptr = * mut GSList ; pub type GTcpWrapperConnection_queueautoptr = * mut GQueue ; pub type GTestDBus_autoptr = * mut GTestDBus ; pub type GTestDBus_listautoptr = * mut GList ; pub type GTestDBus_slistautoptr = * mut GSList ; pub type GTestDBus_queueautoptr = * mut GQueue ; pub type GThemedIcon_autoptr = * mut GThemedIcon ; pub type GThemedIcon_listautoptr = * mut GList ; pub type GThemedIcon_slistautoptr = * mut GSList ; pub type GThemedIcon_queueautoptr = * mut GQueue ; pub type GThreadedSocketService_autoptr = * mut GThreadedSocketService ; pub type GThreadedSocketService_listautoptr = * mut GList ; pub type GThreadedSocketService_slistautoptr = * mut GSList ; pub type GThreadedSocketService_queueautoptr = * mut GQueue ; pub type GTlsBackend_autoptr = * mut GTlsBackend ; pub type GTlsBackend_listautoptr = * mut GList ; pub type GTlsBackend_slistautoptr = * mut GSList ; pub type GTlsBackend_queueautoptr = * mut GQueue ; pub type GTlsCertificate_autoptr = * mut GTlsCertificate ; pub type GTlsCertificate_listautoptr = * mut GList ; pub type GTlsCertificate_slistautoptr = * mut GSList ; pub type GTlsCertificate_queueautoptr = * mut GQueue ; pub type GTlsClientConnection_autoptr = * mut GTlsClientConnection ; pub type GTlsClientConnection_listautoptr = * mut GList ; pub type GTlsClientConnection_slistautoptr = * mut GSList ; pub type GTlsClientConnection_queueautoptr = * mut GQueue ; pub type GTlsConnection_autoptr = * mut GTlsConnection ; pub type GTlsConnection_listautoptr = * mut GList ; pub type GTlsConnection_slistautoptr = * mut GSList ; pub type GTlsConnection_queueautoptr = * mut GQueue ; pub type GTlsDatabase_autoptr = * mut GTlsDatabase ; pub type GTlsDatabase_listautoptr = * mut GList ; pub type GTlsDatabase_slistautoptr = * mut GSList ; pub type GTlsDatabase_queueautoptr = * mut GQueue ; pub type GTlsFileDatabase_autoptr = * mut GTlsFileDatabase ; pub type GTlsFileDatabase_listautoptr = * mut GList ; pub type GTlsFileDatabase_slistautoptr = * mut GSList ; pub type GTlsFileDatabase_queueautoptr = * mut GQueue ; pub type GTlsInteraction_autoptr = * mut GTlsInteraction ; pub type GTlsInteraction_listautoptr = * mut GList ; pub type GTlsInteraction_slistautoptr = * mut GSList ; pub type GTlsInteraction_queueautoptr = * mut GQueue ; pub type GTlsPassword_autoptr = * mut GTlsPassword ; pub type GTlsPassword_listautoptr = * mut GList ; pub type GTlsPassword_slistautoptr = * mut GSList ; pub type GTlsPassword_queueautoptr = * mut GQueue ; pub type GTlsServerConnection_autoptr = * mut GTlsServerConnection ; pub type GTlsServerConnection_listautoptr = * mut GList ; pub type GTlsServerConnection_slistautoptr = * mut GSList ; pub type GTlsServerConnection_queueautoptr = * mut GQueue ; pub type GVfs_autoptr = * mut GVfs ; pub type GVfs_listautoptr = * mut GList ; pub type GVfs_slistautoptr = * mut GSList ; pub type GVfs_queueautoptr = * mut GQueue ; pub type GVolume_autoptr = * mut GVolume ; pub type GVolume_listautoptr = * mut GList ; pub type GVolume_slistautoptr = * mut GSList ; pub type GVolume_queueautoptr = * mut GQueue ; pub type GVolumeMonitor_autoptr = * mut GVolumeMonitor ; pub type GVolumeMonitor_listautoptr = * mut GList ; pub type GVolumeMonitor_slistautoptr = * mut GSList ; pub type GVolumeMonitor_queueautoptr = * mut GQueue ; pub type GZlibCompressor_autoptr = * mut GZlibCompressor ; pub type GZlibCompressor_listautoptr = * mut GList ; pub type GZlibCompressor_slistautoptr = * mut GSList ; pub type GZlibCompressor_queueautoptr = * mut GQueue ; pub type GZlibDecompressor_autoptr = * mut GZlibDecompressor ; pub type GZlibDecompressor_listautoptr = * mut GList ; pub type GZlibDecompressor_slistautoptr = * mut GSList ; pub type GZlibDecompressor_queueautoptr = * mut GQueue ; pub type VipsPel = :: std :: os :: raw :: c_uchar ; pub type VipsCallbackFn = :: std :: option :: Option < unsafe extern "C" fn ( a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type VipsSListMap2Fn = :: std :: option :: Option < unsafe extern "C" fn ( item : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; pub type VipsSListMap4Fn = :: std :: option :: Option < unsafe extern "C" fn ( item : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void , c : * mut :: std :: os :: raw :: c_void , d : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; pub type VipsSListFold2Fn = :: std :: option :: Option < unsafe extern "C" fn ( item : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void , c : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; pub const VipsPrecision_VIPS_PRECISION_INTEGER : VipsPrecision = 0 ; pub const VipsPrecision_VIPS_PRECISION_FLOAT : VipsPrecision = 1 ; pub const VipsPrecision_VIPS_PRECISION_APPROXIMATE : VipsPrecision = 2 ; pub const VipsPrecision_VIPS_PRECISION_LAST : VipsPrecision = 3 ; pub type VipsPrecision = u32 ; extern "C" { pub fn vips_path_filename7 ( path : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_path_mode7 ( path : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } pub type VipsImage = _VipsImage ; pub type VipsRegion = _VipsRegion ; pub type VipsBuf = _VipsBuf ; pub type VipsSource = _VipsSource ; pub type VipsTarget = _VipsTarget ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsBuf { pub base : * mut :: std :: os :: raw :: c_char , pub mx : :: std :: os :: raw :: c_int , pub i : :: std :: os :: raw :: c_int , pub full : gboolean , pub lasti : :: std :: os :: raw :: c_int , pub dynamic : gboolean , } # [ test ] fn bindgen_test_layout__VipsBuf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsBuf > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _VipsBuf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsBuf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsBuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuf > ( ) ) ) . base as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuf ) , "::" , stringify ! ( base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuf > ( ) ) ) . mx as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuf ) , "::" , stringify ! ( mx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuf > ( ) ) ) . i as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuf ) , "::" , stringify ! ( i ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuf > ( ) ) ) . full as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuf ) , "::" , stringify ! ( full ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuf > ( ) ) ) . lasti as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuf ) , "::" , stringify ! ( lasti ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuf > ( ) ) ) . dynamic as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuf ) , "::" , stringify ! ( dynamic ) ) ) ; } extern "C" { pub fn vips_buf_rewind ( buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_buf_destroy ( buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_buf_init ( buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_buf_set_static ( buf : * mut VipsBuf , base : * mut :: std :: os :: raw :: c_char , mx : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_buf_set_dynamic ( buf : * mut VipsBuf , mx : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_buf_init_static ( buf : * mut VipsBuf , base : * mut :: std :: os :: raw :: c_char , mx : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_buf_init_dynamic ( buf : * mut VipsBuf , mx : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_buf_appendns ( buf : * mut VipsBuf , str : * const :: std :: os :: raw :: c_char , sz : :: std :: os :: raw :: c_int ) -> gboolean ; } extern "C" { pub fn vips_buf_appends ( buf : * mut VipsBuf , str : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_buf_appendf ( buf : * mut VipsBuf , fmt : * const :: std :: os :: raw :: c_char , ... ) -> gboolean ; } extern "C" { pub fn vips_buf_vappendf ( buf : * mut VipsBuf , fmt : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag ) -> gboolean ; } extern "C" { pub fn vips_buf_appendc ( buf : * mut VipsBuf , ch : :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_buf_appendsc ( buf : * mut VipsBuf , quote : gboolean , str : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_buf_appendgv ( buf : * mut VipsBuf , value : * mut GValue ) -> gboolean ; } extern "C" { pub fn vips_buf_append_size ( buf : * mut VipsBuf , n : usize ) -> gboolean ; } extern "C" { pub fn vips_buf_removec ( buf : * mut VipsBuf , ch : :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_buf_change ( buf : * mut VipsBuf , o : * const :: std :: os :: raw :: c_char , n : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_buf_is_empty ( buf : * mut VipsBuf ) -> gboolean ; } extern "C" { pub fn vips_buf_is_full ( buf : * mut VipsBuf ) -> gboolean ; } extern "C" { pub fn vips_buf_all ( buf : * mut VipsBuf ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_buf_firstline ( buf : * mut VipsBuf ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_buf_appendg ( buf : * mut VipsBuf , g : f64 ) -> gboolean ; } extern "C" { pub fn vips_buf_appendd ( buf : * mut VipsBuf , d : :: std :: os :: raw :: c_int ) -> gboolean ; } extern "C" { pub fn vips_buf_len ( buf : * mut VipsBuf ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsDbuf { pub data : * mut :: std :: os :: raw :: c_uchar , pub allocated_size : usize , pub data_size : usize , pub write_point : usize , } # [ test ] fn bindgen_test_layout__VipsDbuf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsDbuf > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _VipsDbuf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsDbuf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsDbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsDbuf > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsDbuf ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsDbuf > ( ) ) ) . allocated_size as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsDbuf ) , "::" , stringify ! ( allocated_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsDbuf > ( ) ) ) . data_size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsDbuf ) , "::" , stringify ! ( data_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsDbuf > ( ) ) ) . write_point as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsDbuf ) , "::" , stringify ! ( write_point ) ) ) ; } pub type VipsDbuf = _VipsDbuf ; extern "C" { pub fn vips_dbuf_init ( dbuf : * mut VipsDbuf ) ; } extern "C" { pub fn vips_dbuf_minimum_size ( dbuf : * mut VipsDbuf , size : usize ) -> gboolean ; } extern "C" { pub fn vips_dbuf_allocate ( dbuf : * mut VipsDbuf , size : usize ) -> gboolean ; } extern "C" { pub fn vips_dbuf_read ( dbuf : * mut VipsDbuf , data : * mut :: std :: os :: raw :: c_uchar , size : usize ) -> usize ; } extern "C" { pub fn vips_dbuf_get_write ( dbuf : * mut VipsDbuf , size : * mut usize ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn vips_dbuf_write ( dbuf : * mut VipsDbuf , data : * const :: std :: os :: raw :: c_uchar , size : usize ) -> gboolean ; } extern "C" { pub fn vips_dbuf_writef ( dbuf : * mut VipsDbuf , fmt : * const :: std :: os :: raw :: c_char , ... ) -> gboolean ; } extern "C" { pub fn vips_dbuf_write_amp ( dbuf : * mut VipsDbuf , str : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_dbuf_reset ( dbuf : * mut VipsDbuf ) ; } extern "C" { pub fn vips_dbuf_destroy ( dbuf : * mut VipsDbuf ) ; } extern "C" { pub fn vips_dbuf_seek ( dbuf : * mut VipsDbuf , offset : off_t , whence : :: std :: os :: raw :: c_int ) -> gboolean ; } extern "C" { pub fn vips_dbuf_truncate ( dbuf : * mut VipsDbuf ) ; } extern "C" { pub fn vips_dbuf_tell ( dbuf : * mut VipsDbuf ) -> off_t ; } extern "C" { pub fn vips_dbuf_string ( dbuf : * mut VipsDbuf , size : * mut usize ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn vips_dbuf_steal ( dbuf : * mut VipsDbuf , size : * mut usize ) -> * mut :: std :: os :: raw :: c_uchar ; } pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig ( __x : f64 , __y : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acos ( __x : f64 ) -> f64 ; } extern "C" { pub fn asin ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asin ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atan ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan2 ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn __atan2 ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn cos ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cos ( __x : f64 ) -> f64 ; } extern "C" { pub fn sin ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sin ( __x : f64 ) -> f64 ; } extern "C" { pub fn tan ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tan ( __x : f64 ) -> f64 ; } extern "C" { pub fn cosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn sinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn tanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn acosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn asinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn atanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp ( __x : f64 ) -> f64 ; } extern "C" { pub fn frexp ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __frexp ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ldexp ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __ldexp ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn log ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log ( __x : f64 ) -> f64 ; } extern "C" { pub fn log10 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log10 ( __x : f64 ) -> f64 ; } extern "C" { pub fn modf ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn __modf ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn expm1 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __expm1 ( __x : f64 ) -> f64 ; } extern "C" { pub fn log1p ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log1p ( __x : f64 ) -> f64 ; } extern "C" { pub fn logb ( __x : f64 ) -> f64 ; } extern "C" { pub fn __logb ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn log2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn pow ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __pow ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn sqrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sqrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn hypot ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __hypot ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn cbrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cbrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn ceil ( __x : f64 ) -> f64 ; } extern "C" { pub fn __ceil ( __x : f64 ) -> f64 ; } extern "C" { pub fn fabs ( __x : f64 ) -> f64 ; } extern "C" { pub fn __fabs ( __x : f64 ) -> f64 ; } extern "C" { pub fn floor ( __x : f64 ) -> f64 ; } extern "C" { pub fn __floor ( __x : f64 ) -> f64 ; } extern "C" { pub fn fmod ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmod ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn isinf ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __drem ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn significand ( __x : f64 ) -> f64 ; } extern "C" { pub fn __significand ( __x : f64 ) -> f64 ; } extern "C" { pub fn copysign ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __copysign ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nan ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn __nan ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn isnan ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn j1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn jn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __jn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn y0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn y1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn yn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __yn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn erf ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erf ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn erfc ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erfc ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __lgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn tgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __tgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn gamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __gamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgamma_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __lgamma_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn rint ( __x : f64 ) -> f64 ; } extern "C" { pub fn __rint ( __x : f64 ) -> f64 ; } extern "C" { pub fn nextafter ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __nextafter ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nexttoward ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __nexttoward ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn remainder ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __remainder ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn scalbn ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __scalbn ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ilogb ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn __scalbln ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn nearbyint ( __x : f64 ) -> f64 ; } extern "C" { pub fn __nearbyint ( __x : f64 ) -> f64 ; } extern "C" { pub fn round ( __x : f64 ) -> f64 ; } extern "C" { pub fn __round ( __x : f64 ) -> f64 ; } extern "C" { pub fn trunc ( __x : f64 ) -> f64 ; } extern "C" { pub fn __trunc ( __x : f64 ) -> f64 ; } extern "C" { pub fn remquo ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __remquo ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn lrint ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fdim ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmax ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmax ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmin ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmin ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fma ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn __fma ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn scalb ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __scalb ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __fpclassifyf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf ( __x : f32 , __y : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __acosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn asinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __asinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __atanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atan2f ( __y : f32 , __x : f32 ) -> f32 ; } extern "C" { pub fn __atan2f ( __y : f32 , __x : f32 ) -> f32 ; } extern "C" { pub fn cosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __cosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn sinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn tanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __tanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn coshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __coshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn sinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn tanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __tanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn acoshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __acoshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn asinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __asinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __atanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn expf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __expf ( __x : f32 ) -> f32 ; } extern "C" { pub fn frexpf ( __x : f32 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __frexpf ( __x : f32 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn ldexpf ( __x : f32 , __exponent : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __ldexpf ( __x : f32 , __exponent : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn logf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __logf ( __x : f32 ) -> f32 ; } extern "C" { pub fn log10f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log10f ( __x : f32 ) -> f32 ; } extern "C" { pub fn modff ( __x : f32 , __iptr : * mut f32 ) -> f32 ; } extern "C" { pub fn __modff ( __x : f32 , __iptr : * mut f32 ) -> f32 ; } extern "C" { pub fn expm1f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __expm1f ( __x : f32 ) -> f32 ; } extern "C" { pub fn log1pf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log1pf ( __x : f32 ) -> f32 ; } extern "C" { pub fn logbf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __logbf ( __x : f32 ) -> f32 ; } extern "C" { pub fn exp2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __exp2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn log2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn powf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __powf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn sqrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sqrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn hypotf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __hypotf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn cbrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __cbrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn ceilf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __ceilf ( __x : f32 ) -> f32 ; } extern "C" { pub fn fabsf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __fabsf ( __x : f32 ) -> f32 ; } extern "C" { pub fn floorf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __floorf ( __x : f32 ) -> f32 ; } extern "C" { pub fn fmodf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fmodf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn isinff ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __dremf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn significandf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __significandf ( __x : f32 ) -> f32 ; } extern "C" { pub fn copysignf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __copysignf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn nanf ( __tagb : * const :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn __nanf ( __tagb : * const :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn isnanf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __j0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn j1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __j1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn jnf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn __jnf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn y0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __y0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn y1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __y1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn ynf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn __ynf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn erff ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __erff ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn erfcf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __erfcf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn lgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __lgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn tgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __tgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn gammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __gammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn lgammaf_r ( arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __lgammaf_r ( arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn rintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __rintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn nextafterf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __nextafterf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn nexttowardf ( __x : f32 , __y : f64 ) -> f32 ; } extern "C" { pub fn __nexttowardf ( __x : f32 , __y : f64 ) -> f32 ; } extern "C" { pub fn remainderf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __remainderf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn scalbnf ( __x : f32 , __n : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __scalbnf ( __x : f32 , __n : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn ilogbf ( __x : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf ( __x : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf ( __x : f32 , __n : :: std :: os :: raw :: c_long ) -> f32 ; } extern "C" { pub fn __scalblnf ( __x : f32 , __n : :: std :: os :: raw :: c_long ) -> f32 ; } extern "C" { pub fn nearbyintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __nearbyintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn roundf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __roundf ( __x : f32 ) -> f32 ; } extern "C" { pub fn truncf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __truncf ( __x : f32 ) -> f32 ; } extern "C" { pub fn remquof ( __x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __remquof ( __x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn lrintf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fdimf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fmaxf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fmaxf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fminf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fminf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fmaf ( __x : f32 , __y : f32 , __z : f32 ) -> f32 ; } extern "C" { pub fn __fmaf ( __x : f32 , __y : f32 , __z : f32 ) -> f32 ; } extern "C" { pub fn scalbf ( __x : f32 , __n : f32 ) -> f32 ; } extern "C" { pub fn __scalbf ( __x : f32 , __n : f32 ) -> f32 ; } extern "C" { pub fn __fpclassifyl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl ( __x : f64 , __y : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acosl ( __x : f64 ) -> f64 ; } extern "C" { pub fn asinl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asinl ( __x : f64 ) -> f64 ; } extern "C" { pub fn atanl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atanl ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan2l ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn __atan2l ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn cosl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cosl ( __x : f64 ) -> f64 ; } extern "C" { pub fn sinl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sinl ( __x : f64 ) -> f64 ; } extern "C" { pub fn tanl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tanl ( __x : f64 ) -> f64 ; } extern "C" { pub fn coshl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __coshl ( __x : f64 ) -> f64 ; } extern "C" { pub fn sinhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sinhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn tanhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tanhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn acoshl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acoshl ( __x : f64 ) -> f64 ; } extern "C" { pub fn asinhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asinhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn atanhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atanhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn expl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __expl ( __x : f64 ) -> f64 ; } extern "C" { pub fn frexpl ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __frexpl ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ldexpl ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __ldexpl ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn logl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __logl ( __x : f64 ) -> f64 ; } extern "C" { pub fn log10l ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log10l ( __x : f64 ) -> f64 ; } extern "C" { pub fn modfl ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn __modfl ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn expm1l ( __x : f64 ) -> f64 ; } extern "C" { pub fn __expm1l ( __x : f64 ) -> f64 ; } extern "C" { pub fn log1pl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log1pl ( __x : f64 ) -> f64 ; } extern "C" { pub fn logbl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __logbl ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp2l ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp2l ( __x : f64 ) -> f64 ; } extern "C" { pub fn log2l ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log2l ( __x : f64 ) -> f64 ; } extern "C" { pub fn powl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __powl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn sqrtl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sqrtl ( __x : f64 ) -> f64 ; } extern "C" { pub fn hypotl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __hypotl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn cbrtl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cbrtl ( __x : f64 ) -> f64 ; } extern "C" { pub fn ceill ( __x : f64 ) -> f64 ; } extern "C" { pub fn __ceill ( __x : f64 ) -> f64 ; } extern "C" { pub fn fabsl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __fabsl ( __x : f64 ) -> f64 ; } extern "C" { pub fn floorl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __floorl ( __x : f64 ) -> f64 ; } extern "C" { pub fn fmodl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmodl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn isinfl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __dreml ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn significandl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __significandl ( __x : f64 ) -> f64 ; } extern "C" { pub fn copysignl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __copysignl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nanl ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn __nanl ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn isnanl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j0l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn j1l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j1l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn jnl ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __jnl ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn y0l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y0l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn y1l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y1l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn ynl ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __ynl ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn erfl ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erfl ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn erfcl ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erfcl ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgammal ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __lgammal ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn tgammal ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __tgammal ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn gammal ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __gammal ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgammal_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __lgammal_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn rintl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __rintl ( __x : f64 ) -> f64 ; } extern "C" { pub fn nextafterl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __nextafterl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nexttowardl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __nexttowardl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn remainderl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __remainderl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn scalbnl ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __scalbnl ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ilogbl ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn __scalblnl ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn nearbyintl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __nearbyintl ( __x : f64 ) -> f64 ; } extern "C" { pub fn roundl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __roundl ( __x : f64 ) -> f64 ; } extern "C" { pub fn truncl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __truncl ( __x : f64 ) -> f64 ; } extern "C" { pub fn remquol ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __remquol ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn lrintl ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fdiml ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmaxl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmaxl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fminl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fminl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmal ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn __fmal ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn scalbl ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __scalbl ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { # [ link_name = "\u{1}signgam" ] pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const enum_(unnamed_at_/usr/include/math_h_934_1)_FP_NAN : enum_(unnamed_at_/usr/include/math_h_934_1) = 0 ; pub const enum_(unnamed_at_/usr/include/math_h_934_1)_FP_INFINITE : enum_(unnamed_at_/usr/include/math_h_934_1) = 1 ; pub const enum_(unnamed_at_/usr/include/math_h_934_1)_FP_ZERO : enum_(unnamed_at_/usr/include/math_h_934_1) = 2 ; pub const enum_(unnamed_at_/usr/include/math_h_934_1)_FP_SUBNORMAL : enum_(unnamed_at_/usr/include/math_h_934_1) = 3 ; pub const enum_(unnamed_at_/usr/include/math_h_934_1)_FP_NORMAL : enum_(unnamed_at_/usr/include/math_h_934_1) = 4 ; pub type enum_(unnamed_at_/usr/include/math_h_934_1) = u32 ; extern "C" { pub fn vips_enum_string ( enm : GType , value : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_enum_nick ( enm : GType , value : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_enum_from_nick ( domain : * const :: std :: os :: raw :: c_char , type_ : GType , str : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_flags_from_nick ( domain : * const :: std :: os :: raw :: c_char , type_ : GType , nick : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_slist_equal ( l1 : * mut GSList , l2 : * mut GSList ) -> gboolean ; } extern "C" { pub fn vips_slist_map2 ( list : * mut GSList , fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_slist_map2_rev ( list : * mut GSList , fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_slist_map4 ( list : * mut GSList , fn_ : VipsSListMap4Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void , c : * mut :: std :: os :: raw :: c_void , d : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_slist_fold2 ( list : * mut GSList , start : * mut :: std :: os :: raw :: c_void , fn_ : VipsSListFold2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_slist_filter ( list : * mut GSList , fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut GSList ; } extern "C" { pub fn vips_slist_free_all ( list : * mut GSList ) ; } extern "C" { pub fn vips_map_equal ( a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_hash_table_map ( hash : * mut GHashTable , fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_strncpy ( dest : * mut :: std :: os :: raw :: c_char , src : * const :: std :: os :: raw :: c_char , n : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_strrstr ( haystack : * const :: std :: os :: raw :: c_char , needle : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_ispostfix ( a : * const :: std :: os :: raw :: c_char , b : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_iscasepostfix ( a : * const :: std :: os :: raw :: c_char , b : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_isprefix ( a : * const :: std :: os :: raw :: c_char , b : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_break_token ( str : * mut :: std :: os :: raw :: c_char , brk : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__chomp ( str : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_vsnprintf ( str : * mut :: std :: os :: raw :: c_char , size : usize , format : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_snprintf ( str : * mut :: std :: os :: raw :: c_char , size : usize , format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_filename_suffix_match ( path : * const :: std :: os :: raw :: c_char , suffixes : * mut * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_file_length ( fd : :: std :: os :: raw :: c_int ) -> gint64 ; } extern "C" { pub fn vips__write ( fd : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_void , count : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__open ( filename : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__open_read ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__fopen ( filename : * const :: std :: os :: raw :: c_char , mode : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn vips__file_open_read ( filename : * const :: std :: os :: raw :: c_char , fallback_dir : * const :: std :: os :: raw :: c_char , text_mode : gboolean ) -> * mut FILE ; } extern "C" { pub fn vips__file_open_write ( filename : * const :: std :: os :: raw :: c_char , text_mode : gboolean ) -> * mut FILE ; } extern "C" { pub fn vips__file_read ( fp : * mut FILE , name : * const :: std :: os :: raw :: c_char , length_out : * mut usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__file_read_name ( name : * const :: std :: os :: raw :: c_char , fallback_dir : * const :: std :: os :: raw :: c_char , length_out : * mut usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__file_write ( data : * mut :: std :: os :: raw :: c_void , size : usize , nmemb : usize , stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__get_bytes ( filename : * const :: std :: os :: raw :: c_char , buf : * mut :: std :: os :: raw :: c_uchar , len : gint64 ) -> gint64 ; } extern "C" { pub fn vips__fgetc ( fp : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__gvalue_ref_string_new ( text : * const :: std :: os :: raw :: c_char ) -> * mut GValue ; } extern "C" { pub fn vips__gslist_gvalue_free ( list : * mut GSList ) ; } extern "C" { pub fn vips__gslist_gvalue_copy ( list : * const GSList ) -> * mut GSList ; } extern "C" { pub fn vips__gslist_gvalue_merge ( a : * mut GSList , b : * const GSList ) -> * mut GSList ; } extern "C" { pub fn vips__gslist_gvalue_get ( list : * const GSList ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__seek_no_error ( fd : :: std :: os :: raw :: c_int , pos : gint64 , whence : :: std :: os :: raw :: c_int ) -> gint64 ; } extern "C" { pub fn vips__seek ( fd : :: std :: os :: raw :: c_int , pos : gint64 , whence : :: std :: os :: raw :: c_int ) -> gint64 ; } extern "C" { pub fn vips__ftruncate ( fd : :: std :: os :: raw :: c_int , pos : gint64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_existsf ( name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_isdirf ( name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mkdirf ( name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rmdirf ( name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rename ( old_name : * const :: std :: os :: raw :: c_char , new_name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } pub const VipsToken_VIPS_TOKEN_LEFT : VipsToken = 1 ; pub const VipsToken_VIPS_TOKEN_RIGHT : VipsToken = 2 ; pub const VipsToken_VIPS_TOKEN_STRING : VipsToken = 3 ; pub const VipsToken_VIPS_TOKEN_EQUALS : VipsToken = 4 ; pub const VipsToken_VIPS_TOKEN_COMMA : VipsToken = 5 ; pub type VipsToken = u32 ; extern "C" { pub fn vips__token_get ( buffer : * const :: std :: os :: raw :: c_char , token : * mut VipsToken , string : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__token_must ( buffer : * const :: std :: os :: raw :: c_char , token : * mut VipsToken , string : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__token_need ( buffer : * const :: std :: os :: raw :: c_char , need_token : VipsToken , string : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__token_segment ( p : * const :: std :: os :: raw :: c_char , token : * mut VipsToken , string : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__token_segment_need ( p : * const :: std :: os :: raw :: c_char , need_token : VipsToken , string : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__find_rightmost_brackets ( p : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__filename_split8 ( name : * const :: std :: os :: raw :: c_char , filename : * mut :: std :: os :: raw :: c_char , option_string : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_ispoweroftwo ( p : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_amiMSBfirst ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__temp_name ( format : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__change_suffix ( name : * const :: std :: os :: raw :: c_char , out : * mut :: std :: os :: raw :: c_char , mx : :: std :: os :: raw :: c_int , new_suff : * const :: std :: os :: raw :: c_char , olds : * mut * const :: std :: os :: raw :: c_char , nolds : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_realpath ( path : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__random ( seed : guint32 ) -> guint32 ; } extern "C" { pub fn vips__random_add ( seed : guint32 , value : :: std :: os :: raw :: c_int ) -> guint32 ; } extern "C" { pub fn vips__icc_dir ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__windows_prefix ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__get_iso8601 ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_strtod ( str : * const :: std :: os :: raw :: c_char , out : * mut f64 ) -> :: std :: os :: raw :: c_int ; } pub type VipsObject = _VipsObject ; pub type VipsObjectClass = _VipsObjectClass ; pub const VipsArgumentFlags_VIPS_ARGUMENT_NONE : VipsArgumentFlags = 0 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_REQUIRED : VipsArgumentFlags = 1 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_CONSTRUCT : VipsArgumentFlags = 2 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_SET_ONCE : VipsArgumentFlags = 4 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_SET_ALWAYS : VipsArgumentFlags = 8 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_INPUT : VipsArgumentFlags = 16 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_OUTPUT : VipsArgumentFlags = 32 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_DEPRECATED : VipsArgumentFlags = 64 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_MODIFY : VipsArgumentFlags = 128 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_NON_HASHABLE : VipsArgumentFlags = 256 ; pub type VipsArgumentFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArgument { pub pspec : * mut GParamSpec , } # [ test ] fn bindgen_test_layout__VipsArgument ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArgument > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _VipsArgument ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArgument > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArgument ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgument > ( ) ) ) . pspec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgument ) , "::" , stringify ! ( pspec ) ) ) ; } pub type VipsArgument = _VipsArgument ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArgumentClass { pub parent : VipsArgument , pub object_class : * mut VipsObjectClass , pub flags : VipsArgumentFlags , pub priority : :: std :: os :: raw :: c_int , pub offset : guint , } # [ test ] fn bindgen_test_layout__VipsArgumentClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArgumentClass > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _VipsArgumentClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArgumentClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArgumentClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentClass > ( ) ) ) . parent as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentClass ) , "::" , stringify ! ( parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentClass > ( ) ) ) . object_class as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentClass ) , "::" , stringify ! ( object_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentClass > ( ) ) ) . flags as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentClass ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentClass > ( ) ) ) . priority as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentClass ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentClass > ( ) ) ) . offset as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentClass ) , "::" , stringify ! ( offset ) ) ) ; } pub type VipsArgumentClass = _VipsArgumentClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArgumentInstance { pub parent : VipsArgument , pub argument_class : * mut VipsArgumentClass , pub object : * mut VipsObject , pub assigned : gboolean , pub close_id : gulong , pub invalidate_id : gulong , } # [ test ] fn bindgen_test_layout__VipsArgumentInstance ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArgumentInstance > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _VipsArgumentInstance ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArgumentInstance > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArgumentInstance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentInstance > ( ) ) ) . parent as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentInstance ) , "::" , stringify ! ( parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentInstance > ( ) ) ) . argument_class as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentInstance ) , "::" , stringify ! ( argument_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentInstance > ( ) ) ) . object as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentInstance ) , "::" , stringify ! ( object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentInstance > ( ) ) ) . assigned as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentInstance ) , "::" , stringify ! ( assigned ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentInstance > ( ) ) ) . close_id as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentInstance ) , "::" , stringify ! ( close_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentInstance > ( ) ) ) . invalidate_id as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentInstance ) , "::" , stringify ! ( invalidate_id ) ) ) ; } pub type VipsArgumentInstance = _VipsArgumentInstance ; pub type VipsArgumentTable = GHashTable ; extern "C" { pub fn vips_argument_get_id ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__object_set_member ( object : * mut VipsObject , pspec : * mut GParamSpec , member : * mut * mut GObject , argument : * mut GObject ) ; } pub type VipsArgumentMapFn = :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , pspec : * mut GParamSpec , argument_class : * mut VipsArgumentClass , argument_instance : * mut VipsArgumentInstance , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub fn vips_argument_map ( object : * mut VipsObject , fn_ : VipsArgumentMapFn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_object_get_args ( object : * mut VipsObject , names : * mut * mut * const :: std :: os :: raw :: c_char , flags : * mut * mut :: std :: os :: raw :: c_int , n_args : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type VipsArgumentClassMapFn = :: std :: option :: Option < unsafe extern "C" fn ( object_class : * mut VipsObjectClass , pspec : * mut GParamSpec , argument_class : * mut VipsArgumentClass , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub fn vips_argument_class_map ( object_class : * mut VipsObjectClass , fn_ : VipsArgumentClassMapFn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_argument_class_needsstring ( argument_class : * mut VipsArgumentClass ) -> gboolean ; } extern "C" { pub fn vips_object_get_argument ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char , pspec : * mut * mut GParamSpec , argument_class : * mut * mut VipsArgumentClass , argument_instance : * mut * mut VipsArgumentInstance ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_argument_isset ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_object_get_argument_flags ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char ) -> VipsArgumentFlags ; } extern "C" { pub fn vips_object_get_argument_priority ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsObject { pub parent_instance : GObject , pub constructed : gboolean , pub static_object : gboolean , pub argument_table : * mut VipsArgumentTable , pub nickname : * mut :: std :: os :: raw :: c_char , pub description : * mut :: std :: os :: raw :: c_char , pub preclose : gboolean , pub close : gboolean , pub postclose : gboolean , pub local_memory : usize , } # [ test ] fn bindgen_test_layout__VipsObject ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsObject > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _VipsObject ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsObject > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsObject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . constructed as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( constructed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . static_object as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( static_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . argument_table as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( argument_table ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . nickname as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( nickname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . description as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . preclose as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( preclose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . close as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( close ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . postclose as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( postclose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . local_memory as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( local_memory ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsObjectClass { pub parent_class : GObjectClass , pub build : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject ) -> :: std :: os :: raw :: c_int > , pub postbuild : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , data : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > , pub summary_class : :: std :: option :: Option < unsafe extern "C" fn ( cls : * mut _VipsObjectClass , buf : * mut VipsBuf ) > , pub summary : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , buf : * mut VipsBuf ) > , pub dump : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , buf : * mut VipsBuf ) > , pub sanity : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , buf : * mut VipsBuf ) > , pub rewind : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject ) > , pub preclose : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject ) > , pub close : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject ) > , pub postclose : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject ) > , pub new_from_string : :: std :: option :: Option < unsafe extern "C" fn ( string : * const :: std :: os :: raw :: c_char ) -> * mut VipsObject > , pub to_string : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , buf : * mut VipsBuf ) > , pub output_needs_arg : gboolean , pub output_to_arg : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , string : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int > , pub nickname : * const :: std :: os :: raw :: c_char , pub description : * const :: std :: os :: raw :: c_char , pub argument_table : * mut VipsArgumentTable , pub argument_table_traverse : * mut GSList , pub argument_table_traverse_gtype : GType , pub deprecated : gboolean , pub _vips_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _vips_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _vips_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _vips_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__VipsObjectClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsObjectClass > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( _VipsObjectClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsObjectClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsObjectClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . build as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( build ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . postbuild as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( postbuild ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . summary_class as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( summary_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . summary as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( summary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . dump as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( dump ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . sanity as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( sanity ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . rewind as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( rewind ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . preclose as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( preclose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . close as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( close ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . postclose as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( postclose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . new_from_string as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( new_from_string ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . to_string as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( to_string ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . output_needs_arg as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( output_needs_arg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . output_to_arg as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( output_to_arg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . nickname as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( nickname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . description as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . argument_table as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( argument_table ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . argument_table_traverse as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( argument_table_traverse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . argument_table_traverse_gtype as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( argument_table_traverse_gtype ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . deprecated as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( deprecated ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . _vips_reserved1 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( _vips_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . _vips_reserved2 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( _vips_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . _vips_reserved3 as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( _vips_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . _vips_reserved4 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( _vips_reserved4 ) ) ) ; } extern "C" { pub fn vips_value_is_null ( psoec : * mut GParamSpec , value : * const GValue ) -> gboolean ; } extern "C" { pub fn vips_object_set_property ( gobject : * mut GObject , property_id : guint , value : * const GValue , pspec : * mut GParamSpec ) ; } extern "C" { pub fn vips_object_get_property ( gobject : * mut GObject , property_id : guint , value : * mut GValue , pspec : * mut GParamSpec ) ; } extern "C" { pub fn vips_object_preclose ( object : * mut VipsObject ) ; } extern "C" { pub fn vips_object_build ( object : * mut VipsObject ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_summary_class ( klass : * mut VipsObjectClass , buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_object_summary ( object : * mut VipsObject , buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_object_dump ( object : * mut VipsObject , buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_object_print_summary_class ( klass : * mut VipsObjectClass ) ; } extern "C" { pub fn vips_object_print_summary ( object : * mut VipsObject ) ; } extern "C" { pub fn vips_object_print_dump ( object : * mut VipsObject ) ; } extern "C" { pub fn vips_object_print_name ( object : * mut VipsObject ) ; } extern "C" { pub fn vips_object_sanity ( object : * mut VipsObject ) -> gboolean ; } extern "C" { pub fn vips_object_get_type ( ) -> GType ; } extern "C" { pub fn vips_object_class_install_argument ( cls : * mut VipsObjectClass , pspec : * mut GParamSpec , flags : VipsArgumentFlags , priority : :: std :: os :: raw :: c_int , offset : guint ) ; } extern "C" { pub fn vips_object_set_argument_from_string ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_argument_needsstring ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_object_get_argument_to_string ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char , arg : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_set_required ( object : * mut VipsObject , value : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } pub type VipsObjectSetArguments = :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub fn vips_object_new ( type_ : GType , set : VipsObjectSetArguments , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut VipsObject ; } extern "C" { pub fn vips_object_set_valist ( object : * mut VipsObject , ap : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_set ( object : * mut VipsObject , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_set_from_string ( object : * mut VipsObject , string : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_new_from_string ( object_class : * mut VipsObjectClass , p : * const :: std :: os :: raw :: c_char ) -> * mut VipsObject ; } extern "C" { pub fn vips_object_to_string ( object : * mut VipsObject , buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_object_map ( fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } pub type VipsTypeMapFn = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GType , a : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; pub type VipsTypeMap2Fn = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GType , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; pub type VipsClassMapFn = :: std :: option :: Option < unsafe extern "C" fn ( cls : * mut VipsObjectClass , a : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub fn vips_type_map ( base : GType , fn_ : VipsTypeMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_type_map_all ( base : GType , fn_ : VipsTypeMapFn , a : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_type_depth ( type_ : GType ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_type_find ( basename : * const :: std :: os :: raw :: c_char , nickname : * const :: std :: os :: raw :: c_char ) -> GType ; } extern "C" { pub fn vips_nickname_find ( type_ : GType ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_class_map_all ( type_ : GType , fn_ : VipsClassMapFn , a : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_class_find ( basename : * const :: std :: os :: raw :: c_char , nickname : * const :: std :: os :: raw :: c_char ) -> * const VipsObjectClass ; } extern "C" { pub fn vips_object_local_array ( parent : * mut VipsObject , n : :: std :: os :: raw :: c_int ) -> * mut * mut VipsObject ; } extern "C" { pub fn vips_object_local_cb ( vobject : * mut VipsObject , gobject : * mut GObject ) ; } extern "C" { pub fn vips_object_set_static ( object : * mut VipsObject , static_object : gboolean ) ; } extern "C" { pub fn vips_object_print_all ( ) ; } extern "C" { pub fn vips_object_sanity_all ( ) ; } extern "C" { pub fn vips_object_rewind ( object : * mut VipsObject ) ; } extern "C" { pub fn vips_object_unref_outputs ( object : * mut VipsObject ) ; } extern "C" { pub fn vips_object_get_description ( object : * mut VipsObject ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsThing { pub i : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__VipsThing ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsThing > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _VipsThing ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsThing > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _VipsThing ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThing > ( ) ) ) . i as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThing ) , "::" , stringify ! ( i ) ) ) ; } pub type VipsThing = _VipsThing ; extern "C" { pub fn vips_thing_get_type ( ) -> GType ; } extern "C" { pub fn vips_thing_new ( i : :: std :: os :: raw :: c_int ) -> * mut VipsThing ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArea { pub data : * mut :: std :: os :: raw :: c_void , pub length : usize , pub n : :: std :: os :: raw :: c_int , pub count : :: std :: os :: raw :: c_int , pub lock : * mut GMutex , pub free_fn : VipsCallbackFn , pub client : * mut :: std :: os :: raw :: c_void , pub type_ : GType , pub sizeof_type : usize , } # [ test ] fn bindgen_test_layout__VipsArea ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArea > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsArea ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArea > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArea ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . n as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . count as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . lock as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . free_fn as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( free_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . client as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( client ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . type_ as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . sizeof_type as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( sizeof_type ) ) ) ; } pub type VipsArea = _VipsArea ; extern "C" { pub fn vips_area_copy ( area : * mut VipsArea ) -> * mut VipsArea ; } extern "C" { pub fn vips_area_free_cb ( mem : * mut :: std :: os :: raw :: c_void , area : * mut VipsArea ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_area_unref ( area : * mut VipsArea ) ; } extern "C" { pub fn vips_area_new ( free_fn : VipsCallbackFn , data : * mut :: std :: os :: raw :: c_void ) -> * mut VipsArea ; } extern "C" { pub fn vips_area_new_array ( type_ : GType , sizeof_type : usize , n : :: std :: os :: raw :: c_int ) -> * mut VipsArea ; } extern "C" { pub fn vips_area_new_array_object ( n : :: std :: os :: raw :: c_int ) -> * mut VipsArea ; } extern "C" { pub fn vips_area_get_data ( area : * mut VipsArea , length : * mut usize , n : * mut :: std :: os :: raw :: c_int , type_ : * mut GType , sizeof_type : * mut usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_area_get_type ( ) -> GType ; } extern "C" { pub fn vips_save_string_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSaveString { pub s : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout__VipsSaveString ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSaveString > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _VipsSaveString ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSaveString > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSaveString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSaveString > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSaveString ) , "::" , stringify ! ( s ) ) ) ; } pub type VipsSaveString = _VipsSaveString ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsRefString { pub area : VipsArea , } # [ test ] fn bindgen_test_layout__VipsRefString ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsRefString > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsRefString ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsRefString > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsRefString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRefString > ( ) ) ) . area as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRefString ) , "::" , stringify ! ( area ) ) ) ; } pub type VipsRefString = _VipsRefString ; extern "C" { pub fn vips_ref_string_new ( str : * const :: std :: os :: raw :: c_char ) -> * mut VipsRefString ; } extern "C" { pub fn vips_ref_string_get ( refstr : * mut VipsRefString , length : * mut usize ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_ref_string_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsBlob { pub area : VipsArea , } # [ test ] fn bindgen_test_layout__VipsBlob ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsBlob > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsBlob ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsBlob > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsBlob ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBlob > ( ) ) ) . area as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBlob ) , "::" , stringify ! ( area ) ) ) ; } pub type VipsBlob = _VipsBlob ; extern "C" { pub fn vips_blob_new ( free_fn : VipsCallbackFn , data : * const :: std :: os :: raw :: c_void , length : usize ) -> * mut VipsBlob ; } extern "C" { pub fn vips_blob_copy ( data : * const :: std :: os :: raw :: c_void , length : usize ) -> * mut VipsBlob ; } extern "C" { pub fn vips_blob_get ( blob : * mut VipsBlob , length : * mut usize ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_blob_set ( blob : * mut VipsBlob , free_fn : VipsCallbackFn , data : * const :: std :: os :: raw :: c_void , length : usize ) ; } extern "C" { pub fn vips_blob_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArrayDouble { pub area : VipsArea , } # [ test ] fn bindgen_test_layout__VipsArrayDouble ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArrayDouble > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsArrayDouble ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArrayDouble > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArrayDouble ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArrayDouble > ( ) ) ) . area as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArrayDouble ) , "::" , stringify ! ( area ) ) ) ; } pub type VipsArrayDouble = _VipsArrayDouble ; extern "C" { pub fn vips_array_double_new ( array : * const f64 , n : :: std :: os :: raw :: c_int ) -> * mut VipsArrayDouble ; } extern "C" { pub fn vips_array_double_newv ( n : :: std :: os :: raw :: c_int , ... ) -> * mut VipsArrayDouble ; } extern "C" { pub fn vips_array_double_get ( array : * mut VipsArrayDouble , n : * mut :: std :: os :: raw :: c_int ) -> * mut f64 ; } extern "C" { pub fn vips_array_double_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArrayInt { pub area : VipsArea , } # [ test ] fn bindgen_test_layout__VipsArrayInt ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArrayInt > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsArrayInt ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArrayInt > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArrayInt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArrayInt > ( ) ) ) . area as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArrayInt ) , "::" , stringify ! ( area ) ) ) ; } pub type VipsArrayInt = _VipsArrayInt ; extern "C" { pub fn vips_array_int_new ( array : * const :: std :: os :: raw :: c_int , n : :: std :: os :: raw :: c_int ) -> * mut VipsArrayInt ; } extern "C" { pub fn vips_array_int_newv ( n : :: std :: os :: raw :: c_int , ... ) -> * mut VipsArrayInt ; } extern "C" { pub fn vips_array_int_get ( array : * mut VipsArrayInt , n : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_array_int_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArrayImage { pub area : VipsArea , } # [ test ] fn bindgen_test_layout__VipsArrayImage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArrayImage > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsArrayImage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArrayImage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArrayImage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArrayImage > ( ) ) ) . area as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArrayImage ) , "::" , stringify ! ( area ) ) ) ; } pub type VipsArrayImage = _VipsArrayImage ; extern "C" { pub fn vips_array_image_get_type ( ) -> GType ; } extern "C" { pub fn vips_value_set_area ( value : * mut GValue , free_fn : VipsCallbackFn , data : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn vips_value_get_area ( value : * const GValue , length : * mut usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_value_get_save_string ( value : * const GValue ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_value_set_save_string ( value : * mut GValue , str : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_value_set_save_stringf ( value : * mut GValue , fmt : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn vips_value_get_ref_string ( value : * const GValue , length : * mut usize ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_value_set_ref_string ( value : * mut GValue , str : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_value_get_blob ( value : * const GValue , length : * mut usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_value_set_blob ( value : * mut GValue , free_fn : VipsCallbackFn , data : * const :: std :: os :: raw :: c_void , length : usize ) ; } extern "C" { pub fn vips_value_set_blob_free ( value : * mut GValue , data : * mut :: std :: os :: raw :: c_void , length : usize ) ; } extern "C" { pub fn vips_value_set_array ( value : * mut GValue , n : :: std :: os :: raw :: c_int , type_ : GType , sizeof_type : usize ) ; } extern "C" { pub fn vips_value_get_array ( value : * const GValue , n : * mut :: std :: os :: raw :: c_int , type_ : * mut GType , sizeof_type : * mut usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_value_get_array_double ( value : * const GValue , n : * mut :: std :: os :: raw :: c_int ) -> * mut f64 ; } extern "C" { pub fn vips_value_set_array_double ( value : * mut GValue , array : * const f64 , n : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_value_get_array_int ( value : * const GValue , n : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_value_set_array_int ( value : * mut GValue , array : * const :: std :: os :: raw :: c_int , n : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_value_get_array_object ( value : * const GValue , n : * mut :: std :: os :: raw :: c_int ) -> * mut * mut GObject ; } extern "C" { pub fn vips_value_set_array_object ( value : * mut GValue , n : :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}vips__thread_profile" ] pub static mut vips__thread_profile : gboolean ; } extern "C" { pub fn vips_profile_set ( profile : gboolean ) ; } extern "C" { pub fn vips__thread_profile_attach ( thread_name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips__thread_profile_detach ( ) ; } extern "C" { pub fn vips__thread_profile_stop ( ) ; } extern "C" { pub fn vips__thread_gate_start ( gate_name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips__thread_gate_stop ( gate_name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips__thread_malloc_free ( size : gint64 ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsConnection { pub parent_object : VipsObject , pub descriptor : :: std :: os :: raw :: c_int , pub tracked_descriptor : :: std :: os :: raw :: c_int , pub close_descriptor : :: std :: os :: raw :: c_int , pub filename : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout__VipsConnection ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsConnection > ( ) , 104usize , concat ! ( "Size of: " , stringify ! ( _VipsConnection ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsConnection > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsConnection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsConnection > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsConnection ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsConnection > ( ) ) ) . descriptor as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _VipsConnection ) , "::" , stringify ! ( descriptor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsConnection > ( ) ) ) . tracked_descriptor as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( _VipsConnection ) , "::" , stringify ! ( tracked_descriptor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsConnection > ( ) ) ) . close_descriptor as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _VipsConnection ) , "::" , stringify ! ( close_descriptor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsConnection > ( ) ) ) . filename as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _VipsConnection ) , "::" , stringify ! ( filename ) ) ) ; } pub type VipsConnection = _VipsConnection ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsConnectionClass { pub parent_class : VipsObjectClass , } # [ test ] fn bindgen_test_layout__VipsConnectionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsConnectionClass > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( _VipsConnectionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsConnectionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsConnectionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsConnectionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsConnectionClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type VipsConnectionClass = _VipsConnectionClass ; extern "C" { pub fn vips_connection_get_type ( ) -> GType ; } extern "C" { pub fn vips_connection_filename ( connection : * mut VipsConnection ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_connection_nick ( connection : * mut VipsConnection ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_pipe_read_limit_set ( limit : gint64 ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSource { pub parent_object : VipsConnection , pub decode : gboolean , pub have_tested_seek : gboolean , pub is_pipe : gboolean , pub read_position : gint64 , pub length : gint64 , pub data : * const :: std :: os :: raw :: c_void , pub header_bytes : * mut GByteArray , pub sniff : * mut GByteArray , pub blob : * mut VipsBlob , pub mmap_baseaddr : * mut :: std :: os :: raw :: c_void , pub mmap_length : usize , } # [ test ] fn bindgen_test_layout__VipsSource ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSource > ( ) , 184usize , concat ! ( "Size of: " , stringify ! ( _VipsSource ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSource > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSource ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . decode as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( decode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . have_tested_seek as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( have_tested_seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . is_pipe as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( is_pipe ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . read_position as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( read_position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . length as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . data as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . header_bytes as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( header_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . sniff as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( sniff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . blob as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( blob ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . mmap_baseaddr as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( mmap_baseaddr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . mmap_length as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( mmap_length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSourceClass { pub parent_class : VipsConnectionClass , pub read : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsSource , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> gint64 > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsSource , arg2 : gint64 , arg3 : :: std :: os :: raw :: c_int ) -> gint64 > , } # [ test ] fn bindgen_test_layout__VipsSourceClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSourceClass > ( ) , 344usize , concat ! ( "Size of: " , stringify ! ( _VipsSourceClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSourceClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSourceClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceClass > ( ) ) ) . read as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceClass ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceClass > ( ) ) ) . seek as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceClass ) , "::" , stringify ! ( seek ) ) ) ; } pub type VipsSourceClass = _VipsSourceClass ; extern "C" { pub fn vips_source_get_type ( ) -> GType ; } extern "C" { pub fn vips_source_new_from_descriptor ( descriptor : :: std :: os :: raw :: c_int ) -> * mut VipsSource ; } extern "C" { pub fn vips_source_new_from_file ( filename : * const :: std :: os :: raw :: c_char ) -> * mut VipsSource ; } extern "C" { pub fn vips_source_new_from_blob ( blob : * mut VipsBlob ) -> * mut VipsSource ; } extern "C" { pub fn vips_source_new_from_target ( target : * mut VipsTarget ) -> * mut VipsSource ; } extern "C" { pub fn vips_source_new_from_memory ( data : * const :: std :: os :: raw :: c_void , size : usize ) -> * mut VipsSource ; } extern "C" { pub fn vips_source_new_from_options ( options : * const :: std :: os :: raw :: c_char ) -> * mut VipsSource ; } extern "C" { pub fn vips_source_minimise ( source : * mut VipsSource ) ; } extern "C" { pub fn vips_source_unminimise ( source : * mut VipsSource ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_source_decode ( source : * mut VipsSource ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_source_read ( source : * mut VipsSource , data : * mut :: std :: os :: raw :: c_void , length : usize ) -> gint64 ; } extern "C" { pub fn vips_source_is_mappable ( source : * mut VipsSource ) -> gboolean ; } extern "C" { pub fn vips_source_is_file ( source : * mut VipsSource ) -> gboolean ; } extern "C" { pub fn vips_source_map ( source : * mut VipsSource , length : * mut usize ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_source_map_blob ( source : * mut VipsSource ) -> * mut VipsBlob ; } extern "C" { pub fn vips_source_seek ( source : * mut VipsSource , offset : gint64 , whence : :: std :: os :: raw :: c_int ) -> gint64 ; } extern "C" { pub fn vips_source_rewind ( source : * mut VipsSource ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_source_sniff_at_most ( source : * mut VipsSource , data : * mut * mut :: std :: os :: raw :: c_uchar , length : usize ) -> gint64 ; } extern "C" { pub fn vips_source_sniff ( source : * mut VipsSource , length : usize ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn vips_source_length ( source : * mut VipsSource ) -> gint64 ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSourceCustom { pub parent_object : VipsSource , } # [ test ] fn bindgen_test_layout__VipsSourceCustom ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSourceCustom > ( ) , 184usize , concat ! ( "Size of: " , stringify ! ( _VipsSourceCustom ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSourceCustom > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSourceCustom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceCustom > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceCustom ) , "::" , stringify ! ( parent_object ) ) ) ; } pub type VipsSourceCustom = _VipsSourceCustom ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSourceCustomClass { pub parent_class : VipsSourceClass , pub read : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsSourceCustom , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : gint64 ) -> gint64 > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsSourceCustom , arg2 : gint64 , arg3 : :: std :: os :: raw :: c_int ) -> gint64 > , } # [ test ] fn bindgen_test_layout__VipsSourceCustomClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSourceCustomClass > ( ) , 360usize , concat ! ( "Size of: " , stringify ! ( _VipsSourceCustomClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSourceCustomClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSourceCustomClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceCustomClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceCustomClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceCustomClass > ( ) ) ) . read as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceCustomClass ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceCustomClass > ( ) ) ) . seek as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceCustomClass ) , "::" , stringify ! ( seek ) ) ) ; } pub type VipsSourceCustomClass = _VipsSourceCustomClass ; extern "C" { pub fn vips_source_custom_get_type ( ) -> GType ; } extern "C" { pub fn vips_source_custom_new ( ) -> * mut VipsSourceCustom ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsGInputStream { pub parent_instance : GInputStream , pub source : * mut VipsSource , } # [ test ] fn bindgen_test_layout__VipsGInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsGInputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _VipsGInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsGInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsGInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsGInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsGInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsGInputStream > ( ) ) ) . source as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsGInputStream ) , "::" , stringify ! ( source ) ) ) ; } pub type VipsGInputStream = _VipsGInputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsGInputStreamClass { pub parent_class : GInputStreamClass , } # [ test ] fn bindgen_test_layout__VipsGInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsGInputStreamClass > ( ) , 248usize , concat ! ( "Size of: " , stringify ! ( _VipsGInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsGInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsGInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsGInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsGInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type VipsGInputStreamClass = _VipsGInputStreamClass ; extern "C" { pub fn vips_g_input_stream_new_from_source ( source : * mut VipsSource ) -> * mut GInputStream ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSourceGInputStream { pub parent_instance : VipsSource , pub stream : * mut GInputStream , pub seekable : * mut GSeekable , pub info : * mut GFileInfo , } # [ test ] fn bindgen_test_layout__VipsSourceGInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSourceGInputStream > ( ) , 208usize , concat ! ( "Size of: " , stringify ! ( _VipsSourceGInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSourceGInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSourceGInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceGInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceGInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceGInputStream > ( ) ) ) . stream as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceGInputStream ) , "::" , stringify ! ( stream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceGInputStream > ( ) ) ) . seekable as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceGInputStream ) , "::" , stringify ! ( seekable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceGInputStream > ( ) ) ) . info as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceGInputStream ) , "::" , stringify ! ( info ) ) ) ; } pub type VipsSourceGInputStream = _VipsSourceGInputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSourceGInputStreamClass { pub parent_class : VipsSourceClass , } # [ test ] fn bindgen_test_layout__VipsSourceGInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSourceGInputStreamClass > ( ) , 344usize , concat ! ( "Size of: " , stringify ! ( _VipsSourceGInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSourceGInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSourceGInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceGInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceGInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type VipsSourceGInputStreamClass = _VipsSourceGInputStreamClass ; extern "C" { pub fn vips_source_g_input_stream_new ( stream : * mut GInputStream ) -> * mut VipsSourceGInputStream ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _VipsTarget { pub parent_object : VipsConnection , pub memory : gboolean , pub ended : gboolean , pub memory_buffer : * mut GString , pub blob : * mut VipsBlob , pub output_buffer : [ :: std :: os :: raw :: c_uchar ; 8500usize ] , pub write_point : :: std :: os :: raw :: c_int , pub position : off_t , pub delete_on_close : gboolean , pub delete_on_close_filename : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout__VipsTarget ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsTarget > ( ) , 8656usize , concat ! ( "Size of: " , stringify ! ( _VipsTarget ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsTarget > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsTarget ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . memory as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( memory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . ended as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( ended ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . memory_buffer as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( memory_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . blob as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( blob ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . output_buffer as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( output_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . write_point as * const _ as usize } , 8628usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( write_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . position as * const _ as usize } , 8632usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . delete_on_close as * const _ as usize } , 8640usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( delete_on_close ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . delete_on_close_filename as * const _ as usize } , 8648usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( delete_on_close_filename ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsTargetClass { pub parent_class : VipsConnectionClass , pub write : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTarget , arg2 : * const :: std :: os :: raw :: c_void , arg3 : usize ) -> gint64 > , pub finish : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTarget ) > , pub read : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTarget , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> gint64 > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTarget , offset : off_t , whence : :: std :: os :: raw :: c_int ) -> off_t > , pub end : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTarget ) -> :: std :: os :: raw :: c_int > , } # [ test ] fn bindgen_test_layout__VipsTargetClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsTargetClass > ( ) , 368usize , concat ! ( "Size of: " , stringify ! ( _VipsTargetClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsTargetClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsTargetClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetClass > ( ) ) ) . write as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetClass ) , "::" , stringify ! ( write ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetClass > ( ) ) ) . finish as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetClass ) , "::" , stringify ! ( finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetClass > ( ) ) ) . read as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetClass ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetClass > ( ) ) ) . seek as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetClass ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetClass > ( ) ) ) . end as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetClass ) , "::" , stringify ! ( end ) ) ) ; } pub type VipsTargetClass = _VipsTargetClass ; extern "C" { pub fn vips_target_get_type ( ) -> GType ; } extern "C" { pub fn vips_target_new_to_descriptor ( descriptor : :: std :: os :: raw :: c_int ) -> * mut VipsTarget ; } extern "C" { pub fn vips_target_new_to_file ( filename : * const :: std :: os :: raw :: c_char ) -> * mut VipsTarget ; } extern "C" { pub fn vips_target_new_to_memory ( ) -> * mut VipsTarget ; } extern "C" { pub fn vips_target_new_temp ( target : * mut VipsTarget ) -> * mut VipsTarget ; } extern "C" { pub fn vips_target_write ( target : * mut VipsTarget , data : * const :: std :: os :: raw :: c_void , length : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_target_read ( target : * mut VipsTarget , buffer : * mut :: std :: os :: raw :: c_void , length : usize ) -> gint64 ; } extern "C" { pub fn vips_target_seek ( target : * mut VipsTarget , offset : off_t , whence : :: std :: os :: raw :: c_int ) -> off_t ; } extern "C" { pub fn vips_target_end ( target : * mut VipsTarget ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_target_finish ( target : * mut VipsTarget ) ; } extern "C" { pub fn vips_target_steal ( target : * mut VipsTarget , length : * mut usize ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn vips_target_steal_text ( target : * mut VipsTarget ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_target_putc ( target : * mut VipsTarget , ch : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_target_writes ( target : * mut VipsTarget , str : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_target_writef ( target : * mut VipsTarget , fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_target_write_amp ( target : * mut VipsTarget , str : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _VipsTargetCustom { pub parent_object : VipsTarget , } # [ test ] fn bindgen_test_layout__VipsTargetCustom ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsTargetCustom > ( ) , 8656usize , concat ! ( "Size of: " , stringify ! ( _VipsTargetCustom ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsTargetCustom > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsTargetCustom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustom > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustom ) , "::" , stringify ! ( parent_object ) ) ) ; } pub type VipsTargetCustom = _VipsTargetCustom ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsTargetCustomClass { pub parent_class : VipsTargetClass , pub write : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTargetCustom , arg2 : * const :: std :: os :: raw :: c_void , arg3 : gint64 ) -> gint64 > , pub finish : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTargetCustom ) > , pub read : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTargetCustom , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : gint64 ) -> gint64 > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTargetCustom , arg2 : gint64 , arg3 : :: std :: os :: raw :: c_int ) -> gint64 > , pub end : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTargetCustom ) -> :: std :: os :: raw :: c_int > , } # [ test ] fn bindgen_test_layout__VipsTargetCustomClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsTargetCustomClass > ( ) , 408usize , concat ! ( "Size of: " , stringify ! ( _VipsTargetCustomClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsTargetCustomClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsTargetCustomClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustomClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustomClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustomClass > ( ) ) ) . write as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustomClass ) , "::" , stringify ! ( write ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustomClass > ( ) ) ) . finish as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustomClass ) , "::" , stringify ! ( finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustomClass > ( ) ) ) . read as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustomClass ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustomClass > ( ) ) ) . seek as * const _ as usize } , 392usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustomClass ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustomClass > ( ) ) ) . end as * const _ as usize } , 400usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustomClass ) , "::" , stringify ! ( end ) ) ) ; } pub type VipsTargetCustomClass = _VipsTargetCustomClass ; extern "C" { pub fn vips_target_custom_get_type ( ) -> GType ; } extern "C" { pub fn vips_target_custom_new ( ) -> * mut VipsTargetCustom ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _VipsSbuf { pub parent_object : VipsObject , pub source : * mut VipsSource , pub input_buffer : [ :: std :: os :: raw :: c_uchar ; 4097usize ] , pub chars_in_buffer : :: std :: os :: raw :: c_int , pub read_point : :: std :: os :: raw :: c_int , pub line : [ :: std :: os :: raw :: c_uchar ; 4097usize ] , } # [ test ] fn bindgen_test_layout__VipsSbuf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSbuf > ( ) , 8296usize , concat ! ( "Size of: " , stringify ! ( _VipsSbuf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSbuf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbuf > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbuf ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbuf > ( ) ) ) . source as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbuf ) , "::" , stringify ! ( source ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbuf > ( ) ) ) . input_buffer as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbuf ) , "::" , stringify ! ( input_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbuf > ( ) ) ) . chars_in_buffer as * const _ as usize } , 4188usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbuf ) , "::" , stringify ! ( chars_in_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbuf > ( ) ) ) . read_point as * const _ as usize } , 4192usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbuf ) , "::" , stringify ! ( read_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbuf > ( ) ) ) . line as * const _ as usize } , 4196usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbuf ) , "::" , stringify ! ( line ) ) ) ; } pub type VipsSbuf = _VipsSbuf ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSbufClass { pub parent_class : VipsObjectClass , } # [ test ] fn bindgen_test_layout__VipsSbufClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSbufClass > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( _VipsSbufClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSbufClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSbufClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbufClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbufClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type VipsSbufClass = _VipsSbufClass ; extern "C" { pub fn vips_sbuf_get_type ( ) -> GType ; } extern "C" { pub fn vips_sbuf_new_from_source ( source : * mut VipsSource ) -> * mut VipsSbuf ; } extern "C" { pub fn vips_sbuf_unbuffer ( sbuf : * mut VipsSbuf ) ; } extern "C" { pub fn vips_sbuf_getc ( sbuf : * mut VipsSbuf ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sbuf_ungetc ( sbuf : * mut VipsSbuf ) ; } extern "C" { pub fn vips_sbuf_require ( sbuf : * mut VipsSbuf , require : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sbuf_get_line ( sbuf : * mut VipsSbuf ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_sbuf_get_line_copy ( sbuf : * mut VipsSbuf ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_sbuf_get_non_whitespace ( sbuf : * mut VipsSbuf ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_sbuf_skip_whitespace ( sbuf : * mut VipsSbuf ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsRect { pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__VipsRect ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsRect > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _VipsRect ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsRect > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _VipsRect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRect > ( ) ) ) . left as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRect ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRect > ( ) ) ) . top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRect ) , "::" , stringify ! ( top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRect > ( ) ) ) . width as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRect ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRect > ( ) ) ) . height as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRect ) , "::" , stringify ! ( height ) ) ) ; } pub type VipsRect = _VipsRect ; extern "C" { pub fn vips_rect_isempty ( r : * const VipsRect ) -> gboolean ; } extern "C" { pub fn vips_rect_includespoint ( r : * const VipsRect , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) -> gboolean ; } extern "C" { pub fn vips_rect_includesrect ( r1 : * const VipsRect , r2 : * const VipsRect ) -> gboolean ; } extern "C" { pub fn vips_rect_equalsrect ( r1 : * const VipsRect , r2 : * const VipsRect ) -> gboolean ; } extern "C" { pub fn vips_rect_overlapsrect ( r1 : * const VipsRect , r2 : * const VipsRect ) -> gboolean ; } extern "C" { pub fn vips_rect_marginadjust ( r : * mut VipsRect , n : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_rect_intersectrect ( r1 : * const VipsRect , r2 : * const VipsRect , out : * mut VipsRect ) ; } extern "C" { pub fn vips_rect_unionrect ( r1 : * const VipsRect , r2 : * const VipsRect , out : * mut VipsRect ) ; } extern "C" { pub fn vips_rect_dup ( r : * const VipsRect ) -> * mut VipsRect ; } extern "C" { pub fn vips_rect_normalise ( r : * mut VipsRect ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct VipsWindow { pub ref_count : :: std :: os :: raw :: c_int , pub im : * mut _VipsImage , pub top : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub data : * mut VipsPel , pub baseaddr : * mut :: std :: os :: raw :: c_void , pub length : usize , } # [ test ] fn bindgen_test_layout_VipsWindow ( ) { assert_eq ! ( :: std :: mem :: size_of :: < VipsWindow > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( VipsWindow ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < VipsWindow > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( VipsWindow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . im as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( im ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . top as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . height as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . data as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . baseaddr as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( baseaddr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . length as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( length ) ) ) ; } extern "C" { pub fn vips_window_unref ( window : * mut VipsWindow ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_window_print ( window : * mut VipsWindow ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct VipsBufferThread { pub hash : * mut GHashTable , pub thread : * mut GThread , } # [ test ] fn bindgen_test_layout_VipsBufferThread ( ) { assert_eq ! ( :: std :: mem :: size_of :: < VipsBufferThread > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( VipsBufferThread ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < VipsBufferThread > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( VipsBufferThread ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsBufferThread > ( ) ) ) . hash as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( VipsBufferThread ) , "::" , stringify ! ( hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsBufferThread > ( ) ) ) . thread as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( VipsBufferThread ) , "::" , stringify ! ( thread ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsBufferCache { pub buffers : * mut GSList , pub thread : * mut GThread , pub im : * mut _VipsImage , pub buffer_thread : * mut VipsBufferThread , pub reserve : * mut GSList , pub n_reserve : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__VipsBufferCache ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsBufferCache > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _VipsBufferCache ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsBufferCache > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsBufferCache ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBufferCache > ( ) ) ) . buffers as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBufferCache ) , "::" , stringify ! ( buffers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBufferCache > ( ) ) ) . thread as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBufferCache ) , "::" , stringify ! ( thread ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBufferCache > ( ) ) ) . im as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBufferCache ) , "::" , stringify ! ( im ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBufferCache > ( ) ) ) . buffer_thread as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBufferCache ) , "::" , stringify ! ( buffer_thread ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBufferCache > ( ) ) ) . reserve as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBufferCache ) , "::" , stringify ! ( reserve ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBufferCache > ( ) ) ) . n_reserve as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBufferCache ) , "::" , stringify ! ( n_reserve ) ) ) ; } pub type VipsBufferCache = _VipsBufferCache ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsBuffer { pub ref_count : :: std :: os :: raw :: c_int , pub im : * mut _VipsImage , pub area : VipsRect , pub done : gboolean , pub cache : * mut VipsBufferCache , pub buf : * mut VipsPel , pub bsize : usize , } # [ test ] fn bindgen_test_layout__VipsBuffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsBuffer > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsBuffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsBuffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsBuffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . im as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( im ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . area as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( area ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . done as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( done ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . cache as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( cache ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . buf as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . bsize as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( bsize ) ) ) ; } pub type VipsBuffer = _VipsBuffer ; extern "C" { pub fn vips_buffer_dump_all ( ) ; } extern "C" { pub fn vips_buffer_done ( buffer : * mut VipsBuffer ) ; } extern "C" { pub fn vips_buffer_undone ( buffer : * mut VipsBuffer ) ; } extern "C" { pub fn vips_buffer_unref ( buffer : * mut VipsBuffer ) ; } extern "C" { pub fn vips_buffer_new ( im : * mut _VipsImage , area : * mut VipsRect ) -> * mut VipsBuffer ; } extern "C" { pub fn vips_buffer_ref ( im : * mut _VipsImage , area : * mut VipsRect ) -> * mut VipsBuffer ; } extern "C" { pub fn vips_buffer_unref_ref ( buffer : * mut VipsBuffer , im : * mut _VipsImage , area : * mut VipsRect ) -> * mut VipsBuffer ; } extern "C" { pub fn vips_buffer_print ( buffer : * mut VipsBuffer ) ; } extern "C" { pub fn vips__render_shutdown ( ) ; } pub const _RegionType_VIPS_REGION_NONE : _RegionType = 0 ; pub const _RegionType_VIPS_REGION_BUFFER : _RegionType = 1 ; pub const _RegionType_VIPS_REGION_OTHER_REGION : _RegionType = 2 ; pub const _RegionType_VIPS_REGION_OTHER_IMAGE : _RegionType = 3 ; pub const _RegionType_VIPS_REGION_WINDOW : _RegionType = 4 ; pub type _RegionType = u32 ; pub use self :: _RegionType as RegionType ; extern "C" { pub fn vips__region_take_ownership ( reg : * mut _VipsRegion ) ; } extern "C" { pub fn vips__region_check_ownership ( reg : * mut _VipsRegion ) ; } extern "C" { pub fn vips__region_no_ownership ( reg : * mut _VipsRegion ) ; } pub type VipsRegionFillFn = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut _VipsRegion , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn vips_region_fill ( reg : * mut _VipsRegion , r : * const VipsRect , fn_ : VipsRegionFillFn , a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__image_wio_output ( image : * mut _VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__image_pio_output ( image : * mut _VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__argument_get_instance ( argument_class : * mut VipsArgumentClass , object : * mut VipsObject ) -> * mut VipsArgumentInstance ; } extern "C" { pub fn vips__argument_table_lookup ( table : * mut VipsArgumentTable , pspec : * mut GParamSpec ) -> * mut VipsArgument ; } extern "C" { pub fn vips__demand_hint_array ( image : * mut _VipsImage , hint : :: std :: os :: raw :: c_int , in_ : * mut * mut _VipsImage ) ; } extern "C" { pub fn vips__image_copy_fields_array ( out : * mut _VipsImage , in_ : * mut * mut _VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__region_count_pixels ( region : * mut _VipsRegion , nickname : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_region_dump_all ( ) ; } extern "C" { pub fn vips_region_prepare_many ( reg : * mut * mut _VipsRegion , r : * const VipsRect ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__view_image ( image : * mut _VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_vips__argument_id" ] pub static mut _vips__argument_id : :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__meta_init ( ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct im__INTMASK { pub xsize : :: std :: os :: raw :: c_int , pub ysize : :: std :: os :: raw :: c_int , pub scale : :: std :: os :: raw :: c_int , pub offset : :: std :: os :: raw :: c_int , pub coeff : * mut :: std :: os :: raw :: c_int , pub filename : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_im__INTMASK ( ) { assert_eq ! ( :: std :: mem :: size_of :: < im__INTMASK > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( im__INTMASK ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < im__INTMASK > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( im__INTMASK ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__INTMASK > ( ) ) ) . xsize as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( im__INTMASK ) , "::" , stringify ! ( xsize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__INTMASK > ( ) ) ) . ysize as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( im__INTMASK ) , "::" , stringify ! ( ysize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__INTMASK > ( ) ) ) . scale as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( im__INTMASK ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__INTMASK > ( ) ) ) . offset as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( im__INTMASK ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__INTMASK > ( ) ) ) . coeff as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( im__INTMASK ) , "::" , stringify ! ( coeff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__INTMASK > ( ) ) ) . filename as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( im__INTMASK ) , "::" , stringify ! ( filename ) ) ) ; } pub type INTMASK = im__INTMASK ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct im__DOUBLEMASK { pub xsize : :: std :: os :: raw :: c_int , pub ysize : :: std :: os :: raw :: c_int , pub scale : f64 , pub offset : f64 , pub coeff : * mut f64 , pub filename : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_im__DOUBLEMASK ( ) { assert_eq ! ( :: std :: mem :: size_of :: < im__DOUBLEMASK > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( im__DOUBLEMASK ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < im__DOUBLEMASK > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( im__DOUBLEMASK ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__DOUBLEMASK > ( ) ) ) . xsize as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( im__DOUBLEMASK ) , "::" , stringify ! ( xsize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__DOUBLEMASK > ( ) ) ) . ysize as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( im__DOUBLEMASK ) , "::" , stringify ! ( ysize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__DOUBLEMASK > ( ) ) ) . scale as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( im__DOUBLEMASK ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__DOUBLEMASK > ( ) ) ) . offset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( im__DOUBLEMASK ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__DOUBLEMASK > ( ) ) ) . coeff as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( im__DOUBLEMASK ) , "::" , stringify ! ( coeff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__DOUBLEMASK > ( ) ) ) . filename as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( im__DOUBLEMASK ) , "::" , stringify ! ( filename ) ) ) ; } pub type DOUBLEMASK = im__DOUBLEMASK ; extern "C" { pub fn im_create_imask ( filename : * const :: std :: os :: raw :: c_char , xsize : :: std :: os :: raw :: c_int , ysize : :: std :: os :: raw :: c_int ) -> * mut INTMASK ; } extern "C" { pub fn im_create_imaskv ( filename : * const :: std :: os :: raw :: c_char , xsize : :: std :: os :: raw :: c_int , ysize : :: std :: os :: raw :: c_int , ... ) -> * mut INTMASK ; } extern "C" { pub fn im_create_dmask ( filename : * const :: std :: os :: raw :: c_char , xsize : :: std :: os :: raw :: c_int , ysize : :: std :: os :: raw :: c_int ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_create_dmaskv ( filename : * const :: std :: os :: raw :: c_char , xsize : :: std :: os :: raw :: c_int , ysize : :: std :: os :: raw :: c_int , ... ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_read_imask ( filename : * const :: std :: os :: raw :: c_char ) -> * mut INTMASK ; } extern "C" { pub fn im_read_dmask ( filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_print_imask ( in_ : * mut INTMASK ) ; } extern "C" { pub fn im_print_dmask ( in_ : * mut DOUBLEMASK ) ; } extern "C" { pub fn im_write_imask ( in_ : * mut INTMASK ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_write_dmask ( in_ : * mut DOUBLEMASK ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_write_imask_name ( in_ : * mut INTMASK , filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_write_dmask_name ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_free_imask ( in_ : * mut INTMASK ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_free_dmask ( in_ : * mut DOUBLEMASK ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_log_imask ( filename : * const :: std :: os :: raw :: c_char , sigma : f64 , min_ampl : f64 ) -> * mut INTMASK ; } extern "C" { pub fn im_log_dmask ( filename : * const :: std :: os :: raw :: c_char , sigma : f64 , min_ampl : f64 ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_gauss_imask ( filename : * const :: std :: os :: raw :: c_char , sigma : f64 , min_ampl : f64 ) -> * mut INTMASK ; } extern "C" { pub fn im_gauss_imask_sep ( filename : * const :: std :: os :: raw :: c_char , sigma : f64 , min_ampl : f64 ) -> * mut INTMASK ; } extern "C" { pub fn im_gauss_dmask ( filename : * const :: std :: os :: raw :: c_char , sigma : f64 , min_ampl : f64 ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_gauss_dmask_sep ( filename : * const :: std :: os :: raw :: c_char , sigma : f64 , min_ampl : f64 ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_dup_imask ( in_ : * mut INTMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut INTMASK ; } extern "C" { pub fn im_dup_dmask ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_scale_dmask ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut INTMASK ; } extern "C" { pub fn im_norm_dmask ( mask : * mut DOUBLEMASK ) ; } extern "C" { pub fn im_imask2dmask ( in_ : * mut INTMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_dmask2imask ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut INTMASK ; } extern "C" { pub fn im_rotate_imask90 ( in_ : * mut INTMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut INTMASK ; } extern "C" { pub fn im_rotate_imask45 ( in_ : * mut INTMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut INTMASK ; } extern "C" { pub fn im_rotate_dmask90 ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_rotate_dmask45 ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_mattrn ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_matcat ( top : * mut DOUBLEMASK , bottom : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_matmul ( in1 : * mut DOUBLEMASK , in2 : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_lu_decomp ( mat : * const DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_lu_solve ( lu : * const DOUBLEMASK , vec : * mut f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_matinv ( mat : * const DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_matinv_inplace ( mat : * mut DOUBLEMASK ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_local_dmask ( out : * mut _VipsImage , mask : * mut DOUBLEMASK ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_local_imask ( out : * mut _VipsImage , mask : * mut INTMASK ) -> * mut INTMASK ; } pub const VipsRegionShrink_VIPS_REGION_SHRINK_MEAN : VipsRegionShrink = 0 ; pub const VipsRegionShrink_VIPS_REGION_SHRINK_MEDIAN : VipsRegionShrink = 1 ; pub const VipsRegionShrink_VIPS_REGION_SHRINK_MODE : VipsRegionShrink = 2 ; pub const VipsRegionShrink_VIPS_REGION_SHRINK_MAX : VipsRegionShrink = 3 ; pub const VipsRegionShrink_VIPS_REGION_SHRINK_MIN : VipsRegionShrink = 4 ; pub const VipsRegionShrink_VIPS_REGION_SHRINK_NEAREST : VipsRegionShrink = 5 ; pub const VipsRegionShrink_VIPS_REGION_SHRINK_LAST : VipsRegionShrink = 6 ; pub type VipsRegionShrink = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsRegion { pub parent_object : VipsObject , pub im : * mut VipsImage , pub valid : VipsRect , pub type_ : RegionType , pub data : * mut VipsPel , pub bpl : :: std :: os :: raw :: c_int , pub seq : * mut :: std :: os :: raw :: c_void , pub thread : * mut GThread , pub window : * mut VipsWindow , pub buffer : * mut VipsBuffer , pub invalid : gboolean , } # [ test ] fn bindgen_test_layout__VipsRegion ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsRegion > ( ) , 168usize , concat ! ( "Size of: " , stringify ! ( _VipsRegion ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsRegion > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsRegion ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . im as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( im ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . valid as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( valid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . type_ as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . data as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . bpl as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( bpl ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . seq as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( seq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . thread as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( thread ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . window as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( window ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . buffer as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . invalid as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( invalid ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsRegionClass { pub parent_class : VipsObjectClass , } # [ test ] fn bindgen_test_layout__VipsRegionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsRegionClass > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( _VipsRegionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsRegionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsRegionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegionClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type VipsRegionClass = _VipsRegionClass ; extern "C" { pub fn vips_region_get_type ( ) -> GType ; } extern "C" { pub fn vips_region_new ( image : * mut VipsImage ) -> * mut VipsRegion ; } extern "C" { pub fn vips_region_buffer ( reg : * mut VipsRegion , r : * const VipsRect ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_image ( reg : * mut VipsRegion , r : * const VipsRect ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_region ( reg : * mut VipsRegion , dest : * mut VipsRegion , r : * const VipsRect , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_equalsregion ( reg1 : * mut VipsRegion , reg2 : * mut VipsRegion ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_position ( reg : * mut VipsRegion , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_paint ( reg : * mut VipsRegion , r : * const VipsRect , value : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_region_paint_pel ( reg : * mut VipsRegion , r : * const VipsRect , ink : * const VipsPel ) ; } extern "C" { pub fn vips_region_black ( reg : * mut VipsRegion ) ; } extern "C" { pub fn vips_region_copy ( reg : * mut VipsRegion , dest : * mut VipsRegion , r : * const VipsRect , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_region_shrink_method ( from : * mut VipsRegion , to : * mut VipsRegion , target : * const VipsRect , method : VipsRegionShrink ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_shrink ( from : * mut VipsRegion , to : * mut VipsRegion , target : * const VipsRect ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_prepare ( reg : * mut VipsRegion , r : * const VipsRect ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_prepare_to ( reg : * mut VipsRegion , dest : * mut VipsRegion , r : * const VipsRect , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_fetch ( region : * mut VipsRegion , left : :: std :: os :: raw :: c_int , top : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , len : * mut usize ) -> * mut VipsPel ; } extern "C" { pub fn vips_region_width ( region : * mut VipsRegion ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_height ( region : * mut VipsRegion ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_invalidate ( reg : * mut VipsRegion ) ; } pub const VipsDemandStyle_VIPS_DEMAND_STYLE_ERROR : VipsDemandStyle = -1 ; pub const VipsDemandStyle_VIPS_DEMAND_STYLE_SMALLTILE : VipsDemandStyle = 0 ; pub const VipsDemandStyle_VIPS_DEMAND_STYLE_FATSTRIP : VipsDemandStyle = 1 ; pub const VipsDemandStyle_VIPS_DEMAND_STYLE_THINSTRIP : VipsDemandStyle = 2 ; pub const VipsDemandStyle_VIPS_DEMAND_STYLE_ANY : VipsDemandStyle = 3 ; pub type VipsDemandStyle = i32 ; pub const VipsImageType_VIPS_IMAGE_ERROR : VipsImageType = -1 ; pub const VipsImageType_VIPS_IMAGE_NONE : VipsImageType = 0 ; pub const VipsImageType_VIPS_IMAGE_SETBUF : VipsImageType = 1 ; pub const VipsImageType_VIPS_IMAGE_SETBUF_FOREIGN : VipsImageType = 2 ; pub const VipsImageType_VIPS_IMAGE_OPENIN : VipsImageType = 3 ; pub const VipsImageType_VIPS_IMAGE_MMAPIN : VipsImageType = 4 ; pub const VipsImageType_VIPS_IMAGE_MMAPINRW : VipsImageType = 5 ; pub const VipsImageType_VIPS_IMAGE_OPENOUT : VipsImageType = 6 ; pub const VipsImageType_VIPS_IMAGE_PARTIAL : VipsImageType = 7 ; pub type VipsImageType = i32 ; pub const VipsInterpretation_VIPS_INTERPRETATION_ERROR : VipsInterpretation = -1 ; pub const VipsInterpretation_VIPS_INTERPRETATION_MULTIBAND : VipsInterpretation = 0 ; pub const VipsInterpretation_VIPS_INTERPRETATION_B_W : VipsInterpretation = 1 ; pub const VipsInterpretation_VIPS_INTERPRETATION_HISTOGRAM : VipsInterpretation = 10 ; pub const VipsInterpretation_VIPS_INTERPRETATION_XYZ : VipsInterpretation = 12 ; pub const VipsInterpretation_VIPS_INTERPRETATION_LAB : VipsInterpretation = 13 ; pub const VipsInterpretation_VIPS_INTERPRETATION_CMYK : VipsInterpretation = 15 ; pub const VipsInterpretation_VIPS_INTERPRETATION_LABQ : VipsInterpretation = 16 ; pub const VipsInterpretation_VIPS_INTERPRETATION_RGB : VipsInterpretation = 17 ; pub const VipsInterpretation_VIPS_INTERPRETATION_CMC : VipsInterpretation = 18 ; pub const VipsInterpretation_VIPS_INTERPRETATION_LCH : VipsInterpretation = 19 ; pub const VipsInterpretation_VIPS_INTERPRETATION_LABS : VipsInterpretation = 21 ; pub const VipsInterpretation_VIPS_INTERPRETATION_sRGB : VipsInterpretation = 22 ; pub const VipsInterpretation_VIPS_INTERPRETATION_YXY : VipsInterpretation = 23 ; pub const VipsInterpretation_VIPS_INTERPRETATION_FOURIER : VipsInterpretation = 24 ; pub const VipsInterpretation_VIPS_INTERPRETATION_RGB16 : VipsInterpretation = 25 ; pub const VipsInterpretation_VIPS_INTERPRETATION_GREY16 : VipsInterpretation = 26 ; pub const VipsInterpretation_VIPS_INTERPRETATION_MATRIX : VipsInterpretation = 27 ; pub const VipsInterpretation_VIPS_INTERPRETATION_scRGB : VipsInterpretation = 28 ; pub const VipsInterpretation_VIPS_INTERPRETATION_HSV : VipsInterpretation = 29 ; pub const VipsInterpretation_VIPS_INTERPRETATION_LAST : VipsInterpretation = 30 ; pub type VipsInterpretation = i32 ; pub const VipsBandFormat_VIPS_FORMAT_NOTSET : VipsBandFormat = -1 ; pub const VipsBandFormat_VIPS_FORMAT_UCHAR : VipsBandFormat = 0 ; pub const VipsBandFormat_VIPS_FORMAT_CHAR : VipsBandFormat = 1 ; pub const VipsBandFormat_VIPS_FORMAT_USHORT : VipsBandFormat = 2 ; pub const VipsBandFormat_VIPS_FORMAT_SHORT : VipsBandFormat = 3 ; pub const VipsBandFormat_VIPS_FORMAT_UINT : VipsBandFormat = 4 ; pub const VipsBandFormat_VIPS_FORMAT_INT : VipsBandFormat = 5 ; pub const VipsBandFormat_VIPS_FORMAT_FLOAT : VipsBandFormat = 6 ; pub const VipsBandFormat_VIPS_FORMAT_COMPLEX : VipsBandFormat = 7 ; pub const VipsBandFormat_VIPS_FORMAT_DOUBLE : VipsBandFormat = 8 ; pub const VipsBandFormat_VIPS_FORMAT_DPCOMPLEX : VipsBandFormat = 9 ; pub const VipsBandFormat_VIPS_FORMAT_LAST : VipsBandFormat = 10 ; pub type VipsBandFormat = i32 ; pub const VipsCoding_VIPS_CODING_ERROR : VipsCoding = -1 ; pub const VipsCoding_VIPS_CODING_NONE : VipsCoding = 0 ; pub const VipsCoding_VIPS_CODING_LABQ : VipsCoding = 2 ; pub const VipsCoding_VIPS_CODING_RAD : VipsCoding = 6 ; pub const VipsCoding_VIPS_CODING_LAST : VipsCoding = 7 ; pub type VipsCoding = i32 ; pub const VipsAccess_VIPS_ACCESS_RANDOM : VipsAccess = 0 ; pub const VipsAccess_VIPS_ACCESS_SEQUENTIAL : VipsAccess = 1 ; pub const VipsAccess_VIPS_ACCESS_SEQUENTIAL_UNBUFFERED : VipsAccess = 2 ; pub const VipsAccess_VIPS_ACCESS_LAST : VipsAccess = 3 ; pub type VipsAccess = u32 ; pub type VipsStartFn = :: std :: option :: Option < unsafe extern "C" fn ( out : * mut VipsImage , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; pub type VipsGenerateFn = :: std :: option :: Option < unsafe extern "C" fn ( out : * mut VipsRegion , seq : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void , stop : * mut gboolean ) -> :: std :: os :: raw :: c_int > ; pub type VipsStopFn = :: std :: option :: Option < unsafe extern "C" fn ( seq : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsProgress { pub im : * mut VipsImage , pub run : :: std :: os :: raw :: c_int , pub eta : :: std :: os :: raw :: c_int , pub tpels : gint64 , pub npels : gint64 , pub percent : :: std :: os :: raw :: c_int , pub start : * mut GTimer , } # [ test ] fn bindgen_test_layout__VipsProgress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsProgress > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _VipsProgress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsProgress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsProgress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . im as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( im ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . run as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( run ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . eta as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( eta ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . tpels as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( tpels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . npels as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( npels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . percent as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( percent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . start as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( start ) ) ) ; } pub type VipsProgress = _VipsProgress ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsImage { pub parent_instance : VipsObject , pub Xsize : :: std :: os :: raw :: c_int , pub Ysize : :: std :: os :: raw :: c_int , pub Bands : :: std :: os :: raw :: c_int , pub BandFmt : VipsBandFormat , pub Coding : VipsCoding , pub Type : VipsInterpretation , pub Xres : f64 , pub Yres : f64 , pub Xoffset : :: std :: os :: raw :: c_int , pub Yoffset : :: std :: os :: raw :: c_int , pub Length : :: std :: os :: raw :: c_int , pub Compression : :: std :: os :: raw :: c_short , pub Level : :: std :: os :: raw :: c_short , pub Bbits : :: std :: os :: raw :: c_int , pub time : * mut VipsProgress , pub Hist : * mut :: std :: os :: raw :: c_char , pub filename : * mut :: std :: os :: raw :: c_char , pub data : * mut VipsPel , pub kill : :: std :: os :: raw :: c_int , pub Xres_float : f32 , pub Yres_float : f32 , pub mode : * mut :: std :: os :: raw :: c_char , pub dtype : VipsImageType , pub fd : :: std :: os :: raw :: c_int , pub baseaddr : * mut :: std :: os :: raw :: c_void , pub length : usize , pub magic : guint32 , pub start_fn : VipsStartFn , pub generate_fn : VipsGenerateFn , pub stop_fn : VipsStopFn , pub client1 : * mut :: std :: os :: raw :: c_void , pub client2 : * mut :: std :: os :: raw :: c_void , pub sslock : * mut GMutex , pub regions : * mut GSList , pub dhint : VipsDemandStyle , pub meta : * mut GHashTable , pub meta_traverse : * mut GSList , pub sizeof_header : gint64 , pub windows : * mut GSList , pub upstream : * mut GSList , pub downstream : * mut GSList , pub serial : :: std :: os :: raw :: c_int , pub history_list : * mut GSList , pub progress_signal : * mut VipsImage , pub file_length : gint64 , pub hint_set : gboolean , pub delete_on_close : gboolean , pub delete_on_close_filename : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout__VipsImage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsImage > ( ) , 392usize , concat ! ( "Size of: " , stringify ! ( _VipsImage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsImage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsImage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Xsize as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Xsize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Ysize as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Ysize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Bands as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Bands ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . BandFmt as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( BandFmt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Coding as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Coding ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Type as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Xres as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Xres ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Yres as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Yres ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Xoffset as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Xoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Yoffset as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Length as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Compression as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Compression ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Level as * const _ as usize } , 134usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Level ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Bbits as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Bbits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . time as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Hist as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Hist ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . filename as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( filename ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . data as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . kill as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( kill ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Xres_float as * const _ as usize } , 180usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Xres_float ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Yres_float as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Yres_float ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . mode as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . dtype as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( dtype ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . fd as * const _ as usize } , 204usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( fd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . baseaddr as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( baseaddr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . length as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . magic as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( magic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . start_fn as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( start_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . generate_fn as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( generate_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . stop_fn as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( stop_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . client1 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( client1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . client2 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( client2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . sslock as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( sslock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . regions as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( regions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . dhint as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( dhint ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . meta as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( meta ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . meta_traverse as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( meta_traverse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . sizeof_header as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( sizeof_header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . windows as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( windows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . upstream as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( upstream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . downstream as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( downstream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . serial as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( serial ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . history_list as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( history_list ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . progress_signal as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( progress_signal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . file_length as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( file_length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . hint_set as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( hint_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . delete_on_close as * const _ as usize } , 380usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( delete_on_close ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . delete_on_close_filename as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( delete_on_close_filename ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsImageClass { pub parent_class : VipsObjectClass , pub preeval : :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , progress : * mut VipsProgress , data : * mut :: std :: os :: raw :: c_void ) > , pub eval : :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , progress : * mut VipsProgress , data : * mut :: std :: os :: raw :: c_void ) > , pub posteval : :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , progress : * mut VipsProgress , data : * mut :: std :: os :: raw :: c_void ) > , pub written : :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , result : * mut :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void ) > , pub invalidate : :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , data : * mut :: std :: os :: raw :: c_void ) > , pub minimise : :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , data : * mut :: std :: os :: raw :: c_void ) > , } # [ test ] fn bindgen_test_layout__VipsImageClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsImageClass > ( ) , 376usize , concat ! ( "Size of: " , stringify ! ( _VipsImageClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsImageClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsImageClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . preeval as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( preeval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . eval as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( eval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . posteval as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( posteval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . written as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( written ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . invalidate as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( invalidate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . minimise as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( minimise ) ) ) ; } pub type VipsImageClass = _VipsImageClass ; extern "C" { pub fn vips_image_get_type ( ) -> GType ; } extern "C" { pub fn vips_progress_set ( progress : gboolean ) ; } extern "C" { pub fn vips_image_invalidate_all ( image : * mut VipsImage ) ; } extern "C" { pub fn vips_image_minimise_all ( image : * mut VipsImage ) ; } extern "C" { pub fn vips_image_is_sequential ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_set_progress ( image : * mut VipsImage , progress : gboolean ) ; } extern "C" { pub fn vips_image_iskilled ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_set_kill ( image : * mut VipsImage , kill : gboolean ) ; } extern "C" { pub fn vips_filename_get_filename ( vips_filename : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_filename_get_options ( vips_filename : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_image_new ( ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_memory ( ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_memory ( ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_file ( name : * const :: std :: os :: raw :: c_char , ... ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_file_RW ( filename : * const :: std :: os :: raw :: c_char ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_file_raw ( filename : * const :: std :: os :: raw :: c_char , xsize : :: std :: os :: raw :: c_int , ysize : :: std :: os :: raw :: c_int , bands : :: std :: os :: raw :: c_int , offset : guint64 ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_memory ( data : * const :: std :: os :: raw :: c_void , size : usize , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bands : :: std :: os :: raw :: c_int , format : VipsBandFormat ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_memory_copy ( data : * const :: std :: os :: raw :: c_void , size : usize , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bands : :: std :: os :: raw :: c_int , format : VipsBandFormat ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_buffer ( buf : * const :: std :: os :: raw :: c_void , len : usize , option_string : * const :: std :: os :: raw :: c_char , ... ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_source ( source : * mut VipsSource , option_string : * const :: std :: os :: raw :: c_char , ... ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_matrix ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_matrixv ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_matrix_from_array ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , array : * const f64 , size : :: std :: os :: raw :: c_int ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_matrix_from_array ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , array : * const f64 , size : :: std :: os :: raw :: c_int ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_image ( image : * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_image1 ( image : * mut VipsImage , c : f64 ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_set_delete_on_close ( image : * mut VipsImage , delete_on_close : gboolean ) ; } extern "C" { pub fn vips_get_disc_threshold ( ) -> guint64 ; } extern "C" { pub fn vips_image_new_temp_file ( format : * const :: std :: os :: raw :: c_char ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_write ( image : * mut VipsImage , out : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_write_to_file ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_write_to_buffer ( in_ : * mut VipsImage , suffix : * const :: std :: os :: raw :: c_char , buf : * mut * mut :: std :: os :: raw :: c_void , size : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_write_to_target ( in_ : * mut VipsImage , suffix : * const :: std :: os :: raw :: c_char , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_write_to_memory ( in_ : * mut VipsImage , size : * mut usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_image_decode_predict ( in_ : * mut VipsImage , bands : * mut :: std :: os :: raw :: c_int , format : * mut VipsBandFormat ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_decode ( in_ : * mut VipsImage , out : * mut * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_encode ( in_ : * mut VipsImage , out : * mut * mut VipsImage , coding : VipsCoding ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_isMSBfirst ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_isfile ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_ispartial ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_hasalpha ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_copy_memory ( image : * mut VipsImage ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_wio_input ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_pio_input ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_pio_output ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_inplace ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_write_prepare ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_write_line ( image : * mut VipsImage , ypos : :: std :: os :: raw :: c_int , linebuffer : * mut VipsPel ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_band_format_isint ( format : VipsBandFormat ) -> gboolean ; } extern "C" { pub fn vips_band_format_isuint ( format : VipsBandFormat ) -> gboolean ; } extern "C" { pub fn vips_band_format_is8bit ( format : VipsBandFormat ) -> gboolean ; } extern "C" { pub fn vips_band_format_isfloat ( format : VipsBandFormat ) -> gboolean ; } extern "C" { pub fn vips_band_format_iscomplex ( format : VipsBandFormat ) -> gboolean ; } extern "C" { pub fn vips_system ( cmd_format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_array_image_new ( array : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int ) -> * mut VipsArrayImage ; } extern "C" { pub fn vips_array_image_newv ( n : :: std :: os :: raw :: c_int , ... ) -> * mut VipsArrayImage ; } extern "C" { pub fn vips_array_image_new_from_string ( string : * const :: std :: os :: raw :: c_char , flags : VipsAccess ) -> * mut VipsArrayImage ; } extern "C" { pub fn vips_array_image_empty ( ) -> * mut VipsArrayImage ; } extern "C" { pub fn vips_array_image_append ( array : * mut VipsArrayImage , image : * mut VipsImage ) -> * mut VipsArrayImage ; } extern "C" { pub fn vips_array_image_get ( array : * mut VipsArrayImage , n : * mut :: std :: os :: raw :: c_int ) -> * mut * mut VipsImage ; } extern "C" { pub fn vips_value_get_array_image ( value : * const GValue , n : * mut :: std :: os :: raw :: c_int ) -> * mut * mut VipsImage ; } extern "C" { pub fn vips_value_set_array_image ( value : * mut GValue , n : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_reorder_prepare_many ( image : * mut VipsImage , regions : * mut * mut VipsRegion , r : * mut VipsRect ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_reorder_margin_hint ( image : * mut VipsImage , margin : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_image_free_buffer ( image : * mut VipsImage , buffer : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn vips_malloc ( object : * mut VipsObject , size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_strdup ( object : * mut VipsObject , str : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_tracked_free ( s : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn vips_tracked_aligned_free ( s : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn vips_tracked_malloc ( size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_tracked_aligned_alloc ( size : usize , align : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_tracked_get_mem ( ) -> usize ; } extern "C" { pub fn vips_tracked_get_mem_highwater ( ) -> usize ; } extern "C" { pub fn vips_tracked_get_allocs ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tracked_open ( pathname : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tracked_close ( fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tracked_get_files ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_error_buffer ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_error_buffer_copy ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_error_clear ( ) ; } extern "C" { pub fn vips_error_freeze ( ) ; } extern "C" { pub fn vips_error_thaw ( ) ; } extern "C" { pub fn vips_error ( domain : * const :: std :: os :: raw :: c_char , fmt : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn vips_verror ( domain : * const :: std :: os :: raw :: c_char , fmt : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag ) ; } extern "C" { pub fn vips_error_system ( err : :: std :: os :: raw :: c_int , domain : * const :: std :: os :: raw :: c_char , fmt : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn vips_verror_system ( err : :: std :: os :: raw :: c_int , domain : * const :: std :: os :: raw :: c_char , fmt : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag ) ; } extern "C" { pub fn vips_error_g ( error : * mut * mut GError ) ; } extern "C" { pub fn vips_g_error ( error : * mut * mut GError ) ; } extern "C" { pub fn vips_error_exit ( fmt : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn vips_check_uncoded ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_coding ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , coding : VipsCoding ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_coding_known ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_coding_noneorlabq ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_coding_same ( domain : * const :: std :: os :: raw :: c_char , im1 : * mut VipsImage , im2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_mono ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bands ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , bands : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bands_1or3 ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bands_atleast ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , bands : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bands_1orn ( domain : * const :: std :: os :: raw :: c_char , im1 : * mut VipsImage , im2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bands_1orn_unary ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , n : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bands_same ( domain : * const :: std :: os :: raw :: c_char , im1 : * mut VipsImage , im2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bandno ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , bandno : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_int ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_uint ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_uintorf ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_noncomplex ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_complex ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_twocomponents ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_format ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , fmt : VipsBandFormat ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_u8or16 ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_8or16 ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_u8or16orf ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_format_same ( domain : * const :: std :: os :: raw :: c_char , im1 : * mut VipsImage , im2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_size_same ( domain : * const :: std :: os :: raw :: c_char , im1 : * mut VipsImage , im2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_oddsquare ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_vector_length ( domain : * const :: std :: os :: raw :: c_char , n : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_vector ( domain : * const :: std :: os :: raw :: c_char , n : :: std :: os :: raw :: c_int , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_hist ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_matrix ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , out : * mut * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_separable ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_precision_intfloat ( domain : * const :: std :: os :: raw :: c_char , precision : VipsPrecision ) -> :: std :: os :: raw :: c_int ; } pub const VipsFormatFlags_VIPS_FORMAT_NONE : VipsFormatFlags = 0 ; pub const VipsFormatFlags_VIPS_FORMAT_PARTIAL : VipsFormatFlags = 1 ; pub const VipsFormatFlags_VIPS_FORMAT_BIGENDIAN : VipsFormatFlags = 2 ; pub type VipsFormatFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsFormat { pub parent_object : VipsObject , } # [ test ] fn bindgen_test_layout__VipsFormat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsFormat > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _VipsFormat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsFormat > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsFormat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormat > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormat ) , "::" , stringify ! ( parent_object ) ) ) ; } pub type VipsFormat = _VipsFormat ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsFormatClass { pub parent_class : VipsObjectClass , pub is_a : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const :: std :: os :: raw :: c_char ) -> gboolean > , pub header : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int > , pub load : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int > , pub save : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsImage , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int > , pub get_flags : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const :: std :: os :: raw :: c_char ) -> VipsFormatFlags > , pub priority : :: std :: os :: raw :: c_int , pub suffs : * mut * const :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout__VipsFormatClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsFormatClass > ( ) , 384usize , concat ! ( "Size of: " , stringify ! ( _VipsFormatClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsFormatClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsFormatClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . is_a as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( is_a ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . header as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . load as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( load ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . save as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( save ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . get_flags as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( get_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . priority as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . suffs as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( suffs ) ) ) ; } pub type VipsFormatClass = _VipsFormatClass ; extern "C" { pub fn vips_format_get_type ( ) -> GType ; } extern "C" { pub fn vips_format_map ( fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_format_for_file ( filename : * const :: std :: os :: raw :: c_char ) -> * mut VipsFormatClass ; } extern "C" { pub fn vips_format_for_name ( filename : * const :: std :: os :: raw :: c_char ) -> * mut VipsFormatClass ; } extern "C" { pub fn vips_format_get_flags ( format : * mut VipsFormatClass , filename : * const :: std :: os :: raw :: c_char ) -> VipsFormatFlags ; } extern "C" { pub fn vips_format_read ( filename : * const :: std :: os :: raw :: c_char , out : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_format_write ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } pub type VipsRegionWrite = :: std :: option :: Option < unsafe extern "C" fn ( region : * mut VipsRegion , area : * mut VipsRect , a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn vips_sink_disc ( im : * mut VipsImage , write_fn : VipsRegionWrite , a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sink ( im : * mut VipsImage , start_fn : VipsStartFn , generate_fn : VipsGenerateFn , stop_fn : VipsStopFn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sink_tile ( im : * mut VipsImage , tile_width : :: std :: os :: raw :: c_int , tile_height : :: std :: os :: raw :: c_int , start_fn : VipsStartFn , generate_fn : VipsGenerateFn , stop_fn : VipsStopFn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } pub type VipsSinkNotify = :: std :: option :: Option < unsafe extern "C" fn ( im : * mut VipsImage , rect : * mut VipsRect , a : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub fn vips_sink_screen ( in_ : * mut VipsImage , out : * mut VipsImage , mask : * mut VipsImage , tile_width : :: std :: os :: raw :: c_int , tile_height : :: std :: os :: raw :: c_int , max_tiles : :: std :: os :: raw :: c_int , priority : :: std :: os :: raw :: c_int , notify_fn : VipsSinkNotify , a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sink_memory ( im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_start_one ( out : * mut VipsImage , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_stop_one ( seq : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_start_many ( out : * mut VipsImage , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_stop_many ( seq : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_allocate_input_array ( out : * mut VipsImage , ... ) -> * mut * mut VipsImage ; } extern "C" { pub fn vips_image_generate ( image : * mut VipsImage , start_fn : VipsStartFn , generate_fn : VipsGenerateFn , stop_fn : VipsStopFn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_pipeline_array ( image : * mut VipsImage , hint : VipsDemandStyle , in_ : * mut * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_pipelinev ( image : * mut VipsImage , hint : VipsDemandStyle , ... ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsInterpolate { pub parent_object : VipsObject , } # [ test ] fn bindgen_test_layout__VipsInterpolate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsInterpolate > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _VipsInterpolate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsInterpolate > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsInterpolate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolate > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolate ) , "::" , stringify ! ( parent_object ) ) ) ; } pub type VipsInterpolate = _VipsInterpolate ; pub type VipsInterpolateMethod = :: std :: option :: Option < unsafe extern "C" fn ( interpolate : * mut VipsInterpolate , out : * mut :: std :: os :: raw :: c_void , in_ : * mut VipsRegion , x : f64 , y : f64 ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsInterpolateClass { pub parent_class : VipsObjectClass , pub interpolate : VipsInterpolateMethod , pub get_window_size : :: std :: option :: Option < unsafe extern "C" fn ( interpolate : * mut VipsInterpolate ) -> :: std :: os :: raw :: c_int > , pub window_size : :: std :: os :: raw :: c_int , pub get_window_offset : :: std :: option :: Option < unsafe extern "C" fn ( interpolate : * mut VipsInterpolate ) -> :: std :: os :: raw :: c_int > , pub window_offset : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__VipsInterpolateClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsInterpolateClass > ( ) , 368usize , concat ! ( "Size of: " , stringify ! ( _VipsInterpolateClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsInterpolateClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsInterpolateClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolateClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolateClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolateClass > ( ) ) ) . interpolate as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolateClass ) , "::" , stringify ! ( interpolate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolateClass > ( ) ) ) . get_window_size as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolateClass ) , "::" , stringify ! ( get_window_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolateClass > ( ) ) ) . window_size as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolateClass ) , "::" , stringify ! ( window_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolateClass > ( ) ) ) . get_window_offset as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolateClass ) , "::" , stringify ! ( get_window_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolateClass > ( ) ) ) . window_offset as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolateClass ) , "::" , stringify ! ( window_offset ) ) ) ; } pub type VipsInterpolateClass = _VipsInterpolateClass ; extern "C" { pub fn vips_interpolate_get_type ( ) -> GType ; } extern "C" { pub fn vips_interpolate ( interpolate : * mut VipsInterpolate , out : * mut :: std :: os :: raw :: c_void , in_ : * mut VipsRegion , x : f64 , y : f64 ) ; } extern "C" { pub fn vips_interpolate_get_method ( interpolate : * mut VipsInterpolate ) -> VipsInterpolateMethod ; } extern "C" { pub fn vips_interpolate_get_window_size ( interpolate : * mut VipsInterpolate ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_interpolate_get_window_offset ( interpolate : * mut VipsInterpolate ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_interpolate_nearest_static ( ) -> * mut VipsInterpolate ; } extern "C" { pub fn vips_interpolate_bilinear_static ( ) -> * mut VipsInterpolate ; } extern "C" { pub fn vips_interpolate_new ( nickname : * const :: std :: os :: raw :: c_char ) -> * mut VipsInterpolate ; } extern "C" { pub fn vips_g_mutex_new ( ) -> * mut GMutex ; } extern "C" { pub fn vips_g_mutex_free ( arg1 : * mut GMutex ) ; } extern "C" { pub fn vips_g_cond_new ( ) -> * mut GCond ; } extern "C" { pub fn vips_g_cond_free ( arg1 : * mut GCond ) ; } extern "C" { pub fn vips_g_thread_new ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : GThreadFunc , arg3 : gpointer ) -> * mut GThread ; } extern "C" { pub fn vips_thread_isvips ( ) -> gboolean ; } extern "C" { pub fn vips_thread_execute ( domain : * const :: std :: os :: raw :: c_char , func : GFunc , data : gpointer ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsThreadset { _unused : [ u8 ; 0 ] , } pub type VipsThreadset = _VipsThreadset ; extern "C" { pub fn vips_threadset_new ( max_threads : :: std :: os :: raw :: c_int ) -> * mut VipsThreadset ; } extern "C" { pub fn vips_threadset_run ( set : * mut VipsThreadset , domain : * const :: std :: os :: raw :: c_char , func : GFunc , data : gpointer ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_threadset_free ( set : * mut VipsThreadset ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct VipsSemaphore { pub name : * mut :: std :: os :: raw :: c_char , pub v : :: std :: os :: raw :: c_int , pub mutex : * mut GMutex , pub cond : * mut GCond , } # [ test ] fn bindgen_test_layout_VipsSemaphore ( ) { assert_eq ! ( :: std :: mem :: size_of :: < VipsSemaphore > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( VipsSemaphore ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < VipsSemaphore > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( VipsSemaphore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsSemaphore > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( VipsSemaphore ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsSemaphore > ( ) ) ) . v as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( VipsSemaphore ) , "::" , stringify ! ( v ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsSemaphore > ( ) ) ) . mutex as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( VipsSemaphore ) , "::" , stringify ! ( mutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsSemaphore > ( ) ) ) . cond as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( VipsSemaphore ) , "::" , stringify ! ( cond ) ) ) ; } extern "C" { pub fn vips_semaphore_up ( s : * mut VipsSemaphore ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_semaphore_upn ( s : * mut VipsSemaphore , n : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_semaphore_down ( s : * mut VipsSemaphore ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_semaphore_downn ( s : * mut VipsSemaphore , n : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_semaphore_down_timeout ( s : * mut VipsSemaphore , timeout : gint64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_semaphore_destroy ( s : * mut VipsSemaphore ) ; } extern "C" { pub fn vips_semaphore_init ( s : * mut VipsSemaphore , v : :: std :: os :: raw :: c_int , name : * mut :: std :: os :: raw :: c_char ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsThreadState { pub parent_object : VipsObject , pub im : * mut VipsImage , pub reg : * mut VipsRegion , pub pos : VipsRect , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub stop : gboolean , pub a : * mut :: std :: os :: raw :: c_void , pub stall : gboolean , } # [ test ] fn bindgen_test_layout__VipsThreadState ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsThreadState > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( _VipsThreadState ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsThreadState > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsThreadState ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . im as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( im ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . reg as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( reg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . pos as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . x as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . y as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . stop as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( stop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . a as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( a ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . stall as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( stall ) ) ) ; } pub type VipsThreadState = _VipsThreadState ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsThreadStateClass { pub parent_class : VipsObjectClass , } # [ test ] fn bindgen_test_layout__VipsThreadStateClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsThreadStateClass > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( _VipsThreadStateClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsThreadStateClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsThreadStateClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadStateClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadStateClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type VipsThreadStateClass = _VipsThreadStateClass ; extern "C" { pub fn vips_thread_state_set ( object : * mut VipsObject , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_thread_state_get_type ( ) -> GType ; } extern "C" { pub fn vips_thread_state_new ( im : * mut VipsImage , a : * mut :: std :: os :: raw :: c_void ) -> * mut VipsThreadState ; } pub type VipsThreadStartFn = :: std :: option :: Option < unsafe extern "C" fn ( im : * mut VipsImage , a : * mut :: std :: os :: raw :: c_void ) -> * mut VipsThreadState > ; pub type VipsThreadpoolAllocateFn = :: std :: option :: Option < unsafe extern "C" fn ( state : * mut VipsThreadState , a : * mut :: std :: os :: raw :: c_void , stop : * mut gboolean ) -> :: std :: os :: raw :: c_int > ; pub type VipsThreadpoolWorkFn = :: std :: option :: Option < unsafe extern "C" fn ( state : * mut VipsThreadState , a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type VipsThreadpoolProgressFn = :: std :: option :: Option < unsafe extern "C" fn ( a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn vips_threadpool_run ( im : * mut VipsImage , start : VipsThreadStartFn , allocate : VipsThreadpoolAllocateFn , work : VipsThreadpoolWorkFn , progress : VipsThreadpoolProgressFn , a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_get_tile_size ( im : * mut VipsImage , tile_width : * mut :: std :: os :: raw :: c_int , tile_height : * mut :: std :: os :: raw :: c_int , n_lines : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_format_sizeof ( format : VipsBandFormat ) -> guint64 ; } extern "C" { pub fn vips_format_sizeof_unsafe ( format : VipsBandFormat ) -> guint64 ; } extern "C" { pub fn vips_interpretation_max_alpha ( interpretation : VipsInterpretation ) -> f64 ; } extern "C" { pub fn vips_image_get_width ( image : * const VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_height ( image : * const VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_bands ( image : * const VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_format ( image : * const VipsImage ) -> VipsBandFormat ; } extern "C" { pub fn vips_image_get_format_max ( format : VipsBandFormat ) -> f64 ; } extern "C" { pub fn vips_image_guess_format ( image : * const VipsImage ) -> VipsBandFormat ; } extern "C" { pub fn vips_image_get_coding ( image : * const VipsImage ) -> VipsCoding ; } extern "C" { pub fn vips_image_get_interpretation ( image : * const VipsImage ) -> VipsInterpretation ; } extern "C" { pub fn vips_image_guess_interpretation ( image : * const VipsImage ) -> VipsInterpretation ; } extern "C" { pub fn vips_image_get_xres ( image : * const VipsImage ) -> f64 ; } extern "C" { pub fn vips_image_get_yres ( image : * const VipsImage ) -> f64 ; } extern "C" { pub fn vips_image_get_xoffset ( image : * const VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_yoffset ( image : * const VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_filename ( image : * const VipsImage ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_image_get_mode ( image : * const VipsImage ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_image_get_scale ( image : * const VipsImage ) -> f64 ; } extern "C" { pub fn vips_image_get_offset ( image : * const VipsImage ) -> f64 ; } extern "C" { pub fn vips_image_get_page_height ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_n_pages ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_n_subifds ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_orientation ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_orientation_swap ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_get_concurrency ( image : * mut VipsImage , default_concurrency : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_data ( image : * mut VipsImage ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_image_init_fields ( image : * mut VipsImage , xsize : :: std :: os :: raw :: c_int , ysize : :: std :: os :: raw :: c_int , bands : :: std :: os :: raw :: c_int , format : VipsBandFormat , coding : VipsCoding , interpretation : VipsInterpretation , xres : f64 , yres : f64 ) ; } extern "C" { pub fn vips_image_set ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , value : * mut GValue ) ; } extern "C" { pub fn vips_image_get ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , value_copy : * mut GValue ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_as_string ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_typeof ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char ) -> GType ; } extern "C" { pub fn vips_image_remove ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char ) -> gboolean ; } pub type VipsImageMapFn = :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , value : * mut GValue , a : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub fn vips_image_map ( image : * mut VipsImage , fn_ : VipsImageMapFn , a : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_image_get_fields ( image : * mut VipsImage ) -> * mut * mut gchar ; } extern "C" { pub fn vips_image_set_area ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , free_fn : VipsCallbackFn , data : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn vips_image_get_area ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , data : * mut * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_set_blob ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , free_fn : VipsCallbackFn , data : * const :: std :: os :: raw :: c_void , length : usize ) ; } extern "C" { pub fn vips_image_set_blob_copy ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , data : * const :: std :: os :: raw :: c_void , length : usize ) ; } extern "C" { pub fn vips_image_get_blob ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , data : * mut * const :: std :: os :: raw :: c_void , length : * mut usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_int ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_set_int ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , i : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_image_get_double ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_set_double ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , d : f64 ) ; } extern "C" { pub fn vips_image_get_string ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_set_string ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , str : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_image_print_field ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_image_get_image ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_set_image ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) ; } extern "C" { pub fn vips_image_set_array_int ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , array : * const :: std :: os :: raw :: c_int , n : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_image_get_array_int ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut * mut :: std :: os :: raw :: c_int , n : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_array_double ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut * mut f64 , n : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_set_array_double ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , array : * const f64 , n : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_image_history_printf ( image : * mut VipsImage , format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_history_args ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , argc : :: std :: os :: raw :: c_int , argv : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_history ( image : * mut VipsImage ) -> * const :: std :: os :: raw :: c_char ; } pub const VipsOperationFlags_VIPS_OPERATION_NONE : VipsOperationFlags = 0 ; pub const VipsOperationFlags_VIPS_OPERATION_SEQUENTIAL : VipsOperationFlags = 1 ; pub const VipsOperationFlags_VIPS_OPERATION_SEQUENTIAL_UNBUFFERED : VipsOperationFlags = 2 ; pub const VipsOperationFlags_VIPS_OPERATION_NOCACHE : VipsOperationFlags = 4 ; pub const VipsOperationFlags_VIPS_OPERATION_DEPRECATED : VipsOperationFlags = 8 ; pub const VipsOperationFlags_VIPS_OPERATION_UNTRUSTED : VipsOperationFlags = 16 ; pub const VipsOperationFlags_VIPS_OPERATION_BLOCKED : VipsOperationFlags = 32 ; pub const VipsOperationFlags_VIPS_OPERATION_REVALIDATE : VipsOperationFlags = 64 ; pub type VipsOperationFlags = u32 ; pub type VipsOperationBuildFn = :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject ) -> gboolean > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsOperation { pub parent_instance : VipsObject , pub hash : guint , pub found_hash : gboolean , pub pixels : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__VipsOperation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsOperation > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _VipsOperation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsOperation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsOperation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperation > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperation ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperation > ( ) ) ) . hash as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperation ) , "::" , stringify ! ( hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperation > ( ) ) ) . found_hash as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperation ) , "::" , stringify ! ( found_hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperation > ( ) ) ) . pixels as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperation ) , "::" , stringify ! ( pixels ) ) ) ; } pub type VipsOperation = _VipsOperation ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsOperationClass { pub parent_class : VipsObjectClass , pub usage : :: std :: option :: Option < unsafe extern "C" fn ( cls : * mut _VipsOperationClass , buf : * mut VipsBuf ) > , pub get_flags : :: std :: option :: Option < unsafe extern "C" fn ( operation : * mut VipsOperation ) -> VipsOperationFlags > , pub flags : VipsOperationFlags , pub invalidate : :: std :: option :: Option < unsafe extern "C" fn ( operation : * mut VipsOperation ) > , } # [ test ] fn bindgen_test_layout__VipsOperationClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsOperationClass > ( ) , 360usize , concat ! ( "Size of: " , stringify ! ( _VipsOperationClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsOperationClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsOperationClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperationClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperationClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperationClass > ( ) ) ) . usage as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperationClass ) , "::" , stringify ! ( usage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperationClass > ( ) ) ) . get_flags as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperationClass ) , "::" , stringify ! ( get_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperationClass > ( ) ) ) . flags as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperationClass ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperationClass > ( ) ) ) . invalidate as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperationClass ) , "::" , stringify ! ( invalidate ) ) ) ; } pub type VipsOperationClass = _VipsOperationClass ; extern "C" { pub fn vips_operation_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_get_flags ( operation : * mut VipsOperation ) -> VipsOperationFlags ; } extern "C" { pub fn vips_operation_class_print_usage ( operation_class : * mut VipsOperationClass ) ; } extern "C" { pub fn vips_operation_invalidate ( operation : * mut VipsOperation ) ; } extern "C" { pub fn vips_operation_call_valist ( operation : * mut VipsOperation , ap : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_operation_new ( name : * const :: std :: os :: raw :: c_char ) -> * mut VipsOperation ; } extern "C" { pub fn vips_call_required_optional ( operation : * mut * mut VipsOperation , required : * mut __va_list_tag , optional : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_call ( operation_name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_call_split ( operation_name : * const :: std :: os :: raw :: c_char , optional : * mut __va_list_tag , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_call_split_option_string ( operation_name : * const :: std :: os :: raw :: c_char , option_string : * const :: std :: os :: raw :: c_char , optional : * mut __va_list_tag , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_call_options ( group : * mut GOptionGroup , operation : * mut VipsOperation ) ; } extern "C" { pub fn vips_call_argv ( operation : * mut VipsOperation , argc : :: std :: os :: raw :: c_int , argv : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cache_drop_all ( ) ; } extern "C" { pub fn vips_cache_operation_lookup ( operation : * mut VipsOperation ) -> * mut VipsOperation ; } extern "C" { pub fn vips_cache_operation_add ( operation : * mut VipsOperation ) ; } extern "C" { pub fn vips_cache_operation_buildp ( operation : * mut * mut VipsOperation ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cache_operation_build ( operation : * mut VipsOperation ) -> * mut VipsOperation ; } extern "C" { pub fn vips_cache_print ( ) ; } extern "C" { pub fn vips_cache_set_max ( max : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_cache_set_max_mem ( max_mem : usize ) ; } extern "C" { pub fn vips_cache_get_max ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cache_get_size ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cache_get_max_mem ( ) -> usize ; } extern "C" { pub fn vips_cache_get_max_files ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cache_set_max_files ( max_files : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_cache_set_dump ( dump : gboolean ) ; } extern "C" { pub fn vips_cache_set_trace ( trace : gboolean ) ; } extern "C" { pub fn vips_concurrency_set ( concurrency : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_concurrency_get ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_operation_block_set ( name : * const :: std :: os :: raw :: c_char , state : gboolean ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsForeign { pub parent_object : VipsOperation , } # [ test ] fn bindgen_test_layout__VipsForeign ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsForeign > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _VipsForeign ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsForeign > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsForeign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeign > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeign ) , "::" , stringify ! ( parent_object ) ) ) ; } pub type VipsForeign = _VipsForeign ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsForeignClass { pub parent_class : VipsOperationClass , pub priority : :: std :: os :: raw :: c_int , pub suffs : * mut * const :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout__VipsForeignClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsForeignClass > ( ) , 376usize , concat ! ( "Size of: " , stringify ! ( _VipsForeignClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsForeignClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsForeignClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignClass > ( ) ) ) . priority as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignClass ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignClass > ( ) ) ) . suffs as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignClass ) , "::" , stringify ! ( suffs ) ) ) ; } pub type VipsForeignClass = _VipsForeignClass ; extern "C" { pub fn vips_foreign_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_map ( base : * const :: std :: os :: raw :: c_char , fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } pub const VipsForeignFlags_VIPS_FOREIGN_NONE : VipsForeignFlags = 0 ; pub const VipsForeignFlags_VIPS_FOREIGN_PARTIAL : VipsForeignFlags = 1 ; pub const VipsForeignFlags_VIPS_FOREIGN_BIGENDIAN : VipsForeignFlags = 2 ; pub const VipsForeignFlags_VIPS_FOREIGN_SEQUENTIAL : VipsForeignFlags = 4 ; pub const VipsForeignFlags_VIPS_FOREIGN_ALL : VipsForeignFlags = 7 ; pub type VipsForeignFlags = u32 ; pub const VipsFailOn_VIPS_FAIL_ON_NONE : VipsFailOn = 0 ; pub const VipsFailOn_VIPS_FAIL_ON_TRUNCATED : VipsFailOn = 1 ; pub const VipsFailOn_VIPS_FAIL_ON_ERROR : VipsFailOn = 2 ; pub const VipsFailOn_VIPS_FAIL_ON_WARNING : VipsFailOn = 3 ; pub const VipsFailOn_VIPS_FAIL_ON_LAST : VipsFailOn = 4 ; pub type VipsFailOn = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsForeignLoad { pub parent_object : VipsForeign , pub memory : gboolean , pub access : VipsAccess , pub flags : VipsForeignFlags , pub fail_on : VipsFailOn , pub fail : gboolean , pub sequential : gboolean , pub out : * mut VipsImage , pub real : * mut VipsImage , pub nocache : gboolean , pub disc : gboolean , pub error : gboolean , pub revalidate : gboolean , } # [ test ] fn bindgen_test_layout__VipsForeignLoad ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsForeignLoad > ( ) , 152usize , concat ! ( "Size of: " , stringify ! ( _VipsForeignLoad ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsForeignLoad > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsForeignLoad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . memory as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( memory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . access as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( access ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . flags as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . fail_on as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( fail_on ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . fail as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( fail ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . sequential as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( sequential ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . out as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( out ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . real as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( real ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . nocache as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( nocache ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . disc as * const _ as usize } , 140usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( disc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . error as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( error ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . revalidate as * const _ as usize } , 148usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( revalidate ) ) ) ; } pub type VipsForeignLoad = _VipsForeignLoad ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsForeignLoadClass { pub parent_class : VipsForeignClass , pub is_a : :: std :: option :: Option < unsafe extern "C" fn ( filename : * const :: std :: os :: raw :: c_char ) -> gboolean > , pub is_a_buffer : :: std :: option :: Option < unsafe extern "C" fn ( data : * const :: std :: os :: raw :: c_void , size : usize ) -> gboolean > , pub is_a_source : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut VipsSource ) -> gboolean > , pub get_flags_filename : :: std :: option :: Option < unsafe extern "C" fn ( filename : * const :: std :: os :: raw :: c_char ) -> VipsForeignFlags > , pub get_flags : :: std :: option :: Option < unsafe extern "C" fn ( load : * mut VipsForeignLoad ) -> VipsForeignFlags > , pub header : :: std :: option :: Option < unsafe extern "C" fn ( load : * mut VipsForeignLoad ) -> :: std :: os :: raw :: c_int > , pub load : :: std :: option :: Option < unsafe extern "C" fn ( load : * mut VipsForeignLoad ) -> :: std :: os :: raw :: c_int > , } # [ test ] fn bindgen_test_layout__VipsForeignLoadClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsForeignLoadClass > ( ) , 432usize , concat ! ( "Size of: " , stringify ! ( _VipsForeignLoadClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsForeignLoadClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsForeignLoadClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . is_a as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( is_a ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . is_a_buffer as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( is_a_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . is_a_source as * const _ as usize } , 392usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( is_a_source ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . get_flags_filename as * const _ as usize } , 400usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( get_flags_filename ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . get_flags as * const _ as usize } , 408usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( get_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . header as * const _ as usize } , 416usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . load as * const _ as usize } , 424usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( load ) ) ) ; } pub type VipsForeignLoadClass = _VipsForeignLoadClass ; extern "C" { pub fn vips_foreign_load_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_find_load ( filename : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_foreign_find_load_buffer ( data : * const :: std :: os :: raw :: c_void , size : usize ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_foreign_find_load_source ( source : * mut VipsSource ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_foreign_flags ( loader : * const :: std :: os :: raw :: c_char , filename : * const :: std :: os :: raw :: c_char ) -> VipsForeignFlags ; } extern "C" { pub fn vips_foreign_is_a ( loader : * const :: std :: os :: raw :: c_char , filename : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_foreign_is_a_buffer ( loader : * const :: std :: os :: raw :: c_char , data : * const :: std :: os :: raw :: c_void , size : usize ) -> gboolean ; } extern "C" { pub fn vips_foreign_is_a_source ( loader : * const :: std :: os :: raw :: c_char , source : * mut VipsSource ) -> gboolean ; } extern "C" { pub fn vips_foreign_load_invalidate ( image : * mut VipsImage ) ; } pub const VipsSaveable_VIPS_SAVEABLE_MONO : VipsSaveable = 0 ; pub const VipsSaveable_VIPS_SAVEABLE_RGB : VipsSaveable = 1 ; pub const VipsSaveable_VIPS_SAVEABLE_RGBA : VipsSaveable = 2 ; pub const VipsSaveable_VIPS_SAVEABLE_RGBA_ONLY : VipsSaveable = 3 ; pub const VipsSaveable_VIPS_SAVEABLE_RGB_CMYK : VipsSaveable = 4 ; pub const VipsSaveable_VIPS_SAVEABLE_ANY : VipsSaveable = 5 ; pub const VipsSaveable_VIPS_SAVEABLE_LAST : VipsSaveable = 6 ; pub type VipsSaveable = u32 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_NONE : VipsForeignKeep = 0 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_EXIF : VipsForeignKeep = 1 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_XMP : VipsForeignKeep = 2 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_IPTC : VipsForeignKeep = 4 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_ICC : VipsForeignKeep = 8 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_OTHER : VipsForeignKeep = 16 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_ALL : VipsForeignKeep = 31 ; pub type VipsForeignKeep = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsForeignSave { pub parent_object : VipsForeign , pub strip : gboolean , pub keep : VipsForeignKeep , pub profile : * mut :: std :: os :: raw :: c_char , pub background : * mut VipsArrayDouble , pub page_height : :: std :: os :: raw :: c_int , pub in_ : * mut VipsImage , pub ready : * mut VipsImage , } # [ test ] fn bindgen_test_layout__VipsForeignSave ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsForeignSave > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( _VipsForeignSave ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsForeignSave > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsForeignSave ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . strip as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( strip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . keep as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( keep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . profile as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( profile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . background as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( background ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . page_height as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( page_height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . in_ as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( in_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . ready as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( ready ) ) ) ; } pub type VipsForeignSave = _VipsForeignSave ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsForeignSaveClass { pub parent_class : VipsForeignClass , pub saveable : VipsSaveable , pub format_table : * mut VipsBandFormat , pub coding : [ gboolean ; 7usize ] , } # [ test ] fn bindgen_test_layout__VipsForeignSaveClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsForeignSaveClass > ( ) , 424usize , concat ! ( "Size of: " , stringify ! ( _VipsForeignSaveClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsForeignSaveClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsForeignSaveClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSaveClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSaveClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSaveClass > ( ) ) ) . saveable as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSaveClass ) , "::" , stringify ! ( saveable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSaveClass > ( ) ) ) . format_table as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSaveClass ) , "::" , stringify ! ( format_table ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSaveClass > ( ) ) ) . coding as * const _ as usize } , 392usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSaveClass ) , "::" , stringify ! ( coding ) ) ) ; } pub type VipsForeignSaveClass = _VipsForeignSaveClass ; extern "C" { pub fn vips_foreign_save_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_find_save ( filename : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_foreign_get_suffixes ( ) -> * mut * mut gchar ; } extern "C" { pub fn vips_foreign_find_save_buffer ( suffix : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_foreign_find_save_target ( suffix : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_vipsload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_vipsload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_vipssave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_vipssave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_openslideload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_openslideload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignSubsample_VIPS_FOREIGN_SUBSAMPLE_AUTO : VipsForeignSubsample = 0 ; pub const VipsForeignSubsample_VIPS_FOREIGN_SUBSAMPLE_ON : VipsForeignSubsample = 1 ; pub const VipsForeignSubsample_VIPS_FOREIGN_SUBSAMPLE_OFF : VipsForeignSubsample = 2 ; pub const VipsForeignSubsample_VIPS_FOREIGN_SUBSAMPLE_LAST : VipsForeignSubsample = 3 ; pub type VipsForeignSubsample = u32 ; pub const VipsForeignJpegSubsample_VIPS_FOREIGN_JPEG_SUBSAMPLE_AUTO : VipsForeignJpegSubsample = 0 ; pub const VipsForeignJpegSubsample_VIPS_FOREIGN_JPEG_SUBSAMPLE_ON : VipsForeignJpegSubsample = 1 ; pub const VipsForeignJpegSubsample_VIPS_FOREIGN_JPEG_SUBSAMPLE_OFF : VipsForeignJpegSubsample = 2 ; pub const VipsForeignJpegSubsample_VIPS_FOREIGN_JPEG_SUBSAMPLE_LAST : VipsForeignJpegSubsample = 3 ; pub type VipsForeignJpegSubsample = u32 ; extern "C" { pub fn vips_jpegload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jpegload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jpegload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jpegsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jpegsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jpegsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jpegsave_mime ( in_ : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_DEFAULT : VipsForeignWebpPreset = 0 ; pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_PICTURE : VipsForeignWebpPreset = 1 ; pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_PHOTO : VipsForeignWebpPreset = 2 ; pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_DRAWING : VipsForeignWebpPreset = 3 ; pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_ICON : VipsForeignWebpPreset = 4 ; pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_TEXT : VipsForeignWebpPreset = 5 ; pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_LAST : VipsForeignWebpPreset = 6 ; pub type VipsForeignWebpPreset = u32 ; extern "C" { pub fn vips_webpload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_webpload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_webpload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_webpsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_webpsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_webpsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_webpsave_mime ( in_ : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_NONE : VipsForeignTiffCompression = 0 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_JPEG : VipsForeignTiffCompression = 1 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_DEFLATE : VipsForeignTiffCompression = 2 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_PACKBITS : VipsForeignTiffCompression = 3 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_CCITTFAX4 : VipsForeignTiffCompression = 4 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_LZW : VipsForeignTiffCompression = 5 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_WEBP : VipsForeignTiffCompression = 6 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_ZSTD : VipsForeignTiffCompression = 7 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_JP2K : VipsForeignTiffCompression = 8 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_LAST : VipsForeignTiffCompression = 9 ; pub type VipsForeignTiffCompression = u32 ; pub const VipsForeignTiffPredictor_VIPS_FOREIGN_TIFF_PREDICTOR_NONE : VipsForeignTiffPredictor = 1 ; pub const VipsForeignTiffPredictor_VIPS_FOREIGN_TIFF_PREDICTOR_HORIZONTAL : VipsForeignTiffPredictor = 2 ; pub const VipsForeignTiffPredictor_VIPS_FOREIGN_TIFF_PREDICTOR_FLOAT : VipsForeignTiffPredictor = 3 ; pub const VipsForeignTiffPredictor_VIPS_FOREIGN_TIFF_PREDICTOR_LAST : VipsForeignTiffPredictor = 4 ; pub type VipsForeignTiffPredictor = u32 ; pub const VipsForeignTiffResunit_VIPS_FOREIGN_TIFF_RESUNIT_CM : VipsForeignTiffResunit = 0 ; pub const VipsForeignTiffResunit_VIPS_FOREIGN_TIFF_RESUNIT_INCH : VipsForeignTiffResunit = 1 ; pub const VipsForeignTiffResunit_VIPS_FOREIGN_TIFF_RESUNIT_LAST : VipsForeignTiffResunit = 2 ; pub type VipsForeignTiffResunit = u32 ; extern "C" { pub fn vips_tiffload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tiffload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tiffload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tiffsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tiffsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tiffsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_openexrload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_fitsload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_fitssave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_analyzeload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rawload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bands : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rawsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rawsave_fd ( in_ : * mut VipsImage , fd : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_csvload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_csvload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_csvsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_csvsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matrixload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matrixload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matrixsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matrixsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matrixprint ( in_ : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_magickload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_magickload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_magicksave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_magicksave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignPngFilter_VIPS_FOREIGN_PNG_FILTER_NONE : VipsForeignPngFilter = 8 ; pub const VipsForeignPngFilter_VIPS_FOREIGN_PNG_FILTER_SUB : VipsForeignPngFilter = 16 ; pub const VipsForeignPngFilter_VIPS_FOREIGN_PNG_FILTER_UP : VipsForeignPngFilter = 32 ; pub const VipsForeignPngFilter_VIPS_FOREIGN_PNG_FILTER_AVG : VipsForeignPngFilter = 64 ; pub const VipsForeignPngFilter_VIPS_FOREIGN_PNG_FILTER_PAETH : VipsForeignPngFilter = 128 ; pub const VipsForeignPngFilter_VIPS_FOREIGN_PNG_FILTER_ALL : VipsForeignPngFilter = 248 ; pub type VipsForeignPngFilter = u32 ; extern "C" { pub fn vips_pngload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pngload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pngload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pngsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pngsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pngsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignPpmFormat_VIPS_FOREIGN_PPM_FORMAT_PBM : VipsForeignPpmFormat = 0 ; pub const VipsForeignPpmFormat_VIPS_FOREIGN_PPM_FORMAT_PGM : VipsForeignPpmFormat = 1 ; pub const VipsForeignPpmFormat_VIPS_FOREIGN_PPM_FORMAT_PPM : VipsForeignPpmFormat = 2 ; pub const VipsForeignPpmFormat_VIPS_FOREIGN_PPM_FORMAT_PFM : VipsForeignPpmFormat = 3 ; pub const VipsForeignPpmFormat_VIPS_FOREIGN_PPM_FORMAT_PNM : VipsForeignPpmFormat = 4 ; pub const VipsForeignPpmFormat_VIPS_FOREIGN_PPM_FORMAT_LAST : VipsForeignPpmFormat = 5 ; pub type VipsForeignPpmFormat = u32 ; extern "C" { pub fn vips_ppmload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_ppmload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_ppmsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_ppmsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_radload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_radload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_radload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_radsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_radsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_radsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pdfload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pdfload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pdfload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_svgload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_svgload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_svgload_string ( str : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_svgload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gifload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gifload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gifload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gifsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gifsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gifsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_heifload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_heifload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_heifload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_heifsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_heifsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_heifsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_niftiload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_niftiload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_niftisave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jp2kload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jp2kload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jp2kload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jp2ksave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jp2ksave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jp2ksave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jxlload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jxlload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jxlload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jxlsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jxlsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jxlsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignDzLayout_VIPS_FOREIGN_DZ_LAYOUT_DZ : VipsForeignDzLayout = 0 ; pub const VipsForeignDzLayout_VIPS_FOREIGN_DZ_LAYOUT_ZOOMIFY : VipsForeignDzLayout = 1 ; pub const VipsForeignDzLayout_VIPS_FOREIGN_DZ_LAYOUT_GOOGLE : VipsForeignDzLayout = 2 ; pub const VipsForeignDzLayout_VIPS_FOREIGN_DZ_LAYOUT_IIIF : VipsForeignDzLayout = 3 ; pub const VipsForeignDzLayout_VIPS_FOREIGN_DZ_LAYOUT_IIIF3 : VipsForeignDzLayout = 4 ; pub const VipsForeignDzLayout_VIPS_FOREIGN_DZ_LAYOUT_LAST : VipsForeignDzLayout = 5 ; pub type VipsForeignDzLayout = u32 ; pub const VipsForeignDzDepth_VIPS_FOREIGN_DZ_DEPTH_ONEPIXEL : VipsForeignDzDepth = 0 ; pub const VipsForeignDzDepth_VIPS_FOREIGN_DZ_DEPTH_ONETILE : VipsForeignDzDepth = 1 ; pub const VipsForeignDzDepth_VIPS_FOREIGN_DZ_DEPTH_ONE : VipsForeignDzDepth = 2 ; pub const VipsForeignDzDepth_VIPS_FOREIGN_DZ_DEPTH_LAST : VipsForeignDzDepth = 3 ; pub type VipsForeignDzDepth = u32 ; pub const VipsForeignDzContainer_VIPS_FOREIGN_DZ_CONTAINER_FS : VipsForeignDzContainer = 0 ; pub const VipsForeignDzContainer_VIPS_FOREIGN_DZ_CONTAINER_ZIP : VipsForeignDzContainer = 1 ; pub const VipsForeignDzContainer_VIPS_FOREIGN_DZ_CONTAINER_SZI : VipsForeignDzContainer = 2 ; pub const VipsForeignDzContainer_VIPS_FOREIGN_DZ_CONTAINER_LAST : VipsForeignDzContainer = 3 ; pub type VipsForeignDzContainer = u32 ; extern "C" { pub fn vips_dzsave ( in_ : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_dzsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_dzsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignHeifCompression_VIPS_FOREIGN_HEIF_COMPRESSION_HEVC : VipsForeignHeifCompression = 1 ; pub const VipsForeignHeifCompression_VIPS_FOREIGN_HEIF_COMPRESSION_AVC : VipsForeignHeifCompression = 2 ; pub const VipsForeignHeifCompression_VIPS_FOREIGN_HEIF_COMPRESSION_JPEG : VipsForeignHeifCompression = 3 ; pub const VipsForeignHeifCompression_VIPS_FOREIGN_HEIF_COMPRESSION_AV1 : VipsForeignHeifCompression = 4 ; pub const VipsForeignHeifCompression_VIPS_FOREIGN_HEIF_COMPRESSION_LAST : VipsForeignHeifCompression = 5 ; pub type VipsForeignHeifCompression = u32 ; pub const VipsForeignHeifEncoder_VIPS_FOREIGN_HEIF_ENCODER_AUTO : VipsForeignHeifEncoder = 0 ; pub const VipsForeignHeifEncoder_VIPS_FOREIGN_HEIF_ENCODER_AOM : VipsForeignHeifEncoder = 1 ; pub const VipsForeignHeifEncoder_VIPS_FOREIGN_HEIF_ENCODER_RAV1E : VipsForeignHeifEncoder = 2 ; pub const VipsForeignHeifEncoder_VIPS_FOREIGN_HEIF_ENCODER_SVT : VipsForeignHeifEncoder = 3 ; pub const VipsForeignHeifEncoder_VIPS_FOREIGN_HEIF_ENCODER_X265 : VipsForeignHeifEncoder = 4 ; pub const VipsForeignHeifEncoder_VIPS_FOREIGN_HEIF_ENCODER_LAST : VipsForeignHeifEncoder = 5 ; pub type VipsForeignHeifEncoder = u32 ; extern "C" { pub fn vips_operation_math_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_math2_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_round_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_relational_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_boolean_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_complex_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_complex2_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_complexget_get_type ( ) -> GType ; } extern "C" { pub fn vips_precision_get_type ( ) -> GType ; } extern "C" { pub fn vips_intent_get_type ( ) -> GType ; } extern "C" { pub fn vips_pcs_get_type ( ) -> GType ; } extern "C" { pub fn vips_extend_get_type ( ) -> GType ; } extern "C" { pub fn vips_compass_direction_get_type ( ) -> GType ; } extern "C" { pub fn vips_direction_get_type ( ) -> GType ; } extern "C" { pub fn vips_align_get_type ( ) -> GType ; } extern "C" { pub fn vips_angle_get_type ( ) -> GType ; } extern "C" { pub fn vips_angle45_get_type ( ) -> GType ; } extern "C" { pub fn vips_interesting_get_type ( ) -> GType ; } extern "C" { pub fn vips_blend_mode_get_type ( ) -> GType ; } extern "C" { pub fn vips_combine_get_type ( ) -> GType ; } extern "C" { pub fn vips_text_wrap_get_type ( ) -> GType ; } extern "C" { pub fn vips_combine_mode_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_flags_get_type ( ) -> GType ; } extern "C" { pub fn vips_fail_on_get_type ( ) -> GType ; } extern "C" { pub fn vips_saveable_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_keep_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_subsample_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_jpeg_subsample_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_webp_preset_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_tiff_compression_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_tiff_predictor_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_tiff_resunit_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_png_filter_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_ppm_format_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_dz_layout_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_dz_depth_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_dz_container_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_heif_compression_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_heif_encoder_get_type ( ) -> GType ; } extern "C" { pub fn vips_demand_style_get_type ( ) -> GType ; } extern "C" { pub fn vips_image_type_get_type ( ) -> GType ; } extern "C" { pub fn vips_interpretation_get_type ( ) -> GType ; } extern "C" { pub fn vips_band_format_get_type ( ) -> GType ; } extern "C" { pub fn vips_coding_get_type ( ) -> GType ; } extern "C" { pub fn vips_access_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_morphology_get_type ( ) -> GType ; } extern "C" { pub fn vips_argument_flags_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_flags_get_type ( ) -> GType ; } extern "C" { pub fn vips_region_shrink_get_type ( ) -> GType ; } extern "C" { pub fn vips_kernel_get_type ( ) -> GType ; } extern "C" { pub fn vips_size_get_type ( ) -> GType ; } extern "C" { pub fn vips_token_get_type ( ) -> GType ; } pub const VipsOperationMath_VIPS_OPERATION_MATH_SIN : VipsOperationMath = 0 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_COS : VipsOperationMath = 1 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_TAN : VipsOperationMath = 2 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_ASIN : VipsOperationMath = 3 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_ACOS : VipsOperationMath = 4 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_ATAN : VipsOperationMath = 5 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_LOG : VipsOperationMath = 6 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_LOG10 : VipsOperationMath = 7 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_EXP : VipsOperationMath = 8 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_EXP10 : VipsOperationMath = 9 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_SINH : VipsOperationMath = 10 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_COSH : VipsOperationMath = 11 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_TANH : VipsOperationMath = 12 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_ASINH : VipsOperationMath = 13 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_ACOSH : VipsOperationMath = 14 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_ATANH : VipsOperationMath = 15 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_LAST : VipsOperationMath = 16 ; pub type VipsOperationMath = u32 ; pub const VipsOperationMath2_VIPS_OPERATION_MATH2_POW : VipsOperationMath2 = 0 ; pub const VipsOperationMath2_VIPS_OPERATION_MATH2_WOP : VipsOperationMath2 = 1 ; pub const VipsOperationMath2_VIPS_OPERATION_MATH2_ATAN2 : VipsOperationMath2 = 2 ; pub const VipsOperationMath2_VIPS_OPERATION_MATH2_LAST : VipsOperationMath2 = 3 ; pub type VipsOperationMath2 = u32 ; pub const VipsOperationRound_VIPS_OPERATION_ROUND_RINT : VipsOperationRound = 0 ; pub const VipsOperationRound_VIPS_OPERATION_ROUND_CEIL : VipsOperationRound = 1 ; pub const VipsOperationRound_VIPS_OPERATION_ROUND_FLOOR : VipsOperationRound = 2 ; pub const VipsOperationRound_VIPS_OPERATION_ROUND_LAST : VipsOperationRound = 3 ; pub type VipsOperationRound = u32 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_EQUAL : VipsOperationRelational = 0 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_NOTEQ : VipsOperationRelational = 1 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_LESS : VipsOperationRelational = 2 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_LESSEQ : VipsOperationRelational = 3 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_MORE : VipsOperationRelational = 4 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_MOREEQ : VipsOperationRelational = 5 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_LAST : VipsOperationRelational = 6 ; pub type VipsOperationRelational = u32 ; pub const VipsOperationBoolean_VIPS_OPERATION_BOOLEAN_AND : VipsOperationBoolean = 0 ; pub const VipsOperationBoolean_VIPS_OPERATION_BOOLEAN_OR : VipsOperationBoolean = 1 ; pub const VipsOperationBoolean_VIPS_OPERATION_BOOLEAN_EOR : VipsOperationBoolean = 2 ; pub const VipsOperationBoolean_VIPS_OPERATION_BOOLEAN_LSHIFT : VipsOperationBoolean = 3 ; pub const VipsOperationBoolean_VIPS_OPERATION_BOOLEAN_RSHIFT : VipsOperationBoolean = 4 ; pub const VipsOperationBoolean_VIPS_OPERATION_BOOLEAN_LAST : VipsOperationBoolean = 5 ; pub type VipsOperationBoolean = u32 ; pub const VipsOperationComplex_VIPS_OPERATION_COMPLEX_POLAR : VipsOperationComplex = 0 ; pub const VipsOperationComplex_VIPS_OPERATION_COMPLEX_RECT : VipsOperationComplex = 1 ; pub const VipsOperationComplex_VIPS_OPERATION_COMPLEX_CONJ : VipsOperationComplex = 2 ; pub const VipsOperationComplex_VIPS_OPERATION_COMPLEX_LAST : VipsOperationComplex = 3 ; pub type VipsOperationComplex = u32 ; pub const VipsOperationComplex2_VIPS_OPERATION_COMPLEX2_CROSS_PHASE : VipsOperationComplex2 = 0 ; pub const VipsOperationComplex2_VIPS_OPERATION_COMPLEX2_LAST : VipsOperationComplex2 = 1 ; pub type VipsOperationComplex2 = u32 ; pub const VipsOperationComplexget_VIPS_OPERATION_COMPLEXGET_REAL : VipsOperationComplexget = 0 ; pub const VipsOperationComplexget_VIPS_OPERATION_COMPLEXGET_IMAG : VipsOperationComplexget = 1 ; pub const VipsOperationComplexget_VIPS_OPERATION_COMPLEXGET_LAST : VipsOperationComplexget = 2 ; pub type VipsOperationComplexget = u32 ; extern "C" { pub fn vips_add ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sum ( in_ : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_subtract ( in1 : * mut VipsImage , in2 : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_multiply ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_divide ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_linear ( in_ : * mut VipsImage , out : * mut * mut VipsImage , a : * const f64 , b : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_linear1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , a : f64 , b : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_remainder ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_remainder_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_remainder_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_invert ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_abs ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sign ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_round ( in_ : * mut VipsImage , out : * mut * mut VipsImage , round : VipsOperationRound , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_floor ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_ceil ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rint ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_math ( in_ : * mut VipsImage , out : * mut * mut VipsImage , math : VipsOperationMath , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sin ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cos ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tan ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_asin ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_acos ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_atan ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_exp ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_exp10 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_log ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_log10 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sinh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cosh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tanh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_asinh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_acosh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_atanh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_complex ( in_ : * mut VipsImage , out : * mut * mut VipsImage , cmplx : VipsOperationComplex , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_polar ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rect ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_conj ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_complex2 ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , cmplx : VipsOperationComplex2 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cross_phase ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_complexget ( in_ : * mut VipsImage , out : * mut * mut VipsImage , get : VipsOperationComplexget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_real ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_imag ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_complexform ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_relational ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , relational : VipsOperationRelational , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_equal ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_notequal ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_less ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_lesseq ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_more ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_moreeq ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_relational_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , relational : VipsOperationRelational , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_equal_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_notequal_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_less_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_lesseq_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_more_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_moreeq_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_relational_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , relational : VipsOperationRelational , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_equal_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_notequal_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_less_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_lesseq_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_more_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_moreeq_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_boolean ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , boolean : VipsOperationBoolean , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_andimage ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_orimage ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_eorimage ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_lshift ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rshift ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_boolean_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , boolean : VipsOperationBoolean , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_andimage_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_orimage_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_eorimage_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_lshift_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rshift_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_boolean_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , boolean : VipsOperationBoolean , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_andimage_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_orimage_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_eorimage_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_lshift_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rshift_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_math2 ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , math2 : VipsOperationMath2 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pow ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_wop ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_atan2 ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_math2_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , math2 : VipsOperationMath2 , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pow_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_wop_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_atan2_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_math2_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , math2 : VipsOperationMath2 , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pow_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_wop_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_atan2_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_avg ( in_ : * mut VipsImage , out : * mut f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_deviate ( in_ : * mut VipsImage , out : * mut f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_min ( in_ : * mut VipsImage , out : * mut f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_max ( in_ : * mut VipsImage , out : * mut f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_stats ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_measure ( in_ : * mut VipsImage , out : * mut * mut VipsImage , h : :: std :: os :: raw :: c_int , v : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_find_trim ( in_ : * mut VipsImage , left : * mut :: std :: os :: raw :: c_int , top : * mut :: std :: os :: raw :: c_int , width : * mut :: std :: os :: raw :: c_int , height : * mut :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_getpoint ( in_ : * mut VipsImage , vector : * mut * mut f64 , n : * mut :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_find ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_find_ndim ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_find_indexed ( in_ : * mut VipsImage , index : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hough_line ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hough_circle ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_project ( in_ : * mut VipsImage , columns : * mut * mut VipsImage , rows : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_profile ( in_ : * mut VipsImage , columns : * mut * mut VipsImage , rows : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsExtend_VIPS_EXTEND_BLACK : VipsExtend = 0 ; pub const VipsExtend_VIPS_EXTEND_COPY : VipsExtend = 1 ; pub const VipsExtend_VIPS_EXTEND_REPEAT : VipsExtend = 2 ; pub const VipsExtend_VIPS_EXTEND_MIRROR : VipsExtend = 3 ; pub const VipsExtend_VIPS_EXTEND_WHITE : VipsExtend = 4 ; pub const VipsExtend_VIPS_EXTEND_BACKGROUND : VipsExtend = 5 ; pub const VipsExtend_VIPS_EXTEND_LAST : VipsExtend = 6 ; pub type VipsExtend = u32 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_CENTRE : VipsCompassDirection = 0 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_NORTH : VipsCompassDirection = 1 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_EAST : VipsCompassDirection = 2 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_SOUTH : VipsCompassDirection = 3 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_WEST : VipsCompassDirection = 4 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_NORTH_EAST : VipsCompassDirection = 5 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_SOUTH_EAST : VipsCompassDirection = 6 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_SOUTH_WEST : VipsCompassDirection = 7 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_NORTH_WEST : VipsCompassDirection = 8 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_LAST : VipsCompassDirection = 9 ; pub type VipsCompassDirection = u32 ; pub const VipsDirection_VIPS_DIRECTION_HORIZONTAL : VipsDirection = 0 ; pub const VipsDirection_VIPS_DIRECTION_VERTICAL : VipsDirection = 1 ; pub const VipsDirection_VIPS_DIRECTION_LAST : VipsDirection = 2 ; pub type VipsDirection = u32 ; pub const VipsAlign_VIPS_ALIGN_LOW : VipsAlign = 0 ; pub const VipsAlign_VIPS_ALIGN_CENTRE : VipsAlign = 1 ; pub const VipsAlign_VIPS_ALIGN_HIGH : VipsAlign = 2 ; pub const VipsAlign_VIPS_ALIGN_LAST : VipsAlign = 3 ; pub type VipsAlign = u32 ; pub const VipsAngle_VIPS_ANGLE_D0 : VipsAngle = 0 ; pub const VipsAngle_VIPS_ANGLE_D90 : VipsAngle = 1 ; pub const VipsAngle_VIPS_ANGLE_D180 : VipsAngle = 2 ; pub const VipsAngle_VIPS_ANGLE_D270 : VipsAngle = 3 ; pub const VipsAngle_VIPS_ANGLE_LAST : VipsAngle = 4 ; pub type VipsAngle = u32 ; pub const VipsAngle45_VIPS_ANGLE45_D0 : VipsAngle45 = 0 ; pub const VipsAngle45_VIPS_ANGLE45_D45 : VipsAngle45 = 1 ; pub const VipsAngle45_VIPS_ANGLE45_D90 : VipsAngle45 = 2 ; pub const VipsAngle45_VIPS_ANGLE45_D135 : VipsAngle45 = 3 ; pub const VipsAngle45_VIPS_ANGLE45_D180 : VipsAngle45 = 4 ; pub const VipsAngle45_VIPS_ANGLE45_D225 : VipsAngle45 = 5 ; pub const VipsAngle45_VIPS_ANGLE45_D270 : VipsAngle45 = 6 ; pub const VipsAngle45_VIPS_ANGLE45_D315 : VipsAngle45 = 7 ; pub const VipsAngle45_VIPS_ANGLE45_LAST : VipsAngle45 = 8 ; pub type VipsAngle45 = u32 ; pub const VipsInteresting_VIPS_INTERESTING_NONE : VipsInteresting = 0 ; pub const VipsInteresting_VIPS_INTERESTING_CENTRE : VipsInteresting = 1 ; pub const VipsInteresting_VIPS_INTERESTING_ENTROPY : VipsInteresting = 2 ; pub const VipsInteresting_VIPS_INTERESTING_ATTENTION : VipsInteresting = 3 ; pub const VipsInteresting_VIPS_INTERESTING_LOW : VipsInteresting = 4 ; pub const VipsInteresting_VIPS_INTERESTING_HIGH : VipsInteresting = 5 ; pub const VipsInteresting_VIPS_INTERESTING_ALL : VipsInteresting = 6 ; pub const VipsInteresting_VIPS_INTERESTING_LAST : VipsInteresting = 7 ; pub type VipsInteresting = u32 ; pub const VipsBlendMode_VIPS_BLEND_MODE_CLEAR : VipsBlendMode = 0 ; pub const VipsBlendMode_VIPS_BLEND_MODE_SOURCE : VipsBlendMode = 1 ; pub const VipsBlendMode_VIPS_BLEND_MODE_OVER : VipsBlendMode = 2 ; pub const VipsBlendMode_VIPS_BLEND_MODE_IN : VipsBlendMode = 3 ; pub const VipsBlendMode_VIPS_BLEND_MODE_OUT : VipsBlendMode = 4 ; pub const VipsBlendMode_VIPS_BLEND_MODE_ATOP : VipsBlendMode = 5 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DEST : VipsBlendMode = 6 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DEST_OVER : VipsBlendMode = 7 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DEST_IN : VipsBlendMode = 8 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DEST_OUT : VipsBlendMode = 9 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DEST_ATOP : VipsBlendMode = 10 ; pub const VipsBlendMode_VIPS_BLEND_MODE_XOR : VipsBlendMode = 11 ; pub const VipsBlendMode_VIPS_BLEND_MODE_ADD : VipsBlendMode = 12 ; pub const VipsBlendMode_VIPS_BLEND_MODE_SATURATE : VipsBlendMode = 13 ; pub const VipsBlendMode_VIPS_BLEND_MODE_MULTIPLY : VipsBlendMode = 14 ; pub const VipsBlendMode_VIPS_BLEND_MODE_SCREEN : VipsBlendMode = 15 ; pub const VipsBlendMode_VIPS_BLEND_MODE_OVERLAY : VipsBlendMode = 16 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DARKEN : VipsBlendMode = 17 ; pub const VipsBlendMode_VIPS_BLEND_MODE_LIGHTEN : VipsBlendMode = 18 ; pub const VipsBlendMode_VIPS_BLEND_MODE_COLOUR_DODGE : VipsBlendMode = 19 ; pub const VipsBlendMode_VIPS_BLEND_MODE_COLOUR_BURN : VipsBlendMode = 20 ; pub const VipsBlendMode_VIPS_BLEND_MODE_HARD_LIGHT : VipsBlendMode = 21 ; pub const VipsBlendMode_VIPS_BLEND_MODE_SOFT_LIGHT : VipsBlendMode = 22 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DIFFERENCE : VipsBlendMode = 23 ; pub const VipsBlendMode_VIPS_BLEND_MODE_EXCLUSION : VipsBlendMode = 24 ; pub const VipsBlendMode_VIPS_BLEND_MODE_LAST : VipsBlendMode = 25 ; pub type VipsBlendMode = u32 ; extern "C" { pub fn vips_copy ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tilecache ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_linecache ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sequential ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cache ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_copy_file ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_embed ( in_ : * mut VipsImage , out : * mut * mut VipsImage , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gravity ( in_ : * mut VipsImage , out : * mut * mut VipsImage , direction : VipsCompassDirection , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_flip ( in_ : * mut VipsImage , out : * mut * mut VipsImage , direction : VipsDirection , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_insert ( main : * mut VipsImage , sub : * mut VipsImage , out : * mut * mut VipsImage , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_join ( in1 : * mut VipsImage , in2 : * mut VipsImage , out : * mut * mut VipsImage , direction : VipsDirection , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_arrayjoin ( in_ : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_extract_area ( in_ : * mut VipsImage , out : * mut * mut VipsImage , left : :: std :: os :: raw :: c_int , top : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_crop ( in_ : * mut VipsImage , out : * mut * mut VipsImage , left : :: std :: os :: raw :: c_int , top : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_smartcrop ( in_ : * mut VipsImage , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_extract_band ( in_ : * mut VipsImage , out : * mut * mut VipsImage , band : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_replicate ( in_ : * mut VipsImage , out : * mut * mut VipsImage , across : :: std :: os :: raw :: c_int , down : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_grid ( in_ : * mut VipsImage , out : * mut * mut VipsImage , tile_height : :: std :: os :: raw :: c_int , across : :: std :: os :: raw :: c_int , down : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_transpose3d ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_wrap ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rot ( in_ : * mut VipsImage , out : * mut * mut VipsImage , angle : VipsAngle , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rot90 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rot180 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rot270 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rot45 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_autorot_remove_angle ( image : * mut VipsImage ) ; } extern "C" { pub fn vips_autorot ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_zoom ( in_ : * mut VipsImage , out : * mut * mut VipsImage , xfac : :: std :: os :: raw :: c_int , yfac : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_subsample ( in_ : * mut VipsImage , out : * mut * mut VipsImage , xfac : :: std :: os :: raw :: c_int , yfac : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast ( in_ : * mut VipsImage , out : * mut * mut VipsImage , format : VipsBandFormat , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_uchar ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_char ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_ushort ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_short ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_uint ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_int ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_float ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_double ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_complex ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_dpcomplex ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_scale ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_msb ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_byteswap ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandjoin ( in_ : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandjoin2 ( in1 : * mut VipsImage , in2 : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandjoin_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * mut f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandjoin_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandrank ( in_ : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandfold ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandunfold ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandbool ( in_ : * mut VipsImage , out : * mut * mut VipsImage , boolean : VipsOperationBoolean , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandand ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandor ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandeor ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandmean ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_recomb ( in_ : * mut VipsImage , out : * mut * mut VipsImage , m : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_ifthenelse ( cond : * mut VipsImage , in1 : * mut VipsImage , in2 : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_switch ( tests : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_flatten ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_addalpha ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_premultiply ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_unpremultiply ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_composite ( in_ : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , mode : * mut :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_composite2 ( base : * mut VipsImage , overlay : * mut VipsImage , out : * mut * mut VipsImage , mode : VipsBlendMode , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_falsecolour ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gamma ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsCombine_VIPS_COMBINE_MAX : VipsCombine = 0 ; pub const VipsCombine_VIPS_COMBINE_SUM : VipsCombine = 1 ; pub const VipsCombine_VIPS_COMBINE_MIN : VipsCombine = 2 ; pub const VipsCombine_VIPS_COMBINE_LAST : VipsCombine = 3 ; pub type VipsCombine = u32 ; extern "C" { pub fn vips_conv ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_convf ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_convi ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_conva ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_convsep ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_convasep ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_compass ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gaussblur ( in_ : * mut VipsImage , out : * mut * mut VipsImage , sigma : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sharpen ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_spcor ( in_ : * mut VipsImage , ref_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_fastcor ( in_ : * mut VipsImage , ref_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sobel ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_scharr ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_prewitt ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_canny ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsOperationMorphology_VIPS_OPERATION_MORPHOLOGY_ERODE : VipsOperationMorphology = 0 ; pub const VipsOperationMorphology_VIPS_OPERATION_MORPHOLOGY_DILATE : VipsOperationMorphology = 1 ; pub const VipsOperationMorphology_VIPS_OPERATION_MORPHOLOGY_LAST : VipsOperationMorphology = 2 ; pub type VipsOperationMorphology = u32 ; extern "C" { pub fn vips_morph ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , morph : VipsOperationMorphology , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rank ( in_ : * mut VipsImage , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_median ( in_ : * mut VipsImage , out : * mut * mut VipsImage , size : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_countlines ( in_ : * mut VipsImage , nolines : * mut f64 , direction : VipsDirection , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_labelregions ( in_ : * mut VipsImage , mask : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_fill_nearest ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_merge ( ref_ : * mut VipsImage , sec : * mut VipsImage , out : * mut * mut VipsImage , direction : VipsDirection , dx : :: std :: os :: raw :: c_int , dy : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mosaic ( ref_ : * mut VipsImage , sec : * mut VipsImage , out : * mut * mut VipsImage , direction : VipsDirection , xref : :: std :: os :: raw :: c_int , yref : :: std :: os :: raw :: c_int , xsec : :: std :: os :: raw :: c_int , ysec : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mosaic1 ( ref_ : * mut VipsImage , sec : * mut VipsImage , out : * mut * mut VipsImage , direction : VipsDirection , xr1 : :: std :: os :: raw :: c_int , yr1 : :: std :: os :: raw :: c_int , xs1 : :: std :: os :: raw :: c_int , ys1 : :: std :: os :: raw :: c_int , xr2 : :: std :: os :: raw :: c_int , yr2 : :: std :: os :: raw :: c_int , xs2 : :: std :: os :: raw :: c_int , ys2 : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_match ( ref_ : * mut VipsImage , sec : * mut VipsImage , out : * mut * mut VipsImage , xr1 : :: std :: os :: raw :: c_int , yr1 : :: std :: os :: raw :: c_int , xs1 : :: std :: os :: raw :: c_int , ys1 : :: std :: os :: raw :: c_int , xr2 : :: std :: os :: raw :: c_int , yr2 : :: std :: os :: raw :: c_int , xs2 : :: std :: os :: raw :: c_int , ys2 : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_globalbalance ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_remosaic ( in_ : * mut VipsImage , out : * mut * mut VipsImage , old_str : * const :: std :: os :: raw :: c_char , new_str : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matrixinvert ( m : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_maplut ( in_ : * mut VipsImage , out : * mut * mut VipsImage , lut : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_percent ( in_ : * mut VipsImage , percent : f64 , threshold : * mut :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_stdif ( in_ : * mut VipsImage , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_cum ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_norm ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_equal ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_plot ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_match ( in_ : * mut VipsImage , ref_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_local ( in_ : * mut VipsImage , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_ismonotonic ( in_ : * mut VipsImage , out : * mut gboolean , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_entropy ( in_ : * mut VipsImage , out : * mut f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_case ( index : * mut VipsImage , cases : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_fwfft ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_invfft ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_freqmult ( in_ : * mut VipsImage , mask : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_spectrum ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_phasecor ( in1 : * mut VipsImage , in2 : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsKernel_VIPS_KERNEL_NEAREST : VipsKernel = 0 ; pub const VipsKernel_VIPS_KERNEL_LINEAR : VipsKernel = 1 ; pub const VipsKernel_VIPS_KERNEL_CUBIC : VipsKernel = 2 ; pub const VipsKernel_VIPS_KERNEL_MITCHELL : VipsKernel = 3 ; pub const VipsKernel_VIPS_KERNEL_LANCZOS2 : VipsKernel = 4 ; pub const VipsKernel_VIPS_KERNEL_LANCZOS3 : VipsKernel = 5 ; pub const VipsKernel_VIPS_KERNEL_LAST : VipsKernel = 6 ; pub type VipsKernel = u32 ; pub const VipsSize_VIPS_SIZE_BOTH : VipsSize = 0 ; pub const VipsSize_VIPS_SIZE_UP : VipsSize = 1 ; pub const VipsSize_VIPS_SIZE_DOWN : VipsSize = 2 ; pub const VipsSize_VIPS_SIZE_FORCE : VipsSize = 3 ; pub const VipsSize_VIPS_SIZE_LAST : VipsSize = 4 ; pub type VipsSize = u32 ; extern "C" { pub fn vips_shrink ( in_ : * mut VipsImage , out : * mut * mut VipsImage , hshrink : f64 , vshrink : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_shrinkh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , hshrink : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_shrinkv ( in_ : * mut VipsImage , out : * mut * mut VipsImage , vshrink : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_reduce ( in_ : * mut VipsImage , out : * mut * mut VipsImage , hshrink : f64 , vshrink : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_reduceh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , hshrink : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_reducev ( in_ : * mut VipsImage , out : * mut * mut VipsImage , vshrink : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_thumbnail ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_thumbnail_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_thumbnail_image ( in_ : * mut VipsImage , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_thumbnail_source ( source : * mut VipsSource , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_similarity ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rotate ( in_ : * mut VipsImage , out : * mut * mut VipsImage , angle : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_affine ( in_ : * mut VipsImage , out : * mut * mut VipsImage , a : f64 , b : f64 , c : f64 , d : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_resize ( in_ : * mut VipsImage , out : * mut * mut VipsImage , scale : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mapim ( in_ : * mut VipsImage , out : * mut * mut VipsImage , index : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_quadratic ( in_ : * mut VipsImage , out : * mut * mut VipsImage , coeff : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsIntent_VIPS_INTENT_PERCEPTUAL : VipsIntent = 0 ; pub const VipsIntent_VIPS_INTENT_RELATIVE : VipsIntent = 1 ; pub const VipsIntent_VIPS_INTENT_SATURATION : VipsIntent = 2 ; pub const VipsIntent_VIPS_INTENT_ABSOLUTE : VipsIntent = 3 ; pub const VipsIntent_VIPS_INTENT_LAST : VipsIntent = 4 ; pub type VipsIntent = u32 ; pub const VipsPCS_VIPS_PCS_LAB : VipsPCS = 0 ; pub const VipsPCS_VIPS_PCS_XYZ : VipsPCS = 1 ; pub const VipsPCS_VIPS_PCS_LAST : VipsPCS = 2 ; pub type VipsPCS = u32 ; extern "C" { pub fn vips_colourspace_issupported ( image : * const VipsImage ) -> gboolean ; } extern "C" { pub fn vips_colourspace ( in_ : * mut VipsImage , out : * mut * mut VipsImage , space : VipsInterpretation , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LabQ2sRGB ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rad2float ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_float2rad ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LabS2LabQ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LabQ2LabS ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LabQ2Lab ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_Lab2LabQ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LCh2Lab ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_Lab2LCh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_Yxy2Lab ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_CMC2XYZ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_Lab2XYZ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_XYZ2Lab ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_XYZ2scRGB ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_scRGB2sRGB ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_scRGB2BW ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sRGB2scRGB ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_scRGB2XYZ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_HSV2sRGB ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sRGB2HSV ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LCh2CMC ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_CMC2LCh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_XYZ2Yxy ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_Yxy2XYZ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LabS2Lab ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_Lab2LabS ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_CMYK2XYZ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_XYZ2CMYK ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_profile_load ( name : * const :: std :: os :: raw :: c_char , profile : * mut * mut VipsBlob , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_icc_present ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_icc_transform ( in_ : * mut VipsImage , out : * mut * mut VipsImage , output_profile : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_icc_import ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_icc_export ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_icc_ac2rc ( in_ : * mut VipsImage , out : * mut * mut VipsImage , profile_filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_icc_is_compatible_profile ( image : * mut VipsImage , data : * const :: std :: os :: raw :: c_void , data_length : usize ) -> gboolean ; } extern "C" { pub fn vips_dE76 ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_dE00 ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_dECMC ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_Lab2XYZ ( L : f32 , a : f32 , b : f32 , X : * mut f32 , Y : * mut f32 , Z : * mut f32 ) ; } extern "C" { pub fn vips_col_XYZ2Lab ( X : f32 , Y : f32 , Z : f32 , L : * mut f32 , a : * mut f32 , b : * mut f32 ) ; } extern "C" { pub fn vips_col_ab2h ( a : f64 , b : f64 ) -> f64 ; } extern "C" { pub fn vips_col_ab2Ch ( a : f32 , b : f32 , C : * mut f32 , h : * mut f32 ) ; } extern "C" { pub fn vips_col_Ch2ab ( C : f32 , h : f32 , a : * mut f32 , b : * mut f32 ) ; } extern "C" { pub fn vips_col_L2Lcmc ( L : f32 ) -> f32 ; } extern "C" { pub fn vips_col_C2Ccmc ( C : f32 ) -> f32 ; } extern "C" { pub fn vips_col_Ch2hcmc ( C : f32 , h : f32 ) -> f32 ; } extern "C" { pub fn vips_col_make_tables_CMC ( ) ; } extern "C" { pub fn vips_col_Lcmc2L ( Lcmc : f32 ) -> f32 ; } extern "C" { pub fn vips_col_Ccmc2C ( Ccmc : f32 ) -> f32 ; } extern "C" { pub fn vips_col_Chcmc2h ( C : f32 , hcmc : f32 ) -> f32 ; } extern "C" { pub fn vips_col_sRGB2scRGB_8 ( r : :: std :: os :: raw :: c_int , g : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int , R : * mut f32 , G : * mut f32 , B : * mut f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_sRGB2scRGB_16 ( r : :: std :: os :: raw :: c_int , g : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int , R : * mut f32 , G : * mut f32 , B : * mut f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_sRGB2scRGB_8_noclip ( r : :: std :: os :: raw :: c_int , g : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int , R : * mut f32 , G : * mut f32 , B : * mut f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_sRGB2scRGB_16_noclip ( r : :: std :: os :: raw :: c_int , g : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int , R : * mut f32 , G : * mut f32 , B : * mut f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_scRGB2XYZ ( R : f32 , G : f32 , B : f32 , X : * mut f32 , Y : * mut f32 , Z : * mut f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_XYZ2scRGB ( X : f32 , Y : f32 , Z : f32 , R : * mut f32 , G : * mut f32 , B : * mut f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_scRGB2sRGB_8 ( R : f32 , G : f32 , B : f32 , r : * mut :: std :: os :: raw :: c_int , g : * mut :: std :: os :: raw :: c_int , b : * mut :: std :: os :: raw :: c_int , og : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_scRGB2sRGB_16 ( R : f32 , G : f32 , B : f32 , r : * mut :: std :: os :: raw :: c_int , g : * mut :: std :: os :: raw :: c_int , b : * mut :: std :: os :: raw :: c_int , og : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_scRGB2BW_16 ( R : f32 , G : f32 , B : f32 , g : * mut :: std :: os :: raw :: c_int , og : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_scRGB2BW_8 ( R : f32 , G : f32 , B : f32 , g : * mut :: std :: os :: raw :: c_int , og : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pythagoras ( L1 : f32 , a1 : f32 , b1 : f32 , L2 : f32 , a2 : f32 , b2 : f32 ) -> f32 ; } extern "C" { pub fn vips_col_dE00 ( L1 : f32 , a1 : f32 , b1 : f32 , L2 : f32 , a2 : f32 , b2 : f32 ) -> f32 ; } pub const VipsCombineMode_VIPS_COMBINE_MODE_SET : VipsCombineMode = 0 ; pub const VipsCombineMode_VIPS_COMBINE_MODE_ADD : VipsCombineMode = 1 ; pub const VipsCombineMode_VIPS_COMBINE_MODE_LAST : VipsCombineMode = 2 ; pub type VipsCombineMode = u32 ; extern "C" { pub fn vips_draw_rect ( image : * mut VipsImage , ink : * mut f64 , n : :: std :: os :: raw :: c_int , left : :: std :: os :: raw :: c_int , top : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_rect1 ( image : * mut VipsImage , ink : f64 , left : :: std :: os :: raw :: c_int , top : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_point ( image : * mut VipsImage , ink : * mut f64 , n : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_point1 ( image : * mut VipsImage , ink : f64 , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_image ( image : * mut VipsImage , sub : * mut VipsImage , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_mask ( image : * mut VipsImage , ink : * mut f64 , n : :: std :: os :: raw :: c_int , mask : * mut VipsImage , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_mask1 ( image : * mut VipsImage , ink : f64 , mask : * mut VipsImage , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_line ( image : * mut VipsImage , ink : * mut f64 , n : :: std :: os :: raw :: c_int , x1 : :: std :: os :: raw :: c_int , y1 : :: std :: os :: raw :: c_int , x2 : :: std :: os :: raw :: c_int , y2 : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_line1 ( image : * mut VipsImage , ink : f64 , x1 : :: std :: os :: raw :: c_int , y1 : :: std :: os :: raw :: c_int , x2 : :: std :: os :: raw :: c_int , y2 : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_circle ( image : * mut VipsImage , ink : * mut f64 , n : :: std :: os :: raw :: c_int , cx : :: std :: os :: raw :: c_int , cy : :: std :: os :: raw :: c_int , radius : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_circle1 ( image : * mut VipsImage , ink : f64 , cx : :: std :: os :: raw :: c_int , cy : :: std :: os :: raw :: c_int , radius : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_flood ( image : * mut VipsImage , ink : * mut f64 , n : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_flood1 ( image : * mut VipsImage , ink : f64 , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_smudge ( image : * mut VipsImage , left : :: std :: os :: raw :: c_int , top : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsTextWrap_VIPS_TEXT_WRAP_WORD : VipsTextWrap = 0 ; pub const VipsTextWrap_VIPS_TEXT_WRAP_CHAR : VipsTextWrap = 1 ; pub const VipsTextWrap_VIPS_TEXT_WRAP_WORD_CHAR : VipsTextWrap = 2 ; pub const VipsTextWrap_VIPS_TEXT_WRAP_NONE : VipsTextWrap = 3 ; pub const VipsTextWrap_VIPS_TEXT_WRAP_LAST : VipsTextWrap = 4 ; pub type VipsTextWrap = u32 ; extern "C" { pub fn vips_black ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_xyz ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_grey ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gaussmat ( out : * mut * mut VipsImage , sigma : f64 , min_ampl : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_logmat ( out : * mut * mut VipsImage , sigma : f64 , min_ampl : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_text ( out : * mut * mut VipsImage , text : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gaussnoise ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_eye ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sines ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_zone ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_identity ( out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_buildlut ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_invertlut ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tonelut ( out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_ideal ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , frequency_cutoff : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_ideal_ring ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , frequency_cutoff : f64 , ringwidth : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_ideal_band ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , frequency_cutoff_x : f64 , frequency_cutoff_y : f64 , radius : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_butterworth ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , order : f64 , frequency_cutoff : f64 , amplitude_cutoff : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_butterworth_ring ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , order : f64 , frequency_cutoff : f64 , amplitude_cutoff : f64 , ringwidth : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_butterworth_band ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , order : f64 , frequency_cutoff_x : f64 , frequency_cutoff_y : f64 , radius : f64 , amplitude_cutoff : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_gaussian ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , frequency_cutoff : f64 , amplitude_cutoff : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_gaussian_ring ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , frequency_cutoff : f64 , amplitude_cutoff : f64 , ringwidth : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_gaussian_band ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , frequency_cutoff_x : f64 , frequency_cutoff_y : f64 , radius : f64 , amplitude_cutoff : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_fractal ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , fractal_dimension : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_fractsurf ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , fractal_dimension : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_worley ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_perlin ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_video_v4l1 ( im : * mut VipsImage , device : * const :: std :: os :: raw :: c_char , channel : :: std :: os :: raw :: c_int , brightness : :: std :: os :: raw :: c_int , colour : :: std :: os :: raw :: c_int , contrast : :: std :: os :: raw :: c_int , hue : :: std :: os :: raw :: c_int , ngrabs : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_video_test ( im : * mut VipsImage , brightness : :: std :: os :: raw :: c_int , error : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_init ( argv0 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_get_argv0 ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_get_prgname ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_shutdown ( ) ; } extern "C" { pub fn vips_thread_shutdown ( ) ; } extern "C" { pub fn vips_add_option_entries ( option_group : * mut GOptionGroup ) ; } extern "C" { pub fn vips_leak_set ( leak : gboolean ) ; } extern "C" { pub fn vips_block_untrusted_set ( state : gboolean ) ; } extern "C" { pub fn vips_version_string ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_version ( flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_guess_prefix ( argv0 : * const :: std :: os :: raw :: c_char , env_name : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_guess_libdir ( argv0 : * const :: std :: os :: raw :: c_char , env_name : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } # [ 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] [stdout] 85 + pub const G_ANALYZER_ANALYZING : u32 = 0 ; pub const FALSE : u32 = 0 ; pub const G_HAVE_GNUC_VISIBILITY : u32 = 1 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C2X_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 39 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const G_GINT16_MODIFIER : & 'static [ u8 ; 2usize ] = b"h\0" ; pub const G_GINT16_FORMAT : & 'static [ u8 ; 3usize ] = b"hi\0" ; pub const G_GUINT16_FORMAT : & 'static [ u8 ; 3usize ] = b"hu\0" ; pub const G_GINT32_MODIFIER : & 'static [ u8 ; 1usize ] = b"\0" ; pub const G_GINT32_FORMAT : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const G_GUINT32_FORMAT : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const G_HAVE_GINT64 : u32 = 1 ; pub const G_GINT64_MODIFIER : & 'static [ u8 ; 2usize ] = b"l\0" ; pub const G_GINT64_FORMAT : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const G_GUINT64_FORMAT : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const GLIB_SIZEOF_VOID_P : u32 = 8 ; pub const GLIB_SIZEOF_LONG : u32 = 8 ; pub const GLIB_SIZEOF_SIZE_T : u32 = 8 ; pub const GLIB_SIZEOF_SSIZE_T : u32 = 8 ; pub const G_GSIZE_MODIFIER : & 'static [ u8 ; 2usize ] = b"l\0" ; pub const G_GSSIZE_MODIFIER : & 'static [ u8 ; 2usize ] = b"l\0" ; pub const G_GSIZE_FORMAT : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const G_GSSIZE_FORMAT : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const G_GOFFSET_MODIFIER : & 'static [ u8 ; 2usize ] = b"l\0" ; pub const G_GOFFSET_FORMAT : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const G_POLLFD_FORMAT : & 'static [ u8 ; 3usize ] = b"%d\0" ; pub const G_GINTPTR_MODIFIER : & 'static [ u8 ; 2usize ] = b"l\0" ; pub const G_GINTPTR_FORMAT : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const G_GUINTPTR_FORMAT : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const GLIB_MAJOR_VERSION : u32 = 2 ; pub const GLIB_MINOR_VERSION : u32 = 80 ; pub const GLIB_MICRO_VERSION : u32 = 0 ; pub const G_VA_COPY_AS_ARRAY : u32 = 1 ; pub const G_HAVE_ISO_VARARGS : u32 = 1 ; pub const G_HAVE_GROWING_STACK : u32 = 0 ; pub const G_HAVE_GNUC_VARARGS : u32 = 1 ; pub const G_MODULE_SUFFIX : & 'static [ u8 ; 3usize ] = b"so\0" ; pub const G_PID_FORMAT : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const GLIB_SYSDEF_AF_UNIX : u32 = 1 ; pub const GLIB_SYSDEF_AF_INET : u32 = 2 ; pub const GLIB_SYSDEF_AF_INET6 : u32 = 10 ; pub const GLIB_SYSDEF_MSG_OOB : u32 = 1 ; pub const GLIB_SYSDEF_MSG_PEEK : u32 = 2 ; pub const GLIB_SYSDEF_MSG_DONTROUTE : u32 = 4 ; pub const G_DIR_SEPARATOR : u8 = 47u8 ; pub const G_DIR_SEPARATOR_S : & 'static [ u8 ; 2usize ] = b"/\0" ; pub const G_SEARCHPATH_SEPARATOR : u8 = 58u8 ; pub const G_SEARCHPATH_SEPARATOR_S : & 'static [ u8 ; 2usize ] = b":\0" ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_H : 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 __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const CLOCK_REALTIME : u32 = 0 ; pub const CLOCK_MONOTONIC : u32 = 1 ; pub const CLOCK_PROCESS_CPUTIME_ID : u32 = 2 ; pub const CLOCK_THREAD_CPUTIME_ID : u32 = 3 ; pub const CLOCK_MONOTONIC_RAW : u32 = 4 ; pub const CLOCK_REALTIME_COARSE : u32 = 5 ; pub const CLOCK_MONOTONIC_COARSE : u32 = 6 ; pub const CLOCK_BOOTTIME : u32 = 7 ; pub const CLOCK_REALTIME_ALARM : u32 = 8 ; pub const CLOCK_BOOTTIME_ALARM : u32 = 9 ; pub const CLOCK_TAI : u32 = 11 ; pub const TIMER_ABSTIME : u32 = 1 ; pub const __clock_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __struct_tm_defined : u32 = 1 ; pub const _STRUCT_TIMESPEC : u32 = 1 ; pub const _BITS_ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const _BITS_ENDIANNESS_H : u32 = 1 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const __clockid_t_defined : u32 = 1 ; pub const __timer_t_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const G_E : f64 = 2.718281828459045 ; pub const G_LN2 : f64 = 0.6931471805599453 ; pub const G_LN10 : f64 = 2.302585092994046 ; pub const G_PI : f64 = 3.141592653589793 ; pub const G_PI_2 : f64 = 1.5707963267948966 ; pub const G_PI_4 : f64 = 0.7853981633974483 ; pub const G_SQRT2 : f64 = 1.4142135623730951 ; pub const G_LITTLE_ENDIAN : u32 = 1234 ; pub const G_BIG_ENDIAN : u32 = 4321 ; pub const G_PDP_ENDIAN : u32 = 3412 ; pub const G_IEEE754_FLOAT_BIAS : u32 = 127 ; pub const G_IEEE754_DOUBLE_BIAS : u32 = 1023 ; pub const G_LOG_2_BASE_10 : f64 = 0.3010299956639812 ; pub const _STRING_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; pub const _STDLIB_H : u32 = 1 ; pub const WNOHANG : u32 = 1 ; pub const WUNTRACED : u32 = 2 ; pub const WSTOPPED : u32 = 2 ; pub const WEXITED : u32 = 4 ; pub const WCONTINUED : u32 = 8 ; pub const WNOWAIT : u32 = 16777216 ; pub const __WNOTHREAD : u32 = 536870912 ; pub const __WALL : u32 = 1073741824 ; pub const __WCLONE : u32 = 2147483648 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; pub const __HAVE_FLOAT128 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 0 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const __ldiv_t_defined : u32 = 1 ; pub const __lldiv_t_defined : u32 = 1 ; pub const RAND_MAX : u32 = 2147483647 ; pub const EXIT_FAILURE : u32 = 1 ; pub const EXIT_SUCCESS : u32 = 0 ; pub const _SYS_TYPES_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const __BIT_TYPES_DEFINED__ : u32 = 1 ; 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 _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _BITS_PTHREADTYPES_COMMON_H : u32 = 1 ; pub const _THREAD_SHARED_TYPES_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_ARCH_H : u32 = 1 ; pub const __SIZEOF_PTHREAD_MUTEX_T : u32 = 40 ; pub const __SIZEOF_PTHREAD_ATTR_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_RWLOCK_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_BARRIER_T : u32 = 32 ; pub const __SIZEOF_PTHREAD_MUTEXATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_COND_T : u32 = 48 ; pub const __SIZEOF_PTHREAD_CONDATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_RWLOCKATTR_T : u32 = 8 ; pub const __SIZEOF_PTHREAD_BARRIERATTR_T : u32 = 4 ; pub const _THREAD_MUTEX_INTERNAL_H : u32 = 1 ; pub const __PTHREAD_MUTEX_HAVE_PREV : u32 = 1 ; pub const __have_pthread_attr_t : u32 = 1 ; pub const _ALLOCA_H : u32 = 1 ; pub const _BITS_SIGNUM_GENERIC_H : u32 = 1 ; pub const SIGINT : u32 = 2 ; pub const SIGILL : u32 = 4 ; pub const SIGABRT : u32 = 6 ; pub const SIGFPE : u32 = 8 ; pub const SIGSEGV : u32 = 11 ; pub const SIGTERM : u32 = 15 ; pub const SIGHUP : u32 = 1 ; pub const SIGQUIT : u32 = 3 ; pub const SIGTRAP : u32 = 5 ; pub const SIGKILL : u32 = 9 ; pub const SIGPIPE : u32 = 13 ; pub const SIGALRM : u32 = 14 ; pub const SIGIOT : u32 = 6 ; pub const _BITS_SIGNUM_ARCH_H : u32 = 1 ; pub const SIGSTKFLT : u32 = 16 ; pub const SIGPWR : u32 = 30 ; pub const SIGBUS : u32 = 7 ; pub const SIGSYS : u32 = 31 ; pub const SIGURG : u32 = 23 ; pub const SIGSTOP : u32 = 19 ; pub const SIGTSTP : u32 = 20 ; pub const SIGCONT : u32 = 18 ; pub const SIGCHLD : u32 = 17 ; pub const SIGTTIN : u32 = 21 ; pub const SIGTTOU : u32 = 22 ; pub const SIGPOLL : u32 = 29 ; pub const SIGXFSZ : u32 = 25 ; pub const SIGXCPU : u32 = 24 ; pub const SIGVTALRM : u32 = 26 ; pub const SIGPROF : u32 = 27 ; pub const SIGUSR1 : u32 = 10 ; pub const SIGUSR2 : u32 = 12 ; pub const SIGWINCH : u32 = 28 ; pub const SIGIO : u32 = 29 ; pub const SIGCLD : u32 = 17 ; pub const __SIGRTMIN : u32 = 32 ; pub const __SIGRTMAX : u32 = 64 ; pub const _NSIG : u32 = 65 ; pub const __sig_atomic_t_defined : u32 = 1 ; pub const __siginfo_t_defined : u32 = 1 ; pub const __SI_MAX_SIZE : u32 = 128 ; pub const _BITS_SIGINFO_ARCH_H : u32 = 1 ; pub const __SI_ERRNO_THEN_CODE : u32 = 1 ; pub const __SI_HAVE_SIGSYS : u32 = 1 ; pub const _BITS_SIGINFO_CONSTS_H : u32 = 1 ; pub const __SI_ASYNCIO_AFTER_SIGIO : u32 = 1 ; pub const __sigevent_t_defined : u32 = 1 ; pub const __SIGEV_MAX_SIZE : u32 = 64 ; pub const _BITS_SIGEVENT_CONSTS_H : u32 = 1 ; pub const NSIG : u32 = 65 ; pub const _BITS_SIGACTION_H : u32 = 1 ; pub const SA_NOCLDSTOP : u32 = 1 ; pub const SA_NOCLDWAIT : u32 = 2 ; pub const SA_SIGINFO : u32 = 4 ; pub const SA_ONSTACK : u32 = 134217728 ; pub const SA_RESTART : u32 = 268435456 ; pub const SA_NODEFER : u32 = 1073741824 ; pub const SA_RESETHAND : u32 = 2147483648 ; pub const SA_INTERRUPT : u32 = 536870912 ; pub const SA_NOMASK : u32 = 1073741824 ; pub const SA_ONESHOT : u32 = 2147483648 ; pub const SA_STACK : u32 = 134217728 ; pub const SIG_BLOCK : u32 = 0 ; pub const SIG_UNBLOCK : u32 = 1 ; pub const SIG_SETMASK : u32 = 2 ; pub const _BITS_SIGCONTEXT_H : u32 = 1 ; pub const FP_XSTATE_MAGIC1 : u32 = 1179670611 ; pub const FP_XSTATE_MAGIC2 : u32 = 1179670597 ; pub const __stack_t_defined : u32 = 1 ; pub const _SYS_UCONTEXT_H : u32 = 1 ; pub const __NGREG : u32 = 23 ; pub const NGREG : u32 = 23 ; pub const _BITS_SIGSTACK_H : u32 = 1 ; pub const MINSIGSTKSZ : u32 = 2048 ; pub const SIGSTKSZ : u32 = 8192 ; pub const _BITS_SS_FLAGS_H : u32 = 1 ; pub const __sigstack_defined : u32 = 1 ; pub const _BITS_SIGTHREAD_H : u32 = 1 ; pub const G_DATALIST_FLAGS_MASK : u32 = 3 ; pub const G_DATE_BAD_JULIAN : u32 = 0 ; pub const G_DATE_BAD_DAY : u32 = 0 ; pub const G_DATE_BAD_YEAR : u32 = 0 ; pub const _DIRENT_H : u32 = 1 ; pub const _DIRENT_MATCHES_DIRENT64 : u32 = 1 ; pub const MAXNAMLEN : u32 = 255 ; pub const G_MEM_ALIGN : u32 = 8 ; pub const G_HOOK_FLAG_USER_SHIFT : u32 = 4 ; pub const G_PRIORITY_HIGH : i32 = -100 ; pub const G_PRIORITY_DEFAULT : u32 = 0 ; pub const G_PRIORITY_HIGH_IDLE : u32 = 100 ; pub const G_PRIORITY_DEFAULT_IDLE : u32 = 200 ; pub const G_PRIORITY_LOW : u32 = 300 ; pub const G_SOURCE_REMOVE : u32 = 0 ; pub const G_UNICHAR_MAX_DECOMPOSITION_LENGTH : u32 = 18 ; pub const G_STR_DELIMITERS : & 'static [ u8 ; 8usize ] = b"_-|> <.\0" ; pub const G_ASCII_DTOSTR_BUF_SIZE : u32 = 39 ; pub const G_KEY_FILE_DESKTOP_GROUP : & 'static [ u8 ; 14usize ] = b"Desktop Entry\0" ; pub const G_KEY_FILE_DESKTOP_KEY_TYPE : & 'static [ u8 ; 5usize ] = b"Type\0" ; pub const G_KEY_FILE_DESKTOP_KEY_VERSION : & 'static [ u8 ; 8usize ] = b"Version\0" ; pub const G_KEY_FILE_DESKTOP_KEY_NAME : & 'static [ u8 ; 5usize ] = b"Name\0" ; pub const G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME : & 'static [ u8 ; 12usize ] = b"GenericName\0" ; pub const G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY : & 'static [ u8 ; 10usize ] = b"NoDisplay\0" ; pub const G_KEY_FILE_DESKTOP_KEY_COMMENT : & 'static [ u8 ; 8usize ] = b"Comment\0" ; pub const G_KEY_FILE_DESKTOP_KEY_ICON : & 'static [ u8 ; 5usize ] = b"Icon\0" ; pub const G_KEY_FILE_DESKTOP_KEY_HIDDEN : & 'static [ u8 ; 7usize ] = b"Hidden\0" ; pub const G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN : & 'static [ u8 ; 11usize ] = b"OnlyShowIn\0" ; pub const G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN : & 'static [ u8 ; 10usize ] = b"NotShowIn\0" ; pub const G_KEY_FILE_DESKTOP_KEY_TRY_EXEC : & 'static [ u8 ; 8usize ] = b"TryExec\0" ; pub const G_KEY_FILE_DESKTOP_KEY_EXEC : & 'static [ u8 ; 5usize ] = b"Exec\0" ; pub const G_KEY_FILE_DESKTOP_KEY_PATH : & 'static [ u8 ; 5usize ] = b"Path\0" ; pub const G_KEY_FILE_DESKTOP_KEY_TERMINAL : & 'static [ u8 ; 9usize ] = b"Terminal\0" ; pub const G_KEY_FILE_DESKTOP_KEY_MIME_TYPE : & 'static [ u8 ; 9usize ] = b"MimeType\0" ; pub const G_KEY_FILE_DESKTOP_KEY_CATEGORIES : & 'static [ u8 ; 11usize ] = b"Categories\0" ; pub const G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY : & 'static [ u8 ; 14usize ] = b"StartupNotify\0" ; pub const G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS : & 'static [ u8 ; 15usize ] = b"StartupWMClass\0" ; pub const G_KEY_FILE_DESKTOP_KEY_URL : & 'static [ u8 ; 4usize ] = b"URL\0" ; pub const G_KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE : & 'static [ u8 ; 16usize ] = b"DBusActivatable\0" ; pub const G_KEY_FILE_DESKTOP_KEY_ACTIONS : & 'static [ u8 ; 8usize ] = b"Actions\0" ; pub const G_KEY_FILE_DESKTOP_TYPE_APPLICATION : & 'static [ u8 ; 12usize ] = b"Application\0" ; pub const G_KEY_FILE_DESKTOP_TYPE_LINK : & 'static [ u8 ; 5usize ] = b"Link\0" ; pub const G_KEY_FILE_DESKTOP_TYPE_DIRECTORY : & 'static [ u8 ; 10usize ] = b"Directory\0" ; pub const G_LOG_LEVEL_USER_SHIFT : u32 = 8 ; pub const G_OPTION_REMAINING : & 'static [ u8 ; 1usize ] = b"\0" ; pub const G_REF_COUNT_INIT : i32 = -1 ; pub const G_ATOMIC_REF_COUNT_INIT : u32 = 1 ; pub const G_CSET_A_2_Z : & 'static [ u8 ; 27usize ] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZ\0" ; pub const G_CSET_a_2_z : & 'static [ u8 ; 27usize ] = b"abcdefghijklmnopqrstuvwxyz\0" ; pub const G_CSET_DIGITS : & 'static [ u8 ; 11usize ] = b"0123456789\0" ; pub const G_CSET_LATINC : [ u8 ; 31usize ] = [ 192u8 , 193u8 , 194u8 , 195u8 , 196u8 , 197u8 , 198u8 , 199u8 , 200u8 , 201u8 , 202u8 , 203u8 , 204u8 , 205u8 , 206u8 , 207u8 , 208u8 , 209u8 , 210u8 , 211u8 , 212u8 , 213u8 , 214u8 , 216u8 , 217u8 , 218u8 , 219u8 , 220u8 , 221u8 , 222u8 , 0u8 , ] ; pub const G_CSET_LATINS : [ u8 ; 33usize ] = [ 223u8 , 224u8 , 225u8 , 226u8 , 227u8 , 228u8 , 229u8 , 230u8 , 231u8 , 232u8 , 233u8 , 234u8 , 235u8 , 236u8 , 237u8 , 238u8 , 239u8 , 240u8 , 241u8 , 242u8 , 243u8 , 244u8 , 245u8 , 246u8 , 248u8 , 249u8 , 250u8 , 251u8 , 252u8 , 253u8 , 254u8 , 255u8 , 0u8 , ] ; pub const _ERRNO_H : u32 = 1 ; pub const _BITS_ERRNO_H : u32 = 1 ; pub const EPERM : u32 = 1 ; pub const ENOENT : u32 = 2 ; pub const ESRCH : u32 = 3 ; pub const EINTR : u32 = 4 ; pub const EIO : u32 = 5 ; pub const ENXIO : u32 = 6 ; pub const E2BIG : u32 = 7 ; pub const ENOEXEC : u32 = 8 ; pub const EBADF : u32 = 9 ; pub const ECHILD : u32 = 10 ; pub const EAGAIN : u32 = 11 ; pub const ENOMEM : u32 = 12 ; pub const EACCES : u32 = 13 ; pub const EFAULT : u32 = 14 ; pub const ENOTBLK : u32 = 15 ; pub const EBUSY : u32 = 16 ; pub const EEXIST : u32 = 17 ; pub const EXDEV : u32 = 18 ; pub const ENODEV : u32 = 19 ; pub const ENOTDIR : u32 = 20 ; pub const EISDIR : u32 = 21 ; pub const EINVAL : u32 = 22 ; pub const ENFILE : u32 = 23 ; pub const EMFILE : u32 = 24 ; pub const ENOTTY : u32 = 25 ; pub const ETXTBSY : u32 = 26 ; pub const EFBIG : u32 = 27 ; pub const ENOSPC : u32 = 28 ; pub const ESPIPE : u32 = 29 ; pub const EROFS : u32 = 30 ; pub const EMLINK : u32 = 31 ; pub const EPIPE : u32 = 32 ; pub const EDOM : u32 = 33 ; pub const ERANGE : u32 = 34 ; pub const EDEADLK : u32 = 35 ; pub const ENAMETOOLONG : u32 = 36 ; pub const ENOLCK : u32 = 37 ; pub const ENOSYS : u32 = 38 ; pub const ENOTEMPTY : u32 = 39 ; pub const ELOOP : u32 = 40 ; pub const EWOULDBLOCK : u32 = 11 ; pub const ENOMSG : u32 = 42 ; pub const EIDRM : u32 = 43 ; pub const ECHRNG : u32 = 44 ; pub const EL2NSYNC : u32 = 45 ; pub const EL3HLT : u32 = 46 ; pub const EL3RST : u32 = 47 ; pub const ELNRNG : u32 = 48 ; pub const EUNATCH : u32 = 49 ; pub const ENOCSI : u32 = 50 ; pub const EL2HLT : u32 = 51 ; pub const EBADE : u32 = 52 ; pub const EBADR : u32 = 53 ; pub const EXFULL : u32 = 54 ; pub const ENOANO : u32 = 55 ; pub const EBADRQC : u32 = 56 ; pub const EBADSLT : u32 = 57 ; pub const EDEADLOCK : u32 = 35 ; pub const EBFONT : u32 = 59 ; pub const ENOSTR : u32 = 60 ; pub const ENODATA : u32 = 61 ; pub const ETIME : u32 = 62 ; pub const ENOSR : u32 = 63 ; pub const ENONET : u32 = 64 ; pub const ENOPKG : u32 = 65 ; pub const EREMOTE : u32 = 66 ; pub const ENOLINK : u32 = 67 ; pub const EADV : u32 = 68 ; pub const ESRMNT : u32 = 69 ; pub const ECOMM : u32 = 70 ; pub const EPROTO : u32 = 71 ; pub const EMULTIHOP : u32 = 72 ; pub const EDOTDOT : u32 = 73 ; pub const EBADMSG : u32 = 74 ; pub const EOVERFLOW : u32 = 75 ; pub const ENOTUNIQ : u32 = 76 ; pub const EBADFD : u32 = 77 ; pub const EREMCHG : u32 = 78 ; pub const ELIBACC : u32 = 79 ; pub const ELIBBAD : u32 = 80 ; pub const ELIBSCN : u32 = 81 ; pub const ELIBMAX : u32 = 82 ; pub const ELIBEXEC : u32 = 83 ; pub const EILSEQ : u32 = 84 ; pub const ERESTART : u32 = 85 ; pub const ESTRPIPE : u32 = 86 ; pub const EUSERS : u32 = 87 ; pub const ENOTSOCK : u32 = 88 ; pub const EDESTADDRREQ : u32 = 89 ; pub const EMSGSIZE : u32 = 90 ; pub const EPROTOTYPE : u32 = 91 ; pub const ENOPROTOOPT : u32 = 92 ; pub const EPROTONOSUPPORT : u32 = 93 ; pub const ESOCKTNOSUPPORT : u32 = 94 ; pub const EOPNOTSUPP : u32 = 95 ; pub const EPFNOSUPPORT : u32 = 96 ; pub const EAFNOSUPPORT : u32 = 97 ; pub const EADDRINUSE : u32 = 98 ; pub const EADDRNOTAVAIL : u32 = 99 ; pub const ENETDOWN : u32 = 100 ; pub const ENETUNREACH : u32 = 101 ; pub const ENETRESET : u32 = 102 ; pub const ECONNABORTED : u32 = 103 ; pub const ECONNRESET : u32 = 104 ; pub const ENOBUFS : u32 = 105 ; pub const EISCONN : u32 = 106 ; pub const ENOTCONN : u32 = 107 ; pub const ESHUTDOWN : u32 = 108 ; pub const ETOOMANYREFS : u32 = 109 ; pub const ETIMEDOUT : u32 = 110 ; pub const ECONNREFUSED : u32 = 111 ; pub const EHOSTDOWN : u32 = 112 ; pub const EHOSTUNREACH : u32 = 113 ; pub const EALREADY : u32 = 114 ; pub const EINPROGRESS : u32 = 115 ; pub const ESTALE : u32 = 116 ; pub const EUCLEAN : u32 = 117 ; pub const ENOTNAM : u32 = 118 ; pub const ENAVAIL : u32 = 119 ; pub const EISNAM : u32 = 120 ; pub const EREMOTEIO : u32 = 121 ; pub const EDQUOT : u32 = 122 ; pub const ENOMEDIUM : u32 = 123 ; pub const EMEDIUMTYPE : u32 = 124 ; pub const ECANCELED : u32 = 125 ; pub const ENOKEY : u32 = 126 ; pub const EKEYEXPIRED : u32 = 127 ; pub const EKEYREVOKED : u32 = 128 ; pub const EKEYREJECTED : u32 = 129 ; pub const EOWNERDEAD : u32 = 130 ; pub const ENOTRECOVERABLE : u32 = 131 ; pub const ERFKILL : u32 = 132 ; pub const EHWPOISON : u32 = 133 ; pub const ENOTSUP : u32 = 95 ; pub const G_TEST_OPTION_ISOLATE_DIRS : & 'static [ u8 ; 13usize ] = b"isolate_dirs\0" ; pub const G_USEC_PER_SEC : u32 = 1000000 ; pub const G_URI_RESERVED_CHARS_GENERIC_DELIMITERS : & 'static [ u8 ; 8usize ] = b":/?#[]@\0" ; pub const G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS : & 'static [ u8 ; 12usize ] = b"!$&'()*+,;=\0" ; pub const G_URI_RESERVED_CHARS_ALLOWED_IN_PATH_ELEMENT : & 'static [ u8 ; 14usize ] = b"!$&'()*+,;=:@\0" ; pub const G_URI_RESERVED_CHARS_ALLOWED_IN_PATH : & 'static [ u8 ; 15usize ] = b"!$&'()*+,;=:@/\0" ; pub const G_URI_RESERVED_CHARS_ALLOWED_IN_USERINFO : & 'static [ u8 ; 13usize ] = b"!$&'()*+,;=:\0" ; pub const G_ALLOC_ONLY : u32 = 1 ; pub const G_ALLOC_AND_FREE : u32 = 2 ; pub const G_ALLOCATOR_LIST : u32 = 1 ; pub const G_ALLOCATOR_SLIST : u32 = 2 ; pub const G_ALLOCATOR_NODE : u32 = 3 ; pub const _PTHREAD_H : u32 = 1 ; pub const _SCHED_H : u32 = 1 ; pub const _BITS_SCHED_H : u32 = 1 ; pub const SCHED_OTHER : u32 = 0 ; pub const SCHED_FIFO : u32 = 1 ; pub const SCHED_RR : u32 = 2 ; pub const _BITS_TYPES_STRUCT_SCHED_PARAM : u32 = 1 ; pub const _BITS_CPU_SET_H : u32 = 1 ; pub const __CPU_SETSIZE : u32 = 1024 ; pub const _BITS_SETJMP_H : u32 = 1 ; pub const __jmp_buf_tag_defined : u32 = 1 ; pub const PTHREAD_ONCE_INIT : u32 = 0 ; pub const PTHREAD_BARRIER_SERIAL_THREAD : i32 = -1 ; pub const _STDIO_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = -1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [ u8 ; 5usize ] = b"/tmp\0" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _SYS_STAT_H : u32 = 1 ; pub const _BITS_STAT_H : u32 = 1 ; pub const _BITS_STRUCT_STAT_H : u32 = 1 ; pub const __S_IFMT : u32 = 61440 ; pub const __S_IFDIR : u32 = 16384 ; pub const __S_IFCHR : u32 = 8192 ; pub const __S_IFBLK : u32 = 24576 ; pub const __S_IFREG : u32 = 32768 ; pub const __S_IFIFO : u32 = 4096 ; pub const __S_IFLNK : u32 = 40960 ; pub const __S_IFSOCK : u32 = 49152 ; pub const __S_ISUID : u32 = 2048 ; pub const __S_ISGID : u32 = 1024 ; pub const __S_ISVTX : u32 = 512 ; pub const __S_IREAD : u32 = 256 ; pub const __S_IWRITE : u32 = 128 ; pub const __S_IEXEC : u32 = 64 ; pub const UTIME_NOW : u32 = 1073741823 ; pub const UTIME_OMIT : u32 = 1073741822 ; pub const S_IFMT : u32 = 61440 ; pub const S_IFDIR : u32 = 16384 ; pub const S_IFCHR : u32 = 8192 ; pub const S_IFBLK : u32 = 24576 ; pub const S_IFREG : u32 = 32768 ; pub const S_IFIFO : u32 = 4096 ; pub const S_IFLNK : u32 = 40960 ; pub const S_IFSOCK : u32 = 49152 ; pub const S_ISUID : u32 = 2048 ; pub const S_ISGID : u32 = 1024 ; pub const S_ISVTX : u32 = 512 ; pub const S_IRUSR : u32 = 256 ; pub const S_IWUSR : u32 = 128 ; pub const S_IXUSR : u32 = 64 ; pub const S_IRWXU : u32 = 448 ; pub const S_IREAD : u32 = 256 ; pub const S_IWRITE : u32 = 128 ; pub const S_IEXEC : u32 = 64 ; pub const S_IRGRP : u32 = 32 ; pub const S_IWGRP : u32 = 16 ; pub const S_IXGRP : u32 = 8 ; pub const S_IRWXG : u32 = 56 ; pub const S_IROTH : u32 = 4 ; pub const S_IWOTH : u32 = 2 ; pub const S_IXOTH : u32 = 1 ; pub const S_IRWXO : u32 = 7 ; pub const ACCESSPERMS : u32 = 511 ; pub const ALLPERMS : u32 = 4095 ; pub const DEFFILEMODE : u32 = 438 ; pub const S_BLKSIZE : u32 = 512 ; pub const G_TYPE_FUNDAMENTAL_SHIFT : u32 = 2 ; pub const G_TYPE_FUNDAMENTAL_MAX : u32 = 1020 ; pub const G_TYPE_RESERVED_GLIB_FIRST : u32 = 22 ; pub const G_TYPE_RESERVED_GLIB_LAST : u32 = 31 ; pub const G_TYPE_RESERVED_BSE_FIRST : u32 = 32 ; pub const G_TYPE_RESERVED_BSE_LAST : u32 = 48 ; pub const G_TYPE_RESERVED_USER_FIRST : u32 = 49 ; pub const G_VALUE_NOCOPY_CONTENTS : u32 = 134217728 ; pub const G_VALUE_INTERNED_STRING : u32 = 268435456 ; pub const G_PARAM_MASK : u32 = 255 ; pub const G_PARAM_USER_SHIFT : u32 = 8 ; pub const G_SIGNAL_FLAGS_MASK : u32 = 511 ; pub const G_SIGNAL_MATCH_MASK : u32 = 63 ; pub const _UNISTD_H : u32 = 1 ; pub const _POSIX_VERSION : u32 = 200809 ; pub const __POSIX2_THIS_VERSION : u32 = 200809 ; pub const _POSIX2_VERSION : u32 = 200809 ; pub const _POSIX2_C_VERSION : u32 = 200809 ; pub const _POSIX2_C_BIND : u32 = 200809 ; pub const _POSIX2_C_DEV : u32 = 200809 ; pub const _POSIX2_SW_DEV : u32 = 200809 ; pub const _POSIX2_LOCALEDEF : u32 = 200809 ; pub const _XOPEN_VERSION : u32 = 700 ; pub const _XOPEN_XCU_VERSION : u32 = 4 ; pub const _XOPEN_XPG2 : u32 = 1 ; pub const _XOPEN_XPG3 : u32 = 1 ; pub const _XOPEN_XPG4 : u32 = 1 ; pub const _XOPEN_UNIX : u32 = 1 ; pub const _XOPEN_ENH_I18N : u32 = 1 ; pub const _XOPEN_LEGACY : u32 = 1 ; pub const _BITS_POSIX_OPT_H : u32 = 1 ; pub const _POSIX_JOB_CONTROL : u32 = 1 ; pub const _POSIX_SAVED_IDS : u32 = 1 ; pub const _POSIX_PRIORITY_SCHEDULING : u32 = 200809 ; pub const _POSIX_SYNCHRONIZED_IO : u32 = 200809 ; pub const _POSIX_FSYNC : u32 = 200809 ; pub const _POSIX_MAPPED_FILES : u32 = 200809 ; pub const _POSIX_MEMLOCK : u32 = 200809 ; pub const _POSIX_MEMLOCK_RANGE : u32 = 200809 ; pub const _POSIX_MEMORY_PROTECTION : u32 = 200809 ; pub const _POSIX_CHOWN_RESTRICTED : u32 = 0 ; pub const _POSIX_VDISABLE : u8 = 0u8 ; pub const _POSIX_NO_TRUNC : u32 = 1 ; pub const _XOPEN_REALTIME : u32 = 1 ; pub const _XOPEN_REALTIME_THREADS : u32 = 1 ; pub const _XOPEN_SHM : u32 = 1 ; pub const _POSIX_THREADS : u32 = 200809 ; pub const _POSIX_REENTRANT_FUNCTIONS : u32 = 1 ; pub const _POSIX_THREAD_SAFE_FUNCTIONS : u32 = 200809 ; pub const _POSIX_THREAD_PRIORITY_SCHEDULING : u32 = 200809 ; pub const _POSIX_THREAD_ATTR_STACKSIZE : u32 = 200809 ; pub const _POSIX_THREAD_ATTR_STACKADDR : u32 = 200809 ; pub const _POSIX_THREAD_PRIO_INHERIT : u32 = 200809 ; pub const _POSIX_THREAD_PRIO_PROTECT : u32 = 200809 ; pub const _POSIX_THREAD_ROBUST_PRIO_INHERIT : u32 = 200809 ; pub const _POSIX_THREAD_ROBUST_PRIO_PROTECT : i32 = -1 ; pub const _POSIX_SEMAPHORES : u32 = 200809 ; pub const _POSIX_REALTIME_SIGNALS : u32 = 200809 ; pub const _POSIX_ASYNCHRONOUS_IO : u32 = 200809 ; pub const _POSIX_ASYNC_IO : u32 = 1 ; pub const _LFS_ASYNCHRONOUS_IO : u32 = 1 ; pub const _POSIX_PRIORITIZED_IO : u32 = 200809 ; pub const _LFS64_ASYNCHRONOUS_IO : u32 = 1 ; pub const _LFS_LARGEFILE : u32 = 1 ; pub const _LFS64_LARGEFILE : u32 = 1 ; pub const _LFS64_STDIO : u32 = 1 ; pub const _POSIX_SHARED_MEMORY_OBJECTS : u32 = 200809 ; pub const _POSIX_CPUTIME : u32 = 0 ; pub const _POSIX_THREAD_CPUTIME : u32 = 0 ; pub const _POSIX_REGEXP : u32 = 1 ; pub const _POSIX_READER_WRITER_LOCKS : u32 = 200809 ; pub const _POSIX_SHELL : u32 = 1 ; pub const _POSIX_TIMEOUTS : u32 = 200809 ; pub const _POSIX_SPIN_LOCKS : u32 = 200809 ; pub const _POSIX_SPAWN : u32 = 200809 ; pub const _POSIX_TIMERS : u32 = 200809 ; pub const _POSIX_BARRIERS : u32 = 200809 ; pub const _POSIX_MESSAGE_PASSING : u32 = 200809 ; pub const _POSIX_THREAD_PROCESS_SHARED : u32 = 200809 ; pub const _POSIX_MONOTONIC_CLOCK : u32 = 0 ; pub const _POSIX_CLOCK_SELECTION : u32 = 200809 ; pub const _POSIX_ADVISORY_INFO : u32 = 200809 ; pub const _POSIX_IPV6 : u32 = 200809 ; pub const _POSIX_RAW_SOCKETS : u32 = 200809 ; pub const _POSIX2_CHAR_TERM : u32 = 200809 ; pub const _POSIX_SPORADIC_SERVER : i32 = -1 ; pub const _POSIX_THREAD_SPORADIC_SERVER : i32 = -1 ; pub const _POSIX_TRACE : i32 = -1 ; pub const _POSIX_TRACE_EVENT_FILTER : i32 = -1 ; pub const _POSIX_TRACE_INHERIT : i32 = -1 ; pub const _POSIX_TRACE_LOG : i32 = -1 ; pub const _POSIX_TYPED_MEMORY_OBJECTS : i32 = -1 ; pub const _POSIX_V7_LPBIG_OFFBIG : i32 = -1 ; pub const _POSIX_V6_LPBIG_OFFBIG : i32 = -1 ; pub const _XBS5_LPBIG_OFFBIG : i32 = -1 ; pub const _POSIX_V7_LP64_OFF64 : u32 = 1 ; pub const _POSIX_V6_LP64_OFF64 : u32 = 1 ; pub const _XBS5_LP64_OFF64 : u32 = 1 ; pub const __ILP32_OFF32_CFLAGS : & 'static [ u8 ; 5usize ] = b"-m32\0" ; pub const __ILP32_OFF32_LDFLAGS : & 'static [ u8 ; 5usize ] = b"-m32\0" ; pub const __ILP32_OFFBIG_CFLAGS : & 'static [ u8 ; 48usize ] = b"-m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\0" ; pub const __ILP32_OFFBIG_LDFLAGS : & 'static [ u8 ; 5usize ] = b"-m32\0" ; pub const __LP64_OFF64_CFLAGS : & 'static [ u8 ; 5usize ] = b"-m64\0" ; pub const __LP64_OFF64_LDFLAGS : & 'static [ u8 ; 5usize ] = b"-m64\0" ; pub const STDIN_FILENO : u32 = 0 ; pub const STDOUT_FILENO : u32 = 1 ; pub const STDERR_FILENO : u32 = 2 ; pub const R_OK : u32 = 4 ; pub const W_OK : u32 = 2 ; pub const X_OK : u32 = 1 ; pub const F_OK : u32 = 0 ; pub const L_SET : u32 = 0 ; pub const L_INCR : u32 = 1 ; pub const L_XTND : u32 = 2 ; pub const _GETOPT_POSIX_H : u32 = 1 ; pub const _GETOPT_CORE_H : u32 = 1 ; pub const F_ULOCK : u32 = 0 ; pub const F_LOCK : u32 = 1 ; pub const F_TLOCK : u32 = 2 ; pub const F_TEST : u32 = 3 ; pub const G_DBUS_METHOD_INVOCATION_UNHANDLED : u32 = 0 ; pub const G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME : & 'static [ u8 ; 21usize ] = b"gio-debug-controller\0" ; pub const G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE : & 'static [ u8 ; 12usize ] = b"unix-device\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_TYPE : & 'static [ u8 ; 15usize ] = b"standard::type\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN : & 'static [ u8 ; 20usize ] = b"standard::is-hidden\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP : & 'static [ u8 ; 20usize ] = b"standard::is-backup\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK : & 'static [ u8 ; 21usize ] = b"standard::is-symlink\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL : & 'static [ u8 ; 21usize ] = b"standard::is-virtual\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE : & 'static [ u8 ; 22usize ] = b"standard::is-volatile\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_NAME : & 'static [ u8 ; 15usize ] = b"standard::name\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME : & 'static [ u8 ; 23usize ] = b"standard::display-name\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME : & 'static [ u8 ; 20usize ] = b"standard::edit-name\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_COPY_NAME : & 'static [ u8 ; 20usize ] = b"standard::copy-name\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION : & 'static [ u8 ; 22usize ] = b"standard::description\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_ICON : & 'static [ u8 ; 15usize ] = b"standard::icon\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON : & 'static [ u8 ; 24usize ] = b"standard::symbolic-icon\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE : & 'static [ u8 ; 23usize ] = b"standard::content-type\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE : & 'static [ u8 ; 28usize ] = b"standard::fast-content-type\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_SIZE : & 'static [ u8 ; 15usize ] = b"standard::size\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE : & 'static [ u8 ; 25usize ] = b"standard::allocated-size\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET : & 'static [ u8 ; 25usize ] = b"standard::symlink-target\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_TARGET_URI : & 'static [ u8 ; 21usize ] = b"standard::target-uri\0" ; pub const G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER : & 'static [ u8 ; 21usize ] = b"standard::sort-order\0" ; pub const G_FILE_ATTRIBUTE_ETAG_VALUE : & 'static [ u8 ; 12usize ] = b"etag::value\0" ; pub const G_FILE_ATTRIBUTE_ID_FILE : & 'static [ u8 ; 9usize ] = b"id::file\0" ; pub const G_FILE_ATTRIBUTE_ID_FILESYSTEM : & 'static [ u8 ; 15usize ] = b"id::filesystem\0" ; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_READ : & 'static [ u8 ; 17usize ] = b"access::can-read\0" ; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE : & 'static [ u8 ; 18usize ] = b"access::can-write\0" ; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE : & 'static [ u8 ; 20usize ] = b"access::can-execute\0" ; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE : & 'static [ u8 ; 19usize ] = b"access::can-delete\0" ; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH : & 'static [ u8 ; 18usize ] = b"access::can-trash\0" ; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME : & 'static [ u8 ; 19usize ] = b"access::can-rename\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT : & 'static [ u8 ; 21usize ] = b"mountable::can-mount\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT : & 'static [ u8 ; 23usize ] = b"mountable::can-unmount\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT : & 'static [ u8 ; 21usize ] = b"mountable::can-eject\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE : & 'static [ u8 ; 23usize ] = b"mountable::unix-device\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE : & 'static [ u8 ; 28usize ] = b"mountable::unix-device-file\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI : & 'static [ u8 ; 19usize ] = b"mountable::hal-udi\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START : & 'static [ u8 ; 21usize ] = b"mountable::can-start\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED : & 'static [ u8 ; 30usize ] = b"mountable::can-start-degraded\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP : & 'static [ u8 ; 20usize ] = b"mountable::can-stop\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE : & 'static [ u8 ; 27usize ] = b"mountable::start-stop-type\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL : & 'static [ u8 ; 20usize ] = b"mountable::can-poll\0" ; pub const G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC : & 'static [ u8 ; 36usize ] = b"mountable::is-media-check-automatic\0" ; pub const G_FILE_ATTRIBUTE_TIME_MODIFIED : & 'static [ u8 ; 15usize ] = b"time::modified\0" ; pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC : & 'static [ u8 ; 20usize ] = b"time::modified-usec\0" ; pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC : & 'static [ u8 ; 20usize ] = b"time::modified-nsec\0" ; pub const G_FILE_ATTRIBUTE_TIME_ACCESS : & 'static [ u8 ; 13usize ] = b"time::access\0" ; pub const G_FILE_ATTRIBUTE_TIME_ACCESS_USEC : & 'static [ u8 ; 18usize ] = b"time::access-usec\0" ; pub const G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC : & 'static [ u8 ; 18usize ] = b"time::access-nsec\0" ; pub const G_FILE_ATTRIBUTE_TIME_CHANGED : & 'static [ u8 ; 14usize ] = b"time::changed\0" ; pub const G_FILE_ATTRIBUTE_TIME_CHANGED_USEC : & 'static [ u8 ; 19usize ] = b"time::changed-usec\0" ; pub const G_FILE_ATTRIBUTE_TIME_CHANGED_NSEC : & 'static [ u8 ; 19usize ] = b"time::changed-nsec\0" ; pub const G_FILE_ATTRIBUTE_TIME_CREATED : & 'static [ u8 ; 14usize ] = b"time::created\0" ; pub const G_FILE_ATTRIBUTE_TIME_CREATED_USEC : & 'static [ u8 ; 19usize ] = b"time::created-usec\0" ; pub const G_FILE_ATTRIBUTE_TIME_CREATED_NSEC : & 'static [ u8 ; 19usize ] = b"time::created-nsec\0" ; pub const G_FILE_ATTRIBUTE_UNIX_DEVICE : & 'static [ u8 ; 13usize ] = b"unix::device\0" ; pub const G_FILE_ATTRIBUTE_UNIX_INODE : & 'static [ u8 ; 12usize ] = b"unix::inode\0" ; pub const G_FILE_ATTRIBUTE_UNIX_MODE : & 'static [ u8 ; 11usize ] = b"unix::mode\0" ; pub const G_FILE_ATTRIBUTE_UNIX_NLINK : & 'static [ u8 ; 12usize ] = b"unix::nlink\0" ; pub const G_FILE_ATTRIBUTE_UNIX_UID : & 'static [ u8 ; 10usize ] = b"unix::uid\0" ; pub const G_FILE_ATTRIBUTE_UNIX_GID : & 'static [ u8 ; 10usize ] = b"unix::gid\0" ; pub const G_FILE_ATTRIBUTE_UNIX_RDEV : & 'static [ u8 ; 11usize ] = b"unix::rdev\0" ; pub const G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE : & 'static [ u8 ; 17usize ] = b"unix::block-size\0" ; pub const G_FILE_ATTRIBUTE_UNIX_BLOCKS : & 'static [ u8 ; 13usize ] = b"unix::blocks\0" ; pub const G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT : & 'static [ u8 ; 20usize ] = b"unix::is-mountpoint\0" ; pub const G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE : & 'static [ u8 ; 16usize ] = b"dos::is-archive\0" ; pub const G_FILE_ATTRIBUTE_DOS_IS_SYSTEM : & 'static [ u8 ; 15usize ] = b"dos::is-system\0" ; pub const G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT : & 'static [ u8 ; 19usize ] = b"dos::is-mountpoint\0" ; pub const G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG : & 'static [ u8 ; 23usize ] = b"dos::reparse-point-tag\0" ; pub const G_FILE_ATTRIBUTE_OWNER_USER : & 'static [ u8 ; 12usize ] = b"owner::user\0" ; pub const G_FILE_ATTRIBUTE_OWNER_USER_REAL : & 'static [ u8 ; 17usize ] = b"owner::user-real\0" ; pub const G_FILE_ATTRIBUTE_OWNER_GROUP : & 'static [ u8 ; 13usize ] = b"owner::group\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH : & 'static [ u8 ; 16usize ] = b"thumbnail::path\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED : & 'static [ u8 ; 18usize ] = b"thumbnail::failed\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID : & 'static [ u8 ; 20usize ] = b"thumbnail::is-valid\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL : & 'static [ u8 ; 23usize ] = b"thumbnail::path-normal\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL : & 'static [ u8 ; 25usize ] = b"thumbnail::failed-normal\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL : & 'static [ u8 ; 27usize ] = b"thumbnail::is-valid-normal\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE : & 'static [ u8 ; 22usize ] = b"thumbnail::path-large\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE : & 'static [ u8 ; 24usize ] = b"thumbnail::failed-large\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE : & 'static [ u8 ; 26usize ] = b"thumbnail::is-valid-large\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE : & 'static [ u8 ; 23usize ] = b"thumbnail::path-xlarge\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE : & 'static [ u8 ; 25usize ] = b"thumbnail::failed-xlarge\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE : & 'static [ u8 ; 27usize ] = b"thumbnail::is-valid-xlarge\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE : & 'static [ u8 ; 24usize ] = b"thumbnail::path-xxlarge\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE : & 'static [ u8 ; 26usize ] = b"thumbnail::failed-xxlarge\0" ; pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE : & 'static [ u8 ; 28usize ] = b"thumbnail::is-valid-xxlarge\0" ; pub const G_FILE_ATTRIBUTE_PREVIEW_ICON : & 'static [ u8 ; 14usize ] = b"preview::icon\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_SIZE : & 'static [ u8 ; 17usize ] = b"filesystem::size\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_FREE : & 'static [ u8 ; 17usize ] = b"filesystem::free\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_USED : & 'static [ u8 ; 17usize ] = b"filesystem::used\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_TYPE : & 'static [ u8 ; 17usize ] = b"filesystem::type\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_READONLY : & 'static [ u8 ; 21usize ] = b"filesystem::readonly\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW : & 'static [ u8 ; 24usize ] = b"filesystem::use-preview\0" ; pub const G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE : & 'static [ u8 ; 19usize ] = b"filesystem::remote\0" ; pub const G_FILE_ATTRIBUTE_GVFS_BACKEND : & 'static [ u8 ; 14usize ] = b"gvfs::backend\0" ; pub const G_FILE_ATTRIBUTE_SELINUX_CONTEXT : & 'static [ u8 ; 17usize ] = b"selinux::context\0" ; pub const G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT : & 'static [ u8 ; 18usize ] = b"trash::item-count\0" ; pub const G_FILE_ATTRIBUTE_TRASH_ORIG_PATH : & 'static [ u8 ; 17usize ] = b"trash::orig-path\0" ; pub const G_FILE_ATTRIBUTE_TRASH_DELETION_DATE : & 'static [ u8 ; 21usize ] = b"trash::deletion-date\0" ; pub const G_FILE_ATTRIBUTE_RECENT_MODIFIED : & 'static [ u8 ; 17usize ] = b"recent::modified\0" ; pub const G_MEMORY_MONITOR_EXTENSION_POINT_NAME : & 'static [ u8 ; 19usize ] = b"gio-memory-monitor\0" ; pub const G_MENU_ATTRIBUTE_ACTION : & 'static [ u8 ; 7usize ] = b"action\0" ; pub const G_MENU_ATTRIBUTE_ACTION_NAMESPACE : & 'static [ u8 ; 17usize ] = b"action-namespace\0" ; pub const G_MENU_ATTRIBUTE_TARGET : & 'static [ u8 ; 7usize ] = b"target\0" ; pub const G_MENU_ATTRIBUTE_LABEL : & 'static [ u8 ; 6usize ] = b"label\0" ; pub const G_MENU_ATTRIBUTE_ICON : & 'static [ u8 ; 5usize ] = b"icon\0" ; pub const G_MENU_LINK_SUBMENU : & 'static [ u8 ; 8usize ] = b"submenu\0" ; pub const G_MENU_LINK_SECTION : & 'static [ u8 ; 8usize ] = b"section\0" ; pub const G_MENU_EXPORTER_MAX_SECTION_SIZE : u32 = 1000 ; pub const G_VOLUME_MONITOR_EXTENSION_POINT_NAME : & 'static [ u8 ; 19usize ] = b"gio-volume-monitor\0" ; pub const G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME : & 'static [ u8 ; 26usize ] = b"gio-native-volume-monitor\0" ; pub const G_NETWORK_MONITOR_EXTENSION_POINT_NAME : & 'static [ u8 ; 20usize ] = b"gio-network-monitor\0" ; pub const G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME : & 'static [ u8 ; 26usize ] = b"gio-power-profile-monitor\0" ; pub const G_PROXY_EXTENSION_POINT_NAME : & 'static [ u8 ; 10usize ] = b"gio-proxy\0" ; pub const G_PROXY_RESOLVER_EXTENSION_POINT_NAME : & 'static [ u8 ; 19usize ] = b"gio-proxy-resolver\0" ; pub const G_TLS_BACKEND_EXTENSION_POINT_NAME : & 'static [ u8 ; 16usize ] = b"gio-tls-backend\0" ; pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER : & 'static [ u8 ; 18usize ] = b"1.3.6.1.5.5.7.3.1\0" ; pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT : & 'static [ u8 ; 18usize ] = b"1.3.6.1.5.5.7.3.2\0" ; pub const G_VFS_EXTENSION_POINT_NAME : & 'static [ u8 ; 8usize ] = b"gio-vfs\0" ; pub const G_VOLUME_IDENTIFIER_KIND_HAL_UDI : & 'static [ u8 ; 8usize ] = b"hal-udi\0" ; pub const G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE : & 'static [ u8 ; 12usize ] = b"unix-device\0" ; pub const G_VOLUME_IDENTIFIER_KIND_LABEL : & 'static [ u8 ; 6usize ] = b"label\0" ; pub const G_VOLUME_IDENTIFIER_KIND_UUID : & 'static [ u8 ; 5usize ] = b"uuid\0" ; pub const G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT : & 'static [ u8 ; 10usize ] = b"nfs-mount\0" ; pub const G_VOLUME_IDENTIFIER_KIND_CLASS : & 'static [ u8 ; 6usize ] = b"class\0" ; pub const _MATH_H : u32 = 1 ; pub const _BITS_LIBM_SIMD_DECL_STUBS_H : u32 = 1 ; pub const __FP_LOGB0_IS_MIN : u32 = 1 ; pub const __FP_LOGBNAN_IS_MIN : u32 = 1 ; pub const FP_ILOGB0 : i32 = -2147483648 ; pub const FP_ILOGBNAN : i32 = -2147483648 ; pub const __MATH_DECLARING_DOUBLE : u32 = 1 ; pub const __MATH_DECLARING_FLOATN : u32 = 0 ; pub const __MATH_DECLARE_LDOUBLE : u32 = 1 ; pub const FP_NAN : u32 = 0 ; pub const FP_INFINITE : u32 = 1 ; pub const FP_ZERO : u32 = 2 ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 3 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const VIPS_PI : f64 = 3.141592653589793 ; pub const VIPS_PATH_MAX : u32 = 4096 ; pub const VIPS_TARGET_BUFFER_SIZE : u32 = 8500 ; pub const VIPS_TARGET_CUSTOM_BUFFER_SIZE : u32 = 4096 ; pub const VIPS_SBUF_BUFFER_SIZE : u32 = 4096 ; pub const VIPS_VERSION : & 'static [ u8 ; 7usize ] = b"8.15.1\0" ; pub const VIPS_VERSION_STRING : & 'static [ u8 ; 7usize ] = b"8.15.1\0" ; pub const VIPS_MAJOR_VERSION : u32 = 8 ; pub const VIPS_MINOR_VERSION : u32 = 15 ; pub const VIPS_MICRO_VERSION : u32 = 1 ; pub const VIPS_LIBRARY_CURRENT : u32 = 59 ; pub const VIPS_LIBRARY_REVISION : u32 = 1 ; pub const VIPS_LIBRARY_AGE : u32 = 17 ; pub const VIPS_CONFIG : & 'static [ u8 ; 1329usize ] = b"enable debug: false\\nenable deprecated: true\\nenable modules: true\\nenable cplusplus: true\\nenable RAD load/save: true\\nenable Analyze7 load/save: true\\nenable PPM load/save: true\\nenable GIF load: true\\nuse fftw for FFTs: true\\nSIMD support with highway: true\\naccelerate loops with ORC: false\\nICC profile support with lcms: true\\nzlib: true\\ntext rendering with pangocairo: true\\nfont file support with fontconfig: true\\nEXIF metadata support with libexif: true\\nJPEG load/save with libjpeg: true\\nJXL load/save with libjxl: true (dynamic module: true)\\nJPEG2000 load/save with OpenJPEG: true\\nPNG load/save with libspng: true\\nPNG load/save with libpng: false\\nselected quantisation package: imagequant\\nTIFF load/save with libtiff: true\\nimage pyramid save with libarchive: true\\nHEIC/AVIF load/save with libheif: true (dynamic module: true)\\nWebP load/save with libwebp: true\\nPDF load with PDFium: false\\nPDF load with poppler-glib: true (dynamic module: true)\\nSVG load with librsvg: true\\nEXR load with OpenEXR: true\\nOpenSlide load: true (dynamic module: true)\\nMatlab load with libmatio: true\\nNIfTI load/save with niftiio: false\\nFITS load/save with cfitsio: true\\nGIF save with cgif: true\\nselected Magick package: MagickCore (dynamic module: true)\\nMagick API version: magick6\\nMagick load: true\\nMagick save: true\0" ; pub const VIPS_ENABLE_DEPRECATED : u32 = 1 ; pub const VIPS_SPARE : u32 = 8 ; pub const VIPS__WINDOW_MARGIN_PIXELS : u32 = 128 ; pub const VIPS__WINDOW_MARGIN_BYTES : u32 = 10485760 ; pub const VIPS_SIZEOF_HEADER : u32 = 64 ; pub const VIPS__TILE_WIDTH : u32 = 128 ; pub const VIPS__TILE_HEIGHT : u32 = 128 ; pub const VIPS__THINSTRIP_HEIGHT : u32 = 1 ; pub const VIPS__FATSTRIP_HEIGHT : u32 = 16 ; pub const VIPS_MAGIC_INTEL : u32 = 3064394248 ; pub const VIPS_MAGIC_SPARC : u32 = 150120118 ; pub const VIPS_MAX_COORD : u32 = 10000000 ; pub const VIPS_TRANSFORM_SHIFT : u32 = 6 ; pub const VIPS_TRANSFORM_SCALE : u32 = 64 ; pub const VIPS_INTERPOLATE_SHIFT : u32 = 12 ; pub const VIPS_INTERPOLATE_SCALE : u32 = 4096 ; pub const VIPS_META_EXIF_NAME : & 'static [ u8 ; 10usize ] = b"exif-data\0" ; pub const VIPS_META_XMP_NAME : & 'static [ u8 ; 9usize ] = b"xmp-data\0" ; pub const VIPS_META_IPTC_NAME : & 'static [ u8 ; 10usize ] = b"iptc-data\0" ; pub const VIPS_META_PHOTOSHOP_NAME : & 'static [ u8 ; 15usize ] = b"photoshop-data\0" ; pub const VIPS_META_ICC_NAME : & 'static [ u8 ; 17usize ] = b"icc-profile-data\0" ; pub const VIPS_META_IMAGEDESCRIPTION : & 'static [ u8 ; 18usize ] = b"image-description\0" ; pub const VIPS_META_RESOLUTION_UNIT : & 'static [ u8 ; 16usize ] = b"resolution-unit\0" ; pub const VIPS_META_BITS_PER_SAMPLE : & 'static [ u8 ; 16usize ] = b"bits-per-sample\0" ; pub const VIPS_META_LOADER : & 'static [ u8 ; 12usize ] = b"vips-loader\0" ; pub const VIPS_META_SEQUENTIAL : & 'static [ u8 ; 16usize ] = b"vips-sequential\0" ; pub const VIPS_META_ORIENTATION : & 'static [ u8 ; 12usize ] = b"orientation\0" ; pub const VIPS_META_PAGE_HEIGHT : & 'static [ u8 ; 12usize ] = b"page-height\0" ; pub const VIPS_META_N_PAGES : & 'static [ u8 ; 8usize ] = b"n-pages\0" ; pub const VIPS_META_N_SUBIFDS : & 'static [ u8 ; 10usize ] = b"n-subifds\0" ; pub const VIPS_META_CONCURRENCY : & 'static [ u8 ; 12usize ] = b"concurrency\0" ; pub const VIPS_D93_X0 : f64 = 89.74 ; pub const VIPS_D93_Y0 : f64 = 100. ; pub const VIPS_D93_Z0 : f64 = 130.77 ; pub const VIPS_D75_X0 : f64 = 94.9682 ; pub const VIPS_D75_Y0 : f64 = 100. ; pub const VIPS_D75_Z0 : f64 = 122.571 ; pub const VIPS_D65_X0 : f64 = 95.047 ; pub const VIPS_D65_Y0 : f64 = 100. ; pub const VIPS_D65_Z0 : f64 = 108.8827 ; pub const VIPS_D55_X0 : f64 = 95.6831 ; pub const VIPS_D55_Y0 : f64 = 100. ; pub const VIPS_D55_Z0 : f64 = 92.0871 ; pub const VIPS_D50_X0 : f64 = 96.425 ; pub const VIPS_D50_Y0 : f64 = 100. ; pub const VIPS_D50_Z0 : f64 = 82.468 ; pub const VIPS_A_X0 : f64 = 109.8503 ; pub const VIPS_A_Y0 : f64 = 100. ; pub const VIPS_A_Z0 : f64 = 35.5849 ; pub const VIPS_B_X0 : f64 = 99.072 ; pub const VIPS_B_Y0 : f64 = 100. ; pub const VIPS_B_Z0 : f64 = 85.223 ; pub const VIPS_C_X0 : f64 = 98.07 ; pub const VIPS_C_Y0 : f64 = 100. ; pub const VIPS_C_Z0 : f64 = 118.23 ; pub const VIPS_E_X0 : f64 = 100. ; pub const VIPS_E_Y0 : f64 = 100. ; pub const VIPS_E_Z0 : f64 = 100. ; pub const VIPS_D3250_X0 : f64 = 105.659 ; pub const VIPS_D3250_Y0 : f64 = 100. ; pub const VIPS_D3250_Z0 : f64 = 45.8501 ; pub type wchar_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ 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 : f64 , } # [ 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 ! ( 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 gint8 = :: std :: os :: raw :: c_schar ; pub type guint8 = :: std :: os :: raw :: c_uchar ; pub type gint16 = :: std :: os :: raw :: c_short ; pub type guint16 = :: std :: os :: raw :: c_ushort ; pub type gint32 = :: std :: os :: raw :: c_int ; pub type guint32 = :: std :: os :: raw :: c_uint ; pub type gint64 = :: std :: os :: raw :: c_long ; pub type guint64 = :: std :: os :: raw :: c_ulong ; pub type gssize = :: std :: os :: raw :: c_long ; pub type gsize = :: std :: os :: raw :: c_ulong ; pub type goffset = gint64 ; pub type gintptr = :: std :: os :: raw :: c_long ; pub type guintptr = :: std :: os :: raw :: c_ulong ; pub type GPid = :: std :: os :: raw :: c_int ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __fsid_t { pub __val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __fsid_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type clock_t = __clock_t ; pub type time_t = __time_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tm { pub tm_sec : :: std :: os :: raw :: c_int , pub tm_min : :: std :: os :: raw :: c_int , pub tm_hour : :: std :: os :: raw :: c_int , pub tm_mday : :: std :: os :: raw :: c_int , pub tm_mon : :: std :: os :: raw :: c_int , pub tm_year : :: std :: os :: raw :: c_int , pub tm_wday : :: std :: os :: raw :: c_int , pub tm_yday : :: std :: os :: raw :: c_int , pub tm_isdst : :: std :: os :: raw :: c_int , pub tm_gmtoff : :: std :: os :: raw :: c_long , pub tm_zone : * const :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_tm ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tm > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( tm ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tm > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_min as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_hour as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_hour ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_mday as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_mday ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_mon as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_mon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_year as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_year ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_wday as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_wday ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_yday as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_yday ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_isdst as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_isdst ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_gmtoff as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_gmtoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tm > ( ) ) ) . tm_zone as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tm ) , "::" , stringify ! ( tm_zone ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct timespec { pub tv_sec : __time_t , pub tv_nsec : __syscall_slong_t , } # [ test ] fn bindgen_test_layout_timespec ( ) { assert_eq ! ( :: std :: mem :: size_of :: < timespec > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( timespec ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < timespec > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( timespec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timespec > ( ) ) ) . tv_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( timespec ) , "::" , stringify ! ( tv_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timespec > ( ) ) ) . tv_nsec as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( timespec ) , "::" , stringify ! ( tv_nsec ) ) ) ; } pub type clockid_t = __clockid_t ; pub type timer_t = __timer_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct itimerspec { pub it_interval : timespec , pub it_value : timespec , } # [ test ] fn bindgen_test_layout_itimerspec ( ) { assert_eq ! ( :: std :: mem :: size_of :: < itimerspec > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( itimerspec ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < itimerspec > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( itimerspec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < itimerspec > ( ) ) ) . it_interval as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( itimerspec ) , "::" , stringify ! ( it_interval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < itimerspec > ( ) ) ) . it_value as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( itimerspec ) , "::" , stringify ! ( it_value ) ) ) ; } pub type pid_t = __pid_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_t ; 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 clock ( ) -> clock_t ; } extern "C" { pub fn time ( __timer : * mut time_t ) -> time_t ; } extern "C" { pub fn difftime ( __time1 : time_t , __time0 : time_t ) -> f64 ; } extern "C" { pub fn mktime ( __tp : * mut tm ) -> time_t ; } extern "C" { pub fn strftime ( __s : * mut :: std :: os :: raw :: c_char , __maxsize : usize , __format : * const :: std :: os :: raw :: c_char , __tp : * const tm ) -> usize ; } extern "C" { pub fn strftime_l ( __s : * mut :: std :: os :: raw :: c_char , __maxsize : usize , __format : * const :: std :: os :: raw :: c_char , __tp : * const tm , __loc : locale_t ) -> usize ; } extern "C" { pub fn gmtime ( __timer : * const time_t ) -> * mut tm ; } extern "C" { pub fn localtime ( __timer : * const time_t ) -> * mut tm ; } extern "C" { pub fn gmtime_r ( __timer : * const time_t , __tp : * mut tm ) -> * mut tm ; } extern "C" { pub fn localtime_r ( __timer : * const time_t , __tp : * mut tm ) -> * mut tm ; } extern "C" { pub fn asctime ( __tp : * const tm ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ctime ( __timer : * const time_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn asctime_r ( __tp : * const tm , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ctime_r ( __timer : * const time_t , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}__tzname" ] pub static mut __tzname : [ * mut :: std :: os :: raw :: c_char ; 2usize ] ; } extern "C" { # [ link_name = "\u{1}__daylight" ] pub static mut __daylight : :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__timezone" ] pub static mut __timezone : :: std :: os :: raw :: c_long ; } extern "C" { # [ link_name = "\u{1}tzname" ] pub static mut tzname : [ * mut :: std :: os :: raw :: c_char ; 2usize ] ; } extern "C" { pub fn tzset ( ) ; } extern "C" { # [ link_name = "\u{1}daylight" ] pub static mut daylight : :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}timezone" ] pub static mut timezone : :: std :: os :: raw :: c_long ; } extern "C" { pub fn timegm ( __tp : * mut tm ) -> time_t ; } extern "C" { pub fn timelocal ( __tp : * mut tm ) -> time_t ; } extern "C" { pub fn dysize ( __year : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nanosleep ( __requested_time : * const timespec , __remaining : * mut timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clock_getres ( __clock_id : clockid_t , __res : * mut timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clock_gettime ( __clock_id : clockid_t , __tp : * mut timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clock_settime ( __clock_id : clockid_t , __tp : * const timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clock_nanosleep ( __clock_id : clockid_t , __flags : :: std :: os :: raw :: c_int , __req : * const timespec , __rem : * mut timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clock_getcpuclockid ( __pid : pid_t , __clock_id : * mut clockid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn timer_create ( __clock_id : clockid_t , __evp : * mut sigevent , __timerid : * mut timer_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn timer_delete ( __timerid : timer_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn timer_settime ( __timerid : timer_t , __flags : :: std :: os :: raw :: c_int , __value : * const itimerspec , __ovalue : * mut itimerspec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn timer_gettime ( __timerid : timer_t , __value : * mut itimerspec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn timer_getoverrun ( __timerid : timer_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn timespec_get ( __ts : * mut timespec , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type gchar = :: std :: os :: raw :: c_char ; pub type gshort = :: std :: os :: raw :: c_short ; pub type glong = :: std :: os :: raw :: c_long ; pub type gint = :: std :: os :: raw :: c_int ; pub type gboolean = gint ; pub type guchar = :: std :: os :: raw :: c_uchar ; pub type gushort = :: std :: os :: raw :: c_ushort ; pub type gulong = :: std :: os :: raw :: c_ulong ; pub type guint = :: std :: os :: raw :: c_uint ; pub type gfloat = f32 ; pub type gdouble = f64 ; pub type gpointer = * mut :: std :: os :: raw :: c_void ; pub type gconstpointer = * const :: std :: os :: raw :: c_void ; pub type GCompareFunc = :: std :: option :: Option < unsafe extern "C" fn ( a : gconstpointer , b : gconstpointer ) -> gint > ; pub type GCompareDataFunc = :: std :: option :: Option < unsafe extern "C" fn ( a : gconstpointer , b : gconstpointer , user_data : gpointer ) -> gint > ; pub type GEqualFunc = :: std :: option :: Option < unsafe extern "C" fn ( a : gconstpointer , b : gconstpointer ) -> gboolean > ; pub type GEqualFuncFull = :: std :: option :: Option < unsafe extern "C" fn ( a : gconstpointer , b : gconstpointer , user_data : gpointer ) -> gboolean > ; pub type GDestroyNotify = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer ) > ; pub type GFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer , user_data : gpointer ) > ; pub type GHashFunc = :: std :: option :: Option < unsafe extern "C" fn ( key : gconstpointer ) -> guint > ; pub type GHFunc = :: std :: option :: Option < unsafe extern "C" fn ( key : gpointer , value : gpointer , user_data : gpointer ) > ; pub type GCopyFunc = :: std :: option :: Option < unsafe extern "C" fn ( src : gconstpointer , data : gpointer ) -> gpointer > ; pub type GFreeFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer ) > ; pub type GTranslateFunc = :: std :: option :: Option < unsafe extern "C" fn ( str : * const gchar , data : gpointer ) -> * const gchar > ; pub type GDoubleIEEE754 = _GDoubleIEEE754 ; pub type GFloatIEEE754 = _GFloatIEEE754 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GFloatIEEE754 { pub v_float : gfloat , pub mpn : _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) , _bindgen_union_align : u32 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > , pub __bindgen_align : [ u32 ; 0usize ] , } # [ test ] fn bindgen_test_layout__GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) ) ) ) ; } impl _GFloatIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_538_3) { # [ inline ] pub fn mantissa ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 23u8 ) as u32 ) } } # [ inline ] pub fn set_mantissa ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 23u8 , val as u64 ) } } # [ inline ] pub fn biased_exponent ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 23usize , 8u8 ) as u32 ) } } # [ inline ] pub fn set_biased_exponent ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 23usize , 8u8 , val as u64 ) } } # [ inline ] pub fn sign ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 31usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_sign ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 31usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( mantissa : guint , biased_exponent : guint , sign : guint ) -> __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 23u8 , { let mantissa : u32 = unsafe { :: std :: mem :: transmute ( mantissa ) } ; mantissa as u64 } ) ; __bindgen_bitfield_unit . set ( 23usize , 8u8 , { let biased_exponent : u32 = unsafe { :: std :: mem :: transmute ( biased_exponent ) } ; biased_exponent as u64 } ) ; __bindgen_bitfield_unit . set ( 31usize , 1u8 , { let sign : u32 = unsafe { :: std :: mem :: transmute ( sign ) } ; sign as u64 } ) ; __bindgen_bitfield_unit } } # [ test ] fn bindgen_test_layout__GFloatIEEE754 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFloatIEEE754 > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _GFloatIEEE754 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFloatIEEE754 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GFloatIEEE754 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFloatIEEE754 > ( ) ) ) . v_float as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFloatIEEE754 ) , "::" , stringify ! ( v_float ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFloatIEEE754 > ( ) ) ) . mpn as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFloatIEEE754 ) , "::" , stringify ! ( mpn ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GDoubleIEEE754 { pub v_double : gdouble , pub mpn : _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 8usize ] , u32 > , pub __bindgen_align : [ u32 ; 0usize ] , } # [ test ] fn bindgen_test_layout__GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) ) ) ) ; } impl _GDoubleIEEE754_struct_(unnamed_at_/usr/include/glib-2_0/glib/gtypes_h_547_3) { # [ inline ] pub fn mantissa_low ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 32u8 ) as u32 ) } } # [ inline ] pub fn set_mantissa_low ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 32u8 , val as u64 ) } } # [ inline ] pub fn mantissa_high ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 32usize , 20u8 ) as u32 ) } } # [ inline ] pub fn set_mantissa_high ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 32usize , 20u8 , val as u64 ) } } # [ inline ] pub fn biased_exponent ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 52usize , 11u8 ) as u32 ) } } # [ inline ] pub fn set_biased_exponent ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 52usize , 11u8 , val as u64 ) } } # [ inline ] pub fn sign ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 63usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_sign ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 63usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( mantissa_low : guint , mantissa_high : guint , biased_exponent : guint , sign : guint ) -> __BindgenBitfieldUnit < [ u8 ; 8usize ] , u32 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 8usize ] , u32 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 32u8 , { let mantissa_low : u32 = unsafe { :: std :: mem :: transmute ( mantissa_low ) } ; mantissa_low as u64 } ) ; __bindgen_bitfield_unit . set ( 32usize , 20u8 , { let mantissa_high : u32 = unsafe { :: std :: mem :: transmute ( mantissa_high ) } ; mantissa_high as u64 } ) ; __bindgen_bitfield_unit . set ( 52usize , 11u8 , { let biased_exponent : u32 = unsafe { :: std :: mem :: transmute ( biased_exponent ) } ; biased_exponent as u64 } ) ; __bindgen_bitfield_unit . set ( 63usize , 1u8 , { let sign : u32 = unsafe { :: std :: mem :: transmute ( sign ) } ; sign as u64 } ) ; __bindgen_bitfield_unit } } # [ test ] fn bindgen_test_layout__GDoubleIEEE754 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDoubleIEEE754 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GDoubleIEEE754 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDoubleIEEE754 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDoubleIEEE754 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDoubleIEEE754 > ( ) ) ) . v_double as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDoubleIEEE754 ) , "::" , stringify ! ( v_double ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDoubleIEEE754 > ( ) ) ) . mpn as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDoubleIEEE754 ) , "::" , stringify ! ( mpn ) ) ) ; } pub type GTimeVal = _GTimeVal ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTimeVal { pub tv_sec : glong , pub tv_usec : glong , } # [ test ] fn bindgen_test_layout__GTimeVal ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTimeVal > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GTimeVal ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTimeVal > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTimeVal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTimeVal > ( ) ) ) . tv_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTimeVal ) , "::" , stringify ! ( tv_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTimeVal > ( ) ) ) . tv_usec as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GTimeVal ) , "::" , stringify ! ( tv_usec ) ) ) ; } pub type grefcount = gint ; pub type gatomicrefcount = gint ; extern "C" { pub fn memcpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memmove ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memccpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memset ( __s : * mut :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memcmp ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __memcmpeq ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn memchr ( __s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcoll ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strcoll_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm_l ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize , __l : locale_t ) -> usize ; } extern "C" { pub fn strdup ( __s : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strndup ( __string : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strrchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchrnul ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcspn ( __s : * const :: std :: os :: raw :: c_char , __reject : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strspn ( __s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strpbrk ( __s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strstr ( __haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok ( __s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __strtok_r ( __s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok_r ( __s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcasestr ( __haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn memmem ( __haystack : * const :: std :: os :: raw :: c_void , __haystacklen : usize , __needle : * const :: std :: os :: raw :: c_void , __needlelen : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn __mempcpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn mempcpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strlen ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strnlen ( __string : * const :: std :: os :: raw :: c_char , __maxlen : usize ) -> usize ; } extern "C" { pub fn strerror ( __errnum : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}__xpg_strerror_r" ] pub fn strerror_r ( __errnum : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __buflen : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strerror_l ( __errnum : :: std :: os :: raw :: c_int , __l : locale_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn bcmp ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bcopy ( __src : * const :: std :: os :: raw :: c_void , __dest : * mut :: std :: os :: raw :: c_void , __n : usize ) ; } extern "C" { pub fn bzero ( __s : * mut :: std :: os :: raw :: c_void , __n : usize ) ; } extern "C" { pub fn index ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn rindex ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ffs ( __i : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsl ( __l : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsll ( __ll : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn explicit_bzero ( __s : * mut :: std :: os :: raw :: c_void , __n : usize ) ; } extern "C" { pub fn strsep ( __stringp : * mut * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strsignal ( __sig : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strlcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> usize ; } extern "C" { pub fn strlcat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> usize ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBytes { _unused : [ u8 ; 0 ] , } pub type GBytes = _GBytes ; pub type GArray = _GArray ; pub type GByteArray = _GByteArray ; pub type GPtrArray = _GPtrArray ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GArray { pub data : * mut gchar , pub len : guint , } # [ test ] fn bindgen_test_layout__GArray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GArray > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GArray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GArray > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GArray > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GArray ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GArray > ( ) ) ) . len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GArray ) , "::" , stringify ! ( len ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GByteArray { pub data : * mut guint8 , pub len : guint , } # [ test ] fn bindgen_test_layout__GByteArray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GByteArray > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GByteArray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GByteArray > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GByteArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GByteArray > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GByteArray ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GByteArray > ( ) ) ) . len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GByteArray ) , "::" , stringify ! ( len ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPtrArray { pub pdata : * mut gpointer , pub len : guint , } # [ test ] fn bindgen_test_layout__GPtrArray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPtrArray > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GPtrArray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPtrArray > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPtrArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPtrArray > ( ) ) ) . pdata as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPtrArray ) , "::" , stringify ! ( pdata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPtrArray > ( ) ) ) . len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GPtrArray ) , "::" , stringify ! ( len ) ) ) ; } extern "C" { pub fn g_array_new ( zero_terminated : gboolean , clear_ : gboolean , element_size : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_new_take ( data : gpointer , len : gsize , clear : gboolean , element_size : gsize ) -> * mut GArray ; } extern "C" { pub fn g_array_new_take_zero_terminated ( data : gpointer , clear : gboolean , element_size : gsize ) -> * mut GArray ; } extern "C" { pub fn g_array_steal ( array : * mut GArray , len : * mut gsize ) -> gpointer ; } extern "C" { pub fn g_array_sized_new ( zero_terminated : gboolean , clear_ : gboolean , element_size : guint , reserved_size : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_copy ( array : * mut GArray ) -> * mut GArray ; } extern "C" { pub fn g_array_free ( array : * mut GArray , free_segment : gboolean ) -> * mut gchar ; } extern "C" { pub fn g_array_ref ( array : * mut GArray ) -> * mut GArray ; } extern "C" { pub fn g_array_unref ( array : * mut GArray ) ; } extern "C" { pub fn g_array_get_element_size ( array : * mut GArray ) -> guint ; } extern "C" { pub fn g_array_append_vals ( array : * mut GArray , data : gconstpointer , len : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_prepend_vals ( array : * mut GArray , data : gconstpointer , len : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_insert_vals ( array : * mut GArray , index_ : guint , data : gconstpointer , len : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_set_size ( array : * mut GArray , length : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_remove_index ( array : * mut GArray , index_ : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_remove_index_fast ( array : * mut GArray , index_ : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_remove_range ( array : * mut GArray , index_ : guint , length : guint ) -> * mut GArray ; } extern "C" { pub fn g_array_sort ( array : * mut GArray , compare_func : GCompareFunc ) ; } extern "C" { pub fn g_array_sort_with_data ( array : * mut GArray , compare_func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_array_binary_search ( array : * mut GArray , target : gconstpointer , compare_func : GCompareFunc , out_match_index : * mut guint ) -> gboolean ; } extern "C" { pub fn g_array_set_clear_func ( array : * mut GArray , clear_func : GDestroyNotify ) ; } extern "C" { pub fn g_ptr_array_new ( ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_with_free_func ( element_free_func : GDestroyNotify ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_take ( data : * mut gpointer , len : gsize , element_free_func : GDestroyNotify ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_from_array ( data : * mut gpointer , len : gsize , copy_func : GCopyFunc , copy_func_user_data : gpointer , element_free_func : GDestroyNotify ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_steal ( array : * mut GPtrArray , len : * mut gsize ) -> * mut gpointer ; } extern "C" { pub fn g_ptr_array_copy ( array : * mut GPtrArray , func : GCopyFunc , user_data : gpointer ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_sized_new ( reserved_size : guint ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_full ( reserved_size : guint , element_free_func : GDestroyNotify ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_null_terminated ( reserved_size : guint , element_free_func : GDestroyNotify , null_terminated : gboolean ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_take_null_terminated ( data : * mut gpointer , element_free_func : GDestroyNotify ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_new_from_null_terminated_array ( data : * mut gpointer , copy_func : GCopyFunc , copy_func_user_data : gpointer , element_free_func : GDestroyNotify ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_free ( array : * mut GPtrArray , free_seg : gboolean ) -> * mut gpointer ; } extern "C" { pub fn g_ptr_array_ref ( array : * mut GPtrArray ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_unref ( array : * mut GPtrArray ) ; } extern "C" { pub fn g_ptr_array_set_free_func ( array : * mut GPtrArray , element_free_func : GDestroyNotify ) ; } extern "C" { pub fn g_ptr_array_set_size ( array : * mut GPtrArray , length : gint ) ; } extern "C" { pub fn g_ptr_array_remove_index ( array : * mut GPtrArray , index_ : guint ) -> gpointer ; } extern "C" { pub fn g_ptr_array_remove_index_fast ( array : * mut GPtrArray , index_ : guint ) -> gpointer ; } extern "C" { pub fn g_ptr_array_steal_index ( array : * mut GPtrArray , index_ : guint ) -> gpointer ; } extern "C" { pub fn g_ptr_array_steal_index_fast ( array : * mut GPtrArray , index_ : guint ) -> gpointer ; } extern "C" { pub fn g_ptr_array_remove ( array : * mut GPtrArray , data : gpointer ) -> gboolean ; } extern "C" { pub fn g_ptr_array_remove_fast ( array : * mut GPtrArray , data : gpointer ) -> gboolean ; } extern "C" { pub fn g_ptr_array_remove_range ( array : * mut GPtrArray , index_ : guint , length : guint ) -> * mut GPtrArray ; } extern "C" { pub fn g_ptr_array_add ( array : * mut GPtrArray , data : gpointer ) ; } extern "C" { pub fn g_ptr_array_extend ( array_to_extend : * mut GPtrArray , array : * mut GPtrArray , func : GCopyFunc , user_data : gpointer ) ; } extern "C" { pub fn g_ptr_array_extend_and_steal ( array_to_extend : * mut GPtrArray , array : * mut GPtrArray ) ; } extern "C" { pub fn g_ptr_array_insert ( array : * mut GPtrArray , index_ : gint , data : gpointer ) ; } extern "C" { pub fn g_ptr_array_sort ( array : * mut GPtrArray , compare_func : GCompareFunc ) ; } extern "C" { pub fn g_ptr_array_sort_with_data ( array : * mut GPtrArray , compare_func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_ptr_array_sort_values ( array : * mut GPtrArray , compare_func : GCompareFunc ) ; } extern "C" { pub fn g_ptr_array_sort_values_with_data ( array : * mut GPtrArray , compare_func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_ptr_array_foreach ( array : * mut GPtrArray , func : GFunc , user_data : gpointer ) ; } extern "C" { pub fn g_ptr_array_find ( haystack : * mut GPtrArray , needle : gconstpointer , index_ : * mut guint ) -> gboolean ; } extern "C" { pub fn g_ptr_array_find_with_equal_func ( haystack : * mut GPtrArray , needle : gconstpointer , equal_func : GEqualFunc , index_ : * mut guint ) -> gboolean ; } extern "C" { pub fn g_ptr_array_is_null_terminated ( array : * mut GPtrArray ) -> gboolean ; } extern "C" { pub fn g_byte_array_new ( ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_new_take ( data : * mut guint8 , len : gsize ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_steal ( array : * mut GByteArray , len : * mut gsize ) -> * mut guint8 ; } extern "C" { pub fn g_byte_array_sized_new ( reserved_size : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_free ( array : * mut GByteArray , free_segment : gboolean ) -> * mut guint8 ; } extern "C" { pub fn g_byte_array_free_to_bytes ( array : * mut GByteArray ) -> * mut GBytes ; } extern "C" { pub fn g_byte_array_ref ( array : * mut GByteArray ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_unref ( array : * mut GByteArray ) ; } extern "C" { pub fn g_byte_array_append ( array : * mut GByteArray , data : * const guint8 , len : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_prepend ( array : * mut GByteArray , data : * const guint8 , len : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_set_size ( array : * mut GByteArray , length : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_remove_index ( array : * mut GByteArray , index_ : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_remove_index_fast ( array : * mut GByteArray , index_ : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_remove_range ( array : * mut GByteArray , index_ : guint , length : guint ) -> * mut GByteArray ; } extern "C" { pub fn g_byte_array_sort ( array : * mut GByteArray , compare_func : GCompareFunc ) ; } extern "C" { pub fn g_byte_array_sort_with_data ( array : * mut GByteArray , compare_func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_atomic_int_get ( atomic : * const gint ) -> gint ; } extern "C" { pub fn g_atomic_int_set ( atomic : * mut gint , newval : gint ) ; } extern "C" { pub fn g_atomic_int_inc ( atomic : * mut gint ) ; } extern "C" { pub fn g_atomic_int_dec_and_test ( atomic : * mut gint ) -> gboolean ; } extern "C" { pub fn g_atomic_int_compare_and_exchange ( atomic : * mut gint , oldval : gint , newval : gint ) -> gboolean ; } extern "C" { pub fn g_atomic_int_compare_and_exchange_full ( atomic : * mut gint , oldval : gint , newval : gint , preval : * mut gint ) -> gboolean ; } extern "C" { pub fn g_atomic_int_exchange ( atomic : * mut gint , newval : gint ) -> gint ; } extern "C" { pub fn g_atomic_int_add ( atomic : * mut gint , val : gint ) -> gint ; } extern "C" { pub fn g_atomic_int_and ( atomic : * mut guint , val : guint ) -> guint ; } extern "C" { pub fn g_atomic_int_or ( atomic : * mut guint , val : guint ) -> guint ; } extern "C" { pub fn g_atomic_int_xor ( atomic : * mut guint , val : guint ) -> guint ; } extern "C" { pub fn g_atomic_pointer_get ( atomic : * const :: std :: os :: raw :: c_void ) -> gpointer ; } extern "C" { pub fn g_atomic_pointer_set ( atomic : * mut :: std :: os :: raw :: c_void , newval : gpointer ) ; } extern "C" { pub fn g_atomic_pointer_compare_and_exchange ( atomic : * mut :: std :: os :: raw :: c_void , oldval : gpointer , newval : gpointer ) -> gboolean ; } extern "C" { pub fn g_atomic_pointer_compare_and_exchange_full ( atomic : * mut :: std :: os :: raw :: c_void , oldval : gpointer , newval : gpointer , preval : * mut :: std :: os :: raw :: c_void ) -> gboolean ; } extern "C" { pub fn g_atomic_pointer_exchange ( atomic : * mut :: std :: os :: raw :: c_void , newval : gpointer ) -> gpointer ; } extern "C" { pub fn g_atomic_pointer_add ( atomic : * mut :: std :: os :: raw :: c_void , val : gssize ) -> gintptr ; } extern "C" { pub fn g_atomic_pointer_and ( atomic : * mut :: std :: os :: raw :: c_void , val : gsize ) -> guintptr ; } extern "C" { pub fn g_atomic_pointer_or ( atomic : * mut :: std :: os :: raw :: c_void , val : gsize ) -> guintptr ; } extern "C" { pub fn g_atomic_pointer_xor ( atomic : * mut :: std :: os :: raw :: c_void , val : gsize ) -> guintptr ; } extern "C" { pub fn g_atomic_int_exchange_and_add ( atomic : * mut gint , val : gint ) -> gint ; } pub type __gnuc_va_list = __builtin_va_list ; pub type va_list = __builtin_va_list ; pub type GQuark = guint32 ; extern "C" { pub fn g_quark_try_string ( string : * const gchar ) -> GQuark ; } extern "C" { pub fn g_quark_from_static_string ( string : * const gchar ) -> GQuark ; } extern "C" { pub fn g_quark_from_string ( string : * const gchar ) -> GQuark ; } extern "C" { pub fn g_quark_to_string ( quark : GQuark ) -> * const gchar ; } extern "C" { pub fn g_intern_string ( string : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_intern_static_string ( string : * const gchar ) -> * const gchar ; } pub type GError = _GError ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GError { pub domain : GQuark , pub code : gint , pub message : * mut gchar , } # [ test ] fn bindgen_test_layout__GError ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GError > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GError ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GError > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GError ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GError > ( ) ) ) . domain as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GError ) , "::" , stringify ! ( domain ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GError > ( ) ) ) . code as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _GError ) , "::" , stringify ! ( code ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GError > ( ) ) ) . message as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GError ) , "::" , stringify ! ( message ) ) ) ; } pub type GErrorInitFunc = :: std :: option :: Option < unsafe extern "C" fn ( error : * mut GError ) > ; pub type GErrorCopyFunc = :: std :: option :: Option < unsafe extern "C" fn ( src_error : * const GError , dest_error : * mut GError ) > ; pub type GErrorClearFunc = :: std :: option :: Option < unsafe extern "C" fn ( error : * mut GError ) > ; extern "C" { pub fn g_error_domain_register_static ( error_type_name : * const :: std :: os :: raw :: c_char , error_type_private_size : gsize , error_type_init : GErrorInitFunc , error_type_copy : GErrorCopyFunc , error_type_clear : GErrorClearFunc ) -> GQuark ; } extern "C" { pub fn g_error_domain_register ( error_type_name : * const :: std :: os :: raw :: c_char , error_type_private_size : gsize , error_type_init : GErrorInitFunc , error_type_copy : GErrorCopyFunc , error_type_clear : GErrorClearFunc ) -> GQuark ; } extern "C" { pub fn g_error_new ( domain : GQuark , code : gint , format : * const gchar , ... ) -> * mut GError ; } extern "C" { pub fn g_error_new_literal ( domain : GQuark , code : gint , message : * const gchar ) -> * mut GError ; } extern "C" { pub fn g_error_new_valist ( domain : GQuark , code : gint , format : * const gchar , args : * mut __va_list_tag ) -> * mut GError ; } extern "C" { pub fn g_error_free ( error : * mut GError ) ; } extern "C" { pub fn g_error_copy ( error : * const GError ) -> * mut GError ; } extern "C" { pub fn g_error_matches ( error : * const GError , domain : GQuark , code : gint ) -> gboolean ; } extern "C" { pub fn g_set_error ( err : * mut * mut GError , domain : GQuark , code : gint , format : * const gchar , ... ) ; } extern "C" { pub fn g_set_error_literal ( err : * mut * mut GError , domain : GQuark , code : gint , message : * const gchar ) ; } extern "C" { pub fn g_propagate_error ( dest : * mut * mut GError , src : * mut GError ) ; } extern "C" { pub fn g_clear_error ( err : * mut * mut GError ) ; } extern "C" { pub fn g_prefix_error ( err : * mut * mut GError , format : * const gchar , ... ) ; } extern "C" { pub fn g_prefix_error_literal ( err : * mut * mut GError , prefix : * const gchar ) ; } extern "C" { pub fn g_propagate_prefixed_error ( dest : * mut * mut GError , src : * mut GError , format : * const gchar , ... ) ; } extern "C" { pub fn g_get_user_name ( ) -> * const gchar ; } extern "C" { pub fn g_get_real_name ( ) -> * const gchar ; } extern "C" { pub fn g_get_home_dir ( ) -> * const gchar ; } extern "C" { pub fn g_get_tmp_dir ( ) -> * const gchar ; } extern "C" { pub fn g_get_host_name ( ) -> * const gchar ; } extern "C" { pub fn g_get_prgname ( ) -> * const gchar ; } extern "C" { pub fn g_set_prgname ( prgname : * const gchar ) ; } extern "C" { pub fn g_get_application_name ( ) -> * const gchar ; } extern "C" { pub fn g_set_application_name ( application_name : * const gchar ) ; } extern "C" { pub fn g_get_os_info ( key_name : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_reload_user_special_dirs_cache ( ) ; } extern "C" { pub fn g_get_user_data_dir ( ) -> * const gchar ; } extern "C" { pub fn g_get_user_config_dir ( ) -> * const gchar ; } extern "C" { pub fn g_get_user_cache_dir ( ) -> * const gchar ; } extern "C" { pub fn g_get_user_state_dir ( ) -> * const gchar ; } extern "C" { pub fn g_get_system_data_dirs ( ) -> * const * const gchar ; } extern "C" { pub fn g_get_system_config_dirs ( ) -> * const * const gchar ; } extern "C" { pub fn g_get_user_runtime_dir ( ) -> * const gchar ; } pub const GUserDirectory_G_USER_DIRECTORY_DESKTOP : GUserDirectory = 0 ; pub const GUserDirectory_G_USER_DIRECTORY_DOCUMENTS : GUserDirectory = 1 ; pub const GUserDirectory_G_USER_DIRECTORY_DOWNLOAD : GUserDirectory = 2 ; pub const GUserDirectory_G_USER_DIRECTORY_MUSIC : GUserDirectory = 3 ; pub const GUserDirectory_G_USER_DIRECTORY_PICTURES : GUserDirectory = 4 ; pub const GUserDirectory_G_USER_DIRECTORY_PUBLIC_SHARE : GUserDirectory = 5 ; pub const GUserDirectory_G_USER_DIRECTORY_TEMPLATES : GUserDirectory = 6 ; pub const GUserDirectory_G_USER_DIRECTORY_VIDEOS : GUserDirectory = 7 ; pub const GUserDirectory_G_USER_N_DIRECTORIES : GUserDirectory = 8 ; pub type GUserDirectory = u32 ; extern "C" { pub fn g_get_user_special_dir ( directory : GUserDirectory ) -> * const gchar ; } pub type GDebugKey = _GDebugKey ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDebugKey { pub key : * const gchar , pub value : guint , } # [ test ] fn bindgen_test_layout__GDebugKey ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDebugKey > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GDebugKey ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDebugKey > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDebugKey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugKey > ( ) ) ) . key as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugKey ) , "::" , stringify ! ( key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugKey > ( ) ) ) . value as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugKey ) , "::" , stringify ! ( value ) ) ) ; } extern "C" { pub fn g_parse_debug_string ( string : * const gchar , keys : * const GDebugKey , nkeys : guint ) -> guint ; } extern "C" { pub fn g_snprintf ( string : * mut gchar , n : gulong , format : * const gchar , ... ) -> gint ; } extern "C" { pub fn g_vsnprintf ( string : * mut gchar , n : gulong , format : * const gchar , args : * mut __va_list_tag ) -> gint ; } extern "C" { pub fn g_nullify_pointer ( nullify_location : * mut gpointer ) ; } pub const GFormatSizeFlags_G_FORMAT_SIZE_DEFAULT : GFormatSizeFlags = 0 ; pub const GFormatSizeFlags_G_FORMAT_SIZE_LONG_FORMAT : GFormatSizeFlags = 1 ; pub const GFormatSizeFlags_G_FORMAT_SIZE_IEC_UNITS : GFormatSizeFlags = 2 ; pub const GFormatSizeFlags_G_FORMAT_SIZE_BITS : GFormatSizeFlags = 4 ; pub const GFormatSizeFlags_G_FORMAT_SIZE_ONLY_VALUE : GFormatSizeFlags = 8 ; pub const GFormatSizeFlags_G_FORMAT_SIZE_ONLY_UNIT : GFormatSizeFlags = 16 ; pub type GFormatSizeFlags = u32 ; extern "C" { pub fn g_format_size_full ( size : guint64 , flags : GFormatSizeFlags ) -> * mut gchar ; } extern "C" { pub fn g_format_size ( size : guint64 ) -> * mut gchar ; } extern "C" { pub fn g_format_size_for_display ( size : goffset ) -> * mut gchar ; } pub type GVoidFunc = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub fn g_atexit ( func : GVoidFunc ) ; } extern "C" { pub fn g_find_program_in_path ( program : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_bit_nth_lsf ( mask : gulong , nth_bit : gint ) -> gint ; } extern "C" { pub fn g_bit_nth_msf ( mask : gulong , nth_bit : gint ) -> gint ; } extern "C" { pub fn g_bit_storage ( number : gulong ) -> guint ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = f64 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct div_t { pub quot : :: std :: os :: raw :: c_int , pub rem : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_div_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < div_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( div_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < div_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( div_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < div_t > ( ) ) ) . quot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( div_t ) , "::" , stringify ! ( quot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < div_t > ( ) ) ) . rem as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( div_t ) , "::" , stringify ! ( rem ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldiv_t { pub quot : :: std :: os :: raw :: c_long , pub rem : :: std :: os :: raw :: c_long , } # [ test ] fn bindgen_test_layout_ldiv_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ldiv_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( ldiv_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ldiv_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( ldiv_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ldiv_t > ( ) ) ) . quot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ldiv_t ) , "::" , stringify ! ( quot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ldiv_t > ( ) ) ) . rem as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( ldiv_t ) , "::" , stringify ! ( rem ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lldiv_t { pub quot : :: std :: os :: raw :: c_longlong , pub rem : :: std :: os :: raw :: c_longlong , } # [ test ] fn bindgen_test_layout_lldiv_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lldiv_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( lldiv_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lldiv_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lldiv_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lldiv_t > ( ) ) ) . quot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lldiv_t ) , "::" , stringify ! ( quot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lldiv_t > ( ) ) ) . rem as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lldiv_t ) , "::" , stringify ! ( rem ) ) ) ; } extern "C" { pub fn __ctype_get_mb_cur_max ( ) -> usize ; } extern "C" { pub fn atof ( __nptr : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn atoi ( __nptr : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn atol ( __nptr : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn atoll ( __nptr : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtod ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn strtof ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn strtold ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn strtol ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn strtoul ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strtoq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtouq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn strtoll ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtoull ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn l64a ( __n : :: std :: os :: raw :: c_long ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn a64l ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type off_t = __off_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = __uint8_t ; pub type u_int16_t = __uint16_t ; pub type u_int32_t = __uint32_t ; pub type u_int64_t = __uint64_t ; pub type register_t = :: std :: os :: raw :: c_long ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __sigset_t { pub __val : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___sigset_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __sigset_t > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __sigset_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __sigset_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __sigset_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __sigset_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __sigset_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type sigset_t = __sigset_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct timeval { pub tv_sec : __time_t , pub tv_usec : __suseconds_t , } # [ test ] fn bindgen_test_layout_timeval ( ) { assert_eq ! ( :: std :: mem :: size_of :: < timeval > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( timeval ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < timeval > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( timeval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timeval > ( ) ) ) . tv_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( timeval ) , "::" , stringify ! ( tv_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timeval > ( ) ) ) . tv_usec as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( timeval ) , "::" , stringify ! ( tv_usec ) ) ) ; } pub type suseconds_t = __suseconds_t ; pub type __fd_mask = :: std :: os :: raw :: c_long ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct fd_set { pub __fds_bits : [ __fd_mask ; 16usize ] , } # [ test ] fn bindgen_test_layout_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fd_set > ( ) ) ) . __fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( fd_set ) , "::" , stringify ! ( __fds_bits ) ) ) ; } pub type fd_mask = __fd_mask ; extern "C" { pub fn select ( __nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pselect ( __nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t ) -> :: std :: os :: raw :: c_int ; } pub type blksize_t = __blksize_t ; pub type blkcnt_t = __blkcnt_t ; pub type fsblkcnt_t = __fsblkcnt_t ; pub type fsfilcnt_t = __fsfilcnt_t ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __atomic_wide_counter { pub __value64 : :: std :: os :: raw :: c_ulonglong , pub __value32 : __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __atomic_wide_counter_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3) ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___atomic_wide_counter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __atomic_wide_counter > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __atomic_wide_counter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __atomic_wide_counter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __atomic_wide_counter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __atomic_wide_counter > ( ) ) ) . __value64 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __atomic_wide_counter ) , "::" , stringify ! ( __value64 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __atomic_wide_counter > ( ) ) ) . __value32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __atomic_wide_counter ) , "::" , stringify ! ( __value32 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [ test ] fn bindgen_test_layout___pthread_internal_list ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_internal_list > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( __pthread_internal_list ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_internal_list > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_internal_list ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_internal_list > ( ) ) ) . __prev as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_internal_list ) , "::" , stringify ! ( __prev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_internal_list > ( ) ) ) . __next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_internal_list ) , "::" , stringify ! ( __next ) ) ) ; } pub type __pthread_list_t = __pthread_internal_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_internal_slist { pub __next : * mut __pthread_internal_slist , } # [ test ] fn bindgen_test_layout___pthread_internal_slist ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_internal_slist > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_internal_slist ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_internal_slist > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_internal_slist ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_internal_slist > ( ) ) ) . __next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_internal_slist ) , "::" , stringify ! ( __next ) ) ) ; } pub type __pthread_slist_t = __pthread_internal_slist ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_mutex_s { pub __lock : :: std :: os :: raw :: c_int , pub __count : :: std :: os :: raw :: c_uint , pub __owner : :: std :: os :: raw :: c_int , pub __nusers : :: std :: os :: raw :: c_uint , pub __kind : :: std :: os :: raw :: c_int , pub __spins : :: std :: os :: raw :: c_short , pub __elision : :: std :: os :: raw :: c_short , pub __list : __pthread_list_t , } # [ test ] fn bindgen_test_layout___pthread_mutex_s ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_mutex_s > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( __pthread_mutex_s ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_mutex_s > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_mutex_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __lock as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __owner as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __owner ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __nusers as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __nusers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __kind as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __kind ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __spins as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __spins ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __elision as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __elision ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __list as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __list ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_rwlock_arch_t { pub __readers : :: std :: os :: raw :: c_uint , pub __writers : :: std :: os :: raw :: c_uint , pub __wrphase_futex : :: std :: os :: raw :: c_uint , pub __writers_futex : :: std :: os :: raw :: c_uint , pub __pad3 : :: std :: os :: raw :: c_uint , pub __pad4 : :: std :: os :: raw :: c_uint , pub __cur_writer : :: std :: os :: raw :: c_int , pub __shared : :: std :: os :: raw :: c_int , pub __rwelision : :: std :: os :: raw :: c_schar , pub __pad1 : [ :: std :: os :: raw :: c_uchar ; 7usize ] , pub __pad2 : :: std :: os :: raw :: c_ulong , pub __flags : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_rwlock_arch_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_rwlock_arch_t > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( __pthread_rwlock_arch_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_rwlock_arch_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_rwlock_arch_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __readers as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __readers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __writers as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __writers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __wrphase_futex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __wrphase_futex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __writers_futex as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __writers_futex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad3 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad4 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __cur_writer as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __cur_writer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __shared as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __shared ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __rwelision as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __rwelision ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad1 as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad2 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __flags as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __flags ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct __pthread_cond_s { pub __wseq : __atomic_wide_counter , pub __g1_start : __atomic_wide_counter , pub __g_refs : [ :: std :: os :: raw :: c_uint ; 2usize ] , pub __g_size : [ :: std :: os :: raw :: c_uint ; 2usize ] , pub __g1_orig_size : :: std :: os :: raw :: c_uint , pub __wrefs : :: std :: os :: raw :: c_uint , pub __g_signals : [ :: std :: os :: raw :: c_uint ; 2usize ] , } # [ test ] fn bindgen_test_layout___pthread_cond_s ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __wseq as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __wseq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g1_start as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g1_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g_refs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g_refs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g_size as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g1_orig_size as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g1_orig_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __wrefs as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __wrefs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g_signals as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g_signals ) ) ) ; } pub type __tss_t = :: std :: os :: raw :: c_uint ; pub type __thrd_t = :: std :: os :: raw :: c_ulong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __once_flag { pub __data : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout___once_flag ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __once_flag > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( __once_flag ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __once_flag > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __once_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __once_flag > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __once_flag ) , "::" , stringify ! ( __data ) ) ) ; } pub type pthread_t = :: std :: os :: raw :: c_ulong ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_mutexattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 4usize ] , pub __align : :: std :: os :: raw :: c_int , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_pthread_mutexattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_mutexattr_t > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( pthread_mutexattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_mutexattr_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( pthread_mutexattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutexattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutexattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutexattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutexattr_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_condattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 4usize ] , pub __align : :: std :: os :: raw :: c_int , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_pthread_condattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_condattr_t > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( pthread_condattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_condattr_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( pthread_condattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_condattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_condattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_condattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_condattr_t ) , "::" , stringify ! ( __align ) ) ) ; } pub type pthread_key_t = :: std :: os :: raw :: c_uint ; pub type pthread_once_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_attr_t { pub __size : [ :: std :: os :: raw :: c_char ; 56usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 7usize ] , } # [ test ] fn bindgen_test_layout_pthread_attr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_attr_t > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( pthread_attr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_attr_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_attr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_attr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_attr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_attr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_attr_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [ :: std :: os :: raw :: c_char ; 40usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 5usize ] , } # [ test ] fn bindgen_test_layout_pthread_mutex_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_mutex_t > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( pthread_mutex_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_mutex_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_mutex_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutex_t > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutex_t ) , "::" , stringify ! ( __data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutex_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutex_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutex_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutex_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_cond_t { pub __data : __pthread_cond_s , pub __size : [ :: std :: os :: raw :: c_char ; 48usize ] , pub __align : :: std :: os :: raw :: c_longlong , _bindgen_union_align : [ u64 ; 6usize ] , } # [ test ] fn bindgen_test_layout_pthread_cond_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_cond_t > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( pthread_cond_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_cond_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_cond_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_cond_t > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_cond_t ) , "::" , stringify ! ( __data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_cond_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_cond_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_cond_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_cond_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_rwlock_t { pub __data : __pthread_rwlock_arch_t , pub __size : [ :: std :: os :: raw :: c_char ; 56usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 7usize ] , } # [ test ] fn bindgen_test_layout_pthread_rwlock_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_rwlock_t > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( pthread_rwlock_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_rwlock_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_rwlock_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlock_t > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlock_t ) , "::" , stringify ! ( __data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlock_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlock_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlock_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlock_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_rwlockattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 8usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_pthread_rwlockattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_rwlockattr_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( pthread_rwlockattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_rwlockattr_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_rwlockattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlockattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlockattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlockattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlockattr_t ) , "::" , stringify ! ( __align ) ) ) ; } pub type pthread_spinlock_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_barrier_t { pub __size : [ :: std :: os :: raw :: c_char ; 32usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 4usize ] , } # [ test ] fn bindgen_test_layout_pthread_barrier_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_barrier_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( pthread_barrier_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_barrier_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_barrier_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrier_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrier_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrier_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrier_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_barrierattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 4usize ] , pub __align : :: std :: os :: raw :: c_int , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_pthread_barrierattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_barrierattr_t > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( pthread_barrierattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_barrierattr_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( pthread_barrierattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrierattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrierattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrierattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrierattr_t ) , "::" , stringify ! ( __align ) ) ) ; } extern "C" { pub fn random ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srandom ( __seed : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn initstate ( __seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn setstate ( __statebuf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct random_data { pub fptr : * mut i32 , pub rptr : * mut i32 , pub state : * mut i32 , pub rand_type : :: std :: os :: raw :: c_int , pub rand_deg : :: std :: os :: raw :: c_int , pub rand_sep : :: std :: os :: raw :: c_int , pub end_ptr : * mut i32 , } # [ test ] fn bindgen_test_layout_random_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < random_data > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( random_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < random_data > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( random_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . fptr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( fptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rptr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . state as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rand_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rand_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rand_deg as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rand_deg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rand_sep as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rand_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . end_ptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( end_ptr ) ) ) ; } extern "C" { pub fn random_r ( __buf : * mut random_data , __result : * mut i32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srandom_r ( __seed : :: std :: os :: raw :: c_uint , __buf : * mut random_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initstate_r ( __seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize , __buf : * mut random_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setstate_r ( __statebuf : * mut :: std :: os :: raw :: c_char , __buf : * mut random_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rand ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand ( __seed : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rand_r ( __seed : * mut :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drand48 ( ) -> f64 ; } extern "C" { pub fn erand48 ( __xsubi : * mut :: std :: os :: raw :: c_ushort ) -> f64 ; } extern "C" { pub fn lrand48 ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn nrand48 ( __xsubi : * mut :: std :: os :: raw :: c_ushort ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn mrand48 ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn jrand48 ( __xsubi : * mut :: std :: os :: raw :: c_ushort ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srand48 ( __seedval : :: std :: os :: raw :: c_long ) ; } extern "C" { pub fn seed48 ( __seed16v : * mut :: std :: os :: raw :: c_ushort ) -> * mut :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn lcong48 ( __param : * mut :: std :: os :: raw :: c_ushort ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct drand48_data { pub __x : [ :: std :: os :: raw :: c_ushort ; 3usize ] , pub __old_x : [ :: std :: os :: raw :: c_ushort ; 3usize ] , pub __c : :: std :: os :: raw :: c_ushort , pub __init : :: std :: os :: raw :: c_ushort , pub __a : :: std :: os :: raw :: c_ulonglong , } # [ test ] fn bindgen_test_layout_drand48_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < drand48_data > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( drand48_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < drand48_data > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( drand48_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __old_x as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __old_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __c as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __c ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __init as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __a as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __a ) ) ) ; } extern "C" { pub fn drand48_r ( __buffer : * mut drand48_data , __result : * mut f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erand48_r ( __xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lrand48_r ( __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nrand48_r ( __xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mrand48_r ( __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn jrand48_r ( __xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand48_r ( __seedval : :: std :: os :: raw :: c_long , __buffer : * mut drand48_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn seed48_r ( __seed16v : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lcong48_r ( __param : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn arc4random ( ) -> __uint32_t ; } extern "C" { pub fn arc4random_buf ( __buf : * mut :: std :: os :: raw :: c_void , __size : usize ) ; } extern "C" { pub fn arc4random_uniform ( __upper_bound : __uint32_t ) -> __uint32_t ; } extern "C" { pub fn malloc ( __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc ( __nmemb : usize , __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free ( __ptr : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn reallocarray ( __ptr : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn alloca ( __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn valloc ( __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn posix_memalign ( __memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : usize , __size : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn aligned_alloc ( __alignment : usize , __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn abort ( ) ; } extern "C" { pub fn atexit ( __func : :: std :: option :: Option < unsafe extern "C" fn ( ) > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn at_quick_exit ( __func : :: std :: option :: Option < unsafe extern "C" fn ( ) > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn on_exit ( __func : :: std :: option :: Option < unsafe extern "C" fn ( __status : :: std :: os :: raw :: c_int , __arg : * mut :: std :: os :: raw :: c_void ) > , __arg : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn exit ( __status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn quick_exit ( __status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn _Exit ( __status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn getenv ( __name : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putenv ( __string : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setenv ( __name : * const :: std :: os :: raw :: c_char , __value : * const :: std :: os :: raw :: c_char , __replace : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unsetenv ( __name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearenv ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mktemp ( __template : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn mkstemp ( __template : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkstemps ( __template : * mut :: std :: os :: raw :: c_char , __suffixlen : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkdtemp ( __template : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn system ( __command : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn realpath ( __name : * const :: std :: os :: raw :: c_char , __resolved : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } pub type __compar_fn_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const :: std :: os :: raw :: c_void , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn bsearch ( __key : * const :: std :: os :: raw :: c_void , __base : * const :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn qsort ( __base : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t ) ; } extern "C" { pub fn abs ( __x : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn labs ( __x : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llabs ( __x : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn div ( __numer : :: std :: os :: raw :: c_int , __denom : :: std :: os :: raw :: c_int ) -> div_t ; } extern "C" { pub fn ldiv ( __numer : :: std :: os :: raw :: c_long , __denom : :: std :: os :: raw :: c_long ) -> ldiv_t ; } extern "C" { pub fn lldiv ( __numer : :: std :: os :: raw :: c_longlong , __denom : :: std :: os :: raw :: c_longlong ) -> lldiv_t ; } extern "C" { pub fn ecvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fcvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn gcvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qecvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qfcvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qgcvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ecvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fcvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qecvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qfcvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mblen ( __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbtowc ( __pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wctomb ( __s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbstowcs ( __pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> usize ; } extern "C" { pub fn wcstombs ( __s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : usize ) -> usize ; } extern "C" { pub fn rpmatch ( __response : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsubopt ( __optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * const :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getloadavg ( __loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_thread_error_quark ( ) -> GQuark ; } pub const GThreadError_G_THREAD_ERROR_AGAIN : GThreadError = 0 ; pub type GThreadError = u32 ; pub type GThreadFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer ) -> gpointer > ; pub type GThread = _GThread ; pub type GMutex = _GMutex ; pub type GRecMutex = _GRecMutex ; pub type GRWLock = _GRWLock ; pub type GCond = _GCond ; pub type GPrivate = _GPrivate ; pub type GOnce = _GOnce ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GMutex { pub p : gpointer , pub i : [ guint ; 2usize ] , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout__GMutex ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMutex > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GMutex ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMutex > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMutex > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMutex ) , "::" , stringify ! ( p ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMutex > ( ) ) ) . i as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMutex ) , "::" , stringify ! ( i ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRWLock { pub p : gpointer , pub i : [ guint ; 2usize ] , } # [ test ] fn bindgen_test_layout__GRWLock ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GRWLock > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GRWLock ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GRWLock > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GRWLock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRWLock > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GRWLock ) , "::" , stringify ! ( p ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRWLock > ( ) ) ) . i as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GRWLock ) , "::" , stringify ! ( i ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCond { pub p : gpointer , pub i : [ guint ; 2usize ] , } # [ test ] fn bindgen_test_layout__GCond ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GCond > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GCond ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GCond > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GCond ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCond > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GCond ) , "::" , stringify ! ( p ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCond > ( ) ) ) . i as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GCond ) , "::" , stringify ! ( i ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRecMutex { pub p : gpointer , pub i : [ guint ; 2usize ] , } # [ test ] fn bindgen_test_layout__GRecMutex ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GRecMutex > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GRecMutex ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GRecMutex > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GRecMutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRecMutex > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GRecMutex ) , "::" , stringify ! ( p ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRecMutex > ( ) ) ) . i as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GRecMutex ) , "::" , stringify ! ( i ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPrivate { pub p : gpointer , pub notify : GDestroyNotify , pub future : [ gpointer ; 2usize ] , } # [ test ] fn bindgen_test_layout__GPrivate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPrivate > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GPrivate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPrivate > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPrivate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPrivate > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPrivate ) , "::" , stringify ! ( p ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPrivate > ( ) ) ) . notify as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GPrivate ) , "::" , stringify ! ( notify ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPrivate > ( ) ) ) . future as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GPrivate ) , "::" , stringify ! ( future ) ) ) ; } pub const GOnceStatus_G_ONCE_STATUS_NOTCALLED : GOnceStatus = 0 ; pub const GOnceStatus_G_ONCE_STATUS_PROGRESS : GOnceStatus = 1 ; pub const GOnceStatus_G_ONCE_STATUS_READY : GOnceStatus = 2 ; pub type GOnceStatus = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOnce { pub status : GOnceStatus , pub retval : gpointer , } # [ test ] fn bindgen_test_layout__GOnce ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GOnce > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GOnce ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GOnce > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GOnce ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOnce > ( ) ) ) . status as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GOnce ) , "::" , stringify ! ( status ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOnce > ( ) ) ) . retval as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GOnce ) , "::" , stringify ! ( retval ) ) ) ; } extern "C" { pub fn g_thread_ref ( thread : * mut GThread ) -> * mut GThread ; } extern "C" { pub fn g_thread_unref ( thread : * mut GThread ) ; } extern "C" { pub fn g_thread_new ( name : * const gchar , func : GThreadFunc , data : gpointer ) -> * mut GThread ; } extern "C" { pub fn g_thread_try_new ( name : * const gchar , func : GThreadFunc , data : gpointer , error : * mut * mut GError ) -> * mut GThread ; } extern "C" { pub fn g_thread_self ( ) -> * mut GThread ; } extern "C" { pub fn g_thread_exit ( retval : gpointer ) ; } extern "C" { pub fn g_thread_join ( thread : * mut GThread ) -> gpointer ; } extern "C" { pub fn g_thread_yield ( ) ; } extern "C" { pub fn g_mutex_init ( mutex : * mut GMutex ) ; } extern "C" { pub fn g_mutex_clear ( mutex : * mut GMutex ) ; } extern "C" { pub fn g_mutex_lock ( mutex : * mut GMutex ) ; } extern "C" { pub fn g_mutex_trylock ( mutex : * mut GMutex ) -> gboolean ; } extern "C" { pub fn g_mutex_unlock ( mutex : * mut GMutex ) ; } extern "C" { pub fn g_rw_lock_init ( rw_lock : * mut GRWLock ) ; } extern "C" { pub fn g_rw_lock_clear ( rw_lock : * mut GRWLock ) ; } extern "C" { pub fn g_rw_lock_writer_lock ( rw_lock : * mut GRWLock ) ; } extern "C" { pub fn g_rw_lock_writer_trylock ( rw_lock : * mut GRWLock ) -> gboolean ; } extern "C" { pub fn g_rw_lock_writer_unlock ( rw_lock : * mut GRWLock ) ; } extern "C" { pub fn g_rw_lock_reader_lock ( rw_lock : * mut GRWLock ) ; } extern "C" { pub fn g_rw_lock_reader_trylock ( rw_lock : * mut GRWLock ) -> gboolean ; } extern "C" { pub fn g_rw_lock_reader_unlock ( rw_lock : * mut GRWLock ) ; } extern "C" { pub fn g_rec_mutex_init ( rec_mutex : * mut GRecMutex ) ; } extern "C" { pub fn g_rec_mutex_clear ( rec_mutex : * mut GRecMutex ) ; } extern "C" { pub fn g_rec_mutex_lock ( rec_mutex : * mut GRecMutex ) ; } extern "C" { pub fn g_rec_mutex_trylock ( rec_mutex : * mut GRecMutex ) -> gboolean ; } extern "C" { pub fn g_rec_mutex_unlock ( rec_mutex : * mut GRecMutex ) ; } extern "C" { pub fn g_cond_init ( cond : * mut GCond ) ; } extern "C" { pub fn g_cond_clear ( cond : * mut GCond ) ; } extern "C" { pub fn g_cond_wait ( cond : * mut GCond , mutex : * mut GMutex ) ; } extern "C" { pub fn g_cond_signal ( cond : * mut GCond ) ; } extern "C" { pub fn g_cond_broadcast ( cond : * mut GCond ) ; } extern "C" { pub fn g_cond_wait_until ( cond : * mut GCond , mutex : * mut GMutex , end_time : gint64 ) -> gboolean ; } extern "C" { pub fn g_private_get ( key : * mut GPrivate ) -> gpointer ; } extern "C" { pub fn g_private_set ( key : * mut GPrivate , value : gpointer ) ; } extern "C" { pub fn g_private_replace ( key : * mut GPrivate , value : gpointer ) ; } extern "C" { pub fn g_once_impl ( once : * mut GOnce , func : GThreadFunc , arg : gpointer ) -> gpointer ; } extern "C" { pub fn g_once_init_enter ( location : * mut :: std :: os :: raw :: c_void ) -> gboolean ; } extern "C" { pub fn g_once_init_leave ( location : * mut :: std :: os :: raw :: c_void , result : gsize ) ; } extern "C" { pub fn g_once_init_enter_pointer ( location : * mut :: std :: os :: raw :: c_void ) -> gboolean ; } extern "C" { pub fn g_once_init_leave_pointer ( location : * mut :: std :: os :: raw :: c_void , result : gpointer ) ; } extern "C" { pub fn g_get_num_processors ( ) -> guint ; } pub type GMutexLocker = :: std :: os :: raw :: c_void ; pub type GRecMutexLocker = :: std :: os :: raw :: c_void ; pub type GRWLockWriterLocker = :: std :: os :: raw :: c_void ; pub type GRWLockReaderLocker = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAsyncQueue { _unused : [ u8 ; 0 ] , } pub type GAsyncQueue = _GAsyncQueue ; extern "C" { pub fn g_async_queue_new ( ) -> * mut GAsyncQueue ; } extern "C" { pub fn g_async_queue_new_full ( item_free_func : GDestroyNotify ) -> * mut GAsyncQueue ; } extern "C" { pub fn g_async_queue_lock ( queue : * mut GAsyncQueue ) ; } extern "C" { pub fn g_async_queue_unlock ( queue : * mut GAsyncQueue ) ; } extern "C" { pub fn g_async_queue_ref ( queue : * mut GAsyncQueue ) -> * mut GAsyncQueue ; } extern "C" { pub fn g_async_queue_unref ( queue : * mut GAsyncQueue ) ; } extern "C" { pub fn g_async_queue_ref_unlocked ( queue : * mut GAsyncQueue ) ; } extern "C" { pub fn g_async_queue_unref_and_unlock ( queue : * mut GAsyncQueue ) ; } extern "C" { pub fn g_async_queue_push ( queue : * mut GAsyncQueue , data : gpointer ) ; } extern "C" { pub fn g_async_queue_push_unlocked ( queue : * mut GAsyncQueue , data : gpointer ) ; } extern "C" { pub fn g_async_queue_push_sorted ( queue : * mut GAsyncQueue , data : gpointer , func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_async_queue_push_sorted_unlocked ( queue : * mut GAsyncQueue , data : gpointer , func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_async_queue_pop ( queue : * mut GAsyncQueue ) -> gpointer ; } extern "C" { pub fn g_async_queue_pop_unlocked ( queue : * mut GAsyncQueue ) -> gpointer ; } extern "C" { pub fn g_async_queue_try_pop ( queue : * mut GAsyncQueue ) -> gpointer ; } extern "C" { pub fn g_async_queue_try_pop_unlocked ( queue : * mut GAsyncQueue ) -> gpointer ; } extern "C" { pub fn g_async_queue_timeout_pop ( queue : * mut GAsyncQueue , timeout : guint64 ) -> gpointer ; } extern "C" { pub fn g_async_queue_timeout_pop_unlocked ( queue : * mut GAsyncQueue , timeout : guint64 ) -> gpointer ; } extern "C" { pub fn g_async_queue_length ( queue : * mut GAsyncQueue ) -> gint ; } extern "C" { pub fn g_async_queue_length_unlocked ( queue : * mut GAsyncQueue ) -> gint ; } extern "C" { pub fn g_async_queue_sort ( queue : * mut GAsyncQueue , func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_async_queue_sort_unlocked ( queue : * mut GAsyncQueue , func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_async_queue_remove ( queue : * mut GAsyncQueue , item : gpointer ) -> gboolean ; } extern "C" { pub fn g_async_queue_remove_unlocked ( queue : * mut GAsyncQueue , item : gpointer ) -> gboolean ; } extern "C" { pub fn g_async_queue_push_front ( queue : * mut GAsyncQueue , item : gpointer ) ; } extern "C" { pub fn g_async_queue_push_front_unlocked ( queue : * mut GAsyncQueue , item : gpointer ) ; } extern "C" { pub fn g_async_queue_timed_pop ( queue : * mut GAsyncQueue , end_time : * mut GTimeVal ) -> gpointer ; } extern "C" { pub fn g_async_queue_timed_pop_unlocked ( queue : * mut GAsyncQueue , end_time : * mut GTimeVal ) -> gpointer ; } pub type sig_atomic_t = __sig_atomic_t ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union sigval { pub sival_int : :: std :: os :: raw :: c_int , pub sival_ptr : * mut :: std :: os :: raw :: c_void , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_sigval ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigval > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( sigval ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigval > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigval > ( ) ) ) . sival_int as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigval ) , "::" , stringify ! ( sival_int ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigval > ( ) ) ) . sival_ptr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigval ) , "::" , stringify ! ( sival_ptr ) ) ) ; } pub type __sigval_t = sigval ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct siginfo_t { pub si_signo : :: std :: os :: raw :: c_int , pub si_errno : :: std :: os :: raw :: c_int , pub si_code : :: std :: os :: raw :: c_int , pub __pad0 : :: std :: os :: raw :: c_int , pub _sifields : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) { pub _pad : [ :: std :: os :: raw :: c_int ; 28usize ] , pub _kill : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) , pub _timer : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) , pub _rt : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) , pub _sigchld : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) , pub _sigfault : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) , pub _sigpoll : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) , pub _sigsys : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) , _bindgen_union_align : [ u64 ; 14usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) { pub si_pid : __pid_t , pub si_uid : __uid_t , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) > ( ) ) ) . si_pid as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) ) , "::" , stringify ! ( si_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) > ( ) ) ) . si_uid as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_56_2) ) , "::" , stringify ! ( si_uid ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) { pub si_tid : :: std :: os :: raw :: c_int , pub si_overrun : :: std :: os :: raw :: c_int , pub si_sigval : __sigval_t , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) > ( ) ) ) . si_tid as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) ) , "::" , stringify ! ( si_tid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) > ( ) ) ) . si_overrun as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) ) , "::" , stringify ! ( si_overrun ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) > ( ) ) ) . si_sigval as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_63_2) ) , "::" , stringify ! ( si_sigval ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) { pub si_pid : __pid_t , pub si_uid : __uid_t , pub si_sigval : __sigval_t , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) > ( ) ) ) . si_pid as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) ) , "::" , stringify ! ( si_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) > ( ) ) ) . si_uid as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) ) , "::" , stringify ! ( si_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) > ( ) ) ) . si_sigval as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_71_2) ) , "::" , stringify ! ( si_sigval ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) { pub si_pid : __pid_t , pub si_uid : __uid_t , pub si_status : :: std :: os :: raw :: c_int , pub si_utime : __clock_t , pub si_stime : __clock_t , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) ) ) . si_pid as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) , "::" , stringify ! ( si_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) ) ) . si_uid as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) , "::" , stringify ! ( si_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) ) ) . si_status as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) , "::" , stringify ! ( si_status ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) ) ) . si_utime as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) , "::" , stringify ! ( si_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) > ( ) ) ) . si_stime as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_79_2) ) , "::" , stringify ! ( si_stime ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) { pub si_addr : * mut :: std :: os :: raw :: c_void , pub si_addr_lsb : :: std :: os :: raw :: c_short , pub _bounds : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) { pub _addr_bnd : siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) , pub _pkey : __uint32_t , _bindgen_union_align : [ u64 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) { pub _lower : * mut :: std :: os :: raw :: c_void , pub _upper : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) > ( ) ) ) . _lower as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) ) , "::" , stringify ! ( _lower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) > ( ) ) ) . _upper as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_97_3) ) , "::" , stringify ! ( _upper ) ) ) ; } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) > ( ) ) ) . _addr_bnd as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) ) , "::" , stringify ! ( _addr_bnd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) > ( ) ) ) . _pkey as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2)_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_94_6) ) , "::" , stringify ! ( _pkey ) ) ) ; } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) > ( ) ) ) . si_addr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) ) , "::" , stringify ! ( si_addr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) > ( ) ) ) . si_addr_lsb as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) ) , "::" , stringify ! ( si_addr_lsb ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) > ( ) ) ) . _bounds as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_89_2) ) , "::" , stringify ! ( _bounds ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) { pub si_band : :: std :: os :: raw :: c_long , pub si_fd : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) > ( ) ) ) . si_band as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) ) , "::" , stringify ! ( si_band ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) > ( ) ) ) . si_fd as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_108_2) ) , "::" , stringify ! ( si_fd ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) { pub _call_addr : * mut :: std :: os :: raw :: c_void , pub _syscall : :: std :: os :: raw :: c_int , pub _arch : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) > ( ) ) ) . _call_addr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) ) , "::" , stringify ! ( _call_addr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) > ( ) ) ) . _syscall as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) ) , "::" , stringify ! ( _syscall ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) > ( ) ) ) . _arch as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_116_2) ) , "::" , stringify ! ( _arch ) ) ) ; } # [ test ] fn bindgen_test_layout_siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) , 112usize , concat ! ( "Size of: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _pad as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _kill as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _kill ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _timer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _timer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _rt as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _rt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _sigchld as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _sigchld ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _sigfault as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _sigfault ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _sigpoll as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _sigpoll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) > ( ) ) ) . _sigsys as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/siginfo_t_h_51_5) ) , "::" , stringify ! ( _sigsys ) ) ) ; } # [ test ] fn bindgen_test_layout_siginfo_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < siginfo_t > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( siginfo_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < siginfo_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( siginfo_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t > ( ) ) ) . si_signo as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t ) , "::" , stringify ! ( si_signo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t > ( ) ) ) . si_errno as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t ) , "::" , stringify ! ( si_errno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t > ( ) ) ) . si_code as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t ) , "::" , stringify ! ( si_code ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t > ( ) ) ) . __pad0 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t ) , "::" , stringify ! ( __pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < siginfo_t > ( ) ) ) . _sifields as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( siginfo_t ) , "::" , stringify ! ( _sifields ) ) ) ; } pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_ASYNCNL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -60 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_DETHREAD : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -7 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_TKILL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -6 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_SIGIO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_ASYNCIO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_MESGQ : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_TIMER : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_QUEUE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = -1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_USER : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = 0 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1)_SI_KERNEL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = 128 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_35_1) = i32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_ILLOPC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_ILLOPN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_ILLADR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_ILLTRP : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_PRVOPC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_PRVREG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 6 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_COPROC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 7 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_BADSTK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 8 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1)_ILL_BADIADDR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = 9 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_71_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_INTDIV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_INTOVF : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTDIV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTOVF : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTUND : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTRES : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 6 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTINV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 7 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTSUB : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 8 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_FLTUNK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 14 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1)_FPE_CONDTRAP : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = 15 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_94_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_MAPERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_ACCERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_BNDERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_PKUERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_ACCADI : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_ADIDERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 6 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_ADIPERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 7 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_MTEAERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 8 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_MTESERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 9 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1)_SEGV_CPERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = 10 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_119_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1)_BUS_ADRALN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1)_BUS_ADRERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1)_BUS_OBJERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1)_BUS_MCEERR_AR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1)_BUS_MCEERR_AO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1) = 5 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_144_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1)_CLD_EXITED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1)_CLD_KILLED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1)_CLD_DUMPED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1)_CLD_TRAPPED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1)_CLD_STOPPED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1)_CLD_CONTINUED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = 6 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_178_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1)_POLL_IN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1)_POLL_OUT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1)_POLL_MSG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1)_POLL_ERR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1)_POLL_PRI : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1)_POLL_HUP : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = 6 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/siginfo-consts_h_195_1) = u32 ; pub type sigval_t = __sigval_t ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct sigevent { pub sigev_value : __sigval_t , pub sigev_signo : :: std :: os :: raw :: c_int , pub sigev_notify : :: std :: os :: raw :: c_int , pub _sigev_un : sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) { pub _pad : [ :: std :: os :: raw :: c_int ; 12usize ] , pub _tid : __pid_t , pub _sigev_thread : sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) , _bindgen_union_align : [ u64 ; 6usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) { pub _function : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : __sigval_t ) > , pub _attribute : * mut pthread_attr_t , } # [ test ] fn bindgen_test_layout_sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) > ( ) ) ) . _function as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) ) , "::" , stringify ! ( _function ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) > ( ) ) ) . _attribute as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5)_struct_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_36_2) ) , "::" , stringify ! ( _attribute ) ) ) ; } # [ test ] fn bindgen_test_layout_sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) > ( ) ) ) . _pad as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) > ( ) ) ) . _tid as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) ) , "::" , stringify ! ( _tid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) > ( ) ) ) . _sigev_thread as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigevent_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/sigevent_t_h_28_5) ) , "::" , stringify ! ( _sigev_thread ) ) ) ; } # [ test ] fn bindgen_test_layout_sigevent ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigevent > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( sigevent ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigevent > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigevent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent > ( ) ) ) . sigev_value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigevent ) , "::" , stringify ! ( sigev_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent > ( ) ) ) . sigev_signo as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( sigevent ) , "::" , stringify ! ( sigev_signo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent > ( ) ) ) . sigev_notify as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( sigevent ) , "::" , stringify ! ( sigev_notify ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigevent > ( ) ) ) . _sigev_un as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( sigevent ) , "::" , stringify ! ( _sigev_un ) ) ) ; } pub type sigevent_t = sigevent ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1)_SIGEV_SIGNAL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1) = 0 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1)_SIGEV_NONE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1)_SIGEV_THREAD : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1)_SIGEV_THREAD_ID : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1) = 4 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigevent-consts_h_27_1) = u32 ; pub type __sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; extern "C" { pub fn __sysv_signal ( __sig : :: std :: os :: raw :: c_int , __handler : __sighandler_t ) -> __sighandler_t ; } extern "C" { pub fn signal ( __sig : :: std :: os :: raw :: c_int , __handler : __sighandler_t ) -> __sighandler_t ; } extern "C" { pub fn kill ( __pid : __pid_t , __sig : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killpg ( __pgrp : __pid_t , __sig : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn raise ( __sig : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ssignal ( __sig : :: std :: os :: raw :: c_int , __handler : __sighandler_t ) -> __sighandler_t ; } extern "C" { pub fn gsignal ( __sig : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn psignal ( __sig : :: std :: os :: raw :: c_int , __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn psiginfo ( __pinfo : * const siginfo_t , __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn sigblock ( __mask : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigsetmask ( __mask : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn siggetmask ( ) -> :: std :: os :: raw :: c_int ; } pub type sig_t = __sighandler_t ; extern "C" { pub fn sigemptyset ( __set : * mut sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigfillset ( __set : * mut sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigaddset ( __set : * mut sigset_t , __signo : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigdelset ( __set : * mut sigset_t , __signo : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigismember ( __set : * const sigset_t , __signo : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct sigaction { pub __sigaction_handler : sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) , pub sa_mask : __sigset_t , pub sa_flags : :: std :: os :: raw :: c_int , pub sa_restorer : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) { pub sa_handler : __sighandler_t , pub sa_sigaction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut siginfo_t , arg3 : * mut :: std :: os :: raw :: c_void ) > , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) > ( ) ) ) . sa_handler as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) ) , "::" , stringify ! ( sa_handler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) > ( ) ) ) . sa_sigaction as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigaction_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/sigaction_h_31_5) ) , "::" , stringify ! ( sa_sigaction ) ) ) ; } # [ test ] fn bindgen_test_layout_sigaction ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigaction > ( ) , 152usize , concat ! ( "Size of: " , stringify ! ( sigaction ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigaction > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigaction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigaction > ( ) ) ) . __sigaction_handler as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigaction ) , "::" , stringify ! ( __sigaction_handler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigaction > ( ) ) ) . sa_mask as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( sigaction ) , "::" , stringify ! ( sa_mask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigaction > ( ) ) ) . sa_flags as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( sigaction ) , "::" , stringify ! ( sa_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigaction > ( ) ) ) . sa_restorer as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( sigaction ) , "::" , stringify ! ( sa_restorer ) ) ) ; } extern "C" { pub fn sigprocmask ( __how : :: std :: os :: raw :: c_int , __set : * const sigset_t , __oset : * mut sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigsuspend ( __set : * const sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigaction ( __sig : :: std :: os :: raw :: c_int , __act : * const sigaction , __oact : * mut sigaction ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigpending ( __set : * mut sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigwait ( __set : * const sigset_t , __sig : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigwaitinfo ( __set : * const sigset_t , __info : * mut siginfo_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigtimedwait ( __set : * const sigset_t , __info : * mut siginfo_t , __timeout : * const timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sigqueue ( __pid : __pid_t , __sig : :: std :: os :: raw :: c_int , __val : sigval ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _fpx_sw_bytes { pub magic1 : __uint32_t , pub extended_size : __uint32_t , pub xstate_bv : __uint64_t , pub xstate_size : __uint32_t , pub __glibc_reserved1 : [ __uint32_t ; 7usize ] , } # [ test ] fn bindgen_test_layout__fpx_sw_bytes ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _fpx_sw_bytes > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _fpx_sw_bytes ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _fpx_sw_bytes > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _fpx_sw_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpx_sw_bytes > ( ) ) ) . magic1 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _fpx_sw_bytes ) , "::" , stringify ! ( magic1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpx_sw_bytes > ( ) ) ) . extended_size as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _fpx_sw_bytes ) , "::" , stringify ! ( extended_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpx_sw_bytes > ( ) ) ) . xstate_bv as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _fpx_sw_bytes ) , "::" , stringify ! ( xstate_bv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpx_sw_bytes > ( ) ) ) . xstate_size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _fpx_sw_bytes ) , "::" , stringify ! ( xstate_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpx_sw_bytes > ( ) ) ) . __glibc_reserved1 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _fpx_sw_bytes ) , "::" , stringify ! ( __glibc_reserved1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _fpreg { pub significand : [ :: std :: os :: raw :: c_ushort ; 4usize ] , pub exponent : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout__fpreg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _fpreg > ( ) , 10usize , concat ! ( "Size of: " , stringify ! ( _fpreg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _fpreg > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _fpreg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpreg > ( ) ) ) . significand as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _fpreg ) , "::" , stringify ! ( significand ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpreg > ( ) ) ) . exponent as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _fpreg ) , "::" , stringify ! ( exponent ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _fpxreg { pub significand : [ :: std :: os :: raw :: c_ushort ; 4usize ] , pub exponent : :: std :: os :: raw :: c_ushort , pub __glibc_reserved1 : [ :: std :: os :: raw :: c_ushort ; 3usize ] , } # [ test ] fn bindgen_test_layout__fpxreg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _fpxreg > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _fpxreg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _fpxreg > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _fpxreg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpxreg > ( ) ) ) . significand as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _fpxreg ) , "::" , stringify ! ( significand ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpxreg > ( ) ) ) . exponent as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _fpxreg ) , "::" , stringify ! ( exponent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpxreg > ( ) ) ) . __glibc_reserved1 as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _fpxreg ) , "::" , stringify ! ( __glibc_reserved1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _xmmreg { pub element : [ __uint32_t ; 4usize ] , } # [ test ] fn bindgen_test_layout__xmmreg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _xmmreg > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _xmmreg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _xmmreg > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _xmmreg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xmmreg > ( ) ) ) . element as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _xmmreg ) , "::" , stringify ! ( element ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _fpstate { pub cwd : __uint16_t , pub swd : __uint16_t , pub ftw : __uint16_t , pub fop : __uint16_t , pub rip : __uint64_t , pub rdp : __uint64_t , pub mxcsr : __uint32_t , pub mxcr_mask : __uint32_t , pub _st : [ _fpxreg ; 8usize ] , pub _xmm : [ _xmmreg ; 16usize ] , pub __glibc_reserved1 : [ __uint32_t ; 24usize ] , } # [ test ] fn bindgen_test_layout__fpstate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _fpstate > ( ) , 512usize , concat ! ( "Size of: " , stringify ! ( _fpstate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _fpstate > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _fpstate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . cwd as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( cwd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . swd as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( swd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . ftw as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( ftw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . fop as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( fop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . rip as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( rip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . rdp as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( rdp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . mxcsr as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( mxcsr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . mxcr_mask as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( mxcr_mask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . _st as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( _st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . _xmm as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( _xmm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _fpstate > ( ) ) ) . __glibc_reserved1 as * const _ as usize } , 416usize , concat ! ( "Offset of field: " , stringify ! ( _fpstate ) , "::" , stringify ! ( __glibc_reserved1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct sigcontext { pub r8 : __uint64_t , pub r9 : __uint64_t , pub r10 : __uint64_t , pub r11 : __uint64_t , pub r12 : __uint64_t , pub r13 : __uint64_t , pub r14 : __uint64_t , pub r15 : __uint64_t , pub rdi : __uint64_t , pub rsi : __uint64_t , pub rbp : __uint64_t , pub rbx : __uint64_t , pub rdx : __uint64_t , pub rax : __uint64_t , pub rcx : __uint64_t , pub rsp : __uint64_t , pub rip : __uint64_t , pub eflags : __uint64_t , pub cs : :: std :: os :: raw :: c_ushort , pub gs : :: std :: os :: raw :: c_ushort , pub fs : :: std :: os :: raw :: c_ushort , pub __pad0 : :: std :: os :: raw :: c_ushort , pub err : __uint64_t , pub trapno : __uint64_t , pub oldmask : __uint64_t , pub cr2 : __uint64_t , pub __bindgen_padding_0 : u64 , pub __reserved1 : [ __uint64_t ; 8usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) { pub fpstate : * mut _fpstate , pub __fpstate_word : __uint64_t , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) > ( ) ) ) . fpstate as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) ) , "::" , stringify ! ( fpstate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) > ( ) ) ) . __fpstate_word as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext_union_(anonymous_at_/usr/include/x86_64-linux-gnu/bits/sigcontext_h_167_17) ) , "::" , stringify ! ( __fpstate_word ) ) ) ; } # [ test ] fn bindgen_test_layout_sigcontext ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigcontext > ( ) , 256usize , concat ! ( "Size of: " , stringify ! ( sigcontext ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigcontext > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigcontext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r8 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r8 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r9 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r9 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r10 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r10 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r11 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r11 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r12 as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r12 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r13 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r13 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r14 as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r14 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . r15 as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( r15 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rdi as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rdi ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rsi as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rsi ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rbp as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rbp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rbx as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rbx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rdx as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rdx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rax as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rax ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rcx as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rcx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rsp as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rsp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . rip as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( rip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . eflags as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( eflags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . cs as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( cs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . gs as * const _ as usize } , 146usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( gs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . fs as * const _ as usize } , 148usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( fs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . __pad0 as * const _ as usize } , 150usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( __pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . err as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( err ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . trapno as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( trapno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . oldmask as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( oldmask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . cr2 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( cr2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigcontext > ( ) ) ) . __reserved1 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( sigcontext ) , "::" , stringify ! ( __reserved1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _xsave_hdr { pub xstate_bv : __uint64_t , pub __glibc_reserved1 : [ __uint64_t ; 2usize ] , pub __glibc_reserved2 : [ __uint64_t ; 5usize ] , } # [ test ] fn bindgen_test_layout__xsave_hdr ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _xsave_hdr > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _xsave_hdr ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _xsave_hdr > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _xsave_hdr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xsave_hdr > ( ) ) ) . xstate_bv as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _xsave_hdr ) , "::" , stringify ! ( xstate_bv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xsave_hdr > ( ) ) ) . __glibc_reserved1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _xsave_hdr ) , "::" , stringify ! ( __glibc_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xsave_hdr > ( ) ) ) . __glibc_reserved2 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _xsave_hdr ) , "::" , stringify ! ( __glibc_reserved2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ymmh_state { pub ymmh_space : [ __uint32_t ; 64usize ] , } # [ test ] fn bindgen_test_layout__ymmh_state ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ymmh_state > ( ) , 256usize , concat ! ( "Size of: " , stringify ! ( _ymmh_state ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ymmh_state > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _ymmh_state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ymmh_state > ( ) ) ) . ymmh_space as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ymmh_state ) , "::" , stringify ! ( ymmh_space ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _xstate { pub fpstate : _fpstate , pub xstate_hdr : _xsave_hdr , pub ymmh : _ymmh_state , } # [ test ] fn bindgen_test_layout__xstate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _xstate > ( ) , 832usize , concat ! ( "Size of: " , stringify ! ( _xstate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _xstate > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _xstate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xstate > ( ) ) ) . fpstate as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _xstate ) , "::" , stringify ! ( fpstate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xstate > ( ) ) ) . xstate_hdr as * const _ as usize } , 512usize , concat ! ( "Offset of field: " , stringify ! ( _xstate ) , "::" , stringify ! ( xstate_hdr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _xstate > ( ) ) ) . ymmh as * const _ as usize } , 576usize , concat ! ( "Offset of field: " , stringify ! ( _xstate ) , "::" , stringify ! ( ymmh ) ) ) ; } extern "C" { pub fn sigreturn ( __scp : * mut sigcontext ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stack_t { pub ss_sp : * mut :: std :: os :: raw :: c_void , pub ss_flags : :: std :: os :: raw :: c_int , pub ss_size : usize , } # [ test ] fn bindgen_test_layout_stack_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stack_t > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stack_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stack_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stack_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stack_t > ( ) ) ) . ss_sp as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stack_t ) , "::" , stringify ! ( ss_sp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stack_t > ( ) ) ) . ss_flags as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stack_t ) , "::" , stringify ! ( ss_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stack_t > ( ) ) ) . ss_size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stack_t ) , "::" , stringify ! ( ss_size ) ) ) ; } pub type greg_t = :: std :: os :: raw :: c_longlong ; pub type gregset_t = [ greg_t ; 23usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _libc_fpxreg { pub significand : [ :: std :: os :: raw :: c_ushort ; 4usize ] , pub exponent : :: std :: os :: raw :: c_ushort , pub __glibc_reserved1 : [ :: std :: os :: raw :: c_ushort ; 3usize ] , } # [ test ] fn bindgen_test_layout__libc_fpxreg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _libc_fpxreg > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _libc_fpxreg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _libc_fpxreg > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _libc_fpxreg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpxreg > ( ) ) ) . significand as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpxreg ) , "::" , stringify ! ( significand ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpxreg > ( ) ) ) . exponent as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpxreg ) , "::" , stringify ! ( exponent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpxreg > ( ) ) ) . __glibc_reserved1 as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpxreg ) , "::" , stringify ! ( __glibc_reserved1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _libc_xmmreg { pub element : [ __uint32_t ; 4usize ] , } # [ test ] fn bindgen_test_layout__libc_xmmreg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _libc_xmmreg > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _libc_xmmreg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _libc_xmmreg > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _libc_xmmreg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_xmmreg > ( ) ) ) . element as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _libc_xmmreg ) , "::" , stringify ! ( element ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _libc_fpstate { pub cwd : __uint16_t , pub swd : __uint16_t , pub ftw : __uint16_t , pub fop : __uint16_t , pub rip : __uint64_t , pub rdp : __uint64_t , pub mxcsr : __uint32_t , pub mxcr_mask : __uint32_t , pub _st : [ _libc_fpxreg ; 8usize ] , pub _xmm : [ _libc_xmmreg ; 16usize ] , pub __glibc_reserved1 : [ __uint32_t ; 24usize ] , } # [ test ] fn bindgen_test_layout__libc_fpstate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _libc_fpstate > ( ) , 512usize , concat ! ( "Size of: " , stringify ! ( _libc_fpstate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _libc_fpstate > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _libc_fpstate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . cwd as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( cwd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . swd as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( swd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . ftw as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( ftw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . fop as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( fop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . rip as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( rip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . rdp as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( rdp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . mxcsr as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( mxcsr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . mxcr_mask as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( mxcr_mask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . _st as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( _st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . _xmm as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( _xmm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _libc_fpstate > ( ) ) ) . __glibc_reserved1 as * const _ as usize } , 416usize , concat ! ( "Offset of field: " , stringify ! ( _libc_fpstate ) , "::" , stringify ! ( __glibc_reserved1 ) ) ) ; } pub type fpregset_t = * mut _libc_fpstate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct mcontext_t { pub gregs : gregset_t , pub fpregs : fpregset_t , pub __reserved1 : [ :: std :: os :: raw :: c_ulonglong ; 8usize ] , } # [ test ] fn bindgen_test_layout_mcontext_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < mcontext_t > ( ) , 256usize , concat ! ( "Size of: " , stringify ! ( mcontext_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < mcontext_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( mcontext_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mcontext_t > ( ) ) ) . gregs as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( mcontext_t ) , "::" , stringify ! ( gregs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mcontext_t > ( ) ) ) . fpregs as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( mcontext_t ) , "::" , stringify ! ( fpregs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < mcontext_t > ( ) ) ) . __reserved1 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( mcontext_t ) , "::" , stringify ! ( __reserved1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ucontext_t { pub uc_flags : :: std :: os :: raw :: c_ulong , pub uc_link : * mut ucontext_t , pub uc_stack : stack_t , pub uc_mcontext : mcontext_t , pub uc_sigmask : sigset_t , pub __fpregs_mem : _libc_fpstate , pub __ssp : [ :: std :: os :: raw :: c_ulonglong ; 4usize ] , } # [ test ] fn bindgen_test_layout_ucontext_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ucontext_t > ( ) , 968usize , concat ! ( "Size of: " , stringify ! ( ucontext_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ucontext_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( ucontext_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . uc_flags as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( uc_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . uc_link as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( uc_link ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . uc_stack as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( uc_stack ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . uc_mcontext as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( uc_mcontext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . uc_sigmask as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( uc_sigmask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . __fpregs_mem as * const _ as usize } , 424usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( __fpregs_mem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ucontext_t > ( ) ) ) . __ssp as * const _ as usize } , 936usize , concat ! ( "Offset of field: " , stringify ! ( ucontext_t ) , "::" , stringify ! ( __ssp ) ) ) ; } extern "C" { pub fn siginterrupt ( __sig : :: std :: os :: raw :: c_int , __interrupt : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/ss_flags_h_27_1)_SS_ONSTACK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/ss_flags_h_27_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/ss_flags_h_27_1)_SS_DISABLE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/ss_flags_h_27_1) = 2 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/ss_flags_h_27_1) = u32 ; extern "C" { pub fn sigaltstack ( __ss : * const stack_t , __oss : * mut stack_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct sigstack { pub ss_sp : * mut :: std :: os :: raw :: c_void , pub ss_onstack : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_sigstack ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sigstack > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( sigstack ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sigstack > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sigstack ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigstack > ( ) ) ) . ss_sp as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sigstack ) , "::" , stringify ! ( ss_sp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sigstack > ( ) ) ) . ss_onstack as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( sigstack ) , "::" , stringify ! ( ss_onstack ) ) ) ; } extern "C" { pub fn sigstack ( __ss : * mut sigstack , __oss : * mut sigstack ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_sigmask ( __how : :: std :: os :: raw :: c_int , __newmask : * const __sigset_t , __oldmask : * mut __sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_kill ( __threadid : pthread_t , __signo : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __libc_current_sigrtmin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __libc_current_sigrtmax ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_on_error_query ( prg_name : * const gchar ) ; } extern "C" { pub fn g_on_error_stack_trace ( prg_name : * const gchar ) ; } extern "C" { pub fn g_base64_encode_step ( in_ : * const guchar , len : gsize , break_lines : gboolean , out : * mut gchar , state : * mut gint , save : * mut gint ) -> gsize ; } extern "C" { pub fn g_base64_encode_close ( break_lines : gboolean , out : * mut gchar , state : * mut gint , save : * mut gint ) -> gsize ; } extern "C" { pub fn g_base64_encode ( data : * const guchar , len : gsize ) -> * mut gchar ; } extern "C" { pub fn g_base64_decode_step ( in_ : * const gchar , len : gsize , out : * mut guchar , state : * mut gint , save : * mut guint ) -> gsize ; } extern "C" { pub fn g_base64_decode ( text : * const gchar , out_len : * mut gsize ) -> * mut guchar ; } extern "C" { pub fn g_base64_decode_inplace ( text : * mut gchar , out_len : * mut gsize ) -> * mut guchar ; } extern "C" { pub fn g_bit_lock ( address : * mut gint , lock_bit : gint ) ; } extern "C" { pub fn g_bit_trylock ( address : * mut gint , lock_bit : gint ) -> gboolean ; } extern "C" { pub fn g_bit_unlock ( address : * mut gint , lock_bit : gint ) ; } extern "C" { pub fn g_pointer_bit_lock ( address : * mut :: std :: os :: raw :: c_void , lock_bit : gint ) ; } extern "C" { pub fn g_pointer_bit_lock_and_get ( address : gpointer , lock_bit : guint , out_ptr : * mut guintptr ) ; } extern "C" { pub fn g_pointer_bit_trylock ( address : * mut :: std :: os :: raw :: c_void , lock_bit : gint ) -> gboolean ; } extern "C" { pub fn g_pointer_bit_unlock ( address : * mut :: std :: os :: raw :: c_void , lock_bit : gint ) ; } extern "C" { pub fn g_pointer_bit_lock_mask_ptr ( ptr : gpointer , lock_bit : guint , set : gboolean , preserve_mask : guintptr , preserve_ptr : gpointer ) -> gpointer ; } extern "C" { pub fn g_pointer_bit_unlock_and_set ( address : * mut :: std :: os :: raw :: c_void , lock_bit : guint , ptr : gpointer , preserve_mask : guintptr ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTimeZone { _unused : [ u8 ; 0 ] , } pub type GTimeZone = _GTimeZone ; pub const GTimeType_G_TIME_TYPE_STANDARD : GTimeType = 0 ; pub const GTimeType_G_TIME_TYPE_DAYLIGHT : GTimeType = 1 ; pub const GTimeType_G_TIME_TYPE_UNIVERSAL : GTimeType = 2 ; pub type GTimeType = u32 ; extern "C" { pub fn g_time_zone_new ( identifier : * const gchar ) -> * mut GTimeZone ; } extern "C" { pub fn g_time_zone_new_identifier ( identifier : * const gchar ) -> * mut GTimeZone ; } extern "C" { pub fn g_time_zone_new_utc ( ) -> * mut GTimeZone ; } extern "C" { pub fn g_time_zone_new_local ( ) -> * mut GTimeZone ; } extern "C" { pub fn g_time_zone_new_offset ( seconds : gint32 ) -> * mut GTimeZone ; } extern "C" { pub fn g_time_zone_ref ( tz : * mut GTimeZone ) -> * mut GTimeZone ; } extern "C" { pub fn g_time_zone_unref ( tz : * mut GTimeZone ) ; } extern "C" { pub fn g_time_zone_find_interval ( tz : * mut GTimeZone , type_ : GTimeType , time_ : gint64 ) -> gint ; } extern "C" { pub fn g_time_zone_adjust_time ( tz : * mut GTimeZone , type_ : GTimeType , time_ : * mut gint64 ) -> gint ; } extern "C" { pub fn g_time_zone_get_abbreviation ( tz : * mut GTimeZone , interval : gint ) -> * const gchar ; } extern "C" { pub fn g_time_zone_get_offset ( tz : * mut GTimeZone , interval : gint ) -> gint32 ; } extern "C" { pub fn g_time_zone_is_dst ( tz : * mut GTimeZone , interval : gint ) -> gboolean ; } extern "C" { pub fn g_time_zone_get_identifier ( tz : * mut GTimeZone ) -> * const gchar ; } pub type GTimeSpan = gint64 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDateTime { _unused : [ u8 ; 0 ] , } pub type GDateTime = _GDateTime ; extern "C" { pub fn g_date_time_unref ( datetime : * mut GDateTime ) ; } extern "C" { pub fn g_date_time_ref ( datetime : * mut GDateTime ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_now ( tz : * mut GTimeZone ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_now_local ( ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_now_utc ( ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_unix_local ( t : gint64 ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_unix_utc ( t : gint64 ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_unix_local_usec ( usecs : gint64 ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_unix_utc_usec ( usecs : gint64 ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_timeval_local ( tv : * const GTimeVal ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_timeval_utc ( tv : * const GTimeVal ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_from_iso8601 ( text : * const gchar , default_tz : * mut GTimeZone ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new ( tz : * mut GTimeZone , year : gint , month : gint , day : gint , hour : gint , minute : gint , seconds : gdouble ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_local ( year : gint , month : gint , day : gint , hour : gint , minute : gint , seconds : gdouble ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_new_utc ( year : gint , month : gint , day : gint , hour : gint , minute : gint , seconds : gdouble ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add ( datetime : * mut GDateTime , timespan : GTimeSpan ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_years ( datetime : * mut GDateTime , years : gint ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_months ( datetime : * mut GDateTime , months : gint ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_weeks ( datetime : * mut GDateTime , weeks : gint ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_days ( datetime : * mut GDateTime , days : gint ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_hours ( datetime : * mut GDateTime , hours : gint ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_minutes ( datetime : * mut GDateTime , minutes : gint ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_seconds ( datetime : * mut GDateTime , seconds : gdouble ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_add_full ( datetime : * mut GDateTime , years : gint , months : gint , days : gint , hours : gint , minutes : gint , seconds : gdouble ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_compare ( dt1 : gconstpointer , dt2 : gconstpointer ) -> gint ; } extern "C" { pub fn g_date_time_difference ( end : * mut GDateTime , begin : * mut GDateTime ) -> GTimeSpan ; } extern "C" { pub fn g_date_time_hash ( datetime : gconstpointer ) -> guint ; } extern "C" { pub fn g_date_time_equal ( dt1 : gconstpointer , dt2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_date_time_get_ymd ( datetime : * mut GDateTime , year : * mut gint , month : * mut gint , day : * mut gint ) ; } extern "C" { pub fn g_date_time_get_year ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_month ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_day_of_month ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_week_numbering_year ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_week_of_year ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_day_of_week ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_day_of_year ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_hour ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_minute ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_second ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_microsecond ( datetime : * mut GDateTime ) -> gint ; } extern "C" { pub fn g_date_time_get_seconds ( datetime : * mut GDateTime ) -> gdouble ; } extern "C" { pub fn g_date_time_to_unix ( datetime : * mut GDateTime ) -> gint64 ; } extern "C" { pub fn g_date_time_to_unix_usec ( datetime : * mut GDateTime ) -> gint64 ; } extern "C" { pub fn g_date_time_to_timeval ( datetime : * mut GDateTime , tv : * mut GTimeVal ) -> gboolean ; } extern "C" { pub fn g_date_time_get_utc_offset ( datetime : * mut GDateTime ) -> GTimeSpan ; } extern "C" { pub fn g_date_time_get_timezone ( datetime : * mut GDateTime ) -> * mut GTimeZone ; } extern "C" { pub fn g_date_time_get_timezone_abbreviation ( datetime : * mut GDateTime ) -> * const gchar ; } extern "C" { pub fn g_date_time_is_daylight_savings ( datetime : * mut GDateTime ) -> gboolean ; } extern "C" { pub fn g_date_time_to_timezone ( datetime : * mut GDateTime , tz : * mut GTimeZone ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_to_local ( datetime : * mut GDateTime ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_to_utc ( datetime : * mut GDateTime ) -> * mut GDateTime ; } extern "C" { pub fn g_date_time_format ( datetime : * mut GDateTime , format : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_date_time_format_iso8601 ( datetime : * mut GDateTime ) -> * mut gchar ; } pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_INVALID_URI : GBookmarkFileError = 0 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_INVALID_VALUE : GBookmarkFileError = 1 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED : GBookmarkFileError = 2 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND : GBookmarkFileError = 3 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_READ : GBookmarkFileError = 4 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING : GBookmarkFileError = 5 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_WRITE : GBookmarkFileError = 6 ; pub const GBookmarkFileError_G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND : GBookmarkFileError = 7 ; pub type GBookmarkFileError = u32 ; extern "C" { pub fn g_bookmark_file_error_quark ( ) -> GQuark ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBookmarkFile { _unused : [ u8 ; 0 ] , } pub type GBookmarkFile = _GBookmarkFile ; extern "C" { pub fn g_bookmark_file_new ( ) -> * mut GBookmarkFile ; } extern "C" { pub fn g_bookmark_file_free ( bookmark : * mut GBookmarkFile ) ; } extern "C" { pub fn g_bookmark_file_copy ( bookmark : * mut GBookmarkFile ) -> * mut GBookmarkFile ; } extern "C" { pub fn g_bookmark_file_load_from_file ( bookmark : * mut GBookmarkFile , filename : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_load_from_data ( bookmark : * mut GBookmarkFile , data : * const gchar , length : gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_load_from_data_dirs ( bookmark : * mut GBookmarkFile , file : * const gchar , full_path : * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_to_data ( bookmark : * mut GBookmarkFile , length : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_bookmark_file_to_file ( bookmark : * mut GBookmarkFile , filename : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_set_title ( bookmark : * mut GBookmarkFile , uri : * const gchar , title : * const gchar ) ; } extern "C" { pub fn g_bookmark_file_get_title ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_bookmark_file_set_description ( bookmark : * mut GBookmarkFile , uri : * const gchar , description : * const gchar ) ; } extern "C" { pub fn g_bookmark_file_get_description ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_bookmark_file_set_mime_type ( bookmark : * mut GBookmarkFile , uri : * const gchar , mime_type : * const gchar ) ; } extern "C" { pub fn g_bookmark_file_get_mime_type ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_bookmark_file_set_groups ( bookmark : * mut GBookmarkFile , uri : * const gchar , groups : * mut * const gchar , length : gsize ) ; } extern "C" { pub fn g_bookmark_file_add_group ( bookmark : * mut GBookmarkFile , uri : * const gchar , group : * const gchar ) ; } extern "C" { pub fn g_bookmark_file_has_group ( bookmark : * mut GBookmarkFile , uri : * const gchar , group : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_get_groups ( bookmark : * mut GBookmarkFile , uri : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_bookmark_file_add_application ( bookmark : * mut GBookmarkFile , uri : * const gchar , name : * const gchar , exec : * const gchar ) ; } extern "C" { pub fn g_bookmark_file_has_application ( bookmark : * mut GBookmarkFile , uri : * const gchar , name : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_get_applications ( bookmark : * mut GBookmarkFile , uri : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_bookmark_file_set_app_info ( bookmark : * mut GBookmarkFile , uri : * const gchar , name : * const gchar , exec : * const gchar , count : gint , stamp : time_t , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_set_application_info ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , name : * const :: std :: os :: raw :: c_char , exec : * const :: std :: os :: raw :: c_char , count : :: std :: os :: raw :: c_int , stamp : * mut GDateTime , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_get_app_info ( bookmark : * mut GBookmarkFile , uri : * const gchar , name : * const gchar , exec : * mut * mut gchar , count : * mut guint , stamp : * mut time_t , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_get_application_info ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , name : * const :: std :: os :: raw :: c_char , exec : * mut * mut :: std :: os :: raw :: c_char , count : * mut :: std :: os :: raw :: c_uint , stamp : * mut * mut GDateTime , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_set_is_private ( bookmark : * mut GBookmarkFile , uri : * const gchar , is_private : gboolean ) ; } extern "C" { pub fn g_bookmark_file_get_is_private ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_set_icon ( bookmark : * mut GBookmarkFile , uri : * const gchar , href : * const gchar , mime_type : * const gchar ) ; } extern "C" { pub fn g_bookmark_file_get_icon ( bookmark : * mut GBookmarkFile , uri : * const gchar , href : * mut * mut gchar , mime_type : * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_set_added ( bookmark : * mut GBookmarkFile , uri : * const gchar , added : time_t ) ; } extern "C" { pub fn g_bookmark_file_set_added_date_time ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , added : * mut GDateTime ) ; } extern "C" { pub fn g_bookmark_file_get_added ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> time_t ; } extern "C" { pub fn g_bookmark_file_get_added_date_time ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GDateTime ; } extern "C" { pub fn g_bookmark_file_set_modified ( bookmark : * mut GBookmarkFile , uri : * const gchar , modified : time_t ) ; } extern "C" { pub fn g_bookmark_file_set_modified_date_time ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , modified : * mut GDateTime ) ; } extern "C" { pub fn g_bookmark_file_get_modified ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> time_t ; } extern "C" { pub fn g_bookmark_file_get_modified_date_time ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GDateTime ; } extern "C" { pub fn g_bookmark_file_set_visited ( bookmark : * mut GBookmarkFile , uri : * const gchar , visited : time_t ) ; } extern "C" { pub fn g_bookmark_file_set_visited_date_time ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , visited : * mut GDateTime ) ; } extern "C" { pub fn g_bookmark_file_get_visited ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> time_t ; } extern "C" { pub fn g_bookmark_file_get_visited_date_time ( bookmark : * mut GBookmarkFile , uri : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GDateTime ; } extern "C" { pub fn g_bookmark_file_has_item ( bookmark : * mut GBookmarkFile , uri : * const gchar ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_get_size ( bookmark : * mut GBookmarkFile ) -> gint ; } extern "C" { pub fn g_bookmark_file_get_uris ( bookmark : * mut GBookmarkFile , length : * mut gsize ) -> * mut * mut gchar ; } extern "C" { pub fn g_bookmark_file_remove_group ( bookmark : * mut GBookmarkFile , uri : * const gchar , group : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_remove_application ( bookmark : * mut GBookmarkFile , uri : * const gchar , name : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_remove_item ( bookmark : * mut GBookmarkFile , uri : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bookmark_file_move_item ( bookmark : * mut GBookmarkFile , old_uri : * const gchar , new_uri : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_bytes_new ( data : gconstpointer , size : gsize ) -> * mut GBytes ; } extern "C" { pub fn g_bytes_new_take ( data : gpointer , size : gsize ) -> * mut GBytes ; } extern "C" { pub fn g_bytes_new_static ( data : gconstpointer , size : gsize ) -> * mut GBytes ; } extern "C" { pub fn g_bytes_new_with_free_func ( data : gconstpointer , size : gsize , free_func : GDestroyNotify , user_data : gpointer ) -> * mut GBytes ; } extern "C" { pub fn g_bytes_new_from_bytes ( bytes : * mut GBytes , offset : gsize , length : gsize ) -> * mut GBytes ; } extern "C" { pub fn g_bytes_get_data ( bytes : * mut GBytes , size : * mut gsize ) -> gconstpointer ; } extern "C" { pub fn g_bytes_get_size ( bytes : * mut GBytes ) -> gsize ; } extern "C" { pub fn g_bytes_ref ( bytes : * mut GBytes ) -> * mut GBytes ; } extern "C" { pub fn g_bytes_unref ( bytes : * mut GBytes ) ; } extern "C" { pub fn g_bytes_unref_to_data ( bytes : * mut GBytes , size : * mut gsize ) -> gpointer ; } extern "C" { pub fn g_bytes_unref_to_array ( bytes : * mut GBytes ) -> * mut GByteArray ; } extern "C" { pub fn g_bytes_hash ( bytes : gconstpointer ) -> guint ; } extern "C" { pub fn g_bytes_equal ( bytes1 : gconstpointer , bytes2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_bytes_compare ( bytes1 : gconstpointer , bytes2 : gconstpointer ) -> gint ; } extern "C" { pub fn g_bytes_get_region ( bytes : * mut GBytes , element_size : gsize , offset : gsize , n_elements : gsize ) -> gconstpointer ; } extern "C" { pub fn g_get_charset ( charset : * mut * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_get_codeset ( ) -> * mut gchar ; } extern "C" { pub fn g_get_console_charset ( charset : * mut * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_get_language_names ( ) -> * const * const gchar ; } extern "C" { pub fn g_get_language_names_with_category ( category_name : * const gchar ) -> * const * const gchar ; } extern "C" { pub fn g_get_locale_variants ( locale : * const gchar ) -> * mut * mut gchar ; } pub const GChecksumType_G_CHECKSUM_MD5 : GChecksumType = 0 ; pub const GChecksumType_G_CHECKSUM_SHA1 : GChecksumType = 1 ; pub const GChecksumType_G_CHECKSUM_SHA256 : GChecksumType = 2 ; pub const GChecksumType_G_CHECKSUM_SHA512 : GChecksumType = 3 ; pub const GChecksumType_G_CHECKSUM_SHA384 : GChecksumType = 4 ; pub type GChecksumType = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GChecksum { _unused : [ u8 ; 0 ] , } pub type GChecksum = _GChecksum ; extern "C" { pub fn g_checksum_type_get_length ( checksum_type : GChecksumType ) -> gssize ; } extern "C" { pub fn g_checksum_new ( checksum_type : GChecksumType ) -> * mut GChecksum ; } extern "C" { pub fn g_checksum_reset ( checksum : * mut GChecksum ) ; } extern "C" { pub fn g_checksum_copy ( checksum : * const GChecksum ) -> * mut GChecksum ; } extern "C" { pub fn g_checksum_free ( checksum : * mut GChecksum ) ; } extern "C" { pub fn g_checksum_update ( checksum : * mut GChecksum , data : * const guchar , length : gssize ) ; } extern "C" { pub fn g_checksum_get_string ( checksum : * mut GChecksum ) -> * const gchar ; } extern "C" { pub fn g_checksum_get_digest ( checksum : * mut GChecksum , buffer : * mut guint8 , digest_len : * mut gsize ) ; } extern "C" { pub fn g_compute_checksum_for_data ( checksum_type : GChecksumType , data : * const guchar , length : gsize ) -> * mut gchar ; } extern "C" { pub fn g_compute_checksum_for_string ( checksum_type : GChecksumType , str : * const gchar , length : gssize ) -> * mut gchar ; } extern "C" { pub fn g_compute_checksum_for_bytes ( checksum_type : GChecksumType , data : * mut GBytes ) -> * mut gchar ; } pub const GConvertError_G_CONVERT_ERROR_NO_CONVERSION : GConvertError = 0 ; pub const GConvertError_G_CONVERT_ERROR_ILLEGAL_SEQUENCE : GConvertError = 1 ; pub const GConvertError_G_CONVERT_ERROR_FAILED : GConvertError = 2 ; pub const GConvertError_G_CONVERT_ERROR_PARTIAL_INPUT : GConvertError = 3 ; pub const GConvertError_G_CONVERT_ERROR_BAD_URI : GConvertError = 4 ; pub const GConvertError_G_CONVERT_ERROR_NOT_ABSOLUTE_PATH : GConvertError = 5 ; pub const GConvertError_G_CONVERT_ERROR_NO_MEMORY : GConvertError = 6 ; pub const GConvertError_G_CONVERT_ERROR_EMBEDDED_NUL : GConvertError = 7 ; pub type GConvertError = u32 ; extern "C" { pub fn g_convert_error_quark ( ) -> GQuark ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIConv { _unused : [ u8 ; 0 ] , } pub type GIConv = * mut _GIConv ; extern "C" { pub fn g_iconv_open ( to_codeset : * const gchar , from_codeset : * const gchar ) -> GIConv ; } extern "C" { pub fn g_iconv ( converter : GIConv , inbuf : * mut * mut gchar , inbytes_left : * mut gsize , outbuf : * mut * mut gchar , outbytes_left : * mut gsize ) -> gsize ; } extern "C" { pub fn g_iconv_close ( converter : GIConv ) -> gint ; } extern "C" { pub fn g_convert ( str : * const gchar , len : gssize , to_codeset : * const gchar , from_codeset : * const gchar , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_convert_with_iconv ( str : * const gchar , len : gssize , converter : GIConv , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_convert_with_fallback ( str : * const gchar , len : gssize , to_codeset : * const gchar , from_codeset : * const gchar , fallback : * const gchar , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_locale_to_utf8 ( opsysstring : * const gchar , len : gssize , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_locale_from_utf8 ( utf8string : * const gchar , len : gssize , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_filename_to_utf8 ( opsysstring : * const gchar , len : gssize , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_filename_from_utf8 ( utf8string : * const gchar , len : gssize , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_filename_from_uri ( uri : * const gchar , hostname : * mut * mut gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_filename_to_uri ( filename : * const gchar , hostname : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_filename_display_name ( filename : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_get_filename_charsets ( filename_charsets : * mut * mut * const gchar ) -> gboolean ; } extern "C" { pub fn g_filename_display_basename ( filename : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_uri_list_extract_uris ( uri_list : * const gchar ) -> * mut * mut gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GData { _unused : [ u8 ; 0 ] , } pub type GData = _GData ; pub type GDataForeachFunc = :: std :: option :: Option < unsafe extern "C" fn ( key_id : GQuark , data : gpointer , user_data : gpointer ) > ; extern "C" { pub fn g_datalist_init ( datalist : * mut * mut GData ) ; } extern "C" { pub fn g_datalist_clear ( datalist : * mut * mut GData ) ; } extern "C" { pub fn g_datalist_id_get_data ( datalist : * mut * mut GData , key_id : GQuark ) -> gpointer ; } extern "C" { pub fn g_datalist_id_set_data_full ( datalist : * mut * mut GData , key_id : GQuark , data : gpointer , destroy_func : GDestroyNotify ) ; } extern "C" { pub fn g_datalist_id_remove_multiple ( datalist : * mut * mut GData , keys : * mut GQuark , n_keys : gsize ) ; } pub type GDuplicateFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer , user_data : gpointer ) -> gpointer > ; extern "C" { pub fn g_datalist_id_dup_data ( datalist : * mut * mut GData , key_id : GQuark , dup_func : GDuplicateFunc , user_data : gpointer ) -> gpointer ; } extern "C" { pub fn g_datalist_id_replace_data ( datalist : * mut * mut GData , key_id : GQuark , oldval : gpointer , newval : gpointer , destroy : GDestroyNotify , old_destroy : * mut GDestroyNotify ) -> gboolean ; } extern "C" { pub fn g_datalist_id_remove_no_notify ( datalist : * mut * mut GData , key_id : GQuark ) -> gpointer ; } extern "C" { pub fn g_datalist_foreach ( datalist : * mut * mut GData , func : GDataForeachFunc , user_data : gpointer ) ; } extern "C" { pub fn g_datalist_set_flags ( datalist : * mut * mut GData , flags : guint ) ; } extern "C" { pub fn g_datalist_unset_flags ( datalist : * mut * mut GData , flags : guint ) ; } extern "C" { pub fn g_datalist_get_flags ( datalist : * mut * mut GData ) -> guint ; } extern "C" { pub fn g_dataset_destroy ( dataset_location : gconstpointer ) ; } extern "C" { pub fn g_dataset_id_get_data ( dataset_location : gconstpointer , key_id : GQuark ) -> gpointer ; } extern "C" { pub fn g_datalist_get_data ( datalist : * mut * mut GData , key : * const gchar ) -> gpointer ; } extern "C" { pub fn g_dataset_id_set_data_full ( dataset_location : gconstpointer , key_id : GQuark , data : gpointer , destroy_func : GDestroyNotify ) ; } extern "C" { pub fn g_dataset_id_remove_no_notify ( dataset_location : gconstpointer , key_id : GQuark ) -> gpointer ; } extern "C" { pub fn g_dataset_foreach ( dataset_location : gconstpointer , func : GDataForeachFunc , user_data : gpointer ) ; } pub type GTime = gint32 ; pub type GDateYear = guint16 ; pub type GDateDay = guint8 ; pub type GDate = _GDate ; pub const GDateDMY_G_DATE_DAY : GDateDMY = 0 ; pub const GDateDMY_G_DATE_MONTH : GDateDMY = 1 ; pub const GDateDMY_G_DATE_YEAR : GDateDMY = 2 ; pub type GDateDMY = u32 ; pub const GDateWeekday_G_DATE_BAD_WEEKDAY : GDateWeekday = 0 ; pub const GDateWeekday_G_DATE_MONDAY : GDateWeekday = 1 ; pub const GDateWeekday_G_DATE_TUESDAY : GDateWeekday = 2 ; pub const GDateWeekday_G_DATE_WEDNESDAY : GDateWeekday = 3 ; pub const GDateWeekday_G_DATE_THURSDAY : GDateWeekday = 4 ; pub const GDateWeekday_G_DATE_FRIDAY : GDateWeekday = 5 ; pub const GDateWeekday_G_DATE_SATURDAY : GDateWeekday = 6 ; pub const GDateWeekday_G_DATE_SUNDAY : GDateWeekday = 7 ; pub type GDateWeekday = u32 ; pub const GDateMonth_G_DATE_BAD_MONTH : GDateMonth = 0 ; pub const GDateMonth_G_DATE_JANUARY : GDateMonth = 1 ; pub const GDateMonth_G_DATE_FEBRUARY : GDateMonth = 2 ; pub const GDateMonth_G_DATE_MARCH : GDateMonth = 3 ; pub const GDateMonth_G_DATE_APRIL : GDateMonth = 4 ; pub const GDateMonth_G_DATE_MAY : GDateMonth = 5 ; pub const GDateMonth_G_DATE_JUNE : GDateMonth = 6 ; pub const GDateMonth_G_DATE_JULY : GDateMonth = 7 ; pub const GDateMonth_G_DATE_AUGUST : GDateMonth = 8 ; pub const GDateMonth_G_DATE_SEPTEMBER : GDateMonth = 9 ; pub const GDateMonth_G_DATE_OCTOBER : GDateMonth = 10 ; pub const GDateMonth_G_DATE_NOVEMBER : GDateMonth = 11 ; pub const GDateMonth_G_DATE_DECEMBER : GDateMonth = 12 ; pub type GDateMonth = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDate { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 8usize ] , u32 > , pub __bindgen_align : [ u32 ; 0usize ] , } # [ test ] fn bindgen_test_layout__GDate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDate > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GDate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDate > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GDate ) ) ) ; } impl _GDate { # [ inline ] pub fn julian_days ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 32u8 ) as u32 ) } } # [ inline ] pub fn set_julian_days ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 32u8 , val as u64 ) } } # [ inline ] pub fn julian ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 32usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_julian ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 32usize , 1u8 , val as u64 ) } } # [ inline ] pub fn dmy ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 33usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_dmy ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 33usize , 1u8 , val as u64 ) } } # [ inline ] pub fn day ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 34usize , 6u8 ) as u32 ) } } # [ inline ] pub fn set_day ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 34usize , 6u8 , val as u64 ) } } # [ inline ] pub fn month ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 40usize , 4u8 ) as u32 ) } } # [ inline ] pub fn set_month ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 40usize , 4u8 , val as u64 ) } } # [ inline ] pub fn year ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 44usize , 16u8 ) as u32 ) } } # [ inline ] pub fn set_year ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 44usize , 16u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( julian_days : guint , julian : guint , dmy : guint , day : guint , month : guint , year : guint ) -> __BindgenBitfieldUnit < [ u8 ; 8usize ] , u32 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 8usize ] , u32 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 32u8 , { let julian_days : u32 = unsafe { :: std :: mem :: transmute ( julian_days ) } ; julian_days as u64 } ) ; __bindgen_bitfield_unit . set ( 32usize , 1u8 , { let julian : u32 = unsafe { :: std :: mem :: transmute ( julian ) } ; julian as u64 } ) ; __bindgen_bitfield_unit . set ( 33usize , 1u8 , { let dmy : u32 = unsafe { :: std :: mem :: transmute ( dmy ) } ; dmy as u64 } ) ; __bindgen_bitfield_unit . set ( 34usize , 6u8 , { let day : u32 = unsafe { :: std :: mem :: transmute ( day ) } ; day as u64 } ) ; __bindgen_bitfield_unit . set ( 40usize , 4u8 , { let month : u32 = unsafe { :: std :: mem :: transmute ( month ) } ; month as u64 } ) ; __bindgen_bitfield_unit . set ( 44usize , 16u8 , { let year : u32 = unsafe { :: std :: mem :: transmute ( year ) } ; year as u64 } ) ; __bindgen_bitfield_unit } } extern "C" { pub fn g_date_new ( ) -> * mut GDate ; } extern "C" { pub fn g_date_new_dmy ( day : GDateDay , month : GDateMonth , year : GDateYear ) -> * mut GDate ; } extern "C" { pub fn g_date_new_julian ( julian_day : guint32 ) -> * mut GDate ; } extern "C" { pub fn g_date_free ( date : * mut GDate ) ; } extern "C" { pub fn g_date_copy ( date : * const GDate ) -> * mut GDate ; } extern "C" { pub fn g_date_valid ( date : * const GDate ) -> gboolean ; } extern "C" { pub fn g_date_valid_day ( day : GDateDay ) -> gboolean ; } extern "C" { pub fn g_date_valid_month ( month : GDateMonth ) -> gboolean ; } extern "C" { pub fn g_date_valid_year ( year : GDateYear ) -> gboolean ; } extern "C" { pub fn g_date_valid_weekday ( weekday : GDateWeekday ) -> gboolean ; } extern "C" { pub fn g_date_valid_julian ( julian_date : guint32 ) -> gboolean ; } extern "C" { pub fn g_date_valid_dmy ( day : GDateDay , month : GDateMonth , year : GDateYear ) -> gboolean ; } extern "C" { pub fn g_date_get_weekday ( date : * const GDate ) -> GDateWeekday ; } extern "C" { pub fn g_date_get_month ( date : * const GDate ) -> GDateMonth ; } extern "C" { pub fn g_date_get_year ( date : * const GDate ) -> GDateYear ; } extern "C" { pub fn g_date_get_day ( date : * const GDate ) -> GDateDay ; } extern "C" { pub fn g_date_get_julian ( date : * const GDate ) -> guint32 ; } extern "C" { pub fn g_date_get_day_of_year ( date : * const GDate ) -> guint ; } extern "C" { pub fn g_date_get_monday_week_of_year ( date : * const GDate ) -> guint ; } extern "C" { pub fn g_date_get_sunday_week_of_year ( date : * const GDate ) -> guint ; } extern "C" { pub fn g_date_get_iso8601_week_of_year ( date : * const GDate ) -> guint ; } extern "C" { pub fn g_date_clear ( date : * mut GDate , n_dates : guint ) ; } extern "C" { pub fn g_date_set_parse ( date : * mut GDate , str : * const gchar ) ; } extern "C" { pub fn g_date_set_time_t ( date : * mut GDate , timet : time_t ) ; } extern "C" { pub fn g_date_set_time_val ( date : * mut GDate , timeval : * mut GTimeVal ) ; } extern "C" { pub fn g_date_set_time ( date : * mut GDate , time_ : GTime ) ; } extern "C" { pub fn g_date_set_month ( date : * mut GDate , month : GDateMonth ) ; } extern "C" { pub fn g_date_set_day ( date : * mut GDate , day : GDateDay ) ; } extern "C" { pub fn g_date_set_year ( date : * mut GDate , year : GDateYear ) ; } extern "C" { pub fn g_date_set_dmy ( date : * mut GDate , day : GDateDay , month : GDateMonth , y : GDateYear ) ; } extern "C" { pub fn g_date_set_julian ( date : * mut GDate , julian_date : guint32 ) ; } extern "C" { pub fn g_date_is_first_of_month ( date : * const GDate ) -> gboolean ; } extern "C" { pub fn g_date_is_last_of_month ( date : * const GDate ) -> gboolean ; } extern "C" { pub fn g_date_add_days ( date : * mut GDate , n_days : guint ) ; } extern "C" { pub fn g_date_subtract_days ( date : * mut GDate , n_days : guint ) ; } extern "C" { pub fn g_date_add_months ( date : * mut GDate , n_months : guint ) ; } extern "C" { pub fn g_date_subtract_months ( date : * mut GDate , n_months : guint ) ; } extern "C" { pub fn g_date_add_years ( date : * mut GDate , n_years : guint ) ; } extern "C" { pub fn g_date_subtract_years ( date : * mut GDate , n_years : guint ) ; } extern "C" { pub fn g_date_is_leap_year ( year : GDateYear ) -> gboolean ; } extern "C" { pub fn g_date_get_days_in_month ( month : GDateMonth , year : GDateYear ) -> guint8 ; } extern "C" { pub fn g_date_get_monday_weeks_in_year ( year : GDateYear ) -> guint8 ; } extern "C" { pub fn g_date_get_sunday_weeks_in_year ( year : GDateYear ) -> guint8 ; } extern "C" { pub fn g_date_days_between ( date1 : * const GDate , date2 : * const GDate ) -> gint ; } extern "C" { pub fn g_date_compare ( lhs : * const GDate , rhs : * const GDate ) -> gint ; } extern "C" { pub fn g_date_to_struct_tm ( date : * const GDate , tm : * mut tm ) ; } extern "C" { pub fn g_date_clamp ( date : * mut GDate , min_date : * const GDate , max_date : * const GDate ) ; } extern "C" { pub fn g_date_order ( date1 : * mut GDate , date2 : * mut GDate ) ; } extern "C" { pub fn g_date_strftime ( s : * mut gchar , slen : gsize , format : * const gchar , date : * const GDate ) -> gsize ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct dirent { pub d_ino : __ino_t , pub d_off : __off_t , pub d_reclen : :: std :: os :: raw :: c_ushort , pub d_type : :: std :: os :: raw :: c_uchar , pub d_name : [ :: std :: os :: raw :: c_char ; 256usize ] , } # [ test ] fn bindgen_test_layout_dirent ( ) { assert_eq ! ( :: std :: mem :: size_of :: < dirent > ( ) , 280usize , concat ! ( "Size of: " , stringify ! ( dirent ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < dirent > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( dirent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < dirent > ( ) ) ) . d_ino as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( dirent ) , "::" , stringify ! ( d_ino ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < dirent > ( ) ) ) . d_off as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( dirent ) , "::" , stringify ! ( d_off ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < dirent > ( ) ) ) . d_reclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( dirent ) , "::" , stringify ! ( d_reclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < dirent > ( ) ) ) . d_type as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( dirent ) , "::" , stringify ! ( d_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < dirent > ( ) ) ) . d_name as * const _ as usize } , 19usize , concat ! ( "Offset of field: " , stringify ! ( dirent ) , "::" , stringify ! ( d_name ) ) ) ; } pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_UNKNOWN : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 0 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_FIFO : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 1 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_CHR : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 2 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_DIR : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 4 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_BLK : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 6 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_REG : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 8 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_LNK : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 10 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_SOCK : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 12 ; pub const enum_(unnamed_at_/usr/include/dirent_h_97_1)_DT_WHT : enum_(unnamed_at_/usr/include/dirent_h_97_1) = 14 ; pub type enum_(unnamed_at_/usr/include/dirent_h_97_1) = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __dirstream { _unused : [ u8 ; 0 ] , } pub type DIR = __dirstream ; extern "C" { pub fn closedir ( __dirp : * mut DIR ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn opendir ( __name : * const :: std :: os :: raw :: c_char ) -> * mut DIR ; } extern "C" { pub fn fdopendir ( __fd : :: std :: os :: raw :: c_int ) -> * mut DIR ; } extern "C" { pub fn readdir ( __dirp : * mut DIR ) -> * mut dirent ; } extern "C" { pub fn readdir_r ( __dirp : * mut DIR , __entry : * mut dirent , __result : * mut * mut dirent ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rewinddir ( __dirp : * mut DIR ) ; } extern "C" { pub fn seekdir ( __dirp : * mut DIR , __pos : :: std :: os :: raw :: c_long ) ; } extern "C" { pub fn telldir ( __dirp : * mut DIR ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn dirfd ( __dirp : * mut DIR ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scandir ( __dir : * const :: std :: os :: raw :: c_char , __namelist : * mut * mut * mut dirent , __selector : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const dirent ) -> :: std :: os :: raw :: c_int > , __cmp : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut * const dirent , arg2 : * mut * const dirent ) -> :: std :: os :: raw :: c_int > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn alphasort ( __e1 : * mut * const dirent , __e2 : * mut * const dirent ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getdirentries ( __fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize , __basep : * mut __off_t ) -> __ssize_t ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDir { _unused : [ u8 ; 0 ] , } pub type GDir = _GDir ; extern "C" { pub fn g_dir_open ( path : * const gchar , flags : guint , error : * mut * mut GError ) -> * mut GDir ; } extern "C" { pub fn g_dir_read_name ( dir : * mut GDir ) -> * const gchar ; } extern "C" { pub fn g_dir_rewind ( dir : * mut GDir ) ; } extern "C" { pub fn g_dir_close ( dir : * mut GDir ) ; } extern "C" { pub fn g_dir_ref ( dir : * mut GDir ) -> * mut GDir ; } extern "C" { pub fn g_dir_unref ( dir : * mut GDir ) ; } extern "C" { pub fn g_getenv ( variable : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_setenv ( variable : * const gchar , value : * const gchar , overwrite : gboolean ) -> gboolean ; } extern "C" { pub fn g_unsetenv ( variable : * const gchar ) ; } extern "C" { pub fn g_listenv ( ) -> * mut * mut gchar ; } extern "C" { pub fn g_get_environ ( ) -> * mut * mut gchar ; } extern "C" { pub fn g_environ_getenv ( envp : * mut * mut gchar , variable : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_environ_setenv ( envp : * mut * mut gchar , variable : * const gchar , value : * const gchar , overwrite : gboolean ) -> * mut * mut gchar ; } extern "C" { pub fn g_environ_unsetenv ( envp : * mut * mut gchar , variable : * const gchar ) -> * mut * mut gchar ; } pub const GFileError_G_FILE_ERROR_EXIST : GFileError = 0 ; pub const GFileError_G_FILE_ERROR_ISDIR : GFileError = 1 ; pub const GFileError_G_FILE_ERROR_ACCES : GFileError = 2 ; pub const GFileError_G_FILE_ERROR_NAMETOOLONG : GFileError = 3 ; pub const GFileError_G_FILE_ERROR_NOENT : GFileError = 4 ; pub const GFileError_G_FILE_ERROR_NOTDIR : GFileError = 5 ; pub const GFileError_G_FILE_ERROR_NXIO : GFileError = 6 ; pub const GFileError_G_FILE_ERROR_NODEV : GFileError = 7 ; pub const GFileError_G_FILE_ERROR_ROFS : GFileError = 8 ; pub const GFileError_G_FILE_ERROR_TXTBSY : GFileError = 9 ; pub const GFileError_G_FILE_ERROR_FAULT : GFileError = 10 ; pub const GFileError_G_FILE_ERROR_LOOP : GFileError = 11 ; pub const GFileError_G_FILE_ERROR_NOSPC : GFileError = 12 ; pub const GFileError_G_FILE_ERROR_NOMEM : GFileError = 13 ; pub const GFileError_G_FILE_ERROR_MFILE : GFileError = 14 ; pub const GFileError_G_FILE_ERROR_NFILE : GFileError = 15 ; pub const GFileError_G_FILE_ERROR_BADF : GFileError = 16 ; pub const GFileError_G_FILE_ERROR_INVAL : GFileError = 17 ; pub const GFileError_G_FILE_ERROR_PIPE : GFileError = 18 ; pub const GFileError_G_FILE_ERROR_AGAIN : GFileError = 19 ; pub const GFileError_G_FILE_ERROR_INTR : GFileError = 20 ; pub const GFileError_G_FILE_ERROR_IO : GFileError = 21 ; pub const GFileError_G_FILE_ERROR_PERM : GFileError = 22 ; pub const GFileError_G_FILE_ERROR_NOSYS : GFileError = 23 ; pub const GFileError_G_FILE_ERROR_FAILED : GFileError = 24 ; pub type GFileError = u32 ; pub const GFileTest_G_FILE_TEST_IS_REGULAR : GFileTest = 1 ; pub const GFileTest_G_FILE_TEST_IS_SYMLINK : GFileTest = 2 ; pub const GFileTest_G_FILE_TEST_IS_DIR : GFileTest = 4 ; pub const GFileTest_G_FILE_TEST_IS_EXECUTABLE : GFileTest = 8 ; pub const GFileTest_G_FILE_TEST_EXISTS : GFileTest = 16 ; pub type GFileTest = u32 ; pub const GFileSetContentsFlags_G_FILE_SET_CONTENTS_NONE : GFileSetContentsFlags = 0 ; pub const GFileSetContentsFlags_G_FILE_SET_CONTENTS_CONSISTENT : GFileSetContentsFlags = 1 ; pub const GFileSetContentsFlags_G_FILE_SET_CONTENTS_DURABLE : GFileSetContentsFlags = 2 ; pub const GFileSetContentsFlags_G_FILE_SET_CONTENTS_ONLY_EXISTING : GFileSetContentsFlags = 4 ; pub type GFileSetContentsFlags = u32 ; extern "C" { pub fn g_file_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_file_error_from_errno ( err_no : gint ) -> GFileError ; } extern "C" { pub fn g_file_test ( filename : * const gchar , test : GFileTest ) -> gboolean ; } extern "C" { pub fn g_file_get_contents ( filename : * const gchar , contents : * mut * mut gchar , length : * mut gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_contents ( filename : * const gchar , contents : * const gchar , length : gssize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_contents_full ( filename : * const gchar , contents : * const gchar , length : gssize , flags : GFileSetContentsFlags , mode : :: std :: os :: raw :: c_int , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_read_link ( filename : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_mkdtemp ( tmpl : * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_mkdtemp_full ( tmpl : * mut gchar , mode : gint ) -> * mut gchar ; } extern "C" { pub fn g_mkstemp ( tmpl : * mut gchar ) -> gint ; } extern "C" { pub fn g_mkstemp_full ( tmpl : * mut gchar , flags : gint , mode : gint ) -> gint ; } extern "C" { pub fn g_file_open_tmp ( tmpl : * const gchar , name_used : * mut * mut gchar , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_dir_make_tmp ( tmpl : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_build_path ( separator : * const gchar , first_element : * const gchar , ... ) -> * mut gchar ; } extern "C" { pub fn g_build_pathv ( separator : * const gchar , args : * mut * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_build_filename ( first_element : * const gchar , ... ) -> * mut gchar ; } extern "C" { pub fn g_build_filenamev ( args : * mut * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_build_filename_valist ( first_element : * const gchar , args : * mut va_list ) -> * mut gchar ; } extern "C" { pub fn g_mkdir_with_parents ( pathname : * const gchar , mode : gint ) -> gint ; } extern "C" { pub fn g_path_is_absolute ( file_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_path_skip_root ( file_name : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_basename ( file_name : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_get_current_dir ( ) -> * mut gchar ; } extern "C" { pub fn g_path_get_basename ( file_name : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_path_get_dirname ( file_name : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_canonicalize_filename ( filename : * const gchar , relative_to : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_strip_context ( msgid : * const gchar , msgval : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_dgettext ( domain : * const gchar , msgid : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_dcgettext ( domain : * const gchar , msgid : * const gchar , category : gint ) -> * const gchar ; } extern "C" { pub fn g_dngettext ( domain : * const gchar , msgid : * const gchar , msgid_plural : * const gchar , n : gulong ) -> * const gchar ; } extern "C" { pub fn g_dpgettext ( domain : * const gchar , msgctxtid : * const gchar , msgidoffset : gsize ) -> * const gchar ; } extern "C" { pub fn g_dpgettext2 ( domain : * const gchar , context : * const gchar , msgid : * const gchar ) -> * const gchar ; } pub type GMemVTable = _GMemVTable ; extern "C" { pub fn g_free ( mem : gpointer ) ; } extern "C" { pub fn g_free_sized ( mem : gpointer , size : usize ) ; } extern "C" { pub fn g_clear_pointer ( pp : * mut gpointer , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_malloc ( n_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_malloc0 ( n_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_realloc ( mem : gpointer , n_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_try_malloc ( n_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_try_malloc0 ( n_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_try_realloc ( mem : gpointer , n_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_malloc_n ( n_blocks : gsize , n_block_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_malloc0_n ( n_blocks : gsize , n_block_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_realloc_n ( mem : gpointer , n_blocks : gsize , n_block_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_try_malloc_n ( n_blocks : gsize , n_block_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_try_malloc0_n ( n_blocks : gsize , n_block_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_try_realloc_n ( mem : gpointer , n_blocks : gsize , n_block_bytes : gsize ) -> gpointer ; } extern "C" { pub fn g_aligned_alloc ( n_blocks : gsize , n_block_bytes : gsize , alignment : gsize ) -> gpointer ; } extern "C" { pub fn g_aligned_alloc0 ( n_blocks : gsize , n_block_bytes : gsize , alignment : gsize ) -> gpointer ; } extern "C" { pub fn g_aligned_free ( mem : gpointer ) ; } extern "C" { pub fn g_aligned_free_sized ( mem : gpointer , alignment : usize , size : usize ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemVTable { pub malloc : :: std :: option :: Option < unsafe extern "C" fn ( n_bytes : gsize ) -> gpointer > , pub realloc : :: std :: option :: Option < unsafe extern "C" fn ( mem : gpointer , n_bytes : gsize ) -> gpointer > , pub free : :: std :: option :: Option < unsafe extern "C" fn ( mem : gpointer ) > , pub calloc : :: std :: option :: Option < unsafe extern "C" fn ( n_blocks : gsize , n_block_bytes : gsize ) -> gpointer > , pub try_malloc : :: std :: option :: Option < unsafe extern "C" fn ( n_bytes : gsize ) -> gpointer > , pub try_realloc : :: std :: option :: Option < unsafe extern "C" fn ( mem : gpointer , n_bytes : gsize ) -> gpointer > , } # [ test ] fn bindgen_test_layout__GMemVTable ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMemVTable > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GMemVTable ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMemVTable > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMemVTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemVTable > ( ) ) ) . malloc as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMemVTable ) , "::" , stringify ! ( malloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemVTable > ( ) ) ) . realloc as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GMemVTable ) , "::" , stringify ! ( realloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemVTable > ( ) ) ) . free as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GMemVTable ) , "::" , stringify ! ( free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemVTable > ( ) ) ) . calloc as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMemVTable ) , "::" , stringify ! ( calloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemVTable > ( ) ) ) . try_malloc as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GMemVTable ) , "::" , stringify ! ( try_malloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemVTable > ( ) ) ) . try_realloc as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GMemVTable ) , "::" , stringify ! ( try_realloc ) ) ) ; } extern "C" { pub fn g_mem_set_vtable ( vtable : * mut GMemVTable ) ; } extern "C" { pub fn g_mem_is_system_malloc ( ) -> gboolean ; } extern "C" { # [ link_name = "\u{1}g_mem_gc_friendly" ] pub static mut g_mem_gc_friendly : gboolean ; } extern "C" { # [ link_name = "\u{1}glib_mem_profiler_table" ] pub static mut glib_mem_profiler_table : * mut GMemVTable ; } extern "C" { pub fn g_mem_profile ( ) ; } pub type GNode = _GNode ; pub const GTraverseFlags_G_TRAVERSE_LEAVES : GTraverseFlags = 1 ; pub const GTraverseFlags_G_TRAVERSE_NON_LEAVES : GTraverseFlags = 2 ; pub const GTraverseFlags_G_TRAVERSE_ALL : GTraverseFlags = 3 ; pub const GTraverseFlags_G_TRAVERSE_MASK : GTraverseFlags = 3 ; pub const GTraverseFlags_G_TRAVERSE_LEAFS : GTraverseFlags = 1 ; pub const GTraverseFlags_G_TRAVERSE_NON_LEAFS : GTraverseFlags = 2 ; pub type GTraverseFlags = u32 ; pub const GTraverseType_G_IN_ORDER : GTraverseType = 0 ; pub const GTraverseType_G_PRE_ORDER : GTraverseType = 1 ; pub const GTraverseType_G_POST_ORDER : GTraverseType = 2 ; pub const GTraverseType_G_LEVEL_ORDER : GTraverseType = 3 ; pub type GTraverseType = u32 ; pub type GNodeTraverseFunc = :: std :: option :: Option < unsafe extern "C" fn ( node : * mut GNode , data : gpointer ) -> gboolean > ; pub type GNodeForeachFunc = :: std :: option :: Option < unsafe extern "C" fn ( node : * mut GNode , data : gpointer ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNode { pub data : gpointer , pub next : * mut GNode , pub prev : * mut GNode , pub parent : * mut GNode , pub children : * mut GNode , } # [ test ] fn bindgen_test_layout__GNode ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNode > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GNode ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNode > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNode > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNode ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNode > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GNode ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNode > ( ) ) ) . prev as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GNode ) , "::" , stringify ! ( prev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNode > ( ) ) ) . parent as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GNode ) , "::" , stringify ! ( parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNode > ( ) ) ) . children as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GNode ) , "::" , stringify ! ( children ) ) ) ; } extern "C" { pub fn g_node_new ( data : gpointer ) -> * mut GNode ; } extern "C" { pub fn g_node_destroy ( root : * mut GNode ) ; } extern "C" { pub fn g_node_unlink ( node : * mut GNode ) ; } extern "C" { pub fn g_node_copy_deep ( node : * mut GNode , copy_func : GCopyFunc , data : gpointer ) -> * mut GNode ; } extern "C" { pub fn g_node_copy ( node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_insert ( parent : * mut GNode , position : gint , node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_insert_before ( parent : * mut GNode , sibling : * mut GNode , node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_insert_after ( parent : * mut GNode , sibling : * mut GNode , node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_prepend ( parent : * mut GNode , node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_n_nodes ( root : * mut GNode , flags : GTraverseFlags ) -> guint ; } extern "C" { pub fn g_node_get_root ( node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_is_ancestor ( node : * mut GNode , descendant : * mut GNode ) -> gboolean ; } extern "C" { pub fn g_node_depth ( node : * mut GNode ) -> guint ; } extern "C" { pub fn g_node_find ( root : * mut GNode , order : GTraverseType , flags : GTraverseFlags , data : gpointer ) -> * mut GNode ; } extern "C" { pub fn g_node_traverse ( root : * mut GNode , order : GTraverseType , flags : GTraverseFlags , max_depth : gint , func : GNodeTraverseFunc , data : gpointer ) ; } extern "C" { pub fn g_node_max_height ( root : * mut GNode ) -> guint ; } extern "C" { pub fn g_node_children_foreach ( node : * mut GNode , flags : GTraverseFlags , func : GNodeForeachFunc , data : gpointer ) ; } extern "C" { pub fn g_node_reverse_children ( node : * mut GNode ) ; } extern "C" { pub fn g_node_n_children ( node : * mut GNode ) -> guint ; } extern "C" { pub fn g_node_nth_child ( node : * mut GNode , n : guint ) -> * mut GNode ; } extern "C" { pub fn g_node_last_child ( node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_find_child ( node : * mut GNode , flags : GTraverseFlags , data : gpointer ) -> * mut GNode ; } extern "C" { pub fn g_node_child_position ( node : * mut GNode , child : * mut GNode ) -> gint ; } extern "C" { pub fn g_node_child_index ( node : * mut GNode , data : gpointer ) -> gint ; } extern "C" { pub fn g_node_first_sibling ( node : * mut GNode ) -> * mut GNode ; } extern "C" { pub fn g_node_last_sibling ( node : * mut GNode ) -> * mut GNode ; } pub type GList = _GList ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GList { pub data : gpointer , pub next : * mut GList , pub prev : * mut GList , } # [ test ] fn bindgen_test_layout__GList ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GList > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GList ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GList > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GList > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GList ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GList > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GList ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GList > ( ) ) ) . prev as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GList ) , "::" , stringify ! ( prev ) ) ) ; } extern "C" { pub fn g_list_alloc ( ) -> * mut GList ; } extern "C" { pub fn g_list_free ( list : * mut GList ) ; } extern "C" { pub fn g_list_free_1 ( list : * mut GList ) ; } extern "C" { pub fn g_list_free_full ( list : * mut GList , free_func : GDestroyNotify ) ; } extern "C" { pub fn g_list_append ( list : * mut GList , data : gpointer ) -> * mut GList ; } extern "C" { pub fn g_list_prepend ( list : * mut GList , data : gpointer ) -> * mut GList ; } extern "C" { pub fn g_list_insert ( list : * mut GList , data : gpointer , position : gint ) -> * mut GList ; } extern "C" { pub fn g_list_insert_sorted ( list : * mut GList , data : gpointer , func : GCompareFunc ) -> * mut GList ; } extern "C" { pub fn g_list_insert_sorted_with_data ( list : * mut GList , data : gpointer , func : GCompareDataFunc , user_data : gpointer ) -> * mut GList ; } extern "C" { pub fn g_list_insert_before ( list : * mut GList , sibling : * mut GList , data : gpointer ) -> * mut GList ; } extern "C" { pub fn g_list_insert_before_link ( list : * mut GList , sibling : * mut GList , link_ : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_concat ( list1 : * mut GList , list2 : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_remove ( list : * mut GList , data : gconstpointer ) -> * mut GList ; } extern "C" { pub fn g_list_remove_all ( list : * mut GList , data : gconstpointer ) -> * mut GList ; } extern "C" { pub fn g_list_remove_link ( list : * mut GList , llink : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_delete_link ( list : * mut GList , link_ : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_reverse ( list : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_copy ( list : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_copy_deep ( list : * mut GList , func : GCopyFunc , user_data : gpointer ) -> * mut GList ; } extern "C" { pub fn g_list_nth ( list : * mut GList , n : guint ) -> * mut GList ; } extern "C" { pub fn g_list_nth_prev ( list : * mut GList , n : guint ) -> * mut GList ; } extern "C" { pub fn g_list_find ( list : * mut GList , data : gconstpointer ) -> * mut GList ; } extern "C" { pub fn g_list_find_custom ( list : * mut GList , data : gconstpointer , func : GCompareFunc ) -> * mut GList ; } extern "C" { pub fn g_list_position ( list : * mut GList , llink : * mut GList ) -> gint ; } extern "C" { pub fn g_list_index ( list : * mut GList , data : gconstpointer ) -> gint ; } extern "C" { pub fn g_list_last ( list : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_first ( list : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_list_length ( list : * mut GList ) -> guint ; } extern "C" { pub fn g_list_foreach ( list : * mut GList , func : GFunc , user_data : gpointer ) ; } extern "C" { pub fn g_list_sort ( list : * mut GList , compare_func : GCompareFunc ) -> * mut GList ; } extern "C" { pub fn g_list_sort_with_data ( list : * mut GList , compare_func : GCompareDataFunc , user_data : gpointer ) -> * mut GList ; } extern "C" { pub fn g_list_nth_data ( list : * mut GList , n : guint ) -> gpointer ; } extern "C" { pub fn g_clear_list ( list_ptr : * mut * mut GList , destroy : GDestroyNotify ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GHashTable { _unused : [ u8 ; 0 ] , } pub type GHashTable = _GHashTable ; pub type GHRFunc = :: std :: option :: Option < unsafe extern "C" fn ( key : gpointer , value : gpointer , user_data : gpointer ) -> gboolean > ; pub type GHashTableIter = _GHashTableIter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GHashTableIter { pub dummy1 : gpointer , pub dummy2 : gpointer , pub dummy3 : gpointer , pub dummy4 : :: std :: os :: raw :: c_int , pub dummy5 : gboolean , pub dummy6 : gpointer , } # [ test ] fn bindgen_test_layout__GHashTableIter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GHashTableIter > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GHashTableIter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GHashTableIter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GHashTableIter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHashTableIter > ( ) ) ) . dummy1 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GHashTableIter ) , "::" , stringify ! ( dummy1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHashTableIter > ( ) ) ) . dummy2 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GHashTableIter ) , "::" , stringify ! ( dummy2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHashTableIter > ( ) ) ) . dummy3 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GHashTableIter ) , "::" , stringify ! ( dummy3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHashTableIter > ( ) ) ) . dummy4 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GHashTableIter ) , "::" , stringify ! ( dummy4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHashTableIter > ( ) ) ) . dummy5 as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( _GHashTableIter ) , "::" , stringify ! ( dummy5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHashTableIter > ( ) ) ) . dummy6 as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GHashTableIter ) , "::" , stringify ! ( dummy6 ) ) ) ; } extern "C" { pub fn g_hash_table_new ( hash_func : GHashFunc , key_equal_func : GEqualFunc ) -> * mut GHashTable ; } extern "C" { pub fn g_hash_table_new_full ( hash_func : GHashFunc , key_equal_func : GEqualFunc , key_destroy_func : GDestroyNotify , value_destroy_func : GDestroyNotify ) -> * mut GHashTable ; } extern "C" { pub fn g_hash_table_new_similar ( other_hash_table : * mut GHashTable ) -> * mut GHashTable ; } extern "C" { pub fn g_hash_table_destroy ( hash_table : * mut GHashTable ) ; } extern "C" { pub fn g_hash_table_insert ( hash_table : * mut GHashTable , key : gpointer , value : gpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_replace ( hash_table : * mut GHashTable , key : gpointer , value : gpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_add ( hash_table : * mut GHashTable , key : gpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_remove ( hash_table : * mut GHashTable , key : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_remove_all ( hash_table : * mut GHashTable ) ; } extern "C" { pub fn g_hash_table_steal ( hash_table : * mut GHashTable , key : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_steal_extended ( hash_table : * mut GHashTable , lookup_key : gconstpointer , stolen_key : * mut gpointer , stolen_value : * mut gpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_steal_all ( hash_table : * mut GHashTable ) ; } extern "C" { pub fn g_hash_table_steal_all_keys ( hash_table : * mut GHashTable ) -> * mut GPtrArray ; } extern "C" { pub fn g_hash_table_steal_all_values ( hash_table : * mut GHashTable ) -> * mut GPtrArray ; } extern "C" { pub fn g_hash_table_lookup ( hash_table : * mut GHashTable , key : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_hash_table_contains ( hash_table : * mut GHashTable , key : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_lookup_extended ( hash_table : * mut GHashTable , lookup_key : gconstpointer , orig_key : * mut gpointer , value : * mut gpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_foreach ( hash_table : * mut GHashTable , func : GHFunc , user_data : gpointer ) ; } extern "C" { pub fn g_hash_table_find ( hash_table : * mut GHashTable , predicate : GHRFunc , user_data : gpointer ) -> gpointer ; } extern "C" { pub fn g_hash_table_foreach_remove ( hash_table : * mut GHashTable , func : GHRFunc , user_data : gpointer ) -> guint ; } extern "C" { pub fn g_hash_table_foreach_steal ( hash_table : * mut GHashTable , func : GHRFunc , user_data : gpointer ) -> guint ; } extern "C" { pub fn g_hash_table_size ( hash_table : * mut GHashTable ) -> guint ; } extern "C" { pub fn g_hash_table_get_keys ( hash_table : * mut GHashTable ) -> * mut GList ; } extern "C" { pub fn g_hash_table_get_values ( hash_table : * mut GHashTable ) -> * mut GList ; } extern "C" { pub fn g_hash_table_get_keys_as_array ( hash_table : * mut GHashTable , length : * mut guint ) -> * mut gpointer ; } extern "C" { pub fn g_hash_table_get_keys_as_ptr_array ( hash_table : * mut GHashTable ) -> * mut GPtrArray ; } extern "C" { pub fn g_hash_table_get_values_as_ptr_array ( hash_table : * mut GHashTable ) -> * mut GPtrArray ; } extern "C" { pub fn g_hash_table_iter_init ( iter : * mut GHashTableIter , hash_table : * mut GHashTable ) ; } extern "C" { pub fn g_hash_table_iter_next ( iter : * mut GHashTableIter , key : * mut gpointer , value : * mut gpointer ) -> gboolean ; } extern "C" { pub fn g_hash_table_iter_get_hash_table ( iter : * mut GHashTableIter ) -> * mut GHashTable ; } extern "C" { pub fn g_hash_table_iter_remove ( iter : * mut GHashTableIter ) ; } extern "C" { pub fn g_hash_table_iter_replace ( iter : * mut GHashTableIter , value : gpointer ) ; } extern "C" { pub fn g_hash_table_iter_steal ( iter : * mut GHashTableIter ) ; } extern "C" { pub fn g_hash_table_ref ( hash_table : * mut GHashTable ) -> * mut GHashTable ; } extern "C" { pub fn g_hash_table_unref ( hash_table : * mut GHashTable ) ; } extern "C" { pub fn g_str_equal ( v1 : gconstpointer , v2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_str_hash ( v : gconstpointer ) -> guint ; } extern "C" { pub fn g_int_equal ( v1 : gconstpointer , v2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_int_hash ( v : gconstpointer ) -> guint ; } extern "C" { pub fn g_int64_equal ( v1 : gconstpointer , v2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_int64_hash ( v : gconstpointer ) -> guint ; } extern "C" { pub fn g_double_equal ( v1 : gconstpointer , v2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_double_hash ( v : gconstpointer ) -> guint ; } extern "C" { pub fn g_direct_hash ( v : gconstpointer ) -> guint ; } extern "C" { pub fn g_direct_equal ( v1 : gconstpointer , v2 : gconstpointer ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GHmac { _unused : [ u8 ; 0 ] , } pub type GHmac = _GHmac ; extern "C" { pub fn g_hmac_new ( digest_type : GChecksumType , key : * const guchar , key_len : gsize ) -> * mut GHmac ; } extern "C" { pub fn g_hmac_copy ( hmac : * const GHmac ) -> * mut GHmac ; } extern "C" { pub fn g_hmac_ref ( hmac : * mut GHmac ) -> * mut GHmac ; } extern "C" { pub fn g_hmac_unref ( hmac : * mut GHmac ) ; } extern "C" { pub fn g_hmac_update ( hmac : * mut GHmac , data : * const guchar , length : gssize ) ; } extern "C" { pub fn g_hmac_get_string ( hmac : * mut GHmac ) -> * const gchar ; } extern "C" { pub fn g_hmac_get_digest ( hmac : * mut GHmac , buffer : * mut guint8 , digest_len : * mut gsize ) ; } extern "C" { pub fn g_compute_hmac_for_data ( digest_type : GChecksumType , key : * const guchar , key_len : gsize , data : * const guchar , length : gsize ) -> * mut gchar ; } extern "C" { pub fn g_compute_hmac_for_string ( digest_type : GChecksumType , key : * const guchar , key_len : gsize , str : * const gchar , length : gssize ) -> * mut gchar ; } extern "C" { pub fn g_compute_hmac_for_bytes ( digest_type : GChecksumType , key : * mut GBytes , data : * mut GBytes ) -> * mut gchar ; } pub type GHook = _GHook ; pub type GHookList = _GHookList ; pub type GHookCompareFunc = :: std :: option :: Option < unsafe extern "C" fn ( new_hook : * mut GHook , sibling : * mut GHook ) -> gint > ; pub type GHookFindFunc = :: std :: option :: Option < unsafe extern "C" fn ( hook : * mut GHook , data : gpointer ) -> gboolean > ; pub type GHookMarshaller = :: std :: option :: Option < unsafe extern "C" fn ( hook : * mut GHook , marshal_data : gpointer ) > ; pub type GHookCheckMarshaller = :: std :: option :: Option < unsafe extern "C" fn ( hook : * mut GHook , marshal_data : gpointer ) -> gboolean > ; pub type GHookFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer ) > ; pub type GHookCheckFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer ) -> gboolean > ; pub type GHookFinalizeFunc = :: std :: option :: Option < unsafe extern "C" fn ( hook_list : * mut GHookList , hook : * mut GHook ) > ; pub const GHookFlagMask_G_HOOK_FLAG_ACTIVE : GHookFlagMask = 1 ; pub const GHookFlagMask_G_HOOK_FLAG_IN_CALL : GHookFlagMask = 2 ; pub const GHookFlagMask_G_HOOK_FLAG_MASK : GHookFlagMask = 15 ; pub type GHookFlagMask = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GHookList { pub seq_id : gulong , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > , pub hooks : * mut GHook , pub dummy3 : gpointer , pub finalize_hook : GHookFinalizeFunc , pub dummy : [ gpointer ; 2usize ] , } # [ test ] fn bindgen_test_layout__GHookList ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GHookList > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GHookList ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GHookList > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GHookList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHookList > ( ) ) ) . seq_id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GHookList ) , "::" , stringify ! ( seq_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHookList > ( ) ) ) . hooks as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GHookList ) , "::" , stringify ! ( hooks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHookList > ( ) ) ) . dummy3 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GHookList ) , "::" , stringify ! ( dummy3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHookList > ( ) ) ) . finalize_hook as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GHookList ) , "::" , stringify ! ( finalize_hook ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHookList > ( ) ) ) . dummy as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GHookList ) , "::" , stringify ! ( dummy ) ) ) ; } impl _GHookList { # [ inline ] pub fn hook_size ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 16u8 ) as u32 ) } } # [ inline ] pub fn set_hook_size ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 16u8 , val as u64 ) } } # [ inline ] pub fn is_setup ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 16usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_is_setup ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 16usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( hook_size : guint , is_setup : guint ) -> __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 16u8 , { let hook_size : u32 = unsafe { :: std :: mem :: transmute ( hook_size ) } ; hook_size as u64 } ) ; __bindgen_bitfield_unit . set ( 16usize , 1u8 , { let is_setup : u32 = unsafe { :: std :: mem :: transmute ( is_setup ) } ; is_setup as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GHook { pub data : gpointer , pub next : * mut GHook , pub prev : * mut GHook , pub ref_count : guint , pub hook_id : gulong , pub flags : guint , pub func : gpointer , pub destroy : GDestroyNotify , } # [ test ] fn bindgen_test_layout__GHook ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GHook > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _GHook ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GHook > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GHook ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . prev as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( prev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . ref_count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . hook_id as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( hook_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . flags as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . func as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GHook > ( ) ) ) . destroy as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GHook ) , "::" , stringify ! ( destroy ) ) ) ; } extern "C" { pub fn g_hook_list_init ( hook_list : * mut GHookList , hook_size : guint ) ; } extern "C" { pub fn g_hook_list_clear ( hook_list : * mut GHookList ) ; } extern "C" { pub fn g_hook_alloc ( hook_list : * mut GHookList ) -> * mut GHook ; } extern "C" { pub fn g_hook_free ( hook_list : * mut GHookList , hook : * mut GHook ) ; } extern "C" { pub fn g_hook_ref ( hook_list : * mut GHookList , hook : * mut GHook ) -> * mut GHook ; } extern "C" { pub fn g_hook_unref ( hook_list : * mut GHookList , hook : * mut GHook ) ; } extern "C" { pub fn g_hook_destroy ( hook_list : * mut GHookList , hook_id : gulong ) -> gboolean ; } extern "C" { pub fn g_hook_destroy_link ( hook_list : * mut GHookList , hook : * mut GHook ) ; } extern "C" { pub fn g_hook_prepend ( hook_list : * mut GHookList , hook : * mut GHook ) ; } extern "C" { pub fn g_hook_insert_before ( hook_list : * mut GHookList , sibling : * mut GHook , hook : * mut GHook ) ; } extern "C" { pub fn g_hook_insert_sorted ( hook_list : * mut GHookList , hook : * mut GHook , func : GHookCompareFunc ) ; } extern "C" { pub fn g_hook_get ( hook_list : * mut GHookList , hook_id : gulong ) -> * mut GHook ; } extern "C" { pub fn g_hook_find ( hook_list : * mut GHookList , need_valids : gboolean , func : GHookFindFunc , data : gpointer ) -> * mut GHook ; } extern "C" { pub fn g_hook_find_data ( hook_list : * mut GHookList , need_valids : gboolean , data : gpointer ) -> * mut GHook ; } extern "C" { pub fn g_hook_find_func ( hook_list : * mut GHookList , need_valids : gboolean , func : gpointer ) -> * mut GHook ; } extern "C" { pub fn g_hook_find_func_data ( hook_list : * mut GHookList , need_valids : gboolean , func : gpointer , data : gpointer ) -> * mut GHook ; } extern "C" { pub fn g_hook_first_valid ( hook_list : * mut GHookList , may_be_in_call : gboolean ) -> * mut GHook ; } extern "C" { pub fn g_hook_next_valid ( hook_list : * mut GHookList , hook : * mut GHook , may_be_in_call : gboolean ) -> * mut GHook ; } extern "C" { pub fn g_hook_compare_ids ( new_hook : * mut GHook , sibling : * mut GHook ) -> gint ; } extern "C" { pub fn g_hook_list_invoke ( hook_list : * mut GHookList , may_recurse : gboolean ) ; } extern "C" { pub fn g_hook_list_invoke_check ( hook_list : * mut GHookList , may_recurse : gboolean ) ; } extern "C" { pub fn g_hook_list_marshal ( hook_list : * mut GHookList , may_recurse : gboolean , marshaller : GHookMarshaller , marshal_data : gpointer ) ; } extern "C" { pub fn g_hook_list_marshal_check ( hook_list : * mut GHookList , may_recurse : gboolean , marshaller : GHookCheckMarshaller , marshal_data : gpointer ) ; } extern "C" { pub fn g_hostname_is_non_ascii ( hostname : * const gchar ) -> gboolean ; } extern "C" { pub fn g_hostname_is_ascii_encoded ( hostname : * const gchar ) -> gboolean ; } extern "C" { pub fn g_hostname_is_ip_address ( hostname : * const gchar ) -> gboolean ; } extern "C" { pub fn g_hostname_to_ascii ( hostname : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_hostname_to_unicode ( hostname : * const gchar ) -> * mut gchar ; } pub type GPollFD = _GPollFD ; pub type GPollFunc = :: std :: option :: Option < unsafe extern "C" fn ( ufds : * mut GPollFD , nfsd : guint , timeout_ : gint ) -> gint > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPollFD { pub fd : gint , pub events : gushort , pub revents : gushort , } # [ test ] fn bindgen_test_layout__GPollFD ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPollFD > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GPollFD ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPollFD > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GPollFD ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollFD > ( ) ) ) . fd as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPollFD ) , "::" , stringify ! ( fd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollFD > ( ) ) ) . events as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _GPollFD ) , "::" , stringify ! ( events ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollFD > ( ) ) ) . revents as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _GPollFD ) , "::" , stringify ! ( revents ) ) ) ; } extern "C" { pub fn g_poll ( fds : * mut GPollFD , nfds : guint , timeout : gint ) -> gint ; } pub type GSList = _GSList ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSList { pub data : gpointer , pub next : * mut GSList , } # [ test ] fn bindgen_test_layout__GSList ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSList > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GSList ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSList > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSList > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSList ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSList > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GSList ) , "::" , stringify ! ( next ) ) ) ; } extern "C" { pub fn g_slist_alloc ( ) -> * mut GSList ; } extern "C" { pub fn g_slist_free ( list : * mut GSList ) ; } extern "C" { pub fn g_slist_free_1 ( list : * mut GSList ) ; } extern "C" { pub fn g_slist_free_full ( list : * mut GSList , free_func : GDestroyNotify ) ; } extern "C" { pub fn g_slist_append ( list : * mut GSList , data : gpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_prepend ( list : * mut GSList , data : gpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_insert ( list : * mut GSList , data : gpointer , position : gint ) -> * mut GSList ; } extern "C" { pub fn g_slist_insert_sorted ( list : * mut GSList , data : gpointer , func : GCompareFunc ) -> * mut GSList ; } extern "C" { pub fn g_slist_insert_sorted_with_data ( list : * mut GSList , data : gpointer , func : GCompareDataFunc , user_data : gpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_insert_before ( slist : * mut GSList , sibling : * mut GSList , data : gpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_concat ( list1 : * mut GSList , list2 : * mut GSList ) -> * mut GSList ; } extern "C" { pub fn g_slist_remove ( list : * mut GSList , data : gconstpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_remove_all ( list : * mut GSList , data : gconstpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_remove_link ( list : * mut GSList , link_ : * mut GSList ) -> * mut GSList ; } extern "C" { pub fn g_slist_delete_link ( list : * mut GSList , link_ : * mut GSList ) -> * mut GSList ; } extern "C" { pub fn g_slist_reverse ( list : * mut GSList ) -> * mut GSList ; } extern "C" { pub fn g_slist_copy ( list : * mut GSList ) -> * mut GSList ; } extern "C" { pub fn g_slist_copy_deep ( list : * mut GSList , func : GCopyFunc , user_data : gpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_nth ( list : * mut GSList , n : guint ) -> * mut GSList ; } extern "C" { pub fn g_slist_find ( list : * mut GSList , data : gconstpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_find_custom ( list : * mut GSList , data : gconstpointer , func : GCompareFunc ) -> * mut GSList ; } extern "C" { pub fn g_slist_position ( list : * mut GSList , llink : * mut GSList ) -> gint ; } extern "C" { pub fn g_slist_index ( list : * mut GSList , data : gconstpointer ) -> gint ; } extern "C" { pub fn g_slist_last ( list : * mut GSList ) -> * mut GSList ; } extern "C" { pub fn g_slist_length ( list : * mut GSList ) -> guint ; } extern "C" { pub fn g_slist_foreach ( list : * mut GSList , func : GFunc , user_data : gpointer ) ; } extern "C" { pub fn g_slist_sort ( list : * mut GSList , compare_func : GCompareFunc ) -> * mut GSList ; } extern "C" { pub fn g_slist_sort_with_data ( list : * mut GSList , compare_func : GCompareDataFunc , user_data : gpointer ) -> * mut GSList ; } extern "C" { pub fn g_slist_nth_data ( list : * mut GSList , n : guint ) -> gpointer ; } extern "C" { pub fn g_clear_slist ( slist_ptr : * mut * mut GSList , destroy : GDestroyNotify ) ; } pub const GIOCondition_G_IO_IN : GIOCondition = 1 ; pub const GIOCondition_G_IO_OUT : GIOCondition = 4 ; pub const GIOCondition_G_IO_PRI : GIOCondition = 2 ; pub const GIOCondition_G_IO_ERR : GIOCondition = 8 ; pub const GIOCondition_G_IO_HUP : GIOCondition = 16 ; pub const GIOCondition_G_IO_NVAL : GIOCondition = 32 ; pub type GIOCondition = u32 ; pub const GMainContextFlags_G_MAIN_CONTEXT_FLAGS_NONE : GMainContextFlags = 0 ; pub const GMainContextFlags_G_MAIN_CONTEXT_FLAGS_OWNERLESS_POLLING : GMainContextFlags = 1 ; pub type GMainContextFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMainContext { _unused : [ u8 ; 0 ] , } pub type GMainContext = _GMainContext ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMainLoop { _unused : [ u8 ; 0 ] , } pub type GMainLoop = _GMainLoop ; pub type GSource = _GSource ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSourcePrivate { _unused : [ u8 ; 0 ] , } pub type GSourcePrivate = _GSourcePrivate ; pub type GSourceCallbackFuncs = _GSourceCallbackFuncs ; pub type GSourceFuncs = _GSourceFuncs ; pub type GSourceFunc = :: std :: option :: Option < unsafe extern "C" fn ( user_data : gpointer ) -> gboolean > ; pub type GSourceOnceFunc = :: std :: option :: Option < unsafe extern "C" fn ( user_data : gpointer ) > ; pub type GChildWatchFunc = :: std :: option :: Option < unsafe extern "C" fn ( pid : GPid , wait_status : gint , user_data : gpointer ) > ; pub type GSourceDisposeFunc = :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GSource ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSource { pub callback_data : gpointer , pub callback_funcs : * mut GSourceCallbackFuncs , pub source_funcs : * const GSourceFuncs , pub ref_count : guint , pub context : * mut GMainContext , pub priority : gint , pub flags : guint , pub source_id : guint , pub poll_fds : * mut GSList , pub prev : * mut GSource , pub next : * mut GSource , pub name : * mut :: std :: os :: raw :: c_char , pub priv_ : * mut GSourcePrivate , } # [ test ] fn bindgen_test_layout__GSource ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSource > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _GSource ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSource > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSource ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . callback_data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( callback_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . callback_funcs as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( callback_funcs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . source_funcs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( source_funcs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . ref_count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . context as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . priority as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . flags as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . source_id as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( source_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . poll_fds as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( poll_fds ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . prev as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( prev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . next as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . name as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSource > ( ) ) ) . priv_ as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GSource ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSourceCallbackFuncs { pub ref_ : :: std :: option :: Option < unsafe extern "C" fn ( cb_data : gpointer ) > , pub unref : :: std :: option :: Option < unsafe extern "C" fn ( cb_data : gpointer ) > , pub get : :: std :: option :: Option < unsafe extern "C" fn ( cb_data : gpointer , source : * mut GSource , func : * mut GSourceFunc , data : * mut gpointer ) > , } # [ test ] fn bindgen_test_layout__GSourceCallbackFuncs ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSourceCallbackFuncs > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GSourceCallbackFuncs ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSourceCallbackFuncs > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSourceCallbackFuncs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceCallbackFuncs > ( ) ) ) . ref_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceCallbackFuncs ) , "::" , stringify ! ( ref_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceCallbackFuncs > ( ) ) ) . unref as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceCallbackFuncs ) , "::" , stringify ! ( unref ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceCallbackFuncs > ( ) ) ) . get as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceCallbackFuncs ) , "::" , stringify ! ( get ) ) ) ; } pub type GSourceDummyMarshal = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSourceFuncs { pub prepare : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GSource , timeout_ : * mut gint ) -> gboolean > , pub check : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GSource ) -> gboolean > , pub dispatch : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GSource , callback : GSourceFunc , user_data : gpointer ) -> gboolean > , pub finalize : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GSource ) > , pub closure_callback : GSourceFunc , pub closure_marshal : GSourceDummyMarshal , } # [ test ] fn bindgen_test_layout__GSourceFuncs ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSourceFuncs > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GSourceFuncs ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSourceFuncs > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSourceFuncs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceFuncs > ( ) ) ) . prepare as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceFuncs ) , "::" , stringify ! ( prepare ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceFuncs > ( ) ) ) . check as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceFuncs ) , "::" , stringify ! ( check ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceFuncs > ( ) ) ) . dispatch as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceFuncs ) , "::" , stringify ! ( dispatch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceFuncs > ( ) ) ) . finalize as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceFuncs ) , "::" , stringify ! ( finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceFuncs > ( ) ) ) . closure_callback as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceFuncs ) , "::" , stringify ! ( closure_callback ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSourceFuncs > ( ) ) ) . closure_marshal as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GSourceFuncs ) , "::" , stringify ! ( closure_marshal ) ) ) ; } extern "C" { pub fn g_main_context_new ( ) -> * mut GMainContext ; } extern "C" { pub fn g_main_context_new_with_flags ( flags : GMainContextFlags ) -> * mut GMainContext ; } extern "C" { pub fn g_main_context_ref ( context : * mut GMainContext ) -> * mut GMainContext ; } extern "C" { pub fn g_main_context_unref ( context : * mut GMainContext ) ; } extern "C" { pub fn g_main_context_default ( ) -> * mut GMainContext ; } extern "C" { pub fn g_main_context_iteration ( context : * mut GMainContext , may_block : gboolean ) -> gboolean ; } extern "C" { pub fn g_main_context_pending ( context : * mut GMainContext ) -> gboolean ; } extern "C" { pub fn g_main_context_find_source_by_id ( context : * mut GMainContext , source_id : guint ) -> * mut GSource ; } extern "C" { pub fn g_main_context_find_source_by_user_data ( context : * mut GMainContext , user_data : gpointer ) -> * mut GSource ; } extern "C" { pub fn g_main_context_find_source_by_funcs_user_data ( context : * mut GMainContext , funcs : * mut GSourceFuncs , user_data : gpointer ) -> * mut GSource ; } extern "C" { pub fn g_main_context_wakeup ( context : * mut GMainContext ) ; } extern "C" { pub fn g_main_context_acquire ( context : * mut GMainContext ) -> gboolean ; } extern "C" { pub fn g_main_context_release ( context : * mut GMainContext ) ; } extern "C" { pub fn g_main_context_is_owner ( context : * mut GMainContext ) -> gboolean ; } extern "C" { pub fn g_main_context_wait ( context : * mut GMainContext , cond : * mut GCond , mutex : * mut GMutex ) -> gboolean ; } extern "C" { pub fn g_main_context_prepare ( context : * mut GMainContext , priority : * mut gint ) -> gboolean ; } extern "C" { pub fn g_main_context_query ( context : * mut GMainContext , max_priority : gint , timeout_ : * mut gint , fds : * mut GPollFD , n_fds : gint ) -> gint ; } extern "C" { pub fn g_main_context_check ( context : * mut GMainContext , max_priority : gint , fds : * mut GPollFD , n_fds : gint ) -> gboolean ; } extern "C" { pub fn g_main_context_dispatch ( context : * mut GMainContext ) ; } extern "C" { pub fn g_main_context_set_poll_func ( context : * mut GMainContext , func : GPollFunc ) ; } extern "C" { pub fn g_main_context_get_poll_func ( context : * mut GMainContext ) -> GPollFunc ; } extern "C" { pub fn g_main_context_add_poll ( context : * mut GMainContext , fd : * mut GPollFD , priority : gint ) ; } extern "C" { pub fn g_main_context_remove_poll ( context : * mut GMainContext , fd : * mut GPollFD ) ; } extern "C" { pub fn g_main_depth ( ) -> gint ; } extern "C" { pub fn g_main_current_source ( ) -> * mut GSource ; } extern "C" { pub fn g_main_context_push_thread_default ( context : * mut GMainContext ) ; } extern "C" { pub fn g_main_context_pop_thread_default ( context : * mut GMainContext ) ; } extern "C" { pub fn g_main_context_get_thread_default ( ) -> * mut GMainContext ; } extern "C" { pub fn g_main_context_ref_thread_default ( ) -> * mut GMainContext ; } pub type GMainContextPusher = :: std :: os :: raw :: c_void ; extern "C" { pub fn g_main_loop_new ( context : * mut GMainContext , is_running : gboolean ) -> * mut GMainLoop ; } extern "C" { pub fn g_main_loop_run ( loop_ : * mut GMainLoop ) ; } extern "C" { pub fn g_main_loop_quit ( loop_ : * mut GMainLoop ) ; } extern "C" { pub fn g_main_loop_ref ( loop_ : * mut GMainLoop ) -> * mut GMainLoop ; } extern "C" { pub fn g_main_loop_unref ( loop_ : * mut GMainLoop ) ; } extern "C" { pub fn g_main_loop_is_running ( loop_ : * mut GMainLoop ) -> gboolean ; } extern "C" { pub fn g_main_loop_get_context ( loop_ : * mut GMainLoop ) -> * mut GMainContext ; } extern "C" { pub fn g_source_new ( source_funcs : * mut GSourceFuncs , struct_size : guint ) -> * mut GSource ; } extern "C" { pub fn g_source_set_dispose_function ( source : * mut GSource , dispose : GSourceDisposeFunc ) ; } extern "C" { pub fn g_source_ref ( source : * mut GSource ) -> * mut GSource ; } extern "C" { pub fn g_source_unref ( source : * mut GSource ) ; } extern "C" { pub fn g_source_attach ( source : * mut GSource , context : * mut GMainContext ) -> guint ; } extern "C" { pub fn g_source_destroy ( source : * mut GSource ) ; } extern "C" { pub fn g_source_set_priority ( source : * mut GSource , priority : gint ) ; } extern "C" { pub fn g_source_get_priority ( source : * mut GSource ) -> gint ; } extern "C" { pub fn g_source_set_can_recurse ( source : * mut GSource , can_recurse : gboolean ) ; } extern "C" { pub fn g_source_get_can_recurse ( source : * mut GSource ) -> gboolean ; } extern "C" { pub fn g_source_get_id ( source : * mut GSource ) -> guint ; } extern "C" { pub fn g_source_get_context ( source : * mut GSource ) -> * mut GMainContext ; } extern "C" { pub fn g_source_set_callback ( source : * mut GSource , func : GSourceFunc , data : gpointer , notify : GDestroyNotify ) ; } extern "C" { pub fn g_source_set_funcs ( source : * mut GSource , funcs : * mut GSourceFuncs ) ; } extern "C" { pub fn g_source_is_destroyed ( source : * mut GSource ) -> gboolean ; } extern "C" { pub fn g_source_set_name ( source : * mut GSource , name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_source_set_static_name ( source : * mut GSource , name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_source_get_name ( source : * mut GSource ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_source_set_name_by_id ( tag : guint , name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_source_set_ready_time ( source : * mut GSource , ready_time : gint64 ) ; } extern "C" { pub fn g_source_get_ready_time ( source : * mut GSource ) -> gint64 ; } extern "C" { pub fn g_source_add_unix_fd ( source : * mut GSource , fd : gint , events : GIOCondition ) -> gpointer ; } extern "C" { pub fn g_source_modify_unix_fd ( source : * mut GSource , tag : gpointer , new_events : GIOCondition ) ; } extern "C" { pub fn g_source_remove_unix_fd ( source : * mut GSource , tag : gpointer ) ; } extern "C" { pub fn g_source_query_unix_fd ( source : * mut GSource , tag : gpointer ) -> GIOCondition ; } extern "C" { pub fn g_source_set_callback_indirect ( source : * mut GSource , callback_data : gpointer , callback_funcs : * mut GSourceCallbackFuncs ) ; } extern "C" { pub fn g_source_add_poll ( source : * mut GSource , fd : * mut GPollFD ) ; } extern "C" { pub fn g_source_remove_poll ( source : * mut GSource , fd : * mut GPollFD ) ; } extern "C" { pub fn g_source_add_child_source ( source : * mut GSource , child_source : * mut GSource ) ; } extern "C" { pub fn g_source_remove_child_source ( source : * mut GSource , child_source : * mut GSource ) ; } extern "C" { pub fn g_source_get_current_time ( source : * mut GSource , timeval : * mut GTimeVal ) ; } extern "C" { pub fn g_source_get_time ( source : * mut GSource ) -> gint64 ; } extern "C" { pub fn g_idle_source_new ( ) -> * mut GSource ; } extern "C" { pub fn g_child_watch_source_new ( pid : GPid ) -> * mut GSource ; } extern "C" { pub fn g_timeout_source_new ( interval : guint ) -> * mut GSource ; } extern "C" { pub fn g_timeout_source_new_seconds ( interval : guint ) -> * mut GSource ; } extern "C" { pub fn g_get_current_time ( result : * mut GTimeVal ) ; } extern "C" { pub fn g_get_monotonic_time ( ) -> gint64 ; } extern "C" { pub fn g_get_real_time ( ) -> gint64 ; } extern "C" { pub fn g_source_remove ( tag : guint ) -> gboolean ; } extern "C" { pub fn g_source_remove_by_user_data ( user_data : gpointer ) -> gboolean ; } extern "C" { pub fn g_source_remove_by_funcs_user_data ( funcs : * mut GSourceFuncs , user_data : gpointer ) -> gboolean ; } pub type GClearHandleFunc = :: std :: option :: Option < unsafe extern "C" fn ( handle_id : guint ) > ; extern "C" { pub fn g_clear_handle_id ( tag_ptr : * mut guint , clear_func : GClearHandleFunc ) ; } extern "C" { pub fn g_timeout_add_full ( priority : gint , interval : guint , function : GSourceFunc , data : gpointer , notify : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_timeout_add ( interval : guint , function : GSourceFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_timeout_add_once ( interval : guint , function : GSourceOnceFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_timeout_add_seconds_full ( priority : gint , interval : guint , function : GSourceFunc , data : gpointer , notify : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_timeout_add_seconds ( interval : guint , function : GSourceFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_timeout_add_seconds_once ( interval : guint , function : GSourceOnceFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_child_watch_add_full ( priority : gint , pid : GPid , function : GChildWatchFunc , data : gpointer , notify : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_child_watch_add ( pid : GPid , function : GChildWatchFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_idle_add ( function : GSourceFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_idle_add_full ( priority : gint , function : GSourceFunc , data : gpointer , notify : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_idle_add_once ( function : GSourceOnceFunc , data : gpointer ) -> guint ; } extern "C" { pub fn g_idle_remove_by_data ( data : gpointer ) -> gboolean ; } extern "C" { pub fn g_main_context_invoke_full ( context : * mut GMainContext , priority : gint , function : GSourceFunc , data : gpointer , notify : GDestroyNotify ) ; } extern "C" { pub fn g_main_context_invoke ( context : * mut GMainContext , function : GSourceFunc , data : gpointer ) ; } extern "C" { # [ link_name = "\u{1}g_timeout_funcs" ] pub static mut g_timeout_funcs : GSourceFuncs ; } extern "C" { # [ link_name = "\u{1}g_child_watch_funcs" ] pub static mut g_child_watch_funcs : GSourceFuncs ; } extern "C" { # [ link_name = "\u{1}g_idle_funcs" ] pub static mut g_idle_funcs : GSourceFuncs ; } extern "C" { # [ link_name = "\u{1}g_unix_signal_funcs" ] pub static mut g_unix_signal_funcs : GSourceFuncs ; } extern "C" { # [ link_name = "\u{1}g_unix_fd_source_funcs" ] pub static mut g_unix_fd_source_funcs : GSourceFuncs ; } pub type gunichar = guint32 ; pub type gunichar2 = guint16 ; pub const GUnicodeType_G_UNICODE_CONTROL : GUnicodeType = 0 ; pub const GUnicodeType_G_UNICODE_FORMAT : GUnicodeType = 1 ; pub const GUnicodeType_G_UNICODE_UNASSIGNED : GUnicodeType = 2 ; pub const GUnicodeType_G_UNICODE_PRIVATE_USE : GUnicodeType = 3 ; pub const GUnicodeType_G_UNICODE_SURROGATE : GUnicodeType = 4 ; pub const GUnicodeType_G_UNICODE_LOWERCASE_LETTER : GUnicodeType = 5 ; pub const GUnicodeType_G_UNICODE_MODIFIER_LETTER : GUnicodeType = 6 ; pub const GUnicodeType_G_UNICODE_OTHER_LETTER : GUnicodeType = 7 ; pub const GUnicodeType_G_UNICODE_TITLECASE_LETTER : GUnicodeType = 8 ; pub const GUnicodeType_G_UNICODE_UPPERCASE_LETTER : GUnicodeType = 9 ; pub const GUnicodeType_G_UNICODE_SPACING_MARK : GUnicodeType = 10 ; pub const GUnicodeType_G_UNICODE_ENCLOSING_MARK : GUnicodeType = 11 ; pub const GUnicodeType_G_UNICODE_NON_SPACING_MARK : GUnicodeType = 12 ; pub const GUnicodeType_G_UNICODE_DECIMAL_NUMBER : GUnicodeType = 13 ; pub const GUnicodeType_G_UNICODE_LETTER_NUMBER : GUnicodeType = 14 ; pub const GUnicodeType_G_UNICODE_OTHER_NUMBER : GUnicodeType = 15 ; pub const GUnicodeType_G_UNICODE_CONNECT_PUNCTUATION : GUnicodeType = 16 ; pub const GUnicodeType_G_UNICODE_DASH_PUNCTUATION : GUnicodeType = 17 ; pub const GUnicodeType_G_UNICODE_CLOSE_PUNCTUATION : GUnicodeType = 18 ; pub const GUnicodeType_G_UNICODE_FINAL_PUNCTUATION : GUnicodeType = 19 ; pub const GUnicodeType_G_UNICODE_INITIAL_PUNCTUATION : GUnicodeType = 20 ; pub const GUnicodeType_G_UNICODE_OTHER_PUNCTUATION : GUnicodeType = 21 ; pub const GUnicodeType_G_UNICODE_OPEN_PUNCTUATION : GUnicodeType = 22 ; pub const GUnicodeType_G_UNICODE_CURRENCY_SYMBOL : GUnicodeType = 23 ; pub const GUnicodeType_G_UNICODE_MODIFIER_SYMBOL : GUnicodeType = 24 ; pub const GUnicodeType_G_UNICODE_MATH_SYMBOL : GUnicodeType = 25 ; pub const GUnicodeType_G_UNICODE_OTHER_SYMBOL : GUnicodeType = 26 ; pub const GUnicodeType_G_UNICODE_LINE_SEPARATOR : GUnicodeType = 27 ; pub const GUnicodeType_G_UNICODE_PARAGRAPH_SEPARATOR : GUnicodeType = 28 ; pub const GUnicodeType_G_UNICODE_SPACE_SEPARATOR : GUnicodeType = 29 ; pub type GUnicodeType = u32 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_MANDATORY : GUnicodeBreakType = 0 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_CARRIAGE_RETURN : GUnicodeBreakType = 1 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_LINE_FEED : GUnicodeBreakType = 2 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_COMBINING_MARK : GUnicodeBreakType = 3 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_SURROGATE : GUnicodeBreakType = 4 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_ZERO_WIDTH_SPACE : GUnicodeBreakType = 5 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_INSEPARABLE : GUnicodeBreakType = 6 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_NON_BREAKING_GLUE : GUnicodeBreakType = 7 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_CONTINGENT : GUnicodeBreakType = 8 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_SPACE : GUnicodeBreakType = 9 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_AFTER : GUnicodeBreakType = 10 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_BEFORE : GUnicodeBreakType = 11 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_BEFORE_AND_AFTER : GUnicodeBreakType = 12 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HYPHEN : GUnicodeBreakType = 13 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_NON_STARTER : GUnicodeBreakType = 14 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_OPEN_PUNCTUATION : GUnicodeBreakType = 15 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_CLOSE_PUNCTUATION : GUnicodeBreakType = 16 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_QUOTATION : GUnicodeBreakType = 17 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_EXCLAMATION : GUnicodeBreakType = 18 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_IDEOGRAPHIC : GUnicodeBreakType = 19 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_NUMERIC : GUnicodeBreakType = 20 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_INFIX_SEPARATOR : GUnicodeBreakType = 21 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_SYMBOL : GUnicodeBreakType = 22 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_ALPHABETIC : GUnicodeBreakType = 23 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_PREFIX : GUnicodeBreakType = 24 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_POSTFIX : GUnicodeBreakType = 25 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_COMPLEX_CONTEXT : GUnicodeBreakType = 26 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_AMBIGUOUS : GUnicodeBreakType = 27 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_UNKNOWN : GUnicodeBreakType = 28 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_NEXT_LINE : GUnicodeBreakType = 29 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_WORD_JOINER : GUnicodeBreakType = 30 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_L_JAMO : GUnicodeBreakType = 31 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_V_JAMO : GUnicodeBreakType = 32 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_T_JAMO : GUnicodeBreakType = 33 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_LV_SYLLABLE : GUnicodeBreakType = 34 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE : GUnicodeBreakType = 35 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_CLOSE_PARANTHESIS : GUnicodeBreakType = 36 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_CLOSE_PARENTHESIS : GUnicodeBreakType = 36 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER : GUnicodeBreakType = 37 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_HEBREW_LETTER : GUnicodeBreakType = 38 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_REGIONAL_INDICATOR : GUnicodeBreakType = 39 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_EMOJI_BASE : GUnicodeBreakType = 40 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_EMOJI_MODIFIER : GUnicodeBreakType = 41 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_ZERO_WIDTH_JOINER : GUnicodeBreakType = 42 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_AKSARA : GUnicodeBreakType = 43 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_AKSARA_PRE_BASE : GUnicodeBreakType = 44 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_AKSARA_START : GUnicodeBreakType = 45 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_VIRAMA_FINAL : GUnicodeBreakType = 46 ; pub const GUnicodeBreakType_G_UNICODE_BREAK_VIRAMA : GUnicodeBreakType = 47 ; pub type GUnicodeBreakType = u32 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_INVALID_CODE : GUnicodeScript = -1 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_COMMON : GUnicodeScript = 0 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_INHERITED : GUnicodeScript = 1 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ARABIC : GUnicodeScript = 2 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ARMENIAN : GUnicodeScript = 3 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BENGALI : GUnicodeScript = 4 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BOPOMOFO : GUnicodeScript = 5 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CHEROKEE : GUnicodeScript = 6 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_COPTIC : GUnicodeScript = 7 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CYRILLIC : GUnicodeScript = 8 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_DESERET : GUnicodeScript = 9 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_DEVANAGARI : GUnicodeScript = 10 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ETHIOPIC : GUnicodeScript = 11 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GEORGIAN : GUnicodeScript = 12 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GOTHIC : GUnicodeScript = 13 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GREEK : GUnicodeScript = 14 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GUJARATI : GUnicodeScript = 15 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GURMUKHI : GUnicodeScript = 16 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HAN : GUnicodeScript = 17 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HANGUL : GUnicodeScript = 18 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HEBREW : GUnicodeScript = 19 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HIRAGANA : GUnicodeScript = 20 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KANNADA : GUnicodeScript = 21 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KATAKANA : GUnicodeScript = 22 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KHMER : GUnicodeScript = 23 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LAO : GUnicodeScript = 24 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LATIN : GUnicodeScript = 25 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MALAYALAM : GUnicodeScript = 26 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MONGOLIAN : GUnicodeScript = 27 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MYANMAR : GUnicodeScript = 28 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OGHAM : GUnicodeScript = 29 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_ITALIC : GUnicodeScript = 30 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ORIYA : GUnicodeScript = 31 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_RUNIC : GUnicodeScript = 32 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SINHALA : GUnicodeScript = 33 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SYRIAC : GUnicodeScript = 34 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAMIL : GUnicodeScript = 35 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TELUGU : GUnicodeScript = 36 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_THAANA : GUnicodeScript = 37 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_THAI : GUnicodeScript = 38 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TIBETAN : GUnicodeScript = 39 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL : GUnicodeScript = 40 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_YI : GUnicodeScript = 41 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAGALOG : GUnicodeScript = 42 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HANUNOO : GUnicodeScript = 43 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BUHID : GUnicodeScript = 44 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAGBANWA : GUnicodeScript = 45 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BRAILLE : GUnicodeScript = 46 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CYPRIOT : GUnicodeScript = 47 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LIMBU : GUnicodeScript = 48 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OSMANYA : GUnicodeScript = 49 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SHAVIAN : GUnicodeScript = 50 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LINEAR_B : GUnicodeScript = 51 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAI_LE : GUnicodeScript = 52 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_UGARITIC : GUnicodeScript = 53 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NEW_TAI_LUE : GUnicodeScript = 54 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BUGINESE : GUnicodeScript = 55 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GLAGOLITIC : GUnicodeScript = 56 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TIFINAGH : GUnicodeScript = 57 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SYLOTI_NAGRI : GUnicodeScript = 58 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_PERSIAN : GUnicodeScript = 59 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KHAROSHTHI : GUnicodeScript = 60 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_UNKNOWN : GUnicodeScript = 61 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BALINESE : GUnicodeScript = 62 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CUNEIFORM : GUnicodeScript = 63 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_PHOENICIAN : GUnicodeScript = 64 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_PHAGS_PA : GUnicodeScript = 65 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NKO : GUnicodeScript = 66 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KAYAH_LI : GUnicodeScript = 67 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LEPCHA : GUnicodeScript = 68 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_REJANG : GUnicodeScript = 69 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SUNDANESE : GUnicodeScript = 70 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SAURASHTRA : GUnicodeScript = 71 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CHAM : GUnicodeScript = 72 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OL_CHIKI : GUnicodeScript = 73 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_VAI : GUnicodeScript = 74 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CARIAN : GUnicodeScript = 75 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LYCIAN : GUnicodeScript = 76 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LYDIAN : GUnicodeScript = 77 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_AVESTAN : GUnicodeScript = 78 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BAMUM : GUnicodeScript = 79 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS : GUnicodeScript = 80 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC : GUnicodeScript = 81 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI : GUnicodeScript = 82 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN : GUnicodeScript = 83 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_JAVANESE : GUnicodeScript = 84 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KAITHI : GUnicodeScript = 85 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LISU : GUnicodeScript = 86 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MEETEI_MAYEK : GUnicodeScript = 87 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN : GUnicodeScript = 88 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_TURKIC : GUnicodeScript = 89 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SAMARITAN : GUnicodeScript = 90 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAI_THAM : GUnicodeScript = 91 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAI_VIET : GUnicodeScript = 92 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BATAK : GUnicodeScript = 93 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BRAHMI : GUnicodeScript = 94 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MANDAIC : GUnicodeScript = 95 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CHAKMA : GUnicodeScript = 96 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MEROITIC_CURSIVE : GUnicodeScript = 97 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS : GUnicodeScript = 98 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MIAO : GUnicodeScript = 99 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SHARADA : GUnicodeScript = 100 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SORA_SOMPENG : GUnicodeScript = 101 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TAKRI : GUnicodeScript = 102 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BASSA_VAH : GUnicodeScript = 103 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CAUCASIAN_ALBANIAN : GUnicodeScript = 104 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_DUPLOYAN : GUnicodeScript = 105 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ELBASAN : GUnicodeScript = 106 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GRANTHA : GUnicodeScript = 107 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KHOJKI : GUnicodeScript = 108 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KHUDAWADI : GUnicodeScript = 109 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_LINEAR_A : GUnicodeScript = 110 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MAHAJANI : GUnicodeScript = 111 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MANICHAEAN : GUnicodeScript = 112 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MENDE_KIKAKUI : GUnicodeScript = 113 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MODI : GUnicodeScript = 114 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MRO : GUnicodeScript = 115 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NABATAEAN : GUnicodeScript = 116 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_NORTH_ARABIAN : GUnicodeScript = 117 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_PERMIC : GUnicodeScript = 118 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_PAHAWH_HMONG : GUnicodeScript = 119 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_PALMYRENE : GUnicodeScript = 120 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_PAU_CIN_HAU : GUnicodeScript = 121 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_PSALTER_PAHLAVI : GUnicodeScript = 122 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SIDDHAM : GUnicodeScript = 123 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TIRHUTA : GUnicodeScript = 124 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_WARANG_CITI : GUnicodeScript = 125 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_AHOM : GUnicodeScript = 126 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ANATOLIAN_HIEROGLYPHS : GUnicodeScript = 127 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HATRAN : GUnicodeScript = 128 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MULTANI : GUnicodeScript = 129 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_HUNGARIAN : GUnicodeScript = 130 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SIGNWRITING : GUnicodeScript = 131 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ADLAM : GUnicodeScript = 132 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_BHAIKSUKI : GUnicodeScript = 133 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MARCHEN : GUnicodeScript = 134 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NEWA : GUnicodeScript = 135 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OSAGE : GUnicodeScript = 136 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TANGUT : GUnicodeScript = 137 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MASARAM_GONDI : GUnicodeScript = 138 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NUSHU : GUnicodeScript = 139 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SOYOMBO : GUnicodeScript = 140 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ZANABAZAR_SQUARE : GUnicodeScript = 141 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_DOGRA : GUnicodeScript = 142 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_GUNJALA_GONDI : GUnicodeScript = 143 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_HANIFI_ROHINGYA : GUnicodeScript = 144 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MAKASAR : GUnicodeScript = 145 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MEDEFAIDRIN : GUnicodeScript = 146 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_SOGDIAN : GUnicodeScript = 147 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_SOGDIAN : GUnicodeScript = 148 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_ELYMAIC : GUnicodeScript = 149 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NANDINAGARI : GUnicodeScript = 150 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NYIAKENG_PUACHUE_HMONG : GUnicodeScript = 151 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_WANCHO : GUnicodeScript = 152 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CHORASMIAN : GUnicodeScript = 153 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_DIVES_AKURU : GUnicodeScript = 154 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT : GUnicodeScript = 155 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_YEZIDI : GUnicodeScript = 156 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_CYPRO_MINOAN : GUnicodeScript = 157 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_OLD_UYGHUR : GUnicodeScript = 158 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TANGSA : GUnicodeScript = 159 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_TOTO : GUnicodeScript = 160 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_VITHKUQI : GUnicodeScript = 161 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_MATH : GUnicodeScript = 162 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_KAWI : GUnicodeScript = 163 ; pub const GUnicodeScript_G_UNICODE_SCRIPT_NAG_MUNDARI : GUnicodeScript = 164 ; pub type GUnicodeScript = i32 ; extern "C" { pub fn g_unicode_script_to_iso15924 ( script : GUnicodeScript ) -> guint32 ; } extern "C" { pub fn g_unicode_script_from_iso15924 ( iso15924 : guint32 ) -> GUnicodeScript ; } extern "C" { pub fn g_unichar_isalnum ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isalpha ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_iscntrl ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isdigit ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isgraph ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_islower ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isprint ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_ispunct ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isspace ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isupper ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isxdigit ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_istitle ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_isdefined ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_iswide ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_iswide_cjk ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_iszerowidth ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_ismark ( c : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_toupper ( c : gunichar ) -> gunichar ; } extern "C" { pub fn g_unichar_tolower ( c : gunichar ) -> gunichar ; } extern "C" { pub fn g_unichar_totitle ( c : gunichar ) -> gunichar ; } extern "C" { pub fn g_unichar_digit_value ( c : gunichar ) -> gint ; } extern "C" { pub fn g_unichar_xdigit_value ( c : gunichar ) -> gint ; } extern "C" { pub fn g_unichar_type ( c : gunichar ) -> GUnicodeType ; } extern "C" { pub fn g_unichar_break_type ( c : gunichar ) -> GUnicodeBreakType ; } extern "C" { pub fn g_unichar_combining_class ( uc : gunichar ) -> gint ; } extern "C" { pub fn g_unichar_get_mirror_char ( ch : gunichar , mirrored_ch : * mut gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_get_script ( ch : gunichar ) -> GUnicodeScript ; } extern "C" { pub fn g_unichar_validate ( ch : gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_compose ( a : gunichar , b : gunichar , ch : * mut gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_decompose ( ch : gunichar , a : * mut gunichar , b : * mut gunichar ) -> gboolean ; } extern "C" { pub fn g_unichar_fully_decompose ( ch : gunichar , compat : gboolean , result : * mut gunichar , result_len : gsize ) -> gsize ; } extern "C" { pub fn g_unicode_canonical_ordering ( string : * mut gunichar , len : gsize ) ; } extern "C" { pub fn g_unicode_canonical_decomposition ( ch : gunichar , result_len : * mut gsize ) -> * mut gunichar ; } extern "C" { # [ link_name = "\u{1}g_utf8_skip" ] pub static mut g_utf8_skip : * const gchar ; } extern "C" { pub fn g_utf8_get_char ( p : * const gchar ) -> gunichar ; } extern "C" { pub fn g_utf8_get_char_validated ( p : * const gchar , max_len : gssize ) -> gunichar ; } extern "C" { pub fn g_utf8_offset_to_pointer ( str : * const gchar , offset : glong ) -> * mut gchar ; } extern "C" { pub fn g_utf8_pointer_to_offset ( str : * const gchar , pos : * const gchar ) -> glong ; } extern "C" { pub fn g_utf8_prev_char ( p : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_utf8_find_next_char ( p : * const gchar , end : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_utf8_find_prev_char ( str : * const gchar , p : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_utf8_strlen ( p : * const gchar , max : gssize ) -> glong ; } extern "C" { pub fn g_utf8_substring ( str : * const gchar , start_pos : glong , end_pos : glong ) -> * mut gchar ; } extern "C" { pub fn g_utf8_strncpy ( dest : * mut gchar , src : * const gchar , n : gsize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_truncate_middle ( string : * const gchar , truncate_length : gsize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_strchr ( p : * const gchar , len : gssize , c : gunichar ) -> * mut gchar ; } extern "C" { pub fn g_utf8_strrchr ( p : * const gchar , len : gssize , c : gunichar ) -> * mut gchar ; } extern "C" { pub fn g_utf8_strreverse ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_to_utf16 ( str : * const gchar , len : glong , items_read : * mut glong , items_written : * mut glong , error : * mut * mut GError ) -> * mut gunichar2 ; } extern "C" { pub fn g_utf8_to_ucs4 ( str : * const gchar , len : glong , items_read : * mut glong , items_written : * mut glong , error : * mut * mut GError ) -> * mut gunichar ; } extern "C" { pub fn g_utf8_to_ucs4_fast ( str : * const gchar , len : glong , items_written : * mut glong ) -> * mut gunichar ; } extern "C" { pub fn g_utf16_to_ucs4 ( str : * const gunichar2 , len : glong , items_read : * mut glong , items_written : * mut glong , error : * mut * mut GError ) -> * mut gunichar ; } extern "C" { pub fn g_utf16_to_utf8 ( str : * const gunichar2 , len : glong , items_read : * mut glong , items_written : * mut glong , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_ucs4_to_utf16 ( str : * const gunichar , len : glong , items_read : * mut glong , items_written : * mut glong , error : * mut * mut GError ) -> * mut gunichar2 ; } extern "C" { pub fn g_ucs4_to_utf8 ( str : * const gunichar , len : glong , items_read : * mut glong , items_written : * mut glong , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_unichar_to_utf8 ( c : gunichar , outbuf : * mut gchar ) -> gint ; } extern "C" { pub fn g_utf8_validate ( str : * const gchar , max_len : gssize , end : * mut * const gchar ) -> gboolean ; } extern "C" { pub fn g_utf8_validate_len ( str : * const gchar , max_len : gsize , end : * mut * const gchar ) -> gboolean ; } extern "C" { pub fn g_utf8_strup ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_strdown ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_casefold ( str : * const gchar , len : gssize ) -> * mut gchar ; } pub const GNormalizeMode_G_NORMALIZE_DEFAULT : GNormalizeMode = 0 ; pub const GNormalizeMode_G_NORMALIZE_NFD : GNormalizeMode = 0 ; pub const GNormalizeMode_G_NORMALIZE_DEFAULT_COMPOSE : GNormalizeMode = 1 ; pub const GNormalizeMode_G_NORMALIZE_NFC : GNormalizeMode = 1 ; pub const GNormalizeMode_G_NORMALIZE_ALL : GNormalizeMode = 2 ; pub const GNormalizeMode_G_NORMALIZE_NFKD : GNormalizeMode = 2 ; pub const GNormalizeMode_G_NORMALIZE_ALL_COMPOSE : GNormalizeMode = 3 ; pub const GNormalizeMode_G_NORMALIZE_NFKC : GNormalizeMode = 3 ; pub type GNormalizeMode = u32 ; extern "C" { pub fn g_utf8_normalize ( str : * const gchar , len : gssize , mode : GNormalizeMode ) -> * mut gchar ; } extern "C" { pub fn g_utf8_collate ( str1 : * const gchar , str2 : * const gchar ) -> gint ; } extern "C" { pub fn g_utf8_collate_key ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_collate_key_for_filename ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_utf8_make_valid ( str : * const gchar , len : gssize ) -> * mut gchar ; } pub const GAsciiType_G_ASCII_ALNUM : GAsciiType = 1 ; pub const GAsciiType_G_ASCII_ALPHA : GAsciiType = 2 ; pub const GAsciiType_G_ASCII_CNTRL : GAsciiType = 4 ; pub const GAsciiType_G_ASCII_DIGIT : GAsciiType = 8 ; pub const GAsciiType_G_ASCII_GRAPH : GAsciiType = 16 ; pub const GAsciiType_G_ASCII_LOWER : GAsciiType = 32 ; pub const GAsciiType_G_ASCII_PRINT : GAsciiType = 64 ; pub const GAsciiType_G_ASCII_PUNCT : GAsciiType = 128 ; pub const GAsciiType_G_ASCII_SPACE : GAsciiType = 256 ; pub const GAsciiType_G_ASCII_UPPER : GAsciiType = 512 ; pub const GAsciiType_G_ASCII_XDIGIT : GAsciiType = 1024 ; pub type GAsciiType = u32 ; extern "C" { # [ link_name = "\u{1}g_ascii_table" ] pub static mut g_ascii_table : * const guint16 ; } extern "C" { pub fn g_ascii_tolower ( c : gchar ) -> gchar ; } extern "C" { pub fn g_ascii_toupper ( c : gchar ) -> gchar ; } extern "C" { pub fn g_ascii_digit_value ( c : gchar ) -> gint ; } extern "C" { pub fn g_ascii_xdigit_value ( c : gchar ) -> gint ; } extern "C" { pub fn g_strdelimit ( string : * mut gchar , delimiters : * const gchar , new_delimiter : gchar ) -> * mut gchar ; } extern "C" { pub fn g_strcanon ( string : * mut gchar , valid_chars : * const gchar , substitutor : gchar ) -> * mut gchar ; } extern "C" { pub fn g_strerror ( errnum : gint ) -> * const gchar ; } extern "C" { pub fn g_strsignal ( signum : gint ) -> * const gchar ; } extern "C" { pub fn g_strreverse ( string : * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_strlcpy ( dest : * mut gchar , src : * const gchar , dest_size : gsize ) -> gsize ; } extern "C" { pub fn g_strlcat ( dest : * mut gchar , src : * const gchar , dest_size : gsize ) -> gsize ; } extern "C" { pub fn g_strstr_len ( haystack : * const gchar , haystack_len : gssize , needle : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_strrstr ( haystack : * const gchar , needle : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_strrstr_len ( haystack : * const gchar , haystack_len : gssize , needle : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_str_has_suffix ( str : * const gchar , suffix : * const gchar ) -> gboolean ; } extern "C" { pub fn g_str_has_prefix ( str : * const gchar , prefix : * const gchar ) -> gboolean ; } extern "C" { pub fn g_strtod ( nptr : * const gchar , endptr : * mut * mut gchar ) -> gdouble ; } extern "C" { pub fn g_ascii_strtod ( nptr : * const gchar , endptr : * mut * mut gchar ) -> gdouble ; } extern "C" { pub fn g_ascii_strtoull ( nptr : * const gchar , endptr : * mut * mut gchar , base : guint ) -> guint64 ; } extern "C" { pub fn g_ascii_strtoll ( nptr : * const gchar , endptr : * mut * mut gchar , base : guint ) -> gint64 ; } extern "C" { pub fn g_ascii_dtostr ( buffer : * mut gchar , buf_len : gint , d : gdouble ) -> * mut gchar ; } extern "C" { pub fn g_ascii_formatd ( buffer : * mut gchar , buf_len : gint , format : * const gchar , d : gdouble ) -> * mut gchar ; } extern "C" { pub fn g_strchug ( string : * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_strchomp ( string : * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_ascii_strcasecmp ( s1 : * const gchar , s2 : * const gchar ) -> gint ; } extern "C" { pub fn g_ascii_strncasecmp ( s1 : * const gchar , s2 : * const gchar , n : gsize ) -> gint ; } extern "C" { pub fn g_ascii_strdown ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_ascii_strup ( str : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_str_is_ascii ( str : * const gchar ) -> gboolean ; } extern "C" { pub fn g_strcasecmp ( s1 : * const gchar , s2 : * const gchar ) -> gint ; } extern "C" { pub fn g_strncasecmp ( s1 : * const gchar , s2 : * const gchar , n : guint ) -> gint ; } extern "C" { pub fn g_strdown ( string : * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_strup ( string : * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_strdup ( str : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_strdup_printf ( format : * const gchar , ... ) -> * mut gchar ; } extern "C" { pub fn g_strdup_vprintf ( format : * const gchar , args : * mut __va_list_tag ) -> * mut gchar ; } extern "C" { pub fn g_strndup ( str : * const gchar , n : gsize ) -> * mut gchar ; } extern "C" { pub fn g_strnfill ( length : gsize , fill_char : gchar ) -> * mut gchar ; } extern "C" { pub fn g_strconcat ( string1 : * const gchar , ... ) -> * mut gchar ; } extern "C" { pub fn g_strjoin ( separator : * const gchar , ... ) -> * mut gchar ; } extern "C" { pub fn g_strcompress ( source : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_strescape ( source : * const gchar , exceptions : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_memdup ( mem : gconstpointer , byte_size : guint ) -> gpointer ; } extern "C" { pub fn g_memdup2 ( mem : gconstpointer , byte_size : gsize ) -> gpointer ; } pub type GStrv = * mut * mut gchar ; extern "C" { pub fn g_strsplit ( string : * const gchar , delimiter : * const gchar , max_tokens : gint ) -> * mut * mut gchar ; } extern "C" { pub fn g_strsplit_set ( string : * const gchar , delimiters : * const gchar , max_tokens : gint ) -> * mut * mut gchar ; } extern "C" { pub fn g_strjoinv ( separator : * const gchar , str_array : * mut * mut gchar ) -> * mut gchar ; } extern "C" { pub fn g_strfreev ( str_array : * mut * mut gchar ) ; } extern "C" { pub fn g_strdupv ( str_array : * mut * mut gchar ) -> * mut * mut gchar ; } extern "C" { pub fn g_strv_length ( str_array : * mut * mut gchar ) -> guint ; } extern "C" { pub fn g_stpcpy ( dest : * mut gchar , src : * const :: std :: os :: raw :: c_char ) -> * mut gchar ; } extern "C" { pub fn g_str_to_ascii ( str : * const gchar , from_locale : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_str_tokenize_and_fold ( string : * const gchar , translit_locale : * const gchar , ascii_alternates : * mut * mut * mut gchar ) -> * mut * mut gchar ; } extern "C" { pub fn g_str_match_string ( search_term : * const gchar , potential_hit : * const gchar , accept_alternates : gboolean ) -> gboolean ; } extern "C" { pub fn g_strv_contains ( strv : * const * const gchar , str : * const gchar ) -> gboolean ; } extern "C" { pub fn g_strv_equal ( strv1 : * const * const gchar , strv2 : * const * const gchar ) -> gboolean ; } pub const GNumberParserError_G_NUMBER_PARSER_ERROR_INVALID : GNumberParserError = 0 ; pub const GNumberParserError_G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS : GNumberParserError = 1 ; pub type GNumberParserError = u32 ; extern "C" { pub fn g_number_parser_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_ascii_string_to_signed ( str : * const gchar , base : guint , min : gint64 , max : gint64 , out_num : * mut gint64 , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_ascii_string_to_unsigned ( str : * const gchar , base : guint , min : guint64 , max : guint64 , out_num : * mut guint64 , error : * mut * mut GError ) -> gboolean ; } pub type GString = _GString ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GString { pub str : * mut gchar , pub len : gsize , pub allocated_len : gsize , } # [ test ] fn bindgen_test_layout__GString ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GString > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GString ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GString > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GString > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GString ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GString > ( ) ) ) . len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GString ) , "::" , stringify ! ( len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GString > ( ) ) ) . allocated_len as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GString ) , "::" , stringify ! ( allocated_len ) ) ) ; } extern "C" { pub fn g_string_new ( init : * const gchar ) -> * mut GString ; } extern "C" { pub fn g_string_new_take ( init : * mut gchar ) -> * mut GString ; } extern "C" { pub fn g_string_new_len ( init : * const gchar , len : gssize ) -> * mut GString ; } extern "C" { pub fn g_string_sized_new ( dfl_size : gsize ) -> * mut GString ; } extern "C" { pub fn g_string_free ( string : * mut GString , free_segment : gboolean ) -> * mut gchar ; } extern "C" { pub fn g_string_free_and_steal ( string : * mut GString ) -> * mut gchar ; } extern "C" { pub fn g_string_free_to_bytes ( string : * mut GString ) -> * mut GBytes ; } extern "C" { pub fn g_string_equal ( v : * const GString , v2 : * const GString ) -> gboolean ; } extern "C" { pub fn g_string_hash ( str : * const GString ) -> guint ; } extern "C" { pub fn g_string_assign ( string : * mut GString , rval : * const gchar ) -> * mut GString ; } extern "C" { pub fn g_string_truncate ( string : * mut GString , len : gsize ) -> * mut GString ; } extern "C" { pub fn g_string_set_size ( string : * mut GString , len : gsize ) -> * mut GString ; } extern "C" { pub fn g_string_insert_len ( string : * mut GString , pos : gssize , val : * const gchar , len : gssize ) -> * mut GString ; } extern "C" { pub fn g_string_append ( string : * mut GString , val : * const gchar ) -> * mut GString ; } extern "C" { pub fn g_string_append_len ( string : * mut GString , val : * const gchar , len : gssize ) -> * mut GString ; } extern "C" { pub fn g_string_append_c ( string : * mut GString , c : gchar ) -> * mut GString ; } extern "C" { pub fn g_string_append_unichar ( string : * mut GString , wc : gunichar ) -> * mut GString ; } extern "C" { pub fn g_string_prepend ( string : * mut GString , val : * const gchar ) -> * mut GString ; } extern "C" { pub fn g_string_prepend_c ( string : * mut GString , c : gchar ) -> * mut GString ; } extern "C" { pub fn g_string_prepend_unichar ( string : * mut GString , wc : gunichar ) -> * mut GString ; } extern "C" { pub fn g_string_prepend_len ( string : * mut GString , val : * const gchar , len : gssize ) -> * mut GString ; } extern "C" { pub fn g_string_insert ( string : * mut GString , pos : gssize , val : * const gchar ) -> * mut GString ; } extern "C" { pub fn g_string_insert_c ( string : * mut GString , pos : gssize , c : gchar ) -> * mut GString ; } extern "C" { pub fn g_string_insert_unichar ( string : * mut GString , pos : gssize , wc : gunichar ) -> * mut GString ; } extern "C" { pub fn g_string_overwrite ( string : * mut GString , pos : gsize , val : * const gchar ) -> * mut GString ; } extern "C" { pub fn g_string_overwrite_len ( string : * mut GString , pos : gsize , val : * const gchar , len : gssize ) -> * mut GString ; } extern "C" { pub fn g_string_erase ( string : * mut GString , pos : gssize , len : gssize ) -> * mut GString ; } extern "C" { pub fn g_string_replace ( string : * mut GString , find : * const gchar , replace : * const gchar , limit : guint ) -> guint ; } extern "C" { pub fn g_string_ascii_down ( string : * mut GString ) -> * mut GString ; } extern "C" { pub fn g_string_ascii_up ( string : * mut GString ) -> * mut GString ; } extern "C" { pub fn g_string_vprintf ( string : * mut GString , format : * const gchar , args : * mut __va_list_tag ) ; } extern "C" { pub fn g_string_printf ( string : * mut GString , format : * const gchar , ... ) ; } extern "C" { pub fn g_string_append_vprintf ( string : * mut GString , format : * const gchar , args : * mut __va_list_tag ) ; } extern "C" { pub fn g_string_append_printf ( string : * mut GString , format : * const gchar , ... ) ; } extern "C" { pub fn g_string_append_uri_escaped ( string : * mut GString , unescaped : * const gchar , reserved_chars_allowed : * const gchar , allow_utf8 : gboolean ) -> * mut GString ; } extern "C" { pub fn g_string_down ( string : * mut GString ) -> * mut GString ; } extern "C" { pub fn g_string_up ( string : * mut GString ) -> * mut GString ; } pub type GIOChannel = _GIOChannel ; pub type GIOFuncs = _GIOFuncs ; pub const GIOError_G_IO_ERROR_NONE : GIOError = 0 ; pub const GIOError_G_IO_ERROR_AGAIN : GIOError = 1 ; pub const GIOError_G_IO_ERROR_INVAL : GIOError = 2 ; pub const GIOError_G_IO_ERROR_UNKNOWN : GIOError = 3 ; pub type GIOError = u32 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_FBIG : GIOChannelError = 0 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_INVAL : GIOChannelError = 1 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_IO : GIOChannelError = 2 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_ISDIR : GIOChannelError = 3 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_NOSPC : GIOChannelError = 4 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_NXIO : GIOChannelError = 5 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_OVERFLOW : GIOChannelError = 6 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_PIPE : GIOChannelError = 7 ; pub const GIOChannelError_G_IO_CHANNEL_ERROR_FAILED : GIOChannelError = 8 ; pub type GIOChannelError = u32 ; pub const GIOStatus_G_IO_STATUS_ERROR : GIOStatus = 0 ; pub const GIOStatus_G_IO_STATUS_NORMAL : GIOStatus = 1 ; pub const GIOStatus_G_IO_STATUS_EOF : GIOStatus = 2 ; pub const GIOStatus_G_IO_STATUS_AGAIN : GIOStatus = 3 ; pub type GIOStatus = u32 ; pub const GSeekType_G_SEEK_CUR : GSeekType = 0 ; pub const GSeekType_G_SEEK_SET : GSeekType = 1 ; pub const GSeekType_G_SEEK_END : GSeekType = 2 ; pub type GSeekType = u32 ; pub const GIOFlags_G_IO_FLAG_NONE : GIOFlags = 0 ; pub const GIOFlags_G_IO_FLAG_APPEND : GIOFlags = 1 ; pub const GIOFlags_G_IO_FLAG_NONBLOCK : GIOFlags = 2 ; pub const GIOFlags_G_IO_FLAG_IS_READABLE : GIOFlags = 4 ; pub const GIOFlags_G_IO_FLAG_IS_WRITABLE : GIOFlags = 8 ; pub const GIOFlags_G_IO_FLAG_IS_WRITEABLE : GIOFlags = 8 ; pub const GIOFlags_G_IO_FLAG_IS_SEEKABLE : GIOFlags = 16 ; pub const GIOFlags_G_IO_FLAG_MASK : GIOFlags = 31 ; pub const GIOFlags_G_IO_FLAG_GET_MASK : GIOFlags = 31 ; pub const GIOFlags_G_IO_FLAG_SET_MASK : GIOFlags = 3 ; pub type GIOFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOChannel { pub ref_count : gint , pub funcs : * mut GIOFuncs , pub encoding : * mut gchar , pub read_cd : GIConv , pub write_cd : GIConv , pub line_term : * mut gchar , pub line_term_len : guint , pub buf_size : gsize , pub read_buf : * mut GString , pub encoded_read_buf : * mut GString , pub write_buf : * mut GString , pub partial_write_buf : [ gchar ; 6usize ] , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub reserved1 : gpointer , pub reserved2 : gpointer , } # [ test ] fn bindgen_test_layout__GIOChannel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GIOChannel > ( ) , 112usize , concat ! ( "Size of: " , stringify ! ( _GIOChannel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GIOChannel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GIOChannel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . funcs as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( funcs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . encoding as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( encoding ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . read_cd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( read_cd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . write_cd as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( write_cd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . line_term as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( line_term ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . line_term_len as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( line_term_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . buf_size as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( buf_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . read_buf as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( read_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . encoded_read_buf as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( encoded_read_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . write_buf as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( write_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . partial_write_buf as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( partial_write_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . reserved1 as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOChannel > ( ) ) ) . reserved2 as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GIOChannel ) , "::" , stringify ! ( reserved2 ) ) ) ; } impl _GIOChannel { # [ inline ] pub fn use_buffer ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_use_buffer ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn do_encode ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_do_encode ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn close_on_unref ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_close_on_unref ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn is_readable ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_is_readable ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn is_writeable ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 4usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_is_writeable ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 4usize , 1u8 , val as u64 ) } } # [ inline ] pub fn is_seekable ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 5usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_is_seekable ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 5usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( use_buffer : guint , do_encode : guint , close_on_unref : guint , is_readable : guint , is_writeable : guint , is_seekable : guint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let use_buffer : u32 = unsafe { :: std :: mem :: transmute ( use_buffer ) } ; use_buffer as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let do_encode : u32 = unsafe { :: std :: mem :: transmute ( do_encode ) } ; do_encode as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let close_on_unref : u32 = unsafe { :: std :: mem :: transmute ( close_on_unref ) } ; close_on_unref as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let is_readable : u32 = unsafe { :: std :: mem :: transmute ( is_readable ) } ; is_readable as u64 } ) ; __bindgen_bitfield_unit . set ( 4usize , 1u8 , { let is_writeable : u32 = unsafe { :: std :: mem :: transmute ( is_writeable ) } ; is_writeable as u64 } ) ; __bindgen_bitfield_unit . set ( 5usize , 1u8 , { let is_seekable : u32 = unsafe { :: std :: mem :: transmute ( is_seekable ) } ; is_seekable as u64 } ) ; __bindgen_bitfield_unit } } pub type GIOFunc = :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GIOChannel , condition : GIOCondition , data : gpointer ) -> gboolean > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOFuncs { pub io_read : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel , buf : * mut gchar , count : gsize , bytes_read : * mut gsize , err : * mut * mut GError ) -> GIOStatus > , pub io_write : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel , buf : * const gchar , count : gsize , bytes_written : * mut gsize , err : * mut * mut GError ) -> GIOStatus > , pub io_seek : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel , offset : gint64 , type_ : GSeekType , err : * mut * mut GError ) -> GIOStatus > , pub io_close : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel , err : * mut * mut GError ) -> GIOStatus > , pub io_create_watch : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel , condition : GIOCondition ) -> * mut GSource > , pub io_free : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel ) > , pub io_set_flags : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel , flags : GIOFlags , err : * mut * mut GError ) -> GIOStatus > , pub io_get_flags : :: std :: option :: Option < unsafe extern "C" fn ( channel : * mut GIOChannel ) -> GIOFlags > , } # [ test ] fn bindgen_test_layout__GIOFuncs ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GIOFuncs > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _GIOFuncs ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GIOFuncs > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GIOFuncs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_read as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_write as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_write ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_seek as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_close as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_close ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_create_watch as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_create_watch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_free as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_set_flags as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_set_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOFuncs > ( ) ) ) . io_get_flags as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GIOFuncs ) , "::" , stringify ! ( io_get_flags ) ) ) ; } extern "C" { pub fn g_io_channel_init ( channel : * mut GIOChannel ) ; } extern "C" { pub fn g_io_channel_ref ( channel : * mut GIOChannel ) -> * mut GIOChannel ; } extern "C" { pub fn g_io_channel_unref ( channel : * mut GIOChannel ) ; } extern "C" { pub fn g_io_channel_read ( channel : * mut GIOChannel , buf : * mut gchar , count : gsize , bytes_read : * mut gsize ) -> GIOError ; } extern "C" { pub fn g_io_channel_write ( channel : * mut GIOChannel , buf : * const gchar , count : gsize , bytes_written : * mut gsize ) -> GIOError ; } extern "C" { pub fn g_io_channel_seek ( channel : * mut GIOChannel , offset : gint64 , type_ : GSeekType ) -> GIOError ; } extern "C" { pub fn g_io_channel_close ( channel : * mut GIOChannel ) ; } extern "C" { pub fn g_io_channel_shutdown ( channel : * mut GIOChannel , flush : gboolean , err : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_add_watch_full ( channel : * mut GIOChannel , priority : gint , condition : GIOCondition , func : GIOFunc , user_data : gpointer , notify : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_io_create_watch ( channel : * mut GIOChannel , condition : GIOCondition ) -> * mut GSource ; } extern "C" { pub fn g_io_add_watch ( channel : * mut GIOChannel , condition : GIOCondition , func : GIOFunc , user_data : gpointer ) -> guint ; } extern "C" { pub fn g_io_channel_set_buffer_size ( channel : * mut GIOChannel , size : gsize ) ; } extern "C" { pub fn g_io_channel_get_buffer_size ( channel : * mut GIOChannel ) -> gsize ; } extern "C" { pub fn g_io_channel_get_buffer_condition ( channel : * mut GIOChannel ) -> GIOCondition ; } extern "C" { pub fn g_io_channel_set_flags ( channel : * mut GIOChannel , flags : GIOFlags , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_get_flags ( channel : * mut GIOChannel ) -> GIOFlags ; } extern "C" { pub fn g_io_channel_set_line_term ( channel : * mut GIOChannel , line_term : * const gchar , length : gint ) ; } extern "C" { pub fn g_io_channel_get_line_term ( channel : * mut GIOChannel , length : * mut gint ) -> * const gchar ; } extern "C" { pub fn g_io_channel_set_buffered ( channel : * mut GIOChannel , buffered : gboolean ) ; } extern "C" { pub fn g_io_channel_get_buffered ( channel : * mut GIOChannel ) -> gboolean ; } extern "C" { pub fn g_io_channel_set_encoding ( channel : * mut GIOChannel , encoding : * const gchar , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_get_encoding ( channel : * mut GIOChannel ) -> * const gchar ; } extern "C" { pub fn g_io_channel_set_close_on_unref ( channel : * mut GIOChannel , do_close : gboolean ) ; } extern "C" { pub fn g_io_channel_get_close_on_unref ( channel : * mut GIOChannel ) -> gboolean ; } extern "C" { pub fn g_io_channel_flush ( channel : * mut GIOChannel , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_read_line ( channel : * mut GIOChannel , str_return : * mut * mut gchar , length : * mut gsize , terminator_pos : * mut gsize , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_read_line_string ( channel : * mut GIOChannel , buffer : * mut GString , terminator_pos : * mut gsize , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_read_to_end ( channel : * mut GIOChannel , str_return : * mut * mut gchar , length : * mut gsize , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_read_chars ( channel : * mut GIOChannel , buf : * mut gchar , count : gsize , bytes_read : * mut gsize , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_read_unichar ( channel : * mut GIOChannel , thechar : * mut gunichar , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_write_chars ( channel : * mut GIOChannel , buf : * const gchar , count : gssize , bytes_written : * mut gsize , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_write_unichar ( channel : * mut GIOChannel , thechar : gunichar , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_seek_position ( channel : * mut GIOChannel , offset : gint64 , type_ : GSeekType , error : * mut * mut GError ) -> GIOStatus ; } extern "C" { pub fn g_io_channel_new_file ( filename : * const gchar , mode : * const gchar , error : * mut * mut GError ) -> * mut GIOChannel ; } extern "C" { pub fn g_io_channel_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_io_channel_error_from_errno ( en : gint ) -> GIOChannelError ; } extern "C" { pub fn g_io_channel_unix_new ( fd : :: std :: os :: raw :: c_int ) -> * mut GIOChannel ; } extern "C" { pub fn g_io_channel_unix_get_fd ( channel : * mut GIOChannel ) -> gint ; } extern "C" { # [ link_name = "\u{1}g_io_watch_funcs" ] pub static mut g_io_watch_funcs : GSourceFuncs ; } pub const GKeyFileError_G_KEY_FILE_ERROR_UNKNOWN_ENCODING : GKeyFileError = 0 ; pub const GKeyFileError_G_KEY_FILE_ERROR_PARSE : GKeyFileError = 1 ; pub const GKeyFileError_G_KEY_FILE_ERROR_NOT_FOUND : GKeyFileError = 2 ; pub const GKeyFileError_G_KEY_FILE_ERROR_KEY_NOT_FOUND : GKeyFileError = 3 ; pub const GKeyFileError_G_KEY_FILE_ERROR_GROUP_NOT_FOUND : GKeyFileError = 4 ; pub const GKeyFileError_G_KEY_FILE_ERROR_INVALID_VALUE : GKeyFileError = 5 ; pub type GKeyFileError = u32 ; extern "C" { pub fn g_key_file_error_quark ( ) -> GQuark ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GKeyFile { _unused : [ u8 ; 0 ] , } pub type GKeyFile = _GKeyFile ; pub const GKeyFileFlags_G_KEY_FILE_NONE : GKeyFileFlags = 0 ; pub const GKeyFileFlags_G_KEY_FILE_KEEP_COMMENTS : GKeyFileFlags = 1 ; pub const GKeyFileFlags_G_KEY_FILE_KEEP_TRANSLATIONS : GKeyFileFlags = 2 ; pub type GKeyFileFlags = u32 ; extern "C" { pub fn g_key_file_new ( ) -> * mut GKeyFile ; } extern "C" { pub fn g_key_file_ref ( key_file : * mut GKeyFile ) -> * mut GKeyFile ; } extern "C" { pub fn g_key_file_unref ( key_file : * mut GKeyFile ) ; } extern "C" { pub fn g_key_file_free ( key_file : * mut GKeyFile ) ; } extern "C" { pub fn g_key_file_set_list_separator ( key_file : * mut GKeyFile , separator : gchar ) ; } extern "C" { pub fn g_key_file_load_from_file ( key_file : * mut GKeyFile , file : * const gchar , flags : GKeyFileFlags , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_load_from_data ( key_file : * mut GKeyFile , data : * const gchar , length : gsize , flags : GKeyFileFlags , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_load_from_bytes ( key_file : * mut GKeyFile , bytes : * mut GBytes , flags : GKeyFileFlags , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_load_from_dirs ( key_file : * mut GKeyFile , file : * const gchar , search_dirs : * mut * const gchar , full_path : * mut * mut gchar , flags : GKeyFileFlags , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_load_from_data_dirs ( key_file : * mut GKeyFile , file : * const gchar , full_path : * mut * mut gchar , flags : GKeyFileFlags , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_to_data ( key_file : * mut GKeyFile , length : * mut gsize , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_key_file_save_to_file ( key_file : * mut GKeyFile , filename : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_get_start_group ( key_file : * mut GKeyFile ) -> * mut gchar ; } extern "C" { pub fn g_key_file_get_groups ( key_file : * mut GKeyFile , length : * mut gsize ) -> * mut * mut gchar ; } extern "C" { pub fn g_key_file_get_keys ( key_file : * mut GKeyFile , group_name : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_key_file_has_group ( key_file : * mut GKeyFile , group_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_key_file_has_key ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_get_value ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_key_file_set_value ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , value : * const gchar ) ; } extern "C" { pub fn g_key_file_get_string ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_key_file_set_string ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , string : * const gchar ) ; } extern "C" { pub fn g_key_file_get_locale_string ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , locale : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_key_file_get_locale_for_key ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , locale : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_key_file_set_locale_string ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , locale : * const gchar , string : * const gchar ) ; } extern "C" { pub fn g_key_file_get_boolean ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_set_boolean ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , value : gboolean ) ; } extern "C" { pub fn g_key_file_get_integer ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_key_file_set_integer ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , value : gint ) ; } extern "C" { pub fn g_key_file_get_int64 ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gint64 ; } extern "C" { pub fn g_key_file_set_int64 ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , value : gint64 ) ; } extern "C" { pub fn g_key_file_get_uint64 ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> guint64 ; } extern "C" { pub fn g_key_file_set_uint64 ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , value : guint64 ) ; } extern "C" { pub fn g_key_file_get_double ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gdouble ; } extern "C" { pub fn g_key_file_set_double ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , value : gdouble ) ; } extern "C" { pub fn g_key_file_get_string_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_key_file_set_string_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , list : * const * const gchar , length : gsize ) ; } extern "C" { pub fn g_key_file_get_locale_string_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , locale : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_key_file_set_locale_string_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , locale : * const gchar , list : * const * const gchar , length : gsize ) ; } extern "C" { pub fn g_key_file_get_boolean_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut gboolean ; } extern "C" { pub fn g_key_file_set_boolean_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , list : * mut gboolean , length : gsize ) ; } extern "C" { pub fn g_key_file_get_integer_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut gint ; } extern "C" { pub fn g_key_file_set_double_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , list : * mut gdouble , length : gsize ) ; } extern "C" { pub fn g_key_file_get_double_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , length : * mut gsize , error : * mut * mut GError ) -> * mut gdouble ; } extern "C" { pub fn g_key_file_set_integer_list ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , list : * mut gint , length : gsize ) ; } extern "C" { pub fn g_key_file_set_comment ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , comment : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_get_comment ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_key_file_remove_comment ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_remove_key ( key_file : * mut GKeyFile , group_name : * const gchar , key : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_key_file_remove_group ( key_file : * mut GKeyFile , group_name : * const gchar , error : * mut * mut GError ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMappedFile { _unused : [ u8 ; 0 ] , } pub type GMappedFile = _GMappedFile ; extern "C" { pub fn g_mapped_file_new ( filename : * const gchar , writable : gboolean , error : * mut * mut GError ) -> * mut GMappedFile ; } extern "C" { pub fn g_mapped_file_new_from_fd ( fd : gint , writable : gboolean , error : * mut * mut GError ) -> * mut GMappedFile ; } extern "C" { pub fn g_mapped_file_get_length ( file : * mut GMappedFile ) -> gsize ; } extern "C" { pub fn g_mapped_file_get_contents ( file : * mut GMappedFile ) -> * mut gchar ; } extern "C" { pub fn g_mapped_file_get_bytes ( file : * mut GMappedFile ) -> * mut GBytes ; } extern "C" { pub fn g_mapped_file_ref ( file : * mut GMappedFile ) -> * mut GMappedFile ; } extern "C" { pub fn g_mapped_file_unref ( file : * mut GMappedFile ) ; } extern "C" { pub fn g_mapped_file_free ( file : * mut GMappedFile ) ; } pub const GMarkupError_G_MARKUP_ERROR_BAD_UTF8 : GMarkupError = 0 ; pub const GMarkupError_G_MARKUP_ERROR_EMPTY : GMarkupError = 1 ; pub const GMarkupError_G_MARKUP_ERROR_PARSE : GMarkupError = 2 ; pub const GMarkupError_G_MARKUP_ERROR_UNKNOWN_ELEMENT : GMarkupError = 3 ; pub const GMarkupError_G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE : GMarkupError = 4 ; pub const GMarkupError_G_MARKUP_ERROR_INVALID_CONTENT : GMarkupError = 5 ; pub const GMarkupError_G_MARKUP_ERROR_MISSING_ATTRIBUTE : GMarkupError = 6 ; pub type GMarkupError = u32 ; extern "C" { pub fn g_markup_error_quark ( ) -> GQuark ; } pub const GMarkupParseFlags_G_MARKUP_DEFAULT_FLAGS : GMarkupParseFlags = 0 ; pub const GMarkupParseFlags_G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG : GMarkupParseFlags = 1 ; pub const GMarkupParseFlags_G_MARKUP_TREAT_CDATA_AS_TEXT : GMarkupParseFlags = 2 ; pub const GMarkupParseFlags_G_MARKUP_PREFIX_ERROR_POSITION : GMarkupParseFlags = 4 ; pub const GMarkupParseFlags_G_MARKUP_IGNORE_QUALIFIED : GMarkupParseFlags = 8 ; pub type GMarkupParseFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMarkupParseContext { _unused : [ u8 ; 0 ] , } pub type GMarkupParseContext = _GMarkupParseContext ; pub type GMarkupParser = _GMarkupParser ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMarkupParser { pub start_element : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GMarkupParseContext , element_name : * const gchar , attribute_names : * mut * const gchar , attribute_values : * mut * const gchar , user_data : gpointer , error : * mut * mut GError ) > , pub end_element : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GMarkupParseContext , element_name : * const gchar , user_data : gpointer , error : * mut * mut GError ) > , pub text : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GMarkupParseContext , text : * const gchar , text_len : gsize , user_data : gpointer , error : * mut * mut GError ) > , pub passthrough : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GMarkupParseContext , passthrough_text : * const gchar , text_len : gsize , user_data : gpointer , error : * mut * mut GError ) > , pub error : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GMarkupParseContext , error : * mut GError , user_data : gpointer ) > , } # [ test ] fn bindgen_test_layout__GMarkupParser ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMarkupParser > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GMarkupParser ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMarkupParser > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMarkupParser ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMarkupParser > ( ) ) ) . start_element as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMarkupParser ) , "::" , stringify ! ( start_element ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMarkupParser > ( ) ) ) . end_element as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GMarkupParser ) , "::" , stringify ! ( end_element ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMarkupParser > ( ) ) ) . text as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GMarkupParser ) , "::" , stringify ! ( text ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMarkupParser > ( ) ) ) . passthrough as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMarkupParser ) , "::" , stringify ! ( passthrough ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMarkupParser > ( ) ) ) . error as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GMarkupParser ) , "::" , stringify ! ( error ) ) ) ; } extern "C" { pub fn g_markup_parse_context_new ( parser : * const GMarkupParser , flags : GMarkupParseFlags , user_data : gpointer , user_data_dnotify : GDestroyNotify ) -> * mut GMarkupParseContext ; } extern "C" { pub fn g_markup_parse_context_ref ( context : * mut GMarkupParseContext ) -> * mut GMarkupParseContext ; } extern "C" { pub fn g_markup_parse_context_unref ( context : * mut GMarkupParseContext ) ; } extern "C" { pub fn g_markup_parse_context_free ( context : * mut GMarkupParseContext ) ; } extern "C" { pub fn g_markup_parse_context_parse ( context : * mut GMarkupParseContext , text : * const gchar , text_len : gssize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_markup_parse_context_push ( context : * mut GMarkupParseContext , parser : * const GMarkupParser , user_data : gpointer ) ; } extern "C" { pub fn g_markup_parse_context_pop ( context : * mut GMarkupParseContext ) -> gpointer ; } extern "C" { pub fn g_markup_parse_context_end_parse ( context : * mut GMarkupParseContext , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_markup_parse_context_get_element ( context : * mut GMarkupParseContext ) -> * const gchar ; } extern "C" { pub fn g_markup_parse_context_get_element_stack ( context : * mut GMarkupParseContext ) -> * const GSList ; } extern "C" { pub fn g_markup_parse_context_get_position ( context : * mut GMarkupParseContext , line_number : * mut gint , char_number : * mut gint ) ; } extern "C" { pub fn g_markup_parse_context_get_user_data ( context : * mut GMarkupParseContext ) -> gpointer ; } extern "C" { pub fn g_markup_escape_text ( text : * const gchar , length : gssize ) -> * mut gchar ; } extern "C" { pub fn g_markup_printf_escaped ( format : * const :: std :: os :: raw :: c_char , ... ) -> * mut gchar ; } extern "C" { pub fn g_markup_vprintf_escaped ( format : * const :: std :: os :: raw :: c_char , args : * mut __va_list_tag ) -> * mut gchar ; } pub const GMarkupCollectType_G_MARKUP_COLLECT_INVALID : GMarkupCollectType = 0 ; pub const GMarkupCollectType_G_MARKUP_COLLECT_STRING : GMarkupCollectType = 1 ; pub const GMarkupCollectType_G_MARKUP_COLLECT_STRDUP : GMarkupCollectType = 2 ; pub const GMarkupCollectType_G_MARKUP_COLLECT_BOOLEAN : GMarkupCollectType = 3 ; pub const GMarkupCollectType_G_MARKUP_COLLECT_TRISTATE : GMarkupCollectType = 4 ; pub const GMarkupCollectType_G_MARKUP_COLLECT_OPTIONAL : GMarkupCollectType = 65536 ; pub type GMarkupCollectType = u32 ; extern "C" { pub fn g_markup_collect_attributes ( element_name : * const gchar , attribute_names : * mut * const gchar , attribute_values : * mut * const gchar , error : * mut * mut GError , first_type : GMarkupCollectType , first_attr : * const gchar , ... ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVariantType { _unused : [ u8 ; 0 ] , } pub type GVariantType = _GVariantType ; extern "C" { pub fn g_variant_type_string_is_valid ( type_string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_variant_type_string_scan ( string : * const gchar , limit : * const gchar , endptr : * mut * const gchar ) -> gboolean ; } extern "C" { pub fn g_variant_type_free ( type_ : * mut GVariantType ) ; } extern "C" { pub fn g_variant_type_copy ( type_ : * const GVariantType ) -> * mut GVariantType ; } extern "C" { pub fn g_variant_type_new ( type_string : * const gchar ) -> * mut GVariantType ; } extern "C" { pub fn g_variant_type_get_string_length ( type_ : * const GVariantType ) -> gsize ; } extern "C" { pub fn g_variant_type_peek_string ( type_ : * const GVariantType ) -> * const gchar ; } extern "C" { pub fn g_variant_type_dup_string ( type_ : * const GVariantType ) -> * mut gchar ; } extern "C" { pub fn g_variant_type_is_definite ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_container ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_basic ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_maybe ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_array ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_tuple ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_dict_entry ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_variant ( type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_hash ( type_ : gconstpointer ) -> guint ; } extern "C" { pub fn g_variant_type_equal ( type1 : gconstpointer , type2 : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_variant_type_is_subtype_of ( type_ : * const GVariantType , supertype : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_type_element ( type_ : * const GVariantType ) -> * const GVariantType ; } extern "C" { pub fn g_variant_type_first ( type_ : * const GVariantType ) -> * const GVariantType ; } extern "C" { pub fn g_variant_type_next ( type_ : * const GVariantType ) -> * const GVariantType ; } extern "C" { pub fn g_variant_type_n_items ( type_ : * const GVariantType ) -> gsize ; } extern "C" { pub fn g_variant_type_key ( type_ : * const GVariantType ) -> * const GVariantType ; } extern "C" { pub fn g_variant_type_value ( type_ : * const GVariantType ) -> * const GVariantType ; } extern "C" { pub fn g_variant_type_new_array ( element : * const GVariantType ) -> * mut GVariantType ; } extern "C" { pub fn g_variant_type_new_maybe ( element : * const GVariantType ) -> * mut GVariantType ; } extern "C" { pub fn g_variant_type_new_tuple ( items : * const * const GVariantType , length : gint ) -> * mut GVariantType ; } extern "C" { pub fn g_variant_type_new_dict_entry ( key : * const GVariantType , value : * const GVariantType ) -> * mut GVariantType ; } extern "C" { pub fn g_variant_type_checked_ ( type_string : * const gchar ) -> * const GVariantType ; } extern "C" { pub fn g_variant_type_string_get_depth_ ( type_string : * const gchar ) -> gsize ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVariant { _unused : [ u8 ; 0 ] , } pub type GVariant = _GVariant ; pub const GVariantClass_G_VARIANT_CLASS_BOOLEAN : GVariantClass = 98 ; pub const GVariantClass_G_VARIANT_CLASS_BYTE : GVariantClass = 121 ; pub const GVariantClass_G_VARIANT_CLASS_INT16 : GVariantClass = 110 ; pub const GVariantClass_G_VARIANT_CLASS_UINT16 : GVariantClass = 113 ; pub const GVariantClass_G_VARIANT_CLASS_INT32 : GVariantClass = 105 ; pub const GVariantClass_G_VARIANT_CLASS_UINT32 : GVariantClass = 117 ; pub const GVariantClass_G_VARIANT_CLASS_INT64 : GVariantClass = 120 ; pub const GVariantClass_G_VARIANT_CLASS_UINT64 : GVariantClass = 116 ; pub const GVariantClass_G_VARIANT_CLASS_HANDLE : GVariantClass = 104 ; pub const GVariantClass_G_VARIANT_CLASS_DOUBLE : GVariantClass = 100 ; pub const GVariantClass_G_VARIANT_CLASS_STRING : GVariantClass = 115 ; pub const GVariantClass_G_VARIANT_CLASS_OBJECT_PATH : GVariantClass = 111 ; pub const GVariantClass_G_VARIANT_CLASS_SIGNATURE : GVariantClass = 103 ; pub const GVariantClass_G_VARIANT_CLASS_VARIANT : GVariantClass = 118 ; pub const GVariantClass_G_VARIANT_CLASS_MAYBE : GVariantClass = 109 ; pub const GVariantClass_G_VARIANT_CLASS_ARRAY : GVariantClass = 97 ; pub const GVariantClass_G_VARIANT_CLASS_TUPLE : GVariantClass = 40 ; pub const GVariantClass_G_VARIANT_CLASS_DICT_ENTRY : GVariantClass = 123 ; pub type GVariantClass = u32 ; extern "C" { pub fn g_variant_unref ( value : * mut GVariant ) ; } extern "C" { pub fn g_variant_ref ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_ref_sink ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_is_floating ( value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_variant_take_ref ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get_type ( value : * mut GVariant ) -> * const GVariantType ; } extern "C" { pub fn g_variant_get_type_string ( value : * mut GVariant ) -> * const gchar ; } extern "C" { pub fn g_variant_is_of_type ( value : * mut GVariant , type_ : * const GVariantType ) -> gboolean ; } extern "C" { pub fn g_variant_is_container ( value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_variant_classify ( value : * mut GVariant ) -> GVariantClass ; } extern "C" { pub fn g_variant_new_boolean ( value : gboolean ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_byte ( value : guint8 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_int16 ( value : gint16 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_uint16 ( value : guint16 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_int32 ( value : gint32 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_uint32 ( value : guint32 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_int64 ( value : gint64 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_uint64 ( value : guint64 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_handle ( value : gint32 ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_double ( value : gdouble ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_string ( string : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_take_string ( string : * mut gchar ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_printf ( format_string : * const gchar , ... ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_object_path ( object_path : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_variant_is_object_path ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_variant_new_signature ( signature : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_variant_is_signature ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_variant_new_variant ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_strv ( strv : * const * const gchar , length : gssize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_objv ( strv : * const * const gchar , length : gssize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_bytestring ( string : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_bytestring_array ( strv : * const * const gchar , length : gssize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_fixed_array ( element_type : * const GVariantType , elements : gconstpointer , n_elements : gsize , element_size : gsize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get_boolean ( value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_variant_get_byte ( value : * mut GVariant ) -> guint8 ; } extern "C" { pub fn g_variant_get_int16 ( value : * mut GVariant ) -> gint16 ; } extern "C" { pub fn g_variant_get_uint16 ( value : * mut GVariant ) -> guint16 ; } extern "C" { pub fn g_variant_get_int32 ( value : * mut GVariant ) -> gint32 ; } extern "C" { pub fn g_variant_get_uint32 ( value : * mut GVariant ) -> guint32 ; } extern "C" { pub fn g_variant_get_int64 ( value : * mut GVariant ) -> gint64 ; } extern "C" { pub fn g_variant_get_uint64 ( value : * mut GVariant ) -> guint64 ; } extern "C" { pub fn g_variant_get_handle ( value : * mut GVariant ) -> gint32 ; } extern "C" { pub fn g_variant_get_double ( value : * mut GVariant ) -> gdouble ; } extern "C" { pub fn g_variant_get_variant ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get_string ( value : * mut GVariant , length : * mut gsize ) -> * const gchar ; } extern "C" { pub fn g_variant_dup_string ( value : * mut GVariant , length : * mut gsize ) -> * mut gchar ; } extern "C" { pub fn g_variant_get_strv ( value : * mut GVariant , length : * mut gsize ) -> * mut * const gchar ; } extern "C" { pub fn g_variant_dup_strv ( value : * mut GVariant , length : * mut gsize ) -> * mut * mut gchar ; } extern "C" { pub fn g_variant_get_objv ( value : * mut GVariant , length : * mut gsize ) -> * mut * const gchar ; } extern "C" { pub fn g_variant_dup_objv ( value : * mut GVariant , length : * mut gsize ) -> * mut * mut gchar ; } extern "C" { pub fn g_variant_get_bytestring ( value : * mut GVariant ) -> * const gchar ; } extern "C" { pub fn g_variant_dup_bytestring ( value : * mut GVariant , length : * mut gsize ) -> * mut gchar ; } extern "C" { pub fn g_variant_get_bytestring_array ( value : * mut GVariant , length : * mut gsize ) -> * mut * const gchar ; } extern "C" { pub fn g_variant_dup_bytestring_array ( value : * mut GVariant , length : * mut gsize ) -> * mut * mut gchar ; } extern "C" { pub fn g_variant_new_maybe ( child_type : * const GVariantType , child : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_array ( child_type : * const GVariantType , children : * const * const GVariant , n_children : gsize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_tuple ( children : * const * const GVariant , n_children : gsize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_dict_entry ( key : * mut GVariant , value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get_maybe ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_n_children ( value : * mut GVariant ) -> gsize ; } extern "C" { pub fn g_variant_get_child ( value : * mut GVariant , index_ : gsize , format_string : * const gchar , ... ) ; } extern "C" { pub fn g_variant_get_child_value ( value : * mut GVariant , index_ : gsize ) -> * mut GVariant ; } extern "C" { pub fn g_variant_lookup ( dictionary : * mut GVariant , key : * const gchar , format_string : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_variant_lookup_value ( dictionary : * mut GVariant , key : * const gchar , expected_type : * const GVariantType ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get_fixed_array ( value : * mut GVariant , n_elements : * mut gsize , element_size : gsize ) -> gconstpointer ; } extern "C" { pub fn g_variant_get_size ( value : * mut GVariant ) -> gsize ; } extern "C" { pub fn g_variant_get_data ( value : * mut GVariant ) -> gconstpointer ; } extern "C" { pub fn g_variant_get_data_as_bytes ( value : * mut GVariant ) -> * mut GBytes ; } extern "C" { pub fn g_variant_store ( value : * mut GVariant , data : gpointer ) ; } extern "C" { pub fn g_variant_print ( value : * mut GVariant , type_annotate : gboolean ) -> * mut gchar ; } extern "C" { pub fn g_variant_print_string ( value : * mut GVariant , string : * mut GString , type_annotate : gboolean ) -> * mut GString ; } extern "C" { pub fn g_variant_hash ( value : gconstpointer ) -> guint ; } extern "C" { pub fn g_variant_equal ( one : gconstpointer , two : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_variant_get_normal_form ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_is_normal_form ( value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_variant_byteswap ( value : * mut GVariant ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_from_bytes ( type_ : * const GVariantType , bytes : * mut GBytes , trusted : gboolean ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_from_data ( type_ : * const GVariantType , data : gconstpointer , size : gsize , trusted : gboolean , notify : GDestroyNotify , user_data : gpointer ) -> * mut GVariant ; } pub type GVariantIter = _GVariantIter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVariantIter { pub x : [ guintptr ; 16usize ] , } # [ test ] fn bindgen_test_layout__GVariantIter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantIter > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantIter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantIter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantIter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantIter > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantIter ) , "::" , stringify ! ( x ) ) ) ; } extern "C" { pub fn g_variant_iter_new ( value : * mut GVariant ) -> * mut GVariantIter ; } extern "C" { pub fn g_variant_iter_init ( iter : * mut GVariantIter , value : * mut GVariant ) -> gsize ; } extern "C" { pub fn g_variant_iter_copy ( iter : * mut GVariantIter ) -> * mut GVariantIter ; } extern "C" { pub fn g_variant_iter_n_children ( iter : * mut GVariantIter ) -> gsize ; } extern "C" { pub fn g_variant_iter_free ( iter : * mut GVariantIter ) ; } extern "C" { pub fn g_variant_iter_next_value ( iter : * mut GVariantIter ) -> * mut GVariant ; } extern "C" { pub fn g_variant_iter_next ( iter : * mut GVariantIter , format_string : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_variant_iter_loop ( iter : * mut GVariantIter , format_string : * const gchar , ... ) -> gboolean ; } pub type GVariantBuilder = _GVariantBuilder ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GVariantBuilder { pub u : _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) { pub s : _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) , pub x : [ guintptr ; 16usize ] , _bindgen_union_align : [ u64 ; 16usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) { pub partial_magic : gsize , pub type_ : * const GVariantType , pub y : [ guintptr ; 14usize ] , } # [ test ] fn bindgen_test_layout__GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) > ( ) ) ) . partial_magic as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) ) , "::" , stringify ! ( partial_magic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) > ( ) ) ) . y as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_304_5) ) , "::" , stringify ! ( y ) ) ) ; } # [ test ] fn bindgen_test_layout__GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) ) , "::" , stringify ! ( s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantBuilder_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_302_3) ) , "::" , stringify ! ( x ) ) ) ; } # [ test ] fn bindgen_test_layout__GVariantBuilder ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantBuilder > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantBuilder ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantBuilder > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantBuilder ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantBuilder > ( ) ) ) . u as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantBuilder ) , "::" , stringify ! ( u ) ) ) ; } pub const GVariantParseError_G_VARIANT_PARSE_ERROR_FAILED : GVariantParseError = 0 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED : GVariantParseError = 1 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE : GVariantParseError = 2 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED : GVariantParseError = 3 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END : GVariantParseError = 4 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_CHARACTER : GVariantParseError = 5 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING : GVariantParseError = 6 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH : GVariantParseError = 7 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE : GVariantParseError = 8 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING : GVariantParseError = 9 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE : GVariantParseError = 10 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE : GVariantParseError = 11 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG : GVariantParseError = 12 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_TYPE_ERROR : GVariantParseError = 13 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN : GVariantParseError = 14 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD : GVariantParseError = 15 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT : GVariantParseError = 16 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_VALUE_EXPECTED : GVariantParseError = 17 ; pub const GVariantParseError_G_VARIANT_PARSE_ERROR_RECURSION : GVariantParseError = 18 ; pub type GVariantParseError = u32 ; extern "C" { pub fn g_variant_parser_get_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_variant_parse_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_variant_builder_new ( type_ : * const GVariantType ) -> * mut GVariantBuilder ; } extern "C" { pub fn g_variant_builder_unref ( builder : * mut GVariantBuilder ) ; } extern "C" { pub fn g_variant_builder_ref ( builder : * mut GVariantBuilder ) -> * mut GVariantBuilder ; } extern "C" { pub fn g_variant_builder_init ( builder : * mut GVariantBuilder , type_ : * const GVariantType ) ; } extern "C" { pub fn g_variant_builder_end ( builder : * mut GVariantBuilder ) -> * mut GVariant ; } extern "C" { pub fn g_variant_builder_clear ( builder : * mut GVariantBuilder ) ; } extern "C" { pub fn g_variant_builder_open ( builder : * mut GVariantBuilder , type_ : * const GVariantType ) ; } extern "C" { pub fn g_variant_builder_close ( builder : * mut GVariantBuilder ) ; } extern "C" { pub fn g_variant_builder_add_value ( builder : * mut GVariantBuilder , value : * mut GVariant ) ; } extern "C" { pub fn g_variant_builder_add ( builder : * mut GVariantBuilder , format_string : * const gchar , ... ) ; } extern "C" { pub fn g_variant_builder_add_parsed ( builder : * mut GVariantBuilder , format : * const gchar , ... ) ; } extern "C" { pub fn g_variant_new ( format_string : * const gchar , ... ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get ( value : * mut GVariant , format_string : * const gchar , ... ) ; } extern "C" { pub fn g_variant_new_va ( format_string : * const gchar , endptr : * mut * const gchar , app : * mut va_list ) -> * mut GVariant ; } extern "C" { pub fn g_variant_get_va ( value : * mut GVariant , format_string : * const gchar , endptr : * mut * const gchar , app : * mut va_list ) ; } extern "C" { pub fn g_variant_check_format_string ( value : * mut GVariant , format_string : * const gchar , copy_only : gboolean ) -> gboolean ; } extern "C" { pub fn g_variant_parse ( type_ : * const GVariantType , text : * const gchar , limit : * const gchar , endptr : * mut * const gchar , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_parsed ( format : * const gchar , ... ) -> * mut GVariant ; } extern "C" { pub fn g_variant_new_parsed_va ( format : * const gchar , app : * mut va_list ) -> * mut GVariant ; } extern "C" { pub fn g_variant_parse_error_print_context ( error : * mut GError , source_str : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_variant_compare ( one : gconstpointer , two : gconstpointer ) -> gint ; } pub type GVariantDict = _GVariantDict ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GVariantDict { pub u : _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) { pub s : _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) , pub x : [ guintptr ; 16usize ] , _bindgen_union_align : [ u64 ; 16usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) { pub asv : * mut GVariant , pub partial_magic : gsize , pub y : [ guintptr ; 14usize ] , } # [ test ] fn bindgen_test_layout__GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) > ( ) ) ) . asv as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) ) , "::" , stringify ! ( asv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) > ( ) ) ) . partial_magic as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) ) , "::" , stringify ! ( partial_magic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) > ( ) ) ) . y as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3)_struct_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_453_5) ) , "::" , stringify ! ( y ) ) ) ; } # [ test ] fn bindgen_test_layout__GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) ) , "::" , stringify ! ( s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantDict_union_(unnamed_at_/usr/include/glib-2_0/glib/gvariant_h_451_3) ) , "::" , stringify ! ( x ) ) ) ; } # [ test ] fn bindgen_test_layout__GVariantDict ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVariantDict > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GVariantDict ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVariantDict > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVariantDict ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVariantDict > ( ) ) ) . u as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVariantDict ) , "::" , stringify ! ( u ) ) ) ; } extern "C" { pub fn g_variant_dict_new ( from_asv : * mut GVariant ) -> * mut GVariantDict ; } extern "C" { pub fn g_variant_dict_init ( dict : * mut GVariantDict , from_asv : * mut GVariant ) ; } extern "C" { pub fn g_variant_dict_lookup ( dict : * mut GVariantDict , key : * const gchar , format_string : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_variant_dict_lookup_value ( dict : * mut GVariantDict , key : * const gchar , expected_type : * const GVariantType ) -> * mut GVariant ; } extern "C" { pub fn g_variant_dict_contains ( dict : * mut GVariantDict , key : * const gchar ) -> gboolean ; } extern "C" { pub fn g_variant_dict_insert ( dict : * mut GVariantDict , key : * const gchar , format_string : * const gchar , ... ) ; } extern "C" { pub fn g_variant_dict_insert_value ( dict : * mut GVariantDict , key : * const gchar , value : * mut GVariant ) ; } extern "C" { pub fn g_variant_dict_remove ( dict : * mut GVariantDict , key : * const gchar ) -> gboolean ; } extern "C" { pub fn g_variant_dict_clear ( dict : * mut GVariantDict ) ; } extern "C" { pub fn g_variant_dict_end ( dict : * mut GVariantDict ) -> * mut GVariant ; } extern "C" { pub fn g_variant_dict_ref ( dict : * mut GVariantDict ) -> * mut GVariantDict ; } extern "C" { pub fn g_variant_dict_unref ( dict : * mut GVariantDict ) ; } extern "C" { pub fn g_printf_string_upper_bound ( format : * const gchar , args : * mut __va_list_tag ) -> gsize ; } pub const GLogLevelFlags_G_LOG_FLAG_RECURSION : GLogLevelFlags = 1 ; pub const GLogLevelFlags_G_LOG_FLAG_FATAL : GLogLevelFlags = 2 ; pub const GLogLevelFlags_G_LOG_LEVEL_ERROR : GLogLevelFlags = 4 ; pub const GLogLevelFlags_G_LOG_LEVEL_CRITICAL : GLogLevelFlags = 8 ; pub const GLogLevelFlags_G_LOG_LEVEL_WARNING : GLogLevelFlags = 16 ; pub const GLogLevelFlags_G_LOG_LEVEL_MESSAGE : GLogLevelFlags = 32 ; pub const GLogLevelFlags_G_LOG_LEVEL_INFO : GLogLevelFlags = 64 ; pub const GLogLevelFlags_G_LOG_LEVEL_DEBUG : GLogLevelFlags = 128 ; pub const GLogLevelFlags_G_LOG_LEVEL_MASK : GLogLevelFlags = -4 ; pub type GLogLevelFlags = i32 ; pub type GLogFunc = :: std :: option :: Option < unsafe extern "C" fn ( log_domain : * const gchar , log_level : GLogLevelFlags , message : * const gchar , user_data : gpointer ) > ; extern "C" { pub fn g_log_set_handler ( log_domain : * const gchar , log_levels : GLogLevelFlags , log_func : GLogFunc , user_data : gpointer ) -> guint ; } extern "C" { pub fn g_log_set_handler_full ( log_domain : * const gchar , log_levels : GLogLevelFlags , log_func : GLogFunc , user_data : gpointer , destroy : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_log_remove_handler ( log_domain : * const gchar , handler_id : guint ) ; } extern "C" { pub fn g_log_default_handler ( log_domain : * const gchar , log_level : GLogLevelFlags , message : * const gchar , unused_data : gpointer ) ; } extern "C" { pub fn g_log_set_default_handler ( log_func : GLogFunc , user_data : gpointer ) -> GLogFunc ; } extern "C" { pub fn g_log ( log_domain : * const gchar , log_level : GLogLevelFlags , format : * const gchar , ... ) ; } extern "C" { pub fn g_logv ( log_domain : * const gchar , log_level : GLogLevelFlags , format : * const gchar , args : * mut __va_list_tag ) ; } extern "C" { pub fn g_log_set_fatal_mask ( log_domain : * const gchar , fatal_mask : GLogLevelFlags ) -> GLogLevelFlags ; } extern "C" { pub fn g_log_set_always_fatal ( fatal_mask : GLogLevelFlags ) -> GLogLevelFlags ; } pub const GLogWriterOutput_G_LOG_WRITER_HANDLED : GLogWriterOutput = 1 ; pub const GLogWriterOutput_G_LOG_WRITER_UNHANDLED : GLogWriterOutput = 0 ; pub type GLogWriterOutput = u32 ; pub type GLogField = _GLogField ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GLogField { pub key : * const gchar , pub value : gconstpointer , pub length : gssize , } # [ test ] fn bindgen_test_layout__GLogField ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GLogField > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GLogField ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GLogField > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GLogField ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLogField > ( ) ) ) . key as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GLogField ) , "::" , stringify ! ( key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLogField > ( ) ) ) . value as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GLogField ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLogField > ( ) ) ) . length as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GLogField ) , "::" , stringify ! ( length ) ) ) ; } pub type GLogWriterFunc = :: std :: option :: Option < unsafe extern "C" fn ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize , user_data : gpointer ) -> GLogWriterOutput > ; extern "C" { pub fn g_log_structured ( log_domain : * const gchar , log_level : GLogLevelFlags , ... ) ; } extern "C" { pub fn g_log_structured_array ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize ) ; } extern "C" { pub fn g_log_variant ( log_domain : * const gchar , log_level : GLogLevelFlags , fields : * mut GVariant ) ; } extern "C" { pub fn g_log_set_writer_func ( func : GLogWriterFunc , user_data : gpointer , user_data_free : GDestroyNotify ) ; } extern "C" { pub fn g_log_writer_supports_color ( output_fd : gint ) -> gboolean ; } extern "C" { pub fn g_log_writer_is_journald ( output_fd : gint ) -> gboolean ; } extern "C" { pub fn g_log_writer_format_fields ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize , use_color : gboolean ) -> * mut gchar ; } extern "C" { pub fn g_log_writer_syslog ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize , user_data : gpointer ) -> GLogWriterOutput ; } extern "C" { pub fn g_log_writer_journald ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize , user_data : gpointer ) -> GLogWriterOutput ; } extern "C" { pub fn g_log_writer_standard_streams ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize , user_data : gpointer ) -> GLogWriterOutput ; } extern "C" { pub fn g_log_writer_default ( log_level : GLogLevelFlags , fields : * const GLogField , n_fields : gsize , user_data : gpointer ) -> GLogWriterOutput ; } extern "C" { pub fn g_log_writer_default_set_use_stderr ( use_stderr : gboolean ) ; } extern "C" { pub fn g_log_writer_default_would_drop ( log_level : GLogLevelFlags , log_domain : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_log_writer_default_set_debug_domains ( domains : * const * const gchar ) ; } extern "C" { pub fn g_log_get_debug_enabled ( ) -> gboolean ; } extern "C" { pub fn g_log_set_debug_enabled ( enabled : gboolean ) ; } extern "C" { pub fn _g_log_fallback_handler ( log_domain : * const gchar , log_level : GLogLevelFlags , message : * const gchar , unused_data : gpointer ) ; } extern "C" { pub fn g_return_if_fail_warning ( log_domain : * const :: std :: os :: raw :: c_char , pretty_function : * const :: std :: os :: raw :: c_char , expression : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_warn_message ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , warnexpr : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assert_warning ( log_domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , pretty_function : * const :: std :: os :: raw :: c_char , expression : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_log_structured_standard ( log_domain : * const gchar , log_level : GLogLevelFlags , file : * const gchar , line : * const gchar , func : * const gchar , message_format : * const gchar , ... ) ; } pub type GPrintFunc = :: std :: option :: Option < unsafe extern "C" fn ( string : * const gchar ) > ; extern "C" { pub fn g_print ( format : * const gchar , ... ) ; } extern "C" { pub fn g_set_print_handler ( func : GPrintFunc ) -> GPrintFunc ; } extern "C" { pub fn g_printerr ( format : * const gchar , ... ) ; } extern "C" { pub fn g_set_printerr_handler ( func : GPrintFunc ) -> GPrintFunc ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOptionContext { _unused : [ u8 ; 0 ] , } pub type GOptionContext = _GOptionContext ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOptionGroup { _unused : [ u8 ; 0 ] , } pub type GOptionGroup = _GOptionGroup ; pub type GOptionEntry = _GOptionEntry ; pub const GOptionFlags_G_OPTION_FLAG_NONE : GOptionFlags = 0 ; pub const GOptionFlags_G_OPTION_FLAG_HIDDEN : GOptionFlags = 1 ; pub const GOptionFlags_G_OPTION_FLAG_IN_MAIN : GOptionFlags = 2 ; pub const GOptionFlags_G_OPTION_FLAG_REVERSE : GOptionFlags = 4 ; pub const GOptionFlags_G_OPTION_FLAG_NO_ARG : GOptionFlags = 8 ; pub const GOptionFlags_G_OPTION_FLAG_FILENAME : GOptionFlags = 16 ; pub const GOptionFlags_G_OPTION_FLAG_OPTIONAL_ARG : GOptionFlags = 32 ; pub const GOptionFlags_G_OPTION_FLAG_NOALIAS : GOptionFlags = 64 ; pub type GOptionFlags = u32 ; pub const GOptionArg_G_OPTION_ARG_NONE : GOptionArg = 0 ; pub const GOptionArg_G_OPTION_ARG_STRING : GOptionArg = 1 ; pub const GOptionArg_G_OPTION_ARG_INT : GOptionArg = 2 ; pub const GOptionArg_G_OPTION_ARG_CALLBACK : GOptionArg = 3 ; pub const GOptionArg_G_OPTION_ARG_FILENAME : GOptionArg = 4 ; pub const GOptionArg_G_OPTION_ARG_STRING_ARRAY : GOptionArg = 5 ; pub const GOptionArg_G_OPTION_ARG_FILENAME_ARRAY : GOptionArg = 6 ; pub const GOptionArg_G_OPTION_ARG_DOUBLE : GOptionArg = 7 ; pub const GOptionArg_G_OPTION_ARG_INT64 : GOptionArg = 8 ; pub type GOptionArg = u32 ; pub type GOptionArgFunc = :: std :: option :: Option < unsafe extern "C" fn ( option_name : * const gchar , value : * const gchar , data : gpointer , error : * mut * mut GError ) -> gboolean > ; pub type GOptionParseFunc = :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GOptionContext , group : * mut GOptionGroup , data : gpointer , error : * mut * mut GError ) -> gboolean > ; pub type GOptionErrorFunc = :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GOptionContext , group : * mut GOptionGroup , data : gpointer , error : * mut * mut GError ) > ; pub const GOptionError_G_OPTION_ERROR_UNKNOWN_OPTION : GOptionError = 0 ; pub const GOptionError_G_OPTION_ERROR_BAD_VALUE : GOptionError = 1 ; pub const GOptionError_G_OPTION_ERROR_FAILED : GOptionError = 2 ; pub type GOptionError = u32 ; extern "C" { pub fn g_option_error_quark ( ) -> GQuark ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOptionEntry { pub long_name : * const gchar , pub short_name : gchar , pub flags : gint , pub arg : GOptionArg , pub arg_data : gpointer , pub description : * const gchar , pub arg_description : * const gchar , } # [ test ] fn bindgen_test_layout__GOptionEntry ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GOptionEntry > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GOptionEntry ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GOptionEntry > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GOptionEntry ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . long_name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( long_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . short_name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( short_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . arg as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( arg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . arg_data as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( arg_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . description as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOptionEntry > ( ) ) ) . arg_description as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GOptionEntry ) , "::" , stringify ! ( arg_description ) ) ) ; } extern "C" { pub fn g_option_context_new ( parameter_string : * const gchar ) -> * mut GOptionContext ; } extern "C" { pub fn g_option_context_set_summary ( context : * mut GOptionContext , summary : * const gchar ) ; } extern "C" { pub fn g_option_context_get_summary ( context : * mut GOptionContext ) -> * const gchar ; } extern "C" { pub fn g_option_context_set_description ( context : * mut GOptionContext , description : * const gchar ) ; } extern "C" { pub fn g_option_context_get_description ( context : * mut GOptionContext ) -> * const gchar ; } extern "C" { pub fn g_option_context_free ( context : * mut GOptionContext ) ; } extern "C" { pub fn g_option_context_set_help_enabled ( context : * mut GOptionContext , help_enabled : gboolean ) ; } extern "C" { pub fn g_option_context_get_help_enabled ( context : * mut GOptionContext ) -> gboolean ; } extern "C" { pub fn g_option_context_set_ignore_unknown_options ( context : * mut GOptionContext , ignore_unknown : gboolean ) ; } extern "C" { pub fn g_option_context_get_ignore_unknown_options ( context : * mut GOptionContext ) -> gboolean ; } extern "C" { pub fn g_option_context_set_strict_posix ( context : * mut GOptionContext , strict_posix : gboolean ) ; } extern "C" { pub fn g_option_context_get_strict_posix ( context : * mut GOptionContext ) -> gboolean ; } extern "C" { pub fn g_option_context_add_main_entries ( context : * mut GOptionContext , entries : * const GOptionEntry , translation_domain : * const gchar ) ; } extern "C" { pub fn g_option_context_parse ( context : * mut GOptionContext , argc : * mut gint , argv : * mut * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_option_context_parse_strv ( context : * mut GOptionContext , arguments : * mut * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_option_context_set_translate_func ( context : * mut GOptionContext , func : GTranslateFunc , data : gpointer , destroy_notify : GDestroyNotify ) ; } extern "C" { pub fn g_option_context_set_translation_domain ( context : * mut GOptionContext , domain : * const gchar ) ; } extern "C" { pub fn g_option_context_add_group ( context : * mut GOptionContext , group : * mut GOptionGroup ) ; } extern "C" { pub fn g_option_context_set_main_group ( context : * mut GOptionContext , group : * mut GOptionGroup ) ; } extern "C" { pub fn g_option_context_get_main_group ( context : * mut GOptionContext ) -> * mut GOptionGroup ; } extern "C" { pub fn g_option_context_get_help ( context : * mut GOptionContext , main_help : gboolean , group : * mut GOptionGroup ) -> * mut gchar ; } extern "C" { pub fn g_option_group_new ( name : * const gchar , description : * const gchar , help_description : * const gchar , user_data : gpointer , destroy : GDestroyNotify ) -> * mut GOptionGroup ; } extern "C" { pub fn g_option_group_set_parse_hooks ( group : * mut GOptionGroup , pre_parse_func : GOptionParseFunc , post_parse_func : GOptionParseFunc ) ; } extern "C" { pub fn g_option_group_set_error_hook ( group : * mut GOptionGroup , error_func : GOptionErrorFunc ) ; } extern "C" { pub fn g_option_group_free ( group : * mut GOptionGroup ) ; } extern "C" { pub fn g_option_group_ref ( group : * mut GOptionGroup ) -> * mut GOptionGroup ; } extern "C" { pub fn g_option_group_unref ( group : * mut GOptionGroup ) ; } extern "C" { pub fn g_option_group_add_entries ( group : * mut GOptionGroup , entries : * const GOptionEntry ) ; } extern "C" { pub fn g_option_group_set_translate_func ( group : * mut GOptionGroup , func : GTranslateFunc , data : gpointer , destroy_notify : GDestroyNotify ) ; } extern "C" { pub fn g_option_group_set_translation_domain ( group : * mut GOptionGroup , domain : * const gchar ) ; } pub type GPathBuf = _GPathBuf ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPathBuf { pub dummy : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GPathBuf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPathBuf > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _GPathBuf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPathBuf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPathBuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPathBuf > ( ) ) ) . dummy as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPathBuf ) , "::" , stringify ! ( dummy ) ) ) ; } extern "C" { pub fn g_path_buf_new ( ) -> * mut GPathBuf ; } extern "C" { pub fn g_path_buf_new_from_path ( path : * const :: std :: os :: raw :: c_char ) -> * mut GPathBuf ; } extern "C" { pub fn g_path_buf_init ( buf : * mut GPathBuf ) -> * mut GPathBuf ; } extern "C" { pub fn g_path_buf_init_from_path ( buf : * mut GPathBuf , path : * const :: std :: os :: raw :: c_char ) -> * mut GPathBuf ; } extern "C" { pub fn g_path_buf_clear ( buf : * mut GPathBuf ) ; } extern "C" { pub fn g_path_buf_clear_to_path ( buf : * mut GPathBuf ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_path_buf_free ( buf : * mut GPathBuf ) ; } extern "C" { pub fn g_path_buf_free_to_path ( buf : * mut GPathBuf ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_path_buf_copy ( buf : * mut GPathBuf ) -> * mut GPathBuf ; } extern "C" { pub fn g_path_buf_push ( buf : * mut GPathBuf , path : * const :: std :: os :: raw :: c_char ) -> * mut GPathBuf ; } extern "C" { pub fn g_path_buf_pop ( buf : * mut GPathBuf ) -> gboolean ; } extern "C" { pub fn g_path_buf_set_filename ( buf : * mut GPathBuf , file_name : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_path_buf_set_extension ( buf : * mut GPathBuf , extension : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_path_buf_to_path ( buf : * mut GPathBuf ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_path_buf_equal ( v1 : gconstpointer , v2 : gconstpointer ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPatternSpec { _unused : [ u8 ; 0 ] , } pub type GPatternSpec = _GPatternSpec ; extern "C" { pub fn g_pattern_spec_new ( pattern : * const gchar ) -> * mut GPatternSpec ; } extern "C" { pub fn g_pattern_spec_free ( pspec : * mut GPatternSpec ) ; } extern "C" { pub fn g_pattern_spec_copy ( pspec : * mut GPatternSpec ) -> * mut GPatternSpec ; } extern "C" { pub fn g_pattern_spec_equal ( pspec1 : * mut GPatternSpec , pspec2 : * mut GPatternSpec ) -> gboolean ; } extern "C" { pub fn g_pattern_spec_match ( pspec : * mut GPatternSpec , string_length : gsize , string : * const gchar , string_reversed : * const gchar ) -> gboolean ; } extern "C" { pub fn g_pattern_spec_match_string ( pspec : * mut GPatternSpec , string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_pattern_match ( pspec : * mut GPatternSpec , string_length : guint , string : * const gchar , string_reversed : * const gchar ) -> gboolean ; } extern "C" { pub fn g_pattern_match_string ( pspec : * mut GPatternSpec , string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_pattern_match_simple ( pattern : * const gchar , string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_spaced_primes_closest ( num : guint ) -> guint ; } extern "C" { pub fn g_qsort_with_data ( pbase : gconstpointer , total_elems : gint , size : gsize , compare_func : GCompareDataFunc , user_data : gpointer ) ; } pub type GQueue = _GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GQueue { pub head : * mut GList , pub tail : * mut GList , pub length : guint , } # [ test ] fn bindgen_test_layout__GQueue ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GQueue > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GQueue ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GQueue > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GQueue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GQueue > ( ) ) ) . head as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GQueue ) , "::" , stringify ! ( head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GQueue > ( ) ) ) . tail as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GQueue ) , "::" , stringify ! ( tail ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GQueue > ( ) ) ) . length as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GQueue ) , "::" , stringify ! ( length ) ) ) ; } extern "C" { pub fn g_queue_new ( ) -> * mut GQueue ; } extern "C" { pub fn g_queue_free ( queue : * mut GQueue ) ; } extern "C" { pub fn g_queue_free_full ( queue : * mut GQueue , free_func : GDestroyNotify ) ; } extern "C" { pub fn g_queue_init ( queue : * mut GQueue ) ; } extern "C" { pub fn g_queue_clear ( queue : * mut GQueue ) ; } extern "C" { pub fn g_queue_is_empty ( queue : * mut GQueue ) -> gboolean ; } extern "C" { pub fn g_queue_clear_full ( queue : * mut GQueue , free_func : GDestroyNotify ) ; } extern "C" { pub fn g_queue_get_length ( queue : * mut GQueue ) -> guint ; } extern "C" { pub fn g_queue_reverse ( queue : * mut GQueue ) ; } extern "C" { pub fn g_queue_copy ( queue : * mut GQueue ) -> * mut GQueue ; } extern "C" { pub fn g_queue_foreach ( queue : * mut GQueue , func : GFunc , user_data : gpointer ) ; } extern "C" { pub fn g_queue_find ( queue : * mut GQueue , data : gconstpointer ) -> * mut GList ; } extern "C" { pub fn g_queue_find_custom ( queue : * mut GQueue , data : gconstpointer , func : GCompareFunc ) -> * mut GList ; } extern "C" { pub fn g_queue_sort ( queue : * mut GQueue , compare_func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_queue_push_head ( queue : * mut GQueue , data : gpointer ) ; } extern "C" { pub fn g_queue_push_tail ( queue : * mut GQueue , data : gpointer ) ; } extern "C" { pub fn g_queue_push_nth ( queue : * mut GQueue , data : gpointer , n : gint ) ; } extern "C" { pub fn g_queue_pop_head ( queue : * mut GQueue ) -> gpointer ; } extern "C" { pub fn g_queue_pop_tail ( queue : * mut GQueue ) -> gpointer ; } extern "C" { pub fn g_queue_pop_nth ( queue : * mut GQueue , n : guint ) -> gpointer ; } extern "C" { pub fn g_queue_peek_head ( queue : * mut GQueue ) -> gpointer ; } extern "C" { pub fn g_queue_peek_tail ( queue : * mut GQueue ) -> gpointer ; } extern "C" { pub fn g_queue_peek_nth ( queue : * mut GQueue , n : guint ) -> gpointer ; } extern "C" { pub fn g_queue_index ( queue : * mut GQueue , data : gconstpointer ) -> gint ; } extern "C" { pub fn g_queue_remove ( queue : * mut GQueue , data : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_queue_remove_all ( queue : * mut GQueue , data : gconstpointer ) -> guint ; } extern "C" { pub fn g_queue_insert_before ( queue : * mut GQueue , sibling : * mut GList , data : gpointer ) ; } extern "C" { pub fn g_queue_insert_before_link ( queue : * mut GQueue , sibling : * mut GList , link_ : * mut GList ) ; } extern "C" { pub fn g_queue_insert_after ( queue : * mut GQueue , sibling : * mut GList , data : gpointer ) ; } extern "C" { pub fn g_queue_insert_after_link ( queue : * mut GQueue , sibling : * mut GList , link_ : * mut GList ) ; } extern "C" { pub fn g_queue_insert_sorted ( queue : * mut GQueue , data : gpointer , func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_queue_push_head_link ( queue : * mut GQueue , link_ : * mut GList ) ; } extern "C" { pub fn g_queue_push_tail_link ( queue : * mut GQueue , link_ : * mut GList ) ; } extern "C" { pub fn g_queue_push_nth_link ( queue : * mut GQueue , n : gint , link_ : * mut GList ) ; } extern "C" { pub fn g_queue_pop_head_link ( queue : * mut GQueue ) -> * mut GList ; } extern "C" { pub fn g_queue_pop_tail_link ( queue : * mut GQueue ) -> * mut GList ; } extern "C" { pub fn g_queue_pop_nth_link ( queue : * mut GQueue , n : guint ) -> * mut GList ; } extern "C" { pub fn g_queue_peek_head_link ( queue : * mut GQueue ) -> * mut GList ; } extern "C" { pub fn g_queue_peek_tail_link ( queue : * mut GQueue ) -> * mut GList ; } extern "C" { pub fn g_queue_peek_nth_link ( queue : * mut GQueue , n : guint ) -> * mut GList ; } extern "C" { pub fn g_queue_link_index ( queue : * mut GQueue , link_ : * mut GList ) -> gint ; } extern "C" { pub fn g_queue_unlink ( queue : * mut GQueue , link_ : * mut GList ) ; } extern "C" { pub fn g_queue_delete_link ( queue : * mut GQueue , link_ : * mut GList ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRand { _unused : [ u8 ; 0 ] , } pub type GRand = _GRand ; extern "C" { pub fn g_rand_new_with_seed ( seed : guint32 ) -> * mut GRand ; } extern "C" { pub fn g_rand_new_with_seed_array ( seed : * const guint32 , seed_length : guint ) -> * mut GRand ; } extern "C" { pub fn g_rand_new ( ) -> * mut GRand ; } extern "C" { pub fn g_rand_free ( rand_ : * mut GRand ) ; } extern "C" { pub fn g_rand_copy ( rand_ : * mut GRand ) -> * mut GRand ; } extern "C" { pub fn g_rand_set_seed ( rand_ : * mut GRand , seed : guint32 ) ; } extern "C" { pub fn g_rand_set_seed_array ( rand_ : * mut GRand , seed : * const guint32 , seed_length : guint ) ; } extern "C" { pub fn g_rand_int ( rand_ : * mut GRand ) -> guint32 ; } extern "C" { pub fn g_rand_int_range ( rand_ : * mut GRand , begin : gint32 , end : gint32 ) -> gint32 ; } extern "C" { pub fn g_rand_double ( rand_ : * mut GRand ) -> gdouble ; } extern "C" { pub fn g_rand_double_range ( rand_ : * mut GRand , begin : gdouble , end : gdouble ) -> gdouble ; } extern "C" { pub fn g_random_set_seed ( seed : guint32 ) ; } extern "C" { pub fn g_random_int ( ) -> guint32 ; } extern "C" { pub fn g_random_int_range ( begin : gint32 , end : gint32 ) -> gint32 ; } extern "C" { pub fn g_random_double ( ) -> gdouble ; } extern "C" { pub fn g_random_double_range ( begin : gdouble , end : gdouble ) -> gdouble ; } extern "C" { pub fn g_rc_box_alloc ( block_size : gsize ) -> gpointer ; } extern "C" { pub fn g_rc_box_alloc0 ( block_size : gsize ) -> gpointer ; } extern "C" { pub fn g_rc_box_dup ( block_size : gsize , mem_block : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_rc_box_acquire ( mem_block : gpointer ) -> gpointer ; } extern "C" { pub fn g_rc_box_release ( mem_block : gpointer ) ; } extern "C" { pub fn g_rc_box_release_full ( mem_block : gpointer , clear_func : GDestroyNotify ) ; } extern "C" { pub fn g_rc_box_get_size ( mem_block : gpointer ) -> gsize ; } extern "C" { pub fn g_atomic_rc_box_alloc ( block_size : gsize ) -> gpointer ; } extern "C" { pub fn g_atomic_rc_box_alloc0 ( block_size : gsize ) -> gpointer ; } extern "C" { pub fn g_atomic_rc_box_dup ( block_size : gsize , mem_block : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_atomic_rc_box_acquire ( mem_block : gpointer ) -> gpointer ; } extern "C" { pub fn g_atomic_rc_box_release ( mem_block : gpointer ) ; } extern "C" { pub fn g_atomic_rc_box_release_full ( mem_block : gpointer , clear_func : GDestroyNotify ) ; } extern "C" { pub fn g_atomic_rc_box_get_size ( mem_block : gpointer ) -> gsize ; } extern "C" { pub fn g_ref_count_init ( rc : * mut grefcount ) ; } extern "C" { pub fn g_ref_count_inc ( rc : * mut grefcount ) ; } extern "C" { pub fn g_ref_count_dec ( rc : * mut grefcount ) -> gboolean ; } extern "C" { pub fn g_ref_count_compare ( rc : * mut grefcount , val : gint ) -> gboolean ; } extern "C" { pub fn g_atomic_ref_count_init ( arc : * mut gatomicrefcount ) ; } extern "C" { pub fn g_atomic_ref_count_inc ( arc : * mut gatomicrefcount ) ; } extern "C" { pub fn g_atomic_ref_count_dec ( arc : * mut gatomicrefcount ) -> gboolean ; } extern "C" { pub fn g_atomic_ref_count_compare ( arc : * mut gatomicrefcount , val : gint ) -> gboolean ; } extern "C" { pub fn g_ref_string_new ( str : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_ref_string_new_len ( str : * const :: std :: os :: raw :: c_char , len : gssize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_ref_string_new_intern ( str : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_ref_string_acquire ( str : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_ref_string_release ( str : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_ref_string_length ( str : * mut :: std :: os :: raw :: c_char ) -> gsize ; } pub type GRefString = :: std :: os :: raw :: c_char ; pub const GRegexError_G_REGEX_ERROR_COMPILE : GRegexError = 0 ; pub const GRegexError_G_REGEX_ERROR_OPTIMIZE : GRegexError = 1 ; pub const GRegexError_G_REGEX_ERROR_REPLACE : GRegexError = 2 ; pub const GRegexError_G_REGEX_ERROR_MATCH : GRegexError = 3 ; pub const GRegexError_G_REGEX_ERROR_INTERNAL : GRegexError = 4 ; pub const GRegexError_G_REGEX_ERROR_STRAY_BACKSLASH : GRegexError = 101 ; pub const GRegexError_G_REGEX_ERROR_MISSING_CONTROL_CHAR : GRegexError = 102 ; pub const GRegexError_G_REGEX_ERROR_UNRECOGNIZED_ESCAPE : GRegexError = 103 ; pub const GRegexError_G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER : GRegexError = 104 ; pub const GRegexError_G_REGEX_ERROR_QUANTIFIER_TOO_BIG : GRegexError = 105 ; pub const GRegexError_G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS : GRegexError = 106 ; pub const GRegexError_G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS : GRegexError = 107 ; pub const GRegexError_G_REGEX_ERROR_RANGE_OUT_OF_ORDER : GRegexError = 108 ; pub const GRegexError_G_REGEX_ERROR_NOTHING_TO_REPEAT : GRegexError = 109 ; pub const GRegexError_G_REGEX_ERROR_UNRECOGNIZED_CHARACTER : GRegexError = 112 ; pub const GRegexError_G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS : GRegexError = 113 ; pub const GRegexError_G_REGEX_ERROR_UNMATCHED_PARENTHESIS : GRegexError = 114 ; pub const GRegexError_G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE : GRegexError = 115 ; pub const GRegexError_G_REGEX_ERROR_UNTERMINATED_COMMENT : GRegexError = 118 ; pub const GRegexError_G_REGEX_ERROR_EXPRESSION_TOO_LARGE : GRegexError = 120 ; pub const GRegexError_G_REGEX_ERROR_MEMORY_ERROR : GRegexError = 121 ; pub const GRegexError_G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND : GRegexError = 125 ; pub const GRegexError_G_REGEX_ERROR_MALFORMED_CONDITION : GRegexError = 126 ; pub const GRegexError_G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES : GRegexError = 127 ; pub const GRegexError_G_REGEX_ERROR_ASSERTION_EXPECTED : GRegexError = 128 ; pub const GRegexError_G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME : GRegexError = 130 ; pub const GRegexError_G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED : GRegexError = 131 ; pub const GRegexError_G_REGEX_ERROR_HEX_CODE_TOO_LARGE : GRegexError = 134 ; pub const GRegexError_G_REGEX_ERROR_INVALID_CONDITION : GRegexError = 135 ; pub const GRegexError_G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND : GRegexError = 136 ; pub const GRegexError_G_REGEX_ERROR_INFINITE_LOOP : GRegexError = 140 ; pub const GRegexError_G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR : GRegexError = 142 ; pub const GRegexError_G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME : GRegexError = 143 ; pub const GRegexError_G_REGEX_ERROR_MALFORMED_PROPERTY : GRegexError = 146 ; pub const GRegexError_G_REGEX_ERROR_UNKNOWN_PROPERTY : GRegexError = 147 ; pub const GRegexError_G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG : GRegexError = 148 ; pub const GRegexError_G_REGEX_ERROR_TOO_MANY_SUBPATTERNS : GRegexError = 149 ; pub const GRegexError_G_REGEX_ERROR_INVALID_OCTAL_VALUE : GRegexError = 151 ; pub const GRegexError_G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE : GRegexError = 154 ; pub const GRegexError_G_REGEX_ERROR_DEFINE_REPETION : GRegexError = 155 ; pub const GRegexError_G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS : GRegexError = 156 ; pub const GRegexError_G_REGEX_ERROR_MISSING_BACK_REFERENCE : GRegexError = 157 ; pub const GRegexError_G_REGEX_ERROR_INVALID_RELATIVE_REFERENCE : GRegexError = 158 ; pub const GRegexError_G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN : GRegexError = 159 ; pub const GRegexError_G_REGEX_ERROR_UNKNOWN_BACKTRACKING_CONTROL_VERB : GRegexError = 160 ; pub const GRegexError_G_REGEX_ERROR_NUMBER_TOO_BIG : GRegexError = 161 ; pub const GRegexError_G_REGEX_ERROR_MISSING_SUBPATTERN_NAME : GRegexError = 162 ; pub const GRegexError_G_REGEX_ERROR_MISSING_DIGIT : GRegexError = 163 ; pub const GRegexError_G_REGEX_ERROR_INVALID_DATA_CHARACTER : GRegexError = 164 ; pub const GRegexError_G_REGEX_ERROR_EXTRA_SUBPATTERN_NAME : GRegexError = 165 ; pub const GRegexError_G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED : GRegexError = 166 ; pub const GRegexError_G_REGEX_ERROR_INVALID_CONTROL_CHAR : GRegexError = 168 ; pub const GRegexError_G_REGEX_ERROR_MISSING_NAME : GRegexError = 169 ; pub const GRegexError_G_REGEX_ERROR_NOT_SUPPORTED_IN_CLASS : GRegexError = 171 ; pub const GRegexError_G_REGEX_ERROR_TOO_MANY_FORWARD_REFERENCES : GRegexError = 172 ; pub const GRegexError_G_REGEX_ERROR_NAME_TOO_LONG : GRegexError = 175 ; pub const GRegexError_G_REGEX_ERROR_CHARACTER_VALUE_TOO_LARGE : GRegexError = 176 ; pub type GRegexError = u32 ; extern "C" { pub fn g_regex_error_quark ( ) -> GQuark ; } pub const GRegexCompileFlags_G_REGEX_DEFAULT : GRegexCompileFlags = 0 ; pub const GRegexCompileFlags_G_REGEX_CASELESS : GRegexCompileFlags = 1 ; pub const GRegexCompileFlags_G_REGEX_MULTILINE : GRegexCompileFlags = 2 ; pub const GRegexCompileFlags_G_REGEX_DOTALL : GRegexCompileFlags = 4 ; pub const GRegexCompileFlags_G_REGEX_EXTENDED : GRegexCompileFlags = 8 ; pub const GRegexCompileFlags_G_REGEX_ANCHORED : GRegexCompileFlags = 16 ; pub const GRegexCompileFlags_G_REGEX_DOLLAR_ENDONLY : GRegexCompileFlags = 32 ; pub const GRegexCompileFlags_G_REGEX_UNGREEDY : GRegexCompileFlags = 512 ; pub const GRegexCompileFlags_G_REGEX_RAW : GRegexCompileFlags = 2048 ; pub const GRegexCompileFlags_G_REGEX_NO_AUTO_CAPTURE : GRegexCompileFlags = 4096 ; pub const GRegexCompileFlags_G_REGEX_OPTIMIZE : GRegexCompileFlags = 8192 ; pub const GRegexCompileFlags_G_REGEX_FIRSTLINE : GRegexCompileFlags = 262144 ; pub const GRegexCompileFlags_G_REGEX_DUPNAMES : GRegexCompileFlags = 524288 ; pub const GRegexCompileFlags_G_REGEX_NEWLINE_CR : GRegexCompileFlags = 1048576 ; pub const GRegexCompileFlags_G_REGEX_NEWLINE_LF : GRegexCompileFlags = 2097152 ; pub const GRegexCompileFlags_G_REGEX_NEWLINE_CRLF : GRegexCompileFlags = 3145728 ; pub const GRegexCompileFlags_G_REGEX_NEWLINE_ANYCRLF : GRegexCompileFlags = 5242880 ; pub const GRegexCompileFlags_G_REGEX_BSR_ANYCRLF : GRegexCompileFlags = 8388608 ; pub const GRegexCompileFlags_G_REGEX_JAVASCRIPT_COMPAT : GRegexCompileFlags = 33554432 ; pub type GRegexCompileFlags = u32 ; pub const GRegexMatchFlags_G_REGEX_MATCH_DEFAULT : GRegexMatchFlags = 0 ; pub const GRegexMatchFlags_G_REGEX_MATCH_ANCHORED : GRegexMatchFlags = 16 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NOTBOL : GRegexMatchFlags = 128 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NOTEOL : GRegexMatchFlags = 256 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NOTEMPTY : GRegexMatchFlags = 1024 ; pub const GRegexMatchFlags_G_REGEX_MATCH_PARTIAL : GRegexMatchFlags = 32768 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_CR : GRegexMatchFlags = 1048576 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_LF : GRegexMatchFlags = 2097152 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_CRLF : GRegexMatchFlags = 3145728 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_ANY : GRegexMatchFlags = 4194304 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NEWLINE_ANYCRLF : GRegexMatchFlags = 5242880 ; pub const GRegexMatchFlags_G_REGEX_MATCH_BSR_ANYCRLF : GRegexMatchFlags = 8388608 ; pub const GRegexMatchFlags_G_REGEX_MATCH_BSR_ANY : GRegexMatchFlags = 16777216 ; pub const GRegexMatchFlags_G_REGEX_MATCH_PARTIAL_SOFT : GRegexMatchFlags = 32768 ; pub const GRegexMatchFlags_G_REGEX_MATCH_PARTIAL_HARD : GRegexMatchFlags = 134217728 ; pub const GRegexMatchFlags_G_REGEX_MATCH_NOTEMPTY_ATSTART : GRegexMatchFlags = 268435456 ; pub type GRegexMatchFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRegex { _unused : [ u8 ; 0 ] , } pub type GRegex = _GRegex ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMatchInfo { _unused : [ u8 ; 0 ] , } pub type GMatchInfo = _GMatchInfo ; pub type GRegexEvalCallback = :: std :: option :: Option < unsafe extern "C" fn ( match_info : * const GMatchInfo , result : * mut GString , user_data : gpointer ) -> gboolean > ; extern "C" { pub fn g_regex_new ( pattern : * const gchar , compile_options : GRegexCompileFlags , match_options : GRegexMatchFlags , error : * mut * mut GError ) -> * mut GRegex ; } extern "C" { pub fn g_regex_ref ( regex : * mut GRegex ) -> * mut GRegex ; } extern "C" { pub fn g_regex_unref ( regex : * mut GRegex ) ; } extern "C" { pub fn g_regex_get_pattern ( regex : * const GRegex ) -> * const gchar ; } extern "C" { pub fn g_regex_get_max_backref ( regex : * const GRegex ) -> gint ; } extern "C" { pub fn g_regex_get_capture_count ( regex : * const GRegex ) -> gint ; } extern "C" { pub fn g_regex_get_has_cr_or_lf ( regex : * const GRegex ) -> gboolean ; } extern "C" { pub fn g_regex_get_max_lookbehind ( regex : * const GRegex ) -> gint ; } extern "C" { pub fn g_regex_get_string_number ( regex : * const GRegex , name : * const gchar ) -> gint ; } extern "C" { pub fn g_regex_escape_string ( string : * const gchar , length : gint ) -> * mut gchar ; } extern "C" { pub fn g_regex_escape_nul ( string : * const gchar , length : gint ) -> * mut gchar ; } extern "C" { pub fn g_regex_get_compile_flags ( regex : * const GRegex ) -> GRegexCompileFlags ; } extern "C" { pub fn g_regex_get_match_flags ( regex : * const GRegex ) -> GRegexMatchFlags ; } extern "C" { pub fn g_regex_match_simple ( pattern : * const gchar , string : * const gchar , compile_options : GRegexCompileFlags , match_options : GRegexMatchFlags ) -> gboolean ; } extern "C" { pub fn g_regex_match ( regex : * const GRegex , string : * const gchar , match_options : GRegexMatchFlags , match_info : * mut * mut GMatchInfo ) -> gboolean ; } extern "C" { pub fn g_regex_match_full ( regex : * const GRegex , string : * const gchar , string_len : gssize , start_position : gint , match_options : GRegexMatchFlags , match_info : * mut * mut GMatchInfo , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_regex_match_all ( regex : * const GRegex , string : * const gchar , match_options : GRegexMatchFlags , match_info : * mut * mut GMatchInfo ) -> gboolean ; } extern "C" { pub fn g_regex_match_all_full ( regex : * const GRegex , string : * const gchar , string_len : gssize , start_position : gint , match_options : GRegexMatchFlags , match_info : * mut * mut GMatchInfo , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_regex_split_simple ( pattern : * const gchar , string : * const gchar , compile_options : GRegexCompileFlags , match_options : GRegexMatchFlags ) -> * mut * mut gchar ; } extern "C" { pub fn g_regex_split ( regex : * const GRegex , string : * const gchar , match_options : GRegexMatchFlags ) -> * mut * mut gchar ; } extern "C" { pub fn g_regex_split_full ( regex : * const GRegex , string : * const gchar , string_len : gssize , start_position : gint , match_options : GRegexMatchFlags , max_tokens : gint , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_regex_replace ( regex : * const GRegex , string : * const gchar , string_len : gssize , start_position : gint , replacement : * const gchar , match_options : GRegexMatchFlags , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_regex_replace_literal ( regex : * const GRegex , string : * const gchar , string_len : gssize , start_position : gint , replacement : * const gchar , match_options : GRegexMatchFlags , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_regex_replace_eval ( regex : * const GRegex , string : * const gchar , string_len : gssize , start_position : gint , match_options : GRegexMatchFlags , eval : GRegexEvalCallback , user_data : gpointer , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_regex_check_replacement ( replacement : * const gchar , has_references : * mut gboolean , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_match_info_get_regex ( match_info : * const GMatchInfo ) -> * mut GRegex ; } extern "C" { pub fn g_match_info_get_string ( match_info : * const GMatchInfo ) -> * const gchar ; } extern "C" { pub fn g_match_info_ref ( match_info : * mut GMatchInfo ) -> * mut GMatchInfo ; } extern "C" { pub fn g_match_info_unref ( match_info : * mut GMatchInfo ) ; } extern "C" { pub fn g_match_info_free ( match_info : * mut GMatchInfo ) ; } extern "C" { pub fn g_match_info_next ( match_info : * mut GMatchInfo , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_match_info_matches ( match_info : * const GMatchInfo ) -> gboolean ; } extern "C" { pub fn g_match_info_get_match_count ( match_info : * const GMatchInfo ) -> gint ; } extern "C" { pub fn g_match_info_is_partial_match ( match_info : * const GMatchInfo ) -> gboolean ; } extern "C" { pub fn g_match_info_expand_references ( match_info : * const GMatchInfo , string_to_expand : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_match_info_fetch ( match_info : * const GMatchInfo , match_num : gint ) -> * mut gchar ; } extern "C" { pub fn g_match_info_fetch_pos ( match_info : * const GMatchInfo , match_num : gint , start_pos : * mut gint , end_pos : * mut gint ) -> gboolean ; } extern "C" { pub fn g_match_info_fetch_named ( match_info : * const GMatchInfo , name : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_match_info_fetch_named_pos ( match_info : * const GMatchInfo , name : * const gchar , start_pos : * mut gint , end_pos : * mut gint ) -> gboolean ; } extern "C" { pub fn g_match_info_fetch_all ( match_info : * const GMatchInfo ) -> * mut * mut gchar ; } pub type GScanner = _GScanner ; pub type GScannerConfig = _GScannerConfig ; pub type GTokenValue = _GTokenValue ; pub type GScannerMsgFunc = :: std :: option :: Option < unsafe extern "C" fn ( scanner : * mut GScanner , message : * mut gchar , error : gboolean ) > ; pub const GErrorType_G_ERR_UNKNOWN : GErrorType = 0 ; pub const GErrorType_G_ERR_UNEXP_EOF : GErrorType = 1 ; pub const GErrorType_G_ERR_UNEXP_EOF_IN_STRING : GErrorType = 2 ; pub const GErrorType_G_ERR_UNEXP_EOF_IN_COMMENT : GErrorType = 3 ; pub const GErrorType_G_ERR_NON_DIGIT_IN_CONST : GErrorType = 4 ; pub const GErrorType_G_ERR_DIGIT_RADIX : GErrorType = 5 ; pub const GErrorType_G_ERR_FLOAT_RADIX : GErrorType = 6 ; pub const GErrorType_G_ERR_FLOAT_MALFORMED : GErrorType = 7 ; pub type GErrorType = u32 ; pub const GTokenType_G_TOKEN_EOF : GTokenType = 0 ; pub const GTokenType_G_TOKEN_LEFT_PAREN : GTokenType = 40 ; pub const GTokenType_G_TOKEN_RIGHT_PAREN : GTokenType = 41 ; pub const GTokenType_G_TOKEN_LEFT_CURLY : GTokenType = 123 ; pub const GTokenType_G_TOKEN_RIGHT_CURLY : GTokenType = 125 ; pub const GTokenType_G_TOKEN_LEFT_BRACE : GTokenType = 91 ; pub const GTokenType_G_TOKEN_RIGHT_BRACE : GTokenType = 93 ; pub const GTokenType_G_TOKEN_EQUAL_SIGN : GTokenType = 61 ; pub const GTokenType_G_TOKEN_COMMA : GTokenType = 44 ; pub const GTokenType_G_TOKEN_NONE : GTokenType = 256 ; pub const GTokenType_G_TOKEN_ERROR : GTokenType = 257 ; pub const GTokenType_G_TOKEN_CHAR : GTokenType = 258 ; pub const GTokenType_G_TOKEN_BINARY : GTokenType = 259 ; pub const GTokenType_G_TOKEN_OCTAL : GTokenType = 260 ; pub const GTokenType_G_TOKEN_INT : GTokenType = 261 ; pub const GTokenType_G_TOKEN_HEX : GTokenType = 262 ; pub const GTokenType_G_TOKEN_FLOAT : GTokenType = 263 ; pub const GTokenType_G_TOKEN_STRING : GTokenType = 264 ; pub const GTokenType_G_TOKEN_SYMBOL : GTokenType = 265 ; pub const GTokenType_G_TOKEN_IDENTIFIER : GTokenType = 266 ; pub const GTokenType_G_TOKEN_IDENTIFIER_NULL : GTokenType = 267 ; pub const GTokenType_G_TOKEN_COMMENT_SINGLE : GTokenType = 268 ; pub const GTokenType_G_TOKEN_COMMENT_MULTI : GTokenType = 269 ; pub const GTokenType_G_TOKEN_LAST : GTokenType = 270 ; pub type GTokenType = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GTokenValue { pub v_symbol : gpointer , pub v_identifier : * mut gchar , pub v_binary : gulong , pub v_octal : gulong , pub v_int : gulong , pub v_int64 : guint64 , pub v_float : gdouble , pub v_hex : gulong , pub v_string : * mut gchar , pub v_comment : * mut gchar , pub v_char : guchar , pub v_error : guint , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout__GTokenValue ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTokenValue > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GTokenValue ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTokenValue > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTokenValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_symbol as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_identifier as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_identifier ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_binary as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_binary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_octal as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_octal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_int as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_int ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_int64 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_int64 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_float as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_float ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_hex as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_hex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_string as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_string ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_comment as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_comment ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_char as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTokenValue > ( ) ) ) . v_error as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTokenValue ) , "::" , stringify ! ( v_error ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GScannerConfig { pub cset_skip_characters : * mut gchar , pub cset_identifier_first : * mut gchar , pub cset_identifier_nth : * mut gchar , pub cpair_comment_single : * mut gchar , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 3usize ] , u8 > , pub padding_dummy : guint , } # [ test ] fn bindgen_test_layout__GScannerConfig ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GScannerConfig > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GScannerConfig ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GScannerConfig > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GScannerConfig ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScannerConfig > ( ) ) ) . cset_skip_characters as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GScannerConfig ) , "::" , stringify ! ( cset_skip_characters ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScannerConfig > ( ) ) ) . cset_identifier_first as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GScannerConfig ) , "::" , stringify ! ( cset_identifier_first ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScannerConfig > ( ) ) ) . cset_identifier_nth as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GScannerConfig ) , "::" , stringify ! ( cset_identifier_nth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScannerConfig > ( ) ) ) . cpair_comment_single as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GScannerConfig ) , "::" , stringify ! ( cpair_comment_single ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScannerConfig > ( ) ) ) . padding_dummy as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _GScannerConfig ) , "::" , stringify ! ( padding_dummy ) ) ) ; } impl _GScannerConfig { # [ inline ] pub fn case_sensitive ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_case_sensitive ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn skip_comment_multi ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_skip_comment_multi ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn skip_comment_single ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_skip_comment_single ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_comment_multi ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_comment_multi ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_identifier ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 4usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_identifier ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 4usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_identifier_1char ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 5usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_identifier_1char ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 5usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_identifier_NULL ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 6usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_identifier_NULL ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 6usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_symbols ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 7usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_symbols ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 7usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_binary ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 8usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_binary ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 8usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_octal ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 9usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_octal ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 9usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_float ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 10usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_float ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 10usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_hex ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 11usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_hex ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 11usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_hex_dollar ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 12usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_hex_dollar ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 12usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_string_sq ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 13usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_string_sq ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 13usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scan_string_dq ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 14usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scan_string_dq ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 14usize , 1u8 , val as u64 ) } } # [ inline ] pub fn numbers_2_int ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 15usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_numbers_2_int ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 15usize , 1u8 , val as u64 ) } } # [ inline ] pub fn int_2_float ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 16usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_int_2_float ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 16usize , 1u8 , val as u64 ) } } # [ inline ] pub fn identifier_2_string ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 17usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_identifier_2_string ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 17usize , 1u8 , val as u64 ) } } # [ inline ] pub fn char_2_token ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 18usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_char_2_token ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 18usize , 1u8 , val as u64 ) } } # [ inline ] pub fn symbol_2_token ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 19usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_symbol_2_token ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 19usize , 1u8 , val as u64 ) } } # [ inline ] pub fn scope_0_fallback ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 20usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_scope_0_fallback ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 20usize , 1u8 , val as u64 ) } } # [ inline ] pub fn store_int64 ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 21usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_store_int64 ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 21usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( case_sensitive : guint , skip_comment_multi : guint , skip_comment_single : guint , scan_comment_multi : guint , scan_identifier : guint , scan_identifier_1char : guint , scan_identifier_NULL : guint , scan_symbols : guint , scan_binary : guint , scan_octal : guint , scan_float : guint , scan_hex : guint , scan_hex_dollar : guint , scan_string_sq : guint , scan_string_dq : guint , numbers_2_int : guint , int_2_float : guint , identifier_2_string : guint , char_2_token : guint , symbol_2_token : guint , scope_0_fallback : guint , store_int64 : guint ) -> __BindgenBitfieldUnit < [ u8 ; 3usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 3usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let case_sensitive : u32 = unsafe { :: std :: mem :: transmute ( case_sensitive ) } ; case_sensitive as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let skip_comment_multi : u32 = unsafe { :: std :: mem :: transmute ( skip_comment_multi ) } ; skip_comment_multi as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let skip_comment_single : u32 = unsafe { :: std :: mem :: transmute ( skip_comment_single ) } ; skip_comment_single as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let scan_comment_multi : u32 = unsafe { :: std :: mem :: transmute ( scan_comment_multi ) } ; scan_comment_multi as u64 } ) ; __bindgen_bitfield_unit . set ( 4usize , 1u8 , { let scan_identifier : u32 = unsafe { :: std :: mem :: transmute ( scan_identifier ) } ; scan_identifier as u64 } ) ; __bindgen_bitfield_unit . set ( 5usize , 1u8 , { let scan_identifier_1char : u32 = unsafe { :: std :: mem :: transmute ( scan_identifier_1char ) } ; scan_identifier_1char as u64 } ) ; __bindgen_bitfield_unit . set ( 6usize , 1u8 , { let scan_identifier_NULL : u32 = unsafe { :: std :: mem :: transmute ( scan_identifier_NULL ) } ; scan_identifier_NULL as u64 } ) ; __bindgen_bitfield_unit . set ( 7usize , 1u8 , { let scan_symbols : u32 = unsafe { :: std :: mem :: transmute ( scan_symbols ) } ; scan_symbols as u64 } ) ; __bindgen_bitfield_unit . set ( 8usize , 1u8 , { let scan_binary : u32 = unsafe { :: std :: mem :: transmute ( scan_binary ) } ; scan_binary as u64 } ) ; __bindgen_bitfield_unit . set ( 9usize , 1u8 , { let scan_octal : u32 = unsafe { :: std :: mem :: transmute ( scan_octal ) } ; scan_octal as u64 } ) ; __bindgen_bitfield_unit . set ( 10usize , 1u8 , { let scan_float : u32 = unsafe { :: std :: mem :: transmute ( scan_float ) } ; scan_float as u64 } ) ; __bindgen_bitfield_unit . set ( 11usize , 1u8 , { let scan_hex : u32 = unsafe { :: std :: mem :: transmute ( scan_hex ) } ; scan_hex as u64 } ) ; __bindgen_bitfield_unit . set ( 12usize , 1u8 , { let scan_hex_dollar : u32 = unsafe { :: std :: mem :: transmute ( scan_hex_dollar ) } ; scan_hex_dollar as u64 } ) ; __bindgen_bitfield_unit . set ( 13usize , 1u8 , { let scan_string_sq : u32 = unsafe { :: std :: mem :: transmute ( scan_string_sq ) } ; scan_string_sq as u64 } ) ; __bindgen_bitfield_unit . set ( 14usize , 1u8 , { let scan_string_dq : u32 = unsafe { :: std :: mem :: transmute ( scan_string_dq ) } ; scan_string_dq as u64 } ) ; __bindgen_bitfield_unit . set ( 15usize , 1u8 , { let numbers_2_int : u32 = unsafe { :: std :: mem :: transmute ( numbers_2_int ) } ; numbers_2_int as u64 } ) ; __bindgen_bitfield_unit . set ( 16usize , 1u8 , { let int_2_float : u32 = unsafe { :: std :: mem :: transmute ( int_2_float ) } ; int_2_float as u64 } ) ; __bindgen_bitfield_unit . set ( 17usize , 1u8 , { let identifier_2_string : u32 = unsafe { :: std :: mem :: transmute ( identifier_2_string ) } ; identifier_2_string as u64 } ) ; __bindgen_bitfield_unit . set ( 18usize , 1u8 , { let char_2_token : u32 = unsafe { :: std :: mem :: transmute ( char_2_token ) } ; char_2_token as u64 } ) ; __bindgen_bitfield_unit . set ( 19usize , 1u8 , { let symbol_2_token : u32 = unsafe { :: std :: mem :: transmute ( symbol_2_token ) } ; symbol_2_token as u64 } ) ; __bindgen_bitfield_unit . set ( 20usize , 1u8 , { let scope_0_fallback : u32 = unsafe { :: std :: mem :: transmute ( scope_0_fallback ) } ; scope_0_fallback as u64 } ) ; __bindgen_bitfield_unit . set ( 21usize , 1u8 , { let store_int64 : u32 = unsafe { :: std :: mem :: transmute ( store_int64 ) } ; store_int64 as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GScanner { pub user_data : gpointer , pub max_parse_errors : guint , pub parse_errors : guint , pub input_name : * const gchar , pub qdata : * mut GData , pub config : * mut GScannerConfig , pub token : GTokenType , pub value : GTokenValue , pub line : guint , pub position : guint , pub next_token : GTokenType , pub next_value : GTokenValue , pub next_line : guint , pub next_position : guint , pub symbol_table : * mut GHashTable , pub input_fd : gint , pub text : * const gchar , pub text_end : * const gchar , pub buffer : * mut gchar , pub scope_id : guint , pub msg_handler : GScannerMsgFunc , } # [ test ] fn bindgen_test_layout__GScanner ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GScanner > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( _GScanner ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GScanner > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GScanner ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . user_data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( user_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . max_parse_errors as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( max_parse_errors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . parse_errors as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( parse_errors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . input_name as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( input_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . qdata as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( qdata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . config as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( config ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . token as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( token ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . value as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . line as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . position as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . next_token as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( next_token ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . next_value as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( next_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . next_line as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( next_line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . next_position as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( next_position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . symbol_table as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( symbol_table ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . input_fd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( input_fd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . text as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( text ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . text_end as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( text_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . buffer as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . scope_id as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( scope_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GScanner > ( ) ) ) . msg_handler as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GScanner ) , "::" , stringify ! ( msg_handler ) ) ) ; } extern "C" { pub fn g_scanner_new ( config_templ : * const GScannerConfig ) -> * mut GScanner ; } extern "C" { pub fn g_scanner_destroy ( scanner : * mut GScanner ) ; } extern "C" { pub fn g_scanner_input_file ( scanner : * mut GScanner , input_fd : gint ) ; } extern "C" { pub fn g_scanner_sync_file_offset ( scanner : * mut GScanner ) ; } extern "C" { pub fn g_scanner_input_text ( scanner : * mut GScanner , text : * const gchar , text_len : guint ) ; } extern "C" { pub fn g_scanner_get_next_token ( scanner : * mut GScanner ) -> GTokenType ; } extern "C" { pub fn g_scanner_peek_next_token ( scanner : * mut GScanner ) -> GTokenType ; } extern "C" { pub fn g_scanner_cur_token ( scanner : * mut GScanner ) -> GTokenType ; } extern "C" { pub fn g_scanner_cur_value ( scanner : * mut GScanner ) -> GTokenValue ; } extern "C" { pub fn g_scanner_cur_line ( scanner : * mut GScanner ) -> guint ; } extern "C" { pub fn g_scanner_cur_position ( scanner : * mut GScanner ) -> guint ; } extern "C" { pub fn g_scanner_eof ( scanner : * mut GScanner ) -> gboolean ; } extern "C" { pub fn g_scanner_set_scope ( scanner : * mut GScanner , scope_id : guint ) -> guint ; } extern "C" { pub fn g_scanner_scope_add_symbol ( scanner : * mut GScanner , scope_id : guint , symbol : * const gchar , value : gpointer ) ; } extern "C" { pub fn g_scanner_scope_remove_symbol ( scanner : * mut GScanner , scope_id : guint , symbol : * const gchar ) ; } extern "C" { pub fn g_scanner_scope_lookup_symbol ( scanner : * mut GScanner , scope_id : guint , symbol : * const gchar ) -> gpointer ; } extern "C" { pub fn g_scanner_scope_foreach_symbol ( scanner : * mut GScanner , scope_id : guint , func : GHFunc , user_data : gpointer ) ; } extern "C" { pub fn g_scanner_lookup_symbol ( scanner : * mut GScanner , symbol : * const gchar ) -> gpointer ; } extern "C" { pub fn g_scanner_unexp_token ( scanner : * mut GScanner , expected_token : GTokenType , identifier_spec : * const gchar , symbol_spec : * const gchar , symbol_name : * const gchar , message : * const gchar , is_error : gint ) ; } extern "C" { pub fn g_scanner_error ( scanner : * mut GScanner , format : * const gchar , ... ) ; } extern "C" { pub fn g_scanner_warn ( scanner : * mut GScanner , format : * const gchar , ... ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSequence { _unused : [ u8 ; 0 ] , } pub type GSequence = _GSequence ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSequenceNode { _unused : [ u8 ; 0 ] , } pub type GSequenceIter = _GSequenceNode ; pub type GSequenceIterCompareFunc = :: std :: option :: Option < unsafe extern "C" fn ( a : * mut GSequenceIter , b : * mut GSequenceIter , data : gpointer ) -> gint > ; extern "C" { pub fn g_sequence_new ( data_destroy : GDestroyNotify ) -> * mut GSequence ; } extern "C" { pub fn g_sequence_free ( seq : * mut GSequence ) ; } extern "C" { pub fn g_sequence_get_length ( seq : * mut GSequence ) -> gint ; } extern "C" { pub fn g_sequence_foreach ( seq : * mut GSequence , func : GFunc , user_data : gpointer ) ; } extern "C" { pub fn g_sequence_foreach_range ( begin : * mut GSequenceIter , end : * mut GSequenceIter , func : GFunc , user_data : gpointer ) ; } extern "C" { pub fn g_sequence_sort ( seq : * mut GSequence , cmp_func : GCompareDataFunc , cmp_data : gpointer ) ; } extern "C" { pub fn g_sequence_sort_iter ( seq : * mut GSequence , cmp_func : GSequenceIterCompareFunc , cmp_data : gpointer ) ; } extern "C" { pub fn g_sequence_is_empty ( seq : * mut GSequence ) -> gboolean ; } extern "C" { pub fn g_sequence_get_begin_iter ( seq : * mut GSequence ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_get_end_iter ( seq : * mut GSequence ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_get_iter_at_pos ( seq : * mut GSequence , pos : gint ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_append ( seq : * mut GSequence , data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_prepend ( seq : * mut GSequence , data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_insert_before ( iter : * mut GSequenceIter , data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_move ( src : * mut GSequenceIter , dest : * mut GSequenceIter ) ; } extern "C" { pub fn g_sequence_swap ( a : * mut GSequenceIter , b : * mut GSequenceIter ) ; } extern "C" { pub fn g_sequence_insert_sorted ( seq : * mut GSequence , data : gpointer , cmp_func : GCompareDataFunc , cmp_data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_insert_sorted_iter ( seq : * mut GSequence , data : gpointer , iter_cmp : GSequenceIterCompareFunc , cmp_data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_sort_changed ( iter : * mut GSequenceIter , cmp_func : GCompareDataFunc , cmp_data : gpointer ) ; } extern "C" { pub fn g_sequence_sort_changed_iter ( iter : * mut GSequenceIter , iter_cmp : GSequenceIterCompareFunc , cmp_data : gpointer ) ; } extern "C" { pub fn g_sequence_remove ( iter : * mut GSequenceIter ) ; } extern "C" { pub fn g_sequence_remove_range ( begin : * mut GSequenceIter , end : * mut GSequenceIter ) ; } extern "C" { pub fn g_sequence_move_range ( dest : * mut GSequenceIter , begin : * mut GSequenceIter , end : * mut GSequenceIter ) ; } extern "C" { pub fn g_sequence_search ( seq : * mut GSequence , data : gpointer , cmp_func : GCompareDataFunc , cmp_data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_search_iter ( seq : * mut GSequence , data : gpointer , iter_cmp : GSequenceIterCompareFunc , cmp_data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_lookup ( seq : * mut GSequence , data : gpointer , cmp_func : GCompareDataFunc , cmp_data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_lookup_iter ( seq : * mut GSequence , data : gpointer , iter_cmp : GSequenceIterCompareFunc , cmp_data : gpointer ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_get ( iter : * mut GSequenceIter ) -> gpointer ; } extern "C" { pub fn g_sequence_set ( iter : * mut GSequenceIter , data : gpointer ) ; } extern "C" { pub fn g_sequence_iter_is_begin ( iter : * mut GSequenceIter ) -> gboolean ; } extern "C" { pub fn g_sequence_iter_is_end ( iter : * mut GSequenceIter ) -> gboolean ; } extern "C" { pub fn g_sequence_iter_next ( iter : * mut GSequenceIter ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_iter_prev ( iter : * mut GSequenceIter ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_iter_get_position ( iter : * mut GSequenceIter ) -> gint ; } extern "C" { pub fn g_sequence_iter_move ( iter : * mut GSequenceIter , delta : gint ) -> * mut GSequenceIter ; } extern "C" { pub fn g_sequence_iter_get_sequence ( iter : * mut GSequenceIter ) -> * mut GSequence ; } extern "C" { pub fn g_sequence_iter_compare ( a : * mut GSequenceIter , b : * mut GSequenceIter ) -> gint ; } extern "C" { pub fn g_sequence_range_get_midpoint ( begin : * mut GSequenceIter , end : * mut GSequenceIter ) -> * mut GSequenceIter ; } pub const GShellError_G_SHELL_ERROR_BAD_QUOTING : GShellError = 0 ; pub const GShellError_G_SHELL_ERROR_EMPTY_STRING : GShellError = 1 ; pub const GShellError_G_SHELL_ERROR_FAILED : GShellError = 2 ; pub type GShellError = u32 ; extern "C" { pub fn g_shell_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_shell_quote ( unquoted_string : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_shell_unquote ( quoted_string : * const gchar , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_shell_parse_argv ( command_line : * const gchar , argcp : * mut gint , argvp : * mut * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_slice_alloc ( block_size : gsize ) -> gpointer ; } extern "C" { pub fn g_slice_alloc0 ( block_size : gsize ) -> gpointer ; } extern "C" { pub fn g_slice_copy ( block_size : gsize , mem_block : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_slice_free1 ( block_size : gsize , mem_block : gpointer ) ; } extern "C" { pub fn g_slice_free_chain_with_offset ( block_size : gsize , mem_chain : gpointer , next_offset : gsize ) ; } pub const GSliceConfig_G_SLICE_CONFIG_ALWAYS_MALLOC : GSliceConfig = 1 ; pub const GSliceConfig_G_SLICE_CONFIG_BYPASS_MAGAZINES : GSliceConfig = 2 ; pub const GSliceConfig_G_SLICE_CONFIG_WORKING_SET_MSECS : GSliceConfig = 3 ; pub const GSliceConfig_G_SLICE_CONFIG_COLOR_INCREMENT : GSliceConfig = 4 ; pub const GSliceConfig_G_SLICE_CONFIG_CHUNK_SIZES : GSliceConfig = 5 ; pub const GSliceConfig_G_SLICE_CONFIG_CONTENTION_COUNTER : GSliceConfig = 6 ; pub type GSliceConfig = u32 ; extern "C" { pub fn g_slice_set_config ( ckey : GSliceConfig , value : gint64 ) ; } extern "C" { pub fn g_slice_get_config ( ckey : GSliceConfig ) -> gint64 ; } extern "C" { pub fn g_slice_get_config_state ( ckey : GSliceConfig , address : gint64 , n_values : * mut guint ) -> * mut gint64 ; } pub const GSpawnError_G_SPAWN_ERROR_FORK : GSpawnError = 0 ; pub const GSpawnError_G_SPAWN_ERROR_READ : GSpawnError = 1 ; pub const GSpawnError_G_SPAWN_ERROR_CHDIR : GSpawnError = 2 ; pub const GSpawnError_G_SPAWN_ERROR_ACCES : GSpawnError = 3 ; pub const GSpawnError_G_SPAWN_ERROR_PERM : GSpawnError = 4 ; pub const GSpawnError_G_SPAWN_ERROR_TOO_BIG : GSpawnError = 5 ; pub const GSpawnError_G_SPAWN_ERROR_2BIG : GSpawnError = 5 ; pub const GSpawnError_G_SPAWN_ERROR_NOEXEC : GSpawnError = 6 ; pub const GSpawnError_G_SPAWN_ERROR_NAMETOOLONG : GSpawnError = 7 ; pub const GSpawnError_G_SPAWN_ERROR_NOENT : GSpawnError = 8 ; pub const GSpawnError_G_SPAWN_ERROR_NOMEM : GSpawnError = 9 ; pub const GSpawnError_G_SPAWN_ERROR_NOTDIR : GSpawnError = 10 ; pub const GSpawnError_G_SPAWN_ERROR_LOOP : GSpawnError = 11 ; pub const GSpawnError_G_SPAWN_ERROR_TXTBUSY : GSpawnError = 12 ; pub const GSpawnError_G_SPAWN_ERROR_IO : GSpawnError = 13 ; pub const GSpawnError_G_SPAWN_ERROR_NFILE : GSpawnError = 14 ; pub const GSpawnError_G_SPAWN_ERROR_MFILE : GSpawnError = 15 ; pub const GSpawnError_G_SPAWN_ERROR_INVAL : GSpawnError = 16 ; pub const GSpawnError_G_SPAWN_ERROR_ISDIR : GSpawnError = 17 ; pub const GSpawnError_G_SPAWN_ERROR_LIBBAD : GSpawnError = 18 ; pub const GSpawnError_G_SPAWN_ERROR_FAILED : GSpawnError = 19 ; pub type GSpawnError = u32 ; pub type GSpawnChildSetupFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer ) > ; pub const GSpawnFlags_G_SPAWN_DEFAULT : GSpawnFlags = 0 ; pub const GSpawnFlags_G_SPAWN_LEAVE_DESCRIPTORS_OPEN : GSpawnFlags = 1 ; pub const GSpawnFlags_G_SPAWN_DO_NOT_REAP_CHILD : GSpawnFlags = 2 ; pub const GSpawnFlags_G_SPAWN_SEARCH_PATH : GSpawnFlags = 4 ; pub const GSpawnFlags_G_SPAWN_STDOUT_TO_DEV_NULL : GSpawnFlags = 8 ; pub const GSpawnFlags_G_SPAWN_STDERR_TO_DEV_NULL : GSpawnFlags = 16 ; pub const GSpawnFlags_G_SPAWN_CHILD_INHERITS_STDIN : GSpawnFlags = 32 ; pub const GSpawnFlags_G_SPAWN_FILE_AND_ARGV_ZERO : GSpawnFlags = 64 ; pub const GSpawnFlags_G_SPAWN_SEARCH_PATH_FROM_ENVP : GSpawnFlags = 128 ; pub const GSpawnFlags_G_SPAWN_CLOEXEC_PIPES : GSpawnFlags = 256 ; pub const GSpawnFlags_G_SPAWN_CHILD_INHERITS_STDOUT : GSpawnFlags = 512 ; pub const GSpawnFlags_G_SPAWN_CHILD_INHERITS_STDERR : GSpawnFlags = 1024 ; pub const GSpawnFlags_G_SPAWN_STDIN_FROM_DEV_NULL : GSpawnFlags = 2048 ; pub type GSpawnFlags = u32 ; extern "C" { pub fn g_spawn_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_spawn_exit_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_spawn_async ( working_directory : * const gchar , argv : * mut * mut gchar , envp : * mut * mut gchar , flags : GSpawnFlags , child_setup : GSpawnChildSetupFunc , user_data : gpointer , child_pid : * mut GPid , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_async_with_pipes ( working_directory : * const gchar , argv : * mut * mut gchar , envp : * mut * mut gchar , flags : GSpawnFlags , child_setup : GSpawnChildSetupFunc , user_data : gpointer , child_pid : * mut GPid , standard_input : * mut gint , standard_output : * mut gint , standard_error : * mut gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_async_with_pipes_and_fds ( working_directory : * const gchar , argv : * const * const gchar , envp : * const * const gchar , flags : GSpawnFlags , child_setup : GSpawnChildSetupFunc , user_data : gpointer , stdin_fd : gint , stdout_fd : gint , stderr_fd : gint , source_fds : * const gint , target_fds : * const gint , n_fds : gsize , child_pid_out : * mut GPid , stdin_pipe_out : * mut gint , stdout_pipe_out : * mut gint , stderr_pipe_out : * mut gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_async_with_fds ( working_directory : * const gchar , argv : * mut * mut gchar , envp : * mut * mut gchar , flags : GSpawnFlags , child_setup : GSpawnChildSetupFunc , user_data : gpointer , child_pid : * mut GPid , stdin_fd : gint , stdout_fd : gint , stderr_fd : gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_sync ( working_directory : * const gchar , argv : * mut * mut gchar , envp : * mut * mut gchar , flags : GSpawnFlags , child_setup : GSpawnChildSetupFunc , user_data : gpointer , standard_output : * mut * mut gchar , standard_error : * mut * mut gchar , wait_status : * mut gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_command_line_sync ( command_line : * const gchar , standard_output : * mut * mut gchar , standard_error : * mut * mut gchar , wait_status : * mut gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_command_line_async ( command_line : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_check_wait_status ( wait_status : gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_check_exit_status ( wait_status : gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_spawn_close_pid ( pid : GPid ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GStringChunk { _unused : [ u8 ; 0 ] , } pub type GStringChunk = _GStringChunk ; extern "C" { pub fn g_string_chunk_new ( size : gsize ) -> * mut GStringChunk ; } extern "C" { pub fn g_string_chunk_free ( chunk : * mut GStringChunk ) ; } extern "C" { pub fn g_string_chunk_clear ( chunk : * mut GStringChunk ) ; } extern "C" { pub fn g_string_chunk_insert ( chunk : * mut GStringChunk , string : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_string_chunk_insert_len ( chunk : * mut GStringChunk , string : * const gchar , len : gssize ) -> * mut gchar ; } extern "C" { pub fn g_string_chunk_insert_const ( chunk : * mut GStringChunk , string : * const gchar ) -> * mut gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GStrvBuilder { _unused : [ u8 ; 0 ] , } pub type GStrvBuilder = _GStrvBuilder ; extern "C" { pub fn g_strv_builder_new ( ) -> * mut GStrvBuilder ; } extern "C" { pub fn g_strv_builder_unref ( builder : * mut GStrvBuilder ) ; } extern "C" { pub fn g_strv_builder_ref ( builder : * mut GStrvBuilder ) -> * mut GStrvBuilder ; } extern "C" { pub fn g_strv_builder_add ( builder : * mut GStrvBuilder , value : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_strv_builder_addv ( builder : * mut GStrvBuilder , value : * mut * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_strv_builder_add_many ( builder : * mut GStrvBuilder , ... ) ; } extern "C" { pub fn g_strv_builder_take ( builder : * mut GStrvBuilder , value : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_strv_builder_end ( builder : * mut GStrvBuilder ) -> GStrv ; } extern "C" { pub fn __errno_location ( ) -> * mut :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct GTestCase { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct GTestSuite { _unused : [ u8 ; 0 ] , } pub type GTestFunc = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; pub type GTestDataFunc = :: std :: option :: Option < unsafe extern "C" fn ( user_data : gconstpointer ) > ; pub type GTestFixtureFunc = :: std :: option :: Option < unsafe extern "C" fn ( fixture : gpointer , user_data : gconstpointer ) > ; extern "C" { pub fn g_strcmp0 ( str1 : * const :: std :: os :: raw :: c_char , str2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_test_minimized_result ( minimized_quantity : f64 , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_maximized_result ( maximized_quantity : f64 , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_init ( argc : * mut :: std :: os :: raw :: c_int , argv : * mut * mut * mut :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_subprocess ( ) -> gboolean ; } extern "C" { pub fn g_test_run ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_test_add_func ( testpath : * const :: std :: os :: raw :: c_char , test_func : GTestFunc ) ; } extern "C" { pub fn g_test_add_data_func ( testpath : * const :: std :: os :: raw :: c_char , test_data : gconstpointer , test_func : GTestDataFunc ) ; } extern "C" { pub fn g_test_add_data_func_full ( testpath : * const :: std :: os :: raw :: c_char , test_data : gpointer , test_func : GTestDataFunc , data_free_func : GDestroyNotify ) ; } extern "C" { pub fn g_test_get_path ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_test_fail ( ) ; } extern "C" { pub fn g_test_fail_printf ( format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_incomplete ( msg : * const gchar ) ; } extern "C" { pub fn g_test_incomplete_printf ( format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_skip ( msg : * const gchar ) ; } extern "C" { pub fn g_test_skip_printf ( format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_failed ( ) -> gboolean ; } extern "C" { pub fn g_test_set_nonfatal_assertions ( ) ; } extern "C" { pub fn g_test_disable_crash_reporting ( ) ; } extern "C" { pub fn g_test_message ( format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_test_bug_base ( uri_pattern : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_test_bug ( bug_uri_snippet : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_test_summary ( summary : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_test_timer_start ( ) ; } extern "C" { pub fn g_test_timer_elapsed ( ) -> f64 ; } extern "C" { pub fn g_test_timer_last ( ) -> f64 ; } extern "C" { pub fn g_test_queue_free ( gfree_pointer : gpointer ) ; } extern "C" { pub fn g_test_queue_destroy ( destroy_func : GDestroyNotify , destroy_data : gpointer ) ; } pub const GTestTrapFlags_G_TEST_TRAP_DEFAULT : GTestTrapFlags = 0 ; pub const GTestTrapFlags_G_TEST_TRAP_SILENCE_STDOUT : GTestTrapFlags = 128 ; pub const GTestTrapFlags_G_TEST_TRAP_SILENCE_STDERR : GTestTrapFlags = 256 ; pub const GTestTrapFlags_G_TEST_TRAP_INHERIT_STDIN : GTestTrapFlags = 512 ; pub type GTestTrapFlags = u32 ; extern "C" { pub fn g_test_trap_fork ( usec_timeout : guint64 , test_trap_flags : GTestTrapFlags ) -> gboolean ; } pub const GTestSubprocessFlags_G_TEST_SUBPROCESS_DEFAULT : GTestSubprocessFlags = 0 ; pub const GTestSubprocessFlags_G_TEST_SUBPROCESS_INHERIT_STDIN : GTestSubprocessFlags = 1 ; pub const GTestSubprocessFlags_G_TEST_SUBPROCESS_INHERIT_STDOUT : GTestSubprocessFlags = 2 ; pub const GTestSubprocessFlags_G_TEST_SUBPROCESS_INHERIT_STDERR : GTestSubprocessFlags = 4 ; pub type GTestSubprocessFlags = u32 ; extern "C" { pub fn g_test_trap_subprocess ( test_path : * const :: std :: os :: raw :: c_char , usec_timeout : guint64 , test_flags : GTestSubprocessFlags ) ; } extern "C" { pub fn g_test_trap_subprocess_with_envp ( test_path : * const :: std :: os :: raw :: c_char , envp : * const * const :: std :: os :: raw :: c_char , usec_timeout : guint64 , test_flags : GTestSubprocessFlags ) ; } extern "C" { pub fn g_test_trap_has_passed ( ) -> gboolean ; } extern "C" { pub fn g_test_trap_reached_timeout ( ) -> gboolean ; } extern "C" { pub fn g_test_rand_int ( ) -> gint32 ; } extern "C" { pub fn g_test_rand_int_range ( begin : gint32 , end : gint32 ) -> gint32 ; } extern "C" { pub fn g_test_rand_double ( ) -> f64 ; } extern "C" { pub fn g_test_rand_double_range ( range_start : f64 , range_end : f64 ) -> f64 ; } extern "C" { pub fn g_test_create_case ( test_name : * const :: std :: os :: raw :: c_char , data_size : gsize , test_data : gconstpointer , data_setup : GTestFixtureFunc , data_test : GTestFixtureFunc , data_teardown : GTestFixtureFunc ) -> * mut GTestCase ; } extern "C" { pub fn g_test_create_suite ( suite_name : * const :: std :: os :: raw :: c_char ) -> * mut GTestSuite ; } extern "C" { pub fn g_test_get_root ( ) -> * mut GTestSuite ; } extern "C" { pub fn g_test_suite_add ( suite : * mut GTestSuite , test_case : * mut GTestCase ) ; } extern "C" { pub fn g_test_suite_add_suite ( suite : * mut GTestSuite , nestedsuite : * mut GTestSuite ) ; } extern "C" { pub fn g_test_run_suite ( suite : * mut GTestSuite ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_test_case_free ( test_case : * mut GTestCase ) ; } extern "C" { pub fn g_test_suite_free ( suite : * mut GTestSuite ) ; } extern "C" { pub fn g_test_trap_assertions ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , assertion_flags : guint64 , pattern : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assertion_message ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , message : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assertion_message_expr ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , expr : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assertion_message_cmpstr ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , expr : * const :: std :: os :: raw :: c_char , arg1 : * const :: std :: os :: raw :: c_char , cmp : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assertion_message_cmpstrv ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , expr : * const :: std :: os :: raw :: c_char , arg1 : * const * const :: std :: os :: raw :: c_char , arg2 : * const * const :: std :: os :: raw :: c_char , first_wrong_idx : gsize ) ; } extern "C" { pub fn g_assertion_message_cmpint ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , expr : * const :: std :: os :: raw :: c_char , arg1 : guint64 , cmp : * const :: std :: os :: raw :: c_char , arg2 : guint64 , numtype : :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assertion_message_cmpnum ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , expr : * const :: std :: os :: raw :: c_char , arg1 : f64 , cmp : * const :: std :: os :: raw :: c_char , arg2 : f64 , numtype : :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_assertion_message_error ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char , expr : * const :: std :: os :: raw :: c_char , error : * const GError , error_domain : GQuark , error_code : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn g_test_add_vtable ( testpath : * const :: std :: os :: raw :: c_char , data_size : gsize , test_data : gconstpointer , data_setup : GTestFixtureFunc , data_test : GTestFixtureFunc , data_teardown : GTestFixtureFunc ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct GTestConfig { pub test_initialized : gboolean , pub test_quick : gboolean , pub test_perf : gboolean , pub test_verbose : gboolean , pub test_quiet : gboolean , pub test_undefined : gboolean , } # [ test ] fn bindgen_test_layout_GTestConfig ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GTestConfig > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( GTestConfig ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GTestConfig > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( GTestConfig ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestConfig > ( ) ) ) . test_initialized as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GTestConfig ) , "::" , stringify ! ( test_initialized ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestConfig > ( ) ) ) . test_quick as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( GTestConfig ) , "::" , stringify ! ( test_quick ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestConfig > ( ) ) ) . test_perf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( GTestConfig ) , "::" , stringify ! ( test_perf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestConfig > ( ) ) ) . test_verbose as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( GTestConfig ) , "::" , stringify ! ( test_verbose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestConfig > ( ) ) ) . test_quiet as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( GTestConfig ) , "::" , stringify ! ( test_quiet ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestConfig > ( ) ) ) . test_undefined as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( GTestConfig ) , "::" , stringify ! ( test_undefined ) ) ) ; } extern "C" { # [ link_name = "\u{1}g_test_config_vars" ] pub static mut g_test_config_vars : * const GTestConfig ; } pub const GTestResult_G_TEST_RUN_SUCCESS : GTestResult = 0 ; pub const GTestResult_G_TEST_RUN_SKIPPED : GTestResult = 1 ; pub const GTestResult_G_TEST_RUN_FAILURE : GTestResult = 2 ; pub const GTestResult_G_TEST_RUN_INCOMPLETE : GTestResult = 3 ; pub type GTestResult = u32 ; pub const GTestLogType_G_TEST_LOG_NONE : GTestLogType = 0 ; pub const GTestLogType_G_TEST_LOG_ERROR : GTestLogType = 1 ; pub const GTestLogType_G_TEST_LOG_START_BINARY : GTestLogType = 2 ; pub const GTestLogType_G_TEST_LOG_LIST_CASE : GTestLogType = 3 ; pub const GTestLogType_G_TEST_LOG_SKIP_CASE : GTestLogType = 4 ; pub const GTestLogType_G_TEST_LOG_START_CASE : GTestLogType = 5 ; pub const GTestLogType_G_TEST_LOG_STOP_CASE : GTestLogType = 6 ; pub const GTestLogType_G_TEST_LOG_MIN_RESULT : GTestLogType = 7 ; pub const GTestLogType_G_TEST_LOG_MAX_RESULT : GTestLogType = 8 ; pub const GTestLogType_G_TEST_LOG_MESSAGE : GTestLogType = 9 ; pub const GTestLogType_G_TEST_LOG_START_SUITE : GTestLogType = 10 ; pub const GTestLogType_G_TEST_LOG_STOP_SUITE : GTestLogType = 11 ; pub type GTestLogType = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct GTestLogMsg { pub log_type : GTestLogType , pub n_strings : guint , pub strings : * mut * mut gchar , pub n_nums : guint , pub nums : * mut f64 , } # [ test ] fn bindgen_test_layout_GTestLogMsg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GTestLogMsg > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( GTestLogMsg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GTestLogMsg > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( GTestLogMsg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogMsg > ( ) ) ) . log_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogMsg ) , "::" , stringify ! ( log_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogMsg > ( ) ) ) . n_strings as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogMsg ) , "::" , stringify ! ( n_strings ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogMsg > ( ) ) ) . strings as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogMsg ) , "::" , stringify ! ( strings ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogMsg > ( ) ) ) . n_nums as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogMsg ) , "::" , stringify ! ( n_nums ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogMsg > ( ) ) ) . nums as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogMsg ) , "::" , stringify ! ( nums ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct GTestLogBuffer { pub data : * mut GString , pub msgs : * mut GSList , } # [ test ] fn bindgen_test_layout_GTestLogBuffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GTestLogBuffer > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( GTestLogBuffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GTestLogBuffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( GTestLogBuffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogBuffer > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogBuffer ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GTestLogBuffer > ( ) ) ) . msgs as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( GTestLogBuffer ) , "::" , stringify ! ( msgs ) ) ) ; } extern "C" { pub fn g_test_log_type_name ( log_type : GTestLogType ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_test_log_buffer_new ( ) -> * mut GTestLogBuffer ; } extern "C" { pub fn g_test_log_buffer_free ( tbuffer : * mut GTestLogBuffer ) ; } extern "C" { pub fn g_test_log_buffer_push ( tbuffer : * mut GTestLogBuffer , n_bytes : guint , bytes : * const guint8 ) ; } extern "C" { pub fn g_test_log_buffer_pop ( tbuffer : * mut GTestLogBuffer ) -> * mut GTestLogMsg ; } extern "C" { pub fn g_test_log_msg_free ( tmsg : * mut GTestLogMsg ) ; } pub type GTestLogFatalFunc = :: std :: option :: Option < unsafe extern "C" fn ( log_domain : * const gchar , log_level : GLogLevelFlags , message : * const gchar , user_data : gpointer ) -> gboolean > ; extern "C" { pub fn g_test_log_set_fatal_handler ( log_func : GTestLogFatalFunc , user_data : gpointer ) ; } extern "C" { pub fn g_test_expect_message ( log_domain : * const gchar , log_level : GLogLevelFlags , pattern : * const gchar ) ; } extern "C" { pub fn g_test_assert_expected_messages_internal ( domain : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , func : * const :: std :: os :: raw :: c_char ) ; } pub const GTestFileType_G_TEST_DIST : GTestFileType = 0 ; pub const GTestFileType_G_TEST_BUILT : GTestFileType = 1 ; pub type GTestFileType = u32 ; extern "C" { pub fn g_test_build_filename ( file_type : GTestFileType , first_path : * const gchar , ... ) -> * mut gchar ; } extern "C" { pub fn g_test_get_dir ( file_type : GTestFileType ) -> * const gchar ; } extern "C" { pub fn g_test_get_filename ( file_type : GTestFileType , first_path : * const gchar , ... ) -> * const gchar ; } pub type GThreadPool = _GThreadPool ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThreadPool { pub func : GFunc , pub user_data : gpointer , pub exclusive : gboolean , } # [ test ] fn bindgen_test_layout__GThreadPool ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GThreadPool > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GThreadPool ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GThreadPool > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GThreadPool ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadPool > ( ) ) ) . func as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadPool ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadPool > ( ) ) ) . user_data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadPool ) , "::" , stringify ! ( user_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadPool > ( ) ) ) . exclusive as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadPool ) , "::" , stringify ! ( exclusive ) ) ) ; } extern "C" { pub fn g_thread_pool_new ( func : GFunc , user_data : gpointer , max_threads : gint , exclusive : gboolean , error : * mut * mut GError ) -> * mut GThreadPool ; } extern "C" { pub fn g_thread_pool_new_full ( func : GFunc , user_data : gpointer , item_free_func : GDestroyNotify , max_threads : gint , exclusive : gboolean , error : * mut * mut GError ) -> * mut GThreadPool ; } extern "C" { pub fn g_thread_pool_free ( pool : * mut GThreadPool , immediate : gboolean , wait_ : gboolean ) ; } extern "C" { pub fn g_thread_pool_push ( pool : * mut GThreadPool , data : gpointer , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_thread_pool_unprocessed ( pool : * mut GThreadPool ) -> guint ; } extern "C" { pub fn g_thread_pool_set_sort_function ( pool : * mut GThreadPool , func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_thread_pool_move_to_front ( pool : * mut GThreadPool , data : gpointer ) -> gboolean ; } extern "C" { pub fn g_thread_pool_set_max_threads ( pool : * mut GThreadPool , max_threads : gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_thread_pool_get_max_threads ( pool : * mut GThreadPool ) -> gint ; } extern "C" { pub fn g_thread_pool_get_num_threads ( pool : * mut GThreadPool ) -> guint ; } extern "C" { pub fn g_thread_pool_set_max_unused_threads ( max_threads : gint ) ; } extern "C" { pub fn g_thread_pool_get_max_unused_threads ( ) -> gint ; } extern "C" { pub fn g_thread_pool_get_num_unused_threads ( ) -> guint ; } extern "C" { pub fn g_thread_pool_stop_unused_threads ( ) ; } extern "C" { pub fn g_thread_pool_set_max_idle_time ( interval : guint ) ; } extern "C" { pub fn g_thread_pool_get_max_idle_time ( ) -> guint ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTimer { _unused : [ u8 ; 0 ] , } pub type GTimer = _GTimer ; extern "C" { pub fn g_timer_new ( ) -> * mut GTimer ; } extern "C" { pub fn g_timer_destroy ( timer : * mut GTimer ) ; } extern "C" { pub fn g_timer_start ( timer : * mut GTimer ) ; } extern "C" { pub fn g_timer_stop ( timer : * mut GTimer ) ; } extern "C" { pub fn g_timer_reset ( timer : * mut GTimer ) ; } extern "C" { pub fn g_timer_continue ( timer : * mut GTimer ) ; } extern "C" { pub fn g_timer_elapsed ( timer : * mut GTimer , microseconds : * mut gulong ) -> gdouble ; } extern "C" { pub fn g_timer_is_active ( timer : * mut GTimer ) -> gboolean ; } extern "C" { pub fn g_usleep ( microseconds : gulong ) ; } extern "C" { pub fn g_time_val_add ( time_ : * mut GTimeVal , microseconds : glong ) ; } extern "C" { pub fn g_time_val_from_iso8601 ( iso_date : * const gchar , time_ : * mut GTimeVal ) -> gboolean ; } extern "C" { pub fn g_time_val_to_iso8601 ( time_ : * mut GTimeVal ) -> * mut gchar ; } pub type GTrashStack = _GTrashStack ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTrashStack { pub next : * mut GTrashStack , } # [ test ] fn bindgen_test_layout__GTrashStack ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTrashStack > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GTrashStack ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTrashStack > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTrashStack ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTrashStack > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTrashStack ) , "::" , stringify ! ( next ) ) ) ; } extern "C" { pub fn g_trash_stack_push ( stack_p : * mut * mut GTrashStack , data_p : gpointer ) ; } extern "C" { pub fn g_trash_stack_pop ( stack_p : * mut * mut GTrashStack ) -> gpointer ; } extern "C" { pub fn g_trash_stack_peek ( stack_p : * mut * mut GTrashStack ) -> gpointer ; } extern "C" { pub fn g_trash_stack_height ( stack_p : * mut * mut GTrashStack ) -> guint ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTree { _unused : [ u8 ; 0 ] , } pub type GTree = _GTree ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTreeNode { _unused : [ u8 ; 0 ] , } pub type GTreeNode = _GTreeNode ; pub type GTraverseFunc = :: std :: option :: Option < unsafe extern "C" fn ( key : gpointer , value : gpointer , data : gpointer ) -> gboolean > ; pub type GTraverseNodeFunc = :: std :: option :: Option < unsafe extern "C" fn ( node : * mut GTreeNode , data : gpointer ) -> gboolean > ; extern "C" { pub fn g_tree_new ( key_compare_func : GCompareFunc ) -> * mut GTree ; } extern "C" { pub fn g_tree_new_with_data ( key_compare_func : GCompareDataFunc , key_compare_data : gpointer ) -> * mut GTree ; } extern "C" { pub fn g_tree_new_full ( key_compare_func : GCompareDataFunc , key_compare_data : gpointer , key_destroy_func : GDestroyNotify , value_destroy_func : GDestroyNotify ) -> * mut GTree ; } extern "C" { pub fn g_tree_node_first ( tree : * mut GTree ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_node_last ( tree : * mut GTree ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_node_previous ( node : * mut GTreeNode ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_node_next ( node : * mut GTreeNode ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_ref ( tree : * mut GTree ) -> * mut GTree ; } extern "C" { pub fn g_tree_unref ( tree : * mut GTree ) ; } extern "C" { pub fn g_tree_destroy ( tree : * mut GTree ) ; } extern "C" { pub fn g_tree_insert_node ( tree : * mut GTree , key : gpointer , value : gpointer ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_insert ( tree : * mut GTree , key : gpointer , value : gpointer ) ; } extern "C" { pub fn g_tree_replace_node ( tree : * mut GTree , key : gpointer , value : gpointer ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_replace ( tree : * mut GTree , key : gpointer , value : gpointer ) ; } extern "C" { pub fn g_tree_remove ( tree : * mut GTree , key : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_tree_remove_all ( tree : * mut GTree ) ; } extern "C" { pub fn g_tree_steal ( tree : * mut GTree , key : gconstpointer ) -> gboolean ; } extern "C" { pub fn g_tree_node_key ( node : * mut GTreeNode ) -> gpointer ; } extern "C" { pub fn g_tree_node_value ( node : * mut GTreeNode ) -> gpointer ; } extern "C" { pub fn g_tree_lookup_node ( tree : * mut GTree , key : gconstpointer ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_lookup ( tree : * mut GTree , key : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_tree_lookup_extended ( tree : * mut GTree , lookup_key : gconstpointer , orig_key : * mut gpointer , value : * mut gpointer ) -> gboolean ; } extern "C" { pub fn g_tree_foreach ( tree : * mut GTree , func : GTraverseFunc , user_data : gpointer ) ; } extern "C" { pub fn g_tree_foreach_node ( tree : * mut GTree , func : GTraverseNodeFunc , user_data : gpointer ) ; } extern "C" { pub fn g_tree_traverse ( tree : * mut GTree , traverse_func : GTraverseFunc , traverse_type : GTraverseType , user_data : gpointer ) ; } extern "C" { pub fn g_tree_search_node ( tree : * mut GTree , search_func : GCompareFunc , user_data : gconstpointer ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_search ( tree : * mut GTree , search_func : GCompareFunc , user_data : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_tree_lower_bound ( tree : * mut GTree , key : gconstpointer ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_upper_bound ( tree : * mut GTree , key : gconstpointer ) -> * mut GTreeNode ; } extern "C" { pub fn g_tree_height ( tree : * mut GTree ) -> gint ; } extern "C" { pub fn g_tree_nnodes ( tree : * mut GTree ) -> gint ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUri { _unused : [ u8 ; 0 ] , } pub type GUri = _GUri ; extern "C" { pub fn g_uri_ref ( uri : * mut GUri ) -> * mut GUri ; } extern "C" { pub fn g_uri_unref ( uri : * mut GUri ) ; } pub const GUriFlags_G_URI_FLAGS_NONE : GUriFlags = 0 ; pub const GUriFlags_G_URI_FLAGS_PARSE_RELAXED : GUriFlags = 1 ; pub const GUriFlags_G_URI_FLAGS_HAS_PASSWORD : GUriFlags = 2 ; pub const GUriFlags_G_URI_FLAGS_HAS_AUTH_PARAMS : GUriFlags = 4 ; pub const GUriFlags_G_URI_FLAGS_ENCODED : GUriFlags = 8 ; pub const GUriFlags_G_URI_FLAGS_NON_DNS : GUriFlags = 16 ; pub const GUriFlags_G_URI_FLAGS_ENCODED_QUERY : GUriFlags = 32 ; pub const GUriFlags_G_URI_FLAGS_ENCODED_PATH : GUriFlags = 64 ; pub const GUriFlags_G_URI_FLAGS_ENCODED_FRAGMENT : GUriFlags = 128 ; pub const GUriFlags_G_URI_FLAGS_SCHEME_NORMALIZE : GUriFlags = 256 ; pub type GUriFlags = u32 ; extern "C" { pub fn g_uri_split ( uri_ref : * const gchar , flags : GUriFlags , scheme : * mut * mut gchar , userinfo : * mut * mut gchar , host : * mut * mut gchar , port : * mut gint , path : * mut * mut gchar , query : * mut * mut gchar , fragment : * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_uri_split_with_user ( uri_ref : * const gchar , flags : GUriFlags , scheme : * mut * mut gchar , user : * mut * mut gchar , password : * mut * mut gchar , auth_params : * mut * mut gchar , host : * mut * mut gchar , port : * mut gint , path : * mut * mut gchar , query : * mut * mut gchar , fragment : * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_uri_split_network ( uri_string : * const gchar , flags : GUriFlags , scheme : * mut * mut gchar , host : * mut * mut gchar , port : * mut gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_uri_is_valid ( uri_string : * const gchar , flags : GUriFlags , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_uri_join ( flags : GUriFlags , scheme : * const gchar , userinfo : * const gchar , host : * const gchar , port : gint , path : * const gchar , query : * const gchar , fragment : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_uri_join_with_user ( flags : GUriFlags , scheme : * const gchar , user : * const gchar , password : * const gchar , auth_params : * const gchar , host : * const gchar , port : gint , path : * const gchar , query : * const gchar , fragment : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_uri_parse ( uri_string : * const gchar , flags : GUriFlags , error : * mut * mut GError ) -> * mut GUri ; } extern "C" { pub fn g_uri_parse_relative ( base_uri : * mut GUri , uri_ref : * const gchar , flags : GUriFlags , error : * mut * mut GError ) -> * mut GUri ; } extern "C" { pub fn g_uri_resolve_relative ( base_uri_string : * const gchar , uri_ref : * const gchar , flags : GUriFlags , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_uri_build ( flags : GUriFlags , scheme : * const gchar , userinfo : * const gchar , host : * const gchar , port : gint , path : * const gchar , query : * const gchar , fragment : * const gchar ) -> * mut GUri ; } extern "C" { pub fn g_uri_build_with_user ( flags : GUriFlags , scheme : * const gchar , user : * const gchar , password : * const gchar , auth_params : * const gchar , host : * const gchar , port : gint , path : * const gchar , query : * const gchar , fragment : * const gchar ) -> * mut GUri ; } pub const GUriHideFlags_G_URI_HIDE_NONE : GUriHideFlags = 0 ; pub const GUriHideFlags_G_URI_HIDE_USERINFO : GUriHideFlags = 1 ; pub const GUriHideFlags_G_URI_HIDE_PASSWORD : GUriHideFlags = 2 ; pub const GUriHideFlags_G_URI_HIDE_AUTH_PARAMS : GUriHideFlags = 4 ; pub const GUriHideFlags_G_URI_HIDE_QUERY : GUriHideFlags = 8 ; pub const GUriHideFlags_G_URI_HIDE_FRAGMENT : GUriHideFlags = 16 ; pub type GUriHideFlags = u32 ; extern "C" { pub fn g_uri_to_string ( uri : * mut GUri ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_to_string_partial ( uri : * mut GUri , flags : GUriHideFlags ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_get_scheme ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_userinfo ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_user ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_password ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_auth_params ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_host ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_port ( uri : * mut GUri ) -> gint ; } extern "C" { pub fn g_uri_get_path ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_query ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_fragment ( uri : * mut GUri ) -> * const gchar ; } extern "C" { pub fn g_uri_get_flags ( uri : * mut GUri ) -> GUriFlags ; } pub const GUriParamsFlags_G_URI_PARAMS_NONE : GUriParamsFlags = 0 ; pub const GUriParamsFlags_G_URI_PARAMS_CASE_INSENSITIVE : GUriParamsFlags = 1 ; pub const GUriParamsFlags_G_URI_PARAMS_WWW_FORM : GUriParamsFlags = 2 ; pub const GUriParamsFlags_G_URI_PARAMS_PARSE_RELAXED : GUriParamsFlags = 4 ; pub type GUriParamsFlags = u32 ; extern "C" { pub fn g_uri_parse_params ( params : * const gchar , length : gssize , separators : * const gchar , flags : GUriParamsFlags , error : * mut * mut GError ) -> * mut GHashTable ; } pub type GUriParamsIter = _GUriParamsIter ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GUriParamsIter { pub dummy0 : gint , pub dummy1 : gpointer , pub dummy2 : gpointer , pub dummy3 : [ guint8 ; 256usize ] , } # [ test ] fn bindgen_test_layout__GUriParamsIter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUriParamsIter > ( ) , 280usize , concat ! ( "Size of: " , stringify ! ( _GUriParamsIter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUriParamsIter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUriParamsIter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUriParamsIter > ( ) ) ) . dummy0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUriParamsIter ) , "::" , stringify ! ( dummy0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUriParamsIter > ( ) ) ) . dummy1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GUriParamsIter ) , "::" , stringify ! ( dummy1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUriParamsIter > ( ) ) ) . dummy2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GUriParamsIter ) , "::" , stringify ! ( dummy2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUriParamsIter > ( ) ) ) . dummy3 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GUriParamsIter ) , "::" , stringify ! ( dummy3 ) ) ) ; } extern "C" { pub fn g_uri_params_iter_init ( iter : * mut GUriParamsIter , params : * const gchar , length : gssize , separators : * const gchar , flags : GUriParamsFlags ) ; } extern "C" { pub fn g_uri_params_iter_next ( iter : * mut GUriParamsIter , attribute : * mut * mut gchar , value : * mut * mut gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_uri_error_quark ( ) -> GQuark ; } pub const GUriError_G_URI_ERROR_FAILED : GUriError = 0 ; pub const GUriError_G_URI_ERROR_BAD_SCHEME : GUriError = 1 ; pub const GUriError_G_URI_ERROR_BAD_USER : GUriError = 2 ; pub const GUriError_G_URI_ERROR_BAD_PASSWORD : GUriError = 3 ; pub const GUriError_G_URI_ERROR_BAD_AUTH_PARAMS : GUriError = 4 ; pub const GUriError_G_URI_ERROR_BAD_HOST : GUriError = 5 ; pub const GUriError_G_URI_ERROR_BAD_PORT : GUriError = 6 ; pub const GUriError_G_URI_ERROR_BAD_PATH : GUriError = 7 ; pub const GUriError_G_URI_ERROR_BAD_QUERY : GUriError = 8 ; pub const GUriError_G_URI_ERROR_BAD_FRAGMENT : GUriError = 9 ; pub type GUriError = u32 ; extern "C" { pub fn g_uri_unescape_string ( escaped_string : * const :: std :: os :: raw :: c_char , illegal_characters : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_unescape_segment ( escaped_string : * const :: std :: os :: raw :: c_char , escaped_string_end : * const :: std :: os :: raw :: c_char , illegal_characters : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_parse_scheme ( uri : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_peek_scheme ( uri : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_escape_string ( unescaped : * const :: std :: os :: raw :: c_char , reserved_chars_allowed : * const :: std :: os :: raw :: c_char , allow_utf8 : gboolean ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uri_unescape_bytes ( escaped_string : * const :: std :: os :: raw :: c_char , length : gssize , illegal_characters : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_uri_escape_bytes ( unescaped : * const guint8 , length : gsize , reserved_chars_allowed : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_uuid_string_is_valid ( str : * const gchar ) -> gboolean ; } extern "C" { pub fn g_uuid_string_random ( ) -> * mut gchar ; } extern "C" { # [ link_name = "\u{1}glib_major_version" ] pub static mut glib_major_version : guint ; } extern "C" { # [ link_name = "\u{1}glib_minor_version" ] pub static mut glib_minor_version : guint ; } extern "C" { # [ link_name = "\u{1}glib_micro_version" ] pub static mut glib_micro_version : guint ; } extern "C" { # [ link_name = "\u{1}glib_interface_age" ] pub static mut glib_interface_age : guint ; } extern "C" { # [ link_name = "\u{1}glib_binary_age" ] pub static mut glib_binary_age : guint ; } extern "C" { pub fn glib_check_version ( required_major : guint , required_minor : guint , required_micro : guint ) -> * const gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAllocator { _unused : [ u8 ; 0 ] , } pub type GAllocator = _GAllocator ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemChunk { _unused : [ u8 ; 0 ] , } pub type GMemChunk = _GMemChunk ; extern "C" { pub fn g_mem_chunk_new ( name : * const gchar , atom_size : gint , area_size : gsize , type_ : gint ) -> * mut GMemChunk ; } extern "C" { pub fn g_mem_chunk_destroy ( mem_chunk : * mut GMemChunk ) ; } extern "C" { pub fn g_mem_chunk_alloc ( mem_chunk : * mut GMemChunk ) -> gpointer ; } extern "C" { pub fn g_mem_chunk_alloc0 ( mem_chunk : * mut GMemChunk ) -> gpointer ; } extern "C" { pub fn g_mem_chunk_free ( mem_chunk : * mut GMemChunk , mem : gpointer ) ; } extern "C" { pub fn g_mem_chunk_clean ( mem_chunk : * mut GMemChunk ) ; } extern "C" { pub fn g_mem_chunk_reset ( mem_chunk : * mut GMemChunk ) ; } extern "C" { pub fn g_mem_chunk_print ( mem_chunk : * mut GMemChunk ) ; } extern "C" { pub fn g_mem_chunk_info ( ) ; } extern "C" { pub fn g_blow_chunks ( ) ; } extern "C" { pub fn g_allocator_new ( name : * const gchar , n_preallocs : guint ) -> * mut GAllocator ; } extern "C" { pub fn g_allocator_free ( allocator : * mut GAllocator ) ; } extern "C" { pub fn g_list_push_allocator ( allocator : * mut GAllocator ) ; } extern "C" { pub fn g_list_pop_allocator ( ) ; } extern "C" { pub fn g_slist_push_allocator ( allocator : * mut GAllocator ) ; } extern "C" { pub fn g_slist_pop_allocator ( ) ; } extern "C" { pub fn g_node_push_allocator ( allocator : * mut GAllocator ) ; } extern "C" { pub fn g_node_pop_allocator ( ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCache { _unused : [ u8 ; 0 ] , } pub type GCache = _GCache ; pub type GCacheNewFunc = :: std :: option :: Option < unsafe extern "C" fn ( key : gpointer ) -> gpointer > ; pub type GCacheDupFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : gpointer ) -> gpointer > ; pub type GCacheDestroyFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : gpointer ) > ; extern "C" { pub fn g_cache_new ( value_new_func : GCacheNewFunc , value_destroy_func : GCacheDestroyFunc , key_dup_func : GCacheDupFunc , key_destroy_func : GCacheDestroyFunc , hash_key_func : GHashFunc , hash_value_func : GHashFunc , key_equal_func : GEqualFunc ) -> * mut GCache ; } extern "C" { pub fn g_cache_destroy ( cache : * mut GCache ) ; } extern "C" { pub fn g_cache_insert ( cache : * mut GCache , key : gpointer ) -> gpointer ; } extern "C" { pub fn g_cache_remove ( cache : * mut GCache , value : gconstpointer ) ; } extern "C" { pub fn g_cache_key_foreach ( cache : * mut GCache , func : GHFunc , user_data : gpointer ) ; } extern "C" { pub fn g_cache_value_foreach ( cache : * mut GCache , func : GHFunc , user_data : gpointer ) ; } pub type GCompletion = _GCompletion ; pub type GCompletionFunc = :: std :: option :: Option < unsafe extern "C" fn ( item : gpointer ) -> * mut gchar > ; pub type GCompletionStrncmpFunc = :: std :: option :: Option < unsafe extern "C" fn ( s1 : * const gchar , s2 : * const gchar , n : gsize ) -> gint > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCompletion { pub items : * mut GList , pub func : GCompletionFunc , pub prefix : * mut gchar , pub cache : * mut GList , pub strncmp_func : GCompletionStrncmpFunc , } # [ test ] fn bindgen_test_layout__GCompletion ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GCompletion > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GCompletion ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GCompletion > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GCompletion ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCompletion > ( ) ) ) . items as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GCompletion ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCompletion > ( ) ) ) . func as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GCompletion ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCompletion > ( ) ) ) . prefix as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GCompletion ) , "::" , stringify ! ( prefix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCompletion > ( ) ) ) . cache as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GCompletion ) , "::" , stringify ! ( cache ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCompletion > ( ) ) ) . strncmp_func as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GCompletion ) , "::" , stringify ! ( strncmp_func ) ) ) ; } extern "C" { pub fn g_completion_new ( func : GCompletionFunc ) -> * mut GCompletion ; } extern "C" { pub fn g_completion_add_items ( cmp : * mut GCompletion , items : * mut GList ) ; } extern "C" { pub fn g_completion_remove_items ( cmp : * mut GCompletion , items : * mut GList ) ; } extern "C" { pub fn g_completion_clear_items ( cmp : * mut GCompletion ) ; } extern "C" { pub fn g_completion_complete ( cmp : * mut GCompletion , prefix : * const gchar , new_prefix : * mut * mut gchar ) -> * mut GList ; } extern "C" { pub fn g_completion_complete_utf8 ( cmp : * mut GCompletion , prefix : * const gchar , new_prefix : * mut * mut gchar ) -> * mut GList ; } extern "C" { pub fn g_completion_set_compare ( cmp : * mut GCompletion , strncmp_func : GCompletionStrncmpFunc ) ; } extern "C" { pub fn g_completion_free ( cmp : * mut GCompletion ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRelation { _unused : [ u8 ; 0 ] , } pub type GRelation = _GRelation ; pub type GTuples = _GTuples ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTuples { pub len : guint , } # [ test ] fn bindgen_test_layout__GTuples ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTuples > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _GTuples ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTuples > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GTuples ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTuples > ( ) ) ) . len as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTuples ) , "::" , stringify ! ( len ) ) ) ; } extern "C" { pub fn g_relation_new ( fields : gint ) -> * mut GRelation ; } extern "C" { pub fn g_relation_destroy ( relation : * mut GRelation ) ; } extern "C" { pub fn g_relation_index ( relation : * mut GRelation , field : gint , hash_func : GHashFunc , key_equal_func : GEqualFunc ) ; } extern "C" { pub fn g_relation_insert ( relation : * mut GRelation , ... ) ; } extern "C" { pub fn g_relation_delete ( relation : * mut GRelation , key : gconstpointer , field : gint ) -> gint ; } extern "C" { pub fn g_relation_select ( relation : * mut GRelation , key : gconstpointer , field : gint ) -> * mut GTuples ; } extern "C" { pub fn g_relation_count ( relation : * mut GRelation , key : gconstpointer , field : gint ) -> gint ; } extern "C" { pub fn g_relation_exists ( relation : * mut GRelation , ... ) -> gboolean ; } extern "C" { pub fn g_relation_print ( relation : * mut GRelation ) ; } extern "C" { pub fn g_tuples_destroy ( tuples : * mut GTuples ) ; } extern "C" { pub fn g_tuples_index ( tuples : * mut GTuples , index_ : gint , field : gint ) -> gpointer ; } pub const GThreadPriority_G_THREAD_PRIORITY_LOW : GThreadPriority = 0 ; pub const GThreadPriority_G_THREAD_PRIORITY_NORMAL : GThreadPriority = 1 ; pub const GThreadPriority_G_THREAD_PRIORITY_HIGH : GThreadPriority = 2 ; pub const GThreadPriority_G_THREAD_PRIORITY_URGENT : GThreadPriority = 3 ; pub type GThreadPriority = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThread { pub func : GThreadFunc , pub data : gpointer , pub joinable : gboolean , pub priority : GThreadPriority , } # [ test ] fn bindgen_test_layout__GThread ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GThread > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GThread ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GThread > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GThread ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThread > ( ) ) ) . func as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GThread ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThread > ( ) ) ) . data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GThread ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThread > ( ) ) ) . joinable as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GThread ) , "::" , stringify ! ( joinable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThread > ( ) ) ) . priority as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _GThread ) , "::" , stringify ! ( priority ) ) ) ; } pub type GThreadFunctions = _GThreadFunctions ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThreadFunctions { pub mutex_new : :: std :: option :: Option < unsafe extern "C" fn ( ) -> * mut GMutex > , pub mutex_lock : :: std :: option :: Option < unsafe extern "C" fn ( mutex : * mut GMutex ) > , pub mutex_trylock : :: std :: option :: Option < unsafe extern "C" fn ( mutex : * mut GMutex ) -> gboolean > , pub mutex_unlock : :: std :: option :: Option < unsafe extern "C" fn ( mutex : * mut GMutex ) > , pub mutex_free : :: std :: option :: Option < unsafe extern "C" fn ( mutex : * mut GMutex ) > , pub cond_new : :: std :: option :: Option < unsafe extern "C" fn ( ) -> * mut GCond > , pub cond_signal : :: std :: option :: Option < unsafe extern "C" fn ( cond : * mut GCond ) > , pub cond_broadcast : :: std :: option :: Option < unsafe extern "C" fn ( cond : * mut GCond ) > , pub cond_wait : :: std :: option :: Option < unsafe extern "C" fn ( cond : * mut GCond , mutex : * mut GMutex ) > , pub cond_timed_wait : :: std :: option :: Option < unsafe extern "C" fn ( cond : * mut GCond , mutex : * mut GMutex , end_time : * mut GTimeVal ) -> gboolean > , pub cond_free : :: std :: option :: Option < unsafe extern "C" fn ( cond : * mut GCond ) > , pub private_new : :: std :: option :: Option < unsafe extern "C" fn ( destructor : GDestroyNotify ) -> * mut GPrivate > , pub private_get : :: std :: option :: Option < unsafe extern "C" fn ( private_key : * mut GPrivate ) -> gpointer > , pub private_set : :: std :: option :: Option < unsafe extern "C" fn ( private_key : * mut GPrivate , data : gpointer ) > , pub thread_create : :: std :: option :: Option < unsafe extern "C" fn ( func : GThreadFunc , data : gpointer , stack_size : gulong , joinable : gboolean , bound : gboolean , priority : GThreadPriority , thread : gpointer , error : * mut * mut GError ) > , pub thread_yield : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub thread_join : :: std :: option :: Option < unsafe extern "C" fn ( thread : gpointer ) > , pub thread_exit : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub thread_set_priority : :: std :: option :: Option < unsafe extern "C" fn ( thread : gpointer , priority : GThreadPriority ) > , pub thread_self : :: std :: option :: Option < unsafe extern "C" fn ( thread : gpointer ) > , pub thread_equal : :: std :: option :: Option < unsafe extern "C" fn ( thread1 : gpointer , thread2 : gpointer ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GThreadFunctions ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GThreadFunctions > ( ) , 168usize , concat ! ( "Size of: " , stringify ! ( _GThreadFunctions ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GThreadFunctions > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GThreadFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . mutex_new as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( mutex_new ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . mutex_lock as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( mutex_lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . mutex_trylock as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( mutex_trylock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . mutex_unlock as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( mutex_unlock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . mutex_free as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( mutex_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . cond_new as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( cond_new ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . cond_signal as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( cond_signal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . cond_broadcast as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( cond_broadcast ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . cond_wait as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( cond_wait ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . cond_timed_wait as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( cond_timed_wait ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . cond_free as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( cond_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . private_new as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( private_new ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . private_get as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( private_get ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . private_set as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( private_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_create as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_create ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_yield as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_yield ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_join as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_join ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_exit as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_exit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_set_priority as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_set_priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_self as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_self ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadFunctions > ( ) ) ) . thread_equal as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadFunctions ) , "::" , stringify ! ( thread_equal ) ) ) ; } extern "C" { # [ link_name = "\u{1}g_thread_functions_for_glib_use" ] pub static mut g_thread_functions_for_glib_use : GThreadFunctions ; } extern "C" { # [ link_name = "\u{1}g_thread_use_default_impl" ] pub static mut g_thread_use_default_impl : gboolean ; } extern "C" { # [ link_name = "\u{1}g_thread_gettime" ] pub static mut g_thread_gettime : :: std :: option :: Option < unsafe extern "C" fn ( ) -> guint64 > ; } extern "C" { pub fn g_thread_create ( func : GThreadFunc , data : gpointer , joinable : gboolean , error : * mut * mut GError ) -> * mut GThread ; } extern "C" { pub fn g_thread_create_full ( func : GThreadFunc , data : gpointer , stack_size : gulong , joinable : gboolean , bound : gboolean , priority : GThreadPriority , error : * mut * mut GError ) -> * mut GThread ; } extern "C" { pub fn g_thread_set_priority ( thread : * mut GThread , priority : GThreadPriority ) ; } extern "C" { pub fn g_thread_foreach ( thread_func : GFunc , user_data : gpointer ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct sched_param { pub sched_priority : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_sched_param ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sched_param > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( sched_param ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sched_param > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( sched_param ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sched_param > ( ) ) ) . sched_priority as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sched_param ) , "::" , stringify ! ( sched_priority ) ) ) ; } pub type __cpu_mask = :: std :: os :: raw :: c_ulong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cpu_set_t { pub __bits : [ __cpu_mask ; 16usize ] , } # [ test ] fn bindgen_test_layout_cpu_set_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cpu_set_t > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( cpu_set_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cpu_set_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cpu_set_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cpu_set_t > ( ) ) ) . __bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cpu_set_t ) , "::" , stringify ! ( __bits ) ) ) ; } extern "C" { pub fn __sched_cpucount ( __setsize : usize , __setp : * const cpu_set_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __sched_cpualloc ( __count : usize ) -> * mut cpu_set_t ; } extern "C" { pub fn __sched_cpufree ( __set : * mut cpu_set_t ) ; } extern "C" { pub fn sched_setparam ( __pid : __pid_t , __param : * const sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_getparam ( __pid : __pid_t , __param : * mut sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_setscheduler ( __pid : __pid_t , __policy : :: std :: os :: raw :: c_int , __param : * const sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_getscheduler ( __pid : __pid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_yield ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_get_priority_max ( __algorithm : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_get_priority_min ( __algorithm : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sched_rr_get_interval ( __pid : __pid_t , __t : * mut timespec ) -> :: std :: os :: raw :: c_int ; } pub type __jmp_buf = [ :: std :: os :: raw :: c_long ; 8usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __jmp_buf_tag { pub __jmpbuf : __jmp_buf , pub __mask_was_saved : :: std :: os :: raw :: c_int , pub __saved_mask : __sigset_t , } # [ test ] fn bindgen_test_layout___jmp_buf_tag ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __jmp_buf_tag > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( __jmp_buf_tag ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __jmp_buf_tag > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __jmp_buf_tag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __jmp_buf_tag > ( ) ) ) . __jmpbuf as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __jmp_buf_tag ) , "::" , stringify ! ( __jmpbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __jmp_buf_tag > ( ) ) ) . __mask_was_saved as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( __jmp_buf_tag ) , "::" , stringify ! ( __mask_was_saved ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __jmp_buf_tag > ( ) ) ) . __saved_mask as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( __jmp_buf_tag ) , "::" , stringify ! ( __saved_mask ) ) ) ; } pub const enum_(unnamed_at_/usr/include/pthread_h_37_1)_PTHREAD_CREATE_JOINABLE : enum_(unnamed_at_/usr/include/pthread_h_37_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_37_1)_PTHREAD_CREATE_DETACHED : enum_(unnamed_at_/usr/include/pthread_h_37_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_37_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_TIMED_NP : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_RECURSIVE_NP : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 1 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_ERRORCHECK_NP : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 2 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_ADAPTIVE_NP : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 3 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_NORMAL : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_RECURSIVE : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 1 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_ERRORCHECK : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 2 ; pub const enum_(unnamed_at_/usr/include/pthread_h_47_1)_PTHREAD_MUTEX_DEFAULT : enum_(unnamed_at_/usr/include/pthread_h_47_1) = 0 ; pub type enum_(unnamed_at_/usr/include/pthread_h_47_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_69_1)_PTHREAD_MUTEX_STALLED : enum_(unnamed_at_/usr/include/pthread_h_69_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_69_1)_PTHREAD_MUTEX_STALLED_NP : enum_(unnamed_at_/usr/include/pthread_h_69_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_69_1)_PTHREAD_MUTEX_ROBUST : enum_(unnamed_at_/usr/include/pthread_h_69_1) = 1 ; pub const enum_(unnamed_at_/usr/include/pthread_h_69_1)_PTHREAD_MUTEX_ROBUST_NP : enum_(unnamed_at_/usr/include/pthread_h_69_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_69_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_81_1)_PTHREAD_PRIO_NONE : enum_(unnamed_at_/usr/include/pthread_h_81_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_81_1)_PTHREAD_PRIO_INHERIT : enum_(unnamed_at_/usr/include/pthread_h_81_1) = 1 ; pub const enum_(unnamed_at_/usr/include/pthread_h_81_1)_PTHREAD_PRIO_PROTECT : enum_(unnamed_at_/usr/include/pthread_h_81_1) = 2 ; pub type enum_(unnamed_at_/usr/include/pthread_h_81_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_104_1)_PTHREAD_RWLOCK_PREFER_READER_NP : enum_(unnamed_at_/usr/include/pthread_h_104_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_104_1)_PTHREAD_RWLOCK_PREFER_WRITER_NP : enum_(unnamed_at_/usr/include/pthread_h_104_1) = 1 ; pub const enum_(unnamed_at_/usr/include/pthread_h_104_1)_PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP : enum_(unnamed_at_/usr/include/pthread_h_104_1) = 2 ; pub const enum_(unnamed_at_/usr/include/pthread_h_104_1)_PTHREAD_RWLOCK_DEFAULT_NP : enum_(unnamed_at_/usr/include/pthread_h_104_1) = 0 ; pub type enum_(unnamed_at_/usr/include/pthread_h_104_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_124_1)_PTHREAD_INHERIT_SCHED : enum_(unnamed_at_/usr/include/pthread_h_124_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_124_1)_PTHREAD_EXPLICIT_SCHED : enum_(unnamed_at_/usr/include/pthread_h_124_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_124_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_134_1)_PTHREAD_SCOPE_SYSTEM : enum_(unnamed_at_/usr/include/pthread_h_134_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_134_1)_PTHREAD_SCOPE_PROCESS : enum_(unnamed_at_/usr/include/pthread_h_134_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_134_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_144_1)_PTHREAD_PROCESS_PRIVATE : enum_(unnamed_at_/usr/include/pthread_h_144_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_144_1)_PTHREAD_PROCESS_SHARED : enum_(unnamed_at_/usr/include/pthread_h_144_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_144_1) = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _pthread_cleanup_buffer { pub __routine : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void ) > , pub __arg : * mut :: std :: os :: raw :: c_void , pub __canceltype : :: std :: os :: raw :: c_int , pub __prev : * mut _pthread_cleanup_buffer , } # [ test ] fn bindgen_test_layout__pthread_cleanup_buffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _pthread_cleanup_buffer > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _pthread_cleanup_buffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _pthread_cleanup_buffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _pthread_cleanup_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _pthread_cleanup_buffer > ( ) ) ) . __routine as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _pthread_cleanup_buffer ) , "::" , stringify ! ( __routine ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _pthread_cleanup_buffer > ( ) ) ) . __arg as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _pthread_cleanup_buffer ) , "::" , stringify ! ( __arg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _pthread_cleanup_buffer > ( ) ) ) . __canceltype as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _pthread_cleanup_buffer ) , "::" , stringify ! ( __canceltype ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _pthread_cleanup_buffer > ( ) ) ) . __prev as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _pthread_cleanup_buffer ) , "::" , stringify ! ( __prev ) ) ) ; } pub const enum_(unnamed_at_/usr/include/pthread_h_168_1)_PTHREAD_CANCEL_ENABLE : enum_(unnamed_at_/usr/include/pthread_h_168_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_168_1)_PTHREAD_CANCEL_DISABLE : enum_(unnamed_at_/usr/include/pthread_h_168_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_168_1) = u32 ; pub const enum_(unnamed_at_/usr/include/pthread_h_175_1)_PTHREAD_CANCEL_DEFERRED : enum_(unnamed_at_/usr/include/pthread_h_175_1) = 0 ; pub const enum_(unnamed_at_/usr/include/pthread_h_175_1)_PTHREAD_CANCEL_ASYNCHRONOUS : enum_(unnamed_at_/usr/include/pthread_h_175_1) = 1 ; pub type enum_(unnamed_at_/usr/include/pthread_h_175_1) = u32 ; extern "C" { pub fn pthread_create ( __newthread : * mut pthread_t , __attr : * const pthread_attr_t , __start_routine : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > , __arg : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_exit ( __retval : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn pthread_join ( __th : pthread_t , __thread_return : * mut * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_detach ( __th : pthread_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_self ( ) -> pthread_t ; } extern "C" { pub fn pthread_equal ( __thread1 : pthread_t , __thread2 : pthread_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_init ( __attr : * mut pthread_attr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_destroy ( __attr : * mut pthread_attr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getdetachstate ( __attr : * const pthread_attr_t , __detachstate : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setdetachstate ( __attr : * mut pthread_attr_t , __detachstate : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getguardsize ( __attr : * const pthread_attr_t , __guardsize : * mut usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setguardsize ( __attr : * mut pthread_attr_t , __guardsize : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getschedparam ( __attr : * const pthread_attr_t , __param : * mut sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setschedparam ( __attr : * mut pthread_attr_t , __param : * const sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getschedpolicy ( __attr : * const pthread_attr_t , __policy : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setschedpolicy ( __attr : * mut pthread_attr_t , __policy : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getinheritsched ( __attr : * const pthread_attr_t , __inherit : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setinheritsched ( __attr : * mut pthread_attr_t , __inherit : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getscope ( __attr : * const pthread_attr_t , __scope : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setscope ( __attr : * mut pthread_attr_t , __scope : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getstackaddr ( __attr : * const pthread_attr_t , __stackaddr : * mut * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setstackaddr ( __attr : * mut pthread_attr_t , __stackaddr : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getstacksize ( __attr : * const pthread_attr_t , __stacksize : * mut usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setstacksize ( __attr : * mut pthread_attr_t , __stacksize : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_getstack ( __attr : * const pthread_attr_t , __stackaddr : * mut * mut :: std :: os :: raw :: c_void , __stacksize : * mut usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_attr_setstack ( __attr : * mut pthread_attr_t , __stackaddr : * mut :: std :: os :: raw :: c_void , __stacksize : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_setschedparam ( __target_thread : pthread_t , __policy : :: std :: os :: raw :: c_int , __param : * const sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_getschedparam ( __target_thread : pthread_t , __policy : * mut :: std :: os :: raw :: c_int , __param : * mut sched_param ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_setschedprio ( __target_thread : pthread_t , __prio : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_once ( __once_control : * mut pthread_once_t , __init_routine : :: std :: option :: Option < unsafe extern "C" fn ( ) > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_setcancelstate ( __state : :: std :: os :: raw :: c_int , __oldstate : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_setcanceltype ( __type : :: std :: os :: raw :: c_int , __oldtype : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cancel ( __th : pthread_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_testcancel ( ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __cancel_jmp_buf_tag { pub __cancel_jmp_buf : __jmp_buf , pub __mask_was_saved : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout___cancel_jmp_buf_tag ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __cancel_jmp_buf_tag > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( __cancel_jmp_buf_tag ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __cancel_jmp_buf_tag > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __cancel_jmp_buf_tag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __cancel_jmp_buf_tag > ( ) ) ) . __cancel_jmp_buf as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __cancel_jmp_buf_tag ) , "::" , stringify ! ( __cancel_jmp_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __cancel_jmp_buf_tag > ( ) ) ) . __mask_was_saved as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( __cancel_jmp_buf_tag ) , "::" , stringify ! ( __mask_was_saved ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_unwind_buf_t { pub __cancel_jmp_buf : [ __cancel_jmp_buf_tag ; 1usize ] , pub __pad : [ * mut :: std :: os :: raw :: c_void ; 4usize ] , } # [ test ] fn bindgen_test_layout___pthread_unwind_buf_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_unwind_buf_t > ( ) , 104usize , concat ! ( "Size of: " , stringify ! ( __pthread_unwind_buf_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_unwind_buf_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_unwind_buf_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_unwind_buf_t > ( ) ) ) . __cancel_jmp_buf as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_unwind_buf_t ) , "::" , stringify ! ( __cancel_jmp_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_unwind_buf_t > ( ) ) ) . __pad as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_unwind_buf_t ) , "::" , stringify ! ( __pad ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_cleanup_frame { pub __cancel_routine : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void ) > , pub __cancel_arg : * mut :: std :: os :: raw :: c_void , pub __do_it : :: std :: os :: raw :: c_int , pub __cancel_type : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout___pthread_cleanup_frame ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cleanup_frame > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( __pthread_cleanup_frame ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cleanup_frame > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cleanup_frame ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cleanup_frame > ( ) ) ) . __cancel_routine as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cleanup_frame ) , "::" , stringify ! ( __cancel_routine ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cleanup_frame > ( ) ) ) . __cancel_arg as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cleanup_frame ) , "::" , stringify ! ( __cancel_arg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cleanup_frame > ( ) ) ) . __do_it as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cleanup_frame ) , "::" , stringify ! ( __do_it ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cleanup_frame > ( ) ) ) . __cancel_type as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cleanup_frame ) , "::" , stringify ! ( __cancel_type ) ) ) ; } extern "C" { pub fn __pthread_register_cancel ( __buf : * mut __pthread_unwind_buf_t ) ; } extern "C" { pub fn __pthread_unregister_cancel ( __buf : * mut __pthread_unwind_buf_t ) ; } extern "C" { pub fn __pthread_unwind_next ( __buf : * mut __pthread_unwind_buf_t ) ; } extern "C" { pub fn __sigsetjmp ( __env : * mut __jmp_buf_tag , __savemask : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_init ( __mutex : * mut pthread_mutex_t , __mutexattr : * const pthread_mutexattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_destroy ( __mutex : * mut pthread_mutex_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_trylock ( __mutex : * mut pthread_mutex_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_lock ( __mutex : * mut pthread_mutex_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_timedlock ( __mutex : * mut pthread_mutex_t , __abstime : * const timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_unlock ( __mutex : * mut pthread_mutex_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_getprioceiling ( __mutex : * const pthread_mutex_t , __prioceiling : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_setprioceiling ( __mutex : * mut pthread_mutex_t , __prioceiling : :: std :: os :: raw :: c_int , __old_ceiling : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutex_consistent ( __mutex : * mut pthread_mutex_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_init ( __attr : * mut pthread_mutexattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_destroy ( __attr : * mut pthread_mutexattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_getpshared ( __attr : * const pthread_mutexattr_t , __pshared : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_setpshared ( __attr : * mut pthread_mutexattr_t , __pshared : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_gettype ( __attr : * const pthread_mutexattr_t , __kind : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_settype ( __attr : * mut pthread_mutexattr_t , __kind : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_getprotocol ( __attr : * const pthread_mutexattr_t , __protocol : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_setprotocol ( __attr : * mut pthread_mutexattr_t , __protocol : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_getprioceiling ( __attr : * const pthread_mutexattr_t , __prioceiling : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_setprioceiling ( __attr : * mut pthread_mutexattr_t , __prioceiling : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_getrobust ( __attr : * const pthread_mutexattr_t , __robustness : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_mutexattr_setrobust ( __attr : * mut pthread_mutexattr_t , __robustness : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_init ( __rwlock : * mut pthread_rwlock_t , __attr : * const pthread_rwlockattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_destroy ( __rwlock : * mut pthread_rwlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_rdlock ( __rwlock : * mut pthread_rwlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_tryrdlock ( __rwlock : * mut pthread_rwlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_timedrdlock ( __rwlock : * mut pthread_rwlock_t , __abstime : * const timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_wrlock ( __rwlock : * mut pthread_rwlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_trywrlock ( __rwlock : * mut pthread_rwlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_timedwrlock ( __rwlock : * mut pthread_rwlock_t , __abstime : * const timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlock_unlock ( __rwlock : * mut pthread_rwlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlockattr_init ( __attr : * mut pthread_rwlockattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlockattr_destroy ( __attr : * mut pthread_rwlockattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlockattr_getpshared ( __attr : * const pthread_rwlockattr_t , __pshared : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlockattr_setpshared ( __attr : * mut pthread_rwlockattr_t , __pshared : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlockattr_getkind_np ( __attr : * const pthread_rwlockattr_t , __pref : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_rwlockattr_setkind_np ( __attr : * mut pthread_rwlockattr_t , __pref : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cond_init ( __cond : * mut pthread_cond_t , __cond_attr : * const pthread_condattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cond_destroy ( __cond : * mut pthread_cond_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cond_signal ( __cond : * mut pthread_cond_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cond_broadcast ( __cond : * mut pthread_cond_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cond_wait ( __cond : * mut pthread_cond_t , __mutex : * mut pthread_mutex_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_cond_timedwait ( __cond : * mut pthread_cond_t , __mutex : * mut pthread_mutex_t , __abstime : * const timespec ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_condattr_init ( __attr : * mut pthread_condattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_condattr_destroy ( __attr : * mut pthread_condattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_condattr_getpshared ( __attr : * const pthread_condattr_t , __pshared : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_condattr_setpshared ( __attr : * mut pthread_condattr_t , __pshared : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_condattr_getclock ( __attr : * const pthread_condattr_t , __clock_id : * mut __clockid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_condattr_setclock ( __attr : * mut pthread_condattr_t , __clock_id : __clockid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_spin_init ( __lock : * mut pthread_spinlock_t , __pshared : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_spin_destroy ( __lock : * mut pthread_spinlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_spin_lock ( __lock : * mut pthread_spinlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_spin_trylock ( __lock : * mut pthread_spinlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_spin_unlock ( __lock : * mut pthread_spinlock_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrier_init ( __barrier : * mut pthread_barrier_t , __attr : * const pthread_barrierattr_t , __count : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrier_destroy ( __barrier : * mut pthread_barrier_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrier_wait ( __barrier : * mut pthread_barrier_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrierattr_init ( __attr : * mut pthread_barrierattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrierattr_destroy ( __attr : * mut pthread_barrierattr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrierattr_getpshared ( __attr : * const pthread_barrierattr_t , __pshared : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_barrierattr_setpshared ( __attr : * mut pthread_barrierattr_t , __pshared : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_key_create ( __key : * mut pthread_key_t , __destr_function : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void ) > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_key_delete ( __key : pthread_key_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_getspecific ( __key : pthread_key_t ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn pthread_setspecific ( __key : pthread_key_t , __pointer : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_getcpuclockid ( __thread_id : pthread_t , __clock_id : * mut __clockid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pthread_atfork ( __prepare : :: std :: option :: Option < unsafe extern "C" fn ( ) > , __parent : :: std :: option :: Option < unsafe extern "C" fn ( ) > , __child : :: std :: option :: Option < unsafe extern "C" fn ( ) > ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct GStaticMutex { pub mutex : * mut GMutex , pub unused : pthread_mutex_t , } # [ test ] fn bindgen_test_layout_GStaticMutex ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GStaticMutex > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( GStaticMutex ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GStaticMutex > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( GStaticMutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GStaticMutex > ( ) ) ) . mutex as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GStaticMutex ) , "::" , stringify ! ( mutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GStaticMutex > ( ) ) ) . unused as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( GStaticMutex ) , "::" , stringify ! ( unused ) ) ) ; } extern "C" { pub fn g_static_mutex_init ( mutex : * mut GStaticMutex ) ; } extern "C" { pub fn g_static_mutex_free ( mutex : * mut GStaticMutex ) ; } extern "C" { pub fn g_static_mutex_get_mutex_impl ( mutex : * mut GStaticMutex ) -> * mut GMutex ; } pub type GStaticRecMutex = _GStaticRecMutex ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GStaticRecMutex { pub mutex : GStaticMutex , pub depth : guint , pub unused : _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) { pub owner : pthread_t , pub dummy : gdouble , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout__GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) > ( ) ) ) . owner as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) ) , "::" , stringify ! ( owner ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) > ( ) ) ) . dummy as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRecMutex_union_(unnamed_at_/usr/include/glib-2_0/glib/deprecated/gthread_h_169_3) ) , "::" , stringify ! ( dummy ) ) ) ; } # [ test ] fn bindgen_test_layout__GStaticRecMutex ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GStaticRecMutex > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _GStaticRecMutex ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GStaticRecMutex > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GStaticRecMutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRecMutex > ( ) ) ) . mutex as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRecMutex ) , "::" , stringify ! ( mutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRecMutex > ( ) ) ) . depth as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRecMutex ) , "::" , stringify ! ( depth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRecMutex > ( ) ) ) . unused as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRecMutex ) , "::" , stringify ! ( unused ) ) ) ; } extern "C" { pub fn g_static_rec_mutex_init ( mutex : * mut GStaticRecMutex ) ; } extern "C" { pub fn g_static_rec_mutex_lock ( mutex : * mut GStaticRecMutex ) ; } extern "C" { pub fn g_static_rec_mutex_trylock ( mutex : * mut GStaticRecMutex ) -> gboolean ; } extern "C" { pub fn g_static_rec_mutex_unlock ( mutex : * mut GStaticRecMutex ) ; } extern "C" { pub fn g_static_rec_mutex_lock_full ( mutex : * mut GStaticRecMutex , depth : guint ) ; } extern "C" { pub fn g_static_rec_mutex_unlock_full ( mutex : * mut GStaticRecMutex ) -> guint ; } extern "C" { pub fn g_static_rec_mutex_free ( mutex : * mut GStaticRecMutex ) ; } pub type GStaticRWLock = _GStaticRWLock ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GStaticRWLock { pub mutex : GStaticMutex , pub read_cond : * mut GCond , pub write_cond : * mut GCond , pub read_counter : guint , pub have_writer : gboolean , pub want_to_read : guint , pub want_to_write : guint , } # [ test ] fn bindgen_test_layout__GStaticRWLock ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GStaticRWLock > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GStaticRWLock ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GStaticRWLock > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GStaticRWLock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . mutex as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( mutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . read_cond as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( read_cond ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . write_cond as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( write_cond ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . read_counter as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( read_counter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . have_writer as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( have_writer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . want_to_read as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( want_to_read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticRWLock > ( ) ) ) . want_to_write as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticRWLock ) , "::" , stringify ! ( want_to_write ) ) ) ; } extern "C" { pub fn g_static_rw_lock_init ( lock : * mut GStaticRWLock ) ; } extern "C" { pub fn g_static_rw_lock_reader_lock ( lock : * mut GStaticRWLock ) ; } extern "C" { pub fn g_static_rw_lock_reader_trylock ( lock : * mut GStaticRWLock ) -> gboolean ; } extern "C" { pub fn g_static_rw_lock_reader_unlock ( lock : * mut GStaticRWLock ) ; } extern "C" { pub fn g_static_rw_lock_writer_lock ( lock : * mut GStaticRWLock ) ; } extern "C" { pub fn g_static_rw_lock_writer_trylock ( lock : * mut GStaticRWLock ) -> gboolean ; } extern "C" { pub fn g_static_rw_lock_writer_unlock ( lock : * mut GStaticRWLock ) ; } extern "C" { pub fn g_static_rw_lock_free ( lock : * mut GStaticRWLock ) ; } extern "C" { pub fn g_private_new ( notify : GDestroyNotify ) -> * mut GPrivate ; } pub type GStaticPrivate = _GStaticPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GStaticPrivate { pub index : guint , } # [ test ] fn bindgen_test_layout__GStaticPrivate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GStaticPrivate > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _GStaticPrivate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GStaticPrivate > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GStaticPrivate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticPrivate > ( ) ) ) . index as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticPrivate ) , "::" , stringify ! ( index ) ) ) ; } extern "C" { pub fn g_static_private_init ( private_key : * mut GStaticPrivate ) ; } extern "C" { pub fn g_static_private_get ( private_key : * mut GStaticPrivate ) -> gpointer ; } extern "C" { pub fn g_static_private_set ( private_key : * mut GStaticPrivate , data : gpointer , notify : GDestroyNotify ) ; } extern "C" { pub fn g_static_private_free ( private_key : * mut GStaticPrivate ) ; } extern "C" { pub fn g_once_init_enter_impl ( location : * mut gsize ) -> gboolean ; } extern "C" { pub fn g_thread_init ( vtable : gpointer ) ; } extern "C" { pub fn g_thread_init_with_errorcheck_mutexes ( vtable : gpointer ) ; } extern "C" { pub fn g_thread_get_initialized ( ) -> gboolean ; } extern "C" { # [ link_name = "\u{1}g_threads_got_initialized" ] pub static mut g_threads_got_initialized : gboolean ; } extern "C" { pub fn g_mutex_new ( ) -> * mut GMutex ; } extern "C" { pub fn g_mutex_free ( mutex : * mut GMutex ) ; } extern "C" { pub fn g_cond_new ( ) -> * mut GCond ; } extern "C" { pub fn g_cond_free ( cond : * mut GCond ) ; } extern "C" { pub fn g_cond_timed_wait ( cond : * mut GCond , mutex : * mut GMutex , abs_time : * mut GTimeVal ) -> gboolean ; } pub type GAsyncQueue_autoptr = * mut GAsyncQueue ; pub type GAsyncQueue_listautoptr = * mut GList ; pub type GAsyncQueue_slistautoptr = * mut GSList ; pub type GAsyncQueue_queueautoptr = * mut GQueue ; pub type GBookmarkFile_autoptr = * mut GBookmarkFile ; pub type GBookmarkFile_listautoptr = * mut GList ; pub type GBookmarkFile_slistautoptr = * mut GSList ; pub type GBookmarkFile_queueautoptr = * mut GQueue ; pub type GBytes_autoptr = * mut GBytes ; pub type GBytes_listautoptr = * mut GList ; pub type GBytes_slistautoptr = * mut GSList ; pub type GBytes_queueautoptr = * mut GQueue ; pub type GChecksum_autoptr = * mut GChecksum ; pub type GChecksum_listautoptr = * mut GList ; pub type GChecksum_slistautoptr = * mut GSList ; pub type GChecksum_queueautoptr = * mut GQueue ; pub type GDateTime_autoptr = * mut GDateTime ; pub type GDateTime_listautoptr = * mut GList ; pub type GDateTime_slistautoptr = * mut GSList ; pub type GDateTime_queueautoptr = * mut GQueue ; pub type GDate_autoptr = * mut GDate ; pub type GDate_listautoptr = * mut GList ; pub type GDate_slistautoptr = * mut GSList ; pub type GDate_queueautoptr = * mut GQueue ; pub type GDir_autoptr = * mut GDir ; pub type GDir_listautoptr = * mut GList ; pub type GDir_slistautoptr = * mut GSList ; pub type GDir_queueautoptr = * mut GQueue ; pub type GError_autoptr = * mut GError ; pub type GError_listautoptr = * mut GList ; pub type GError_slistautoptr = * mut GSList ; pub type GError_queueautoptr = * mut GQueue ; pub type GHashTable_autoptr = * mut GHashTable ; pub type GHashTable_listautoptr = * mut GList ; pub type GHashTable_slistautoptr = * mut GSList ; pub type GHashTable_queueautoptr = * mut GQueue ; pub type GHmac_autoptr = * mut GHmac ; pub type GHmac_listautoptr = * mut GList ; pub type GHmac_slistautoptr = * mut GSList ; pub type GHmac_queueautoptr = * mut GQueue ; pub type GIOChannel_autoptr = * mut GIOChannel ; pub type GIOChannel_listautoptr = * mut GList ; pub type GIOChannel_slistautoptr = * mut GSList ; pub type GIOChannel_queueautoptr = * mut GQueue ; pub type GKeyFile_autoptr = * mut GKeyFile ; pub type GKeyFile_listautoptr = * mut GList ; pub type GKeyFile_slistautoptr = * mut GSList ; pub type GKeyFile_queueautoptr = * mut GQueue ; pub type GList_autoptr = * mut GList ; pub type GList_listautoptr = * mut GList ; pub type GList_slistautoptr = * mut GSList ; pub type GList_queueautoptr = * mut GQueue ; pub type GArray_autoptr = * mut GArray ; pub type GArray_listautoptr = * mut GList ; pub type GArray_slistautoptr = * mut GSList ; pub type GArray_queueautoptr = * mut GQueue ; pub type GPtrArray_autoptr = * mut GPtrArray ; pub type GPtrArray_listautoptr = * mut GList ; pub type GPtrArray_slistautoptr = * mut GSList ; pub type GPtrArray_queueautoptr = * mut GQueue ; pub type GByteArray_autoptr = * mut GByteArray ; pub type GByteArray_listautoptr = * mut GList ; pub type GByteArray_slistautoptr = * mut GSList ; pub type GByteArray_queueautoptr = * mut GQueue ; pub type GMainContext_autoptr = * mut GMainContext ; pub type GMainContext_listautoptr = * mut GList ; pub type GMainContext_slistautoptr = * mut GSList ; pub type GMainContext_queueautoptr = * mut GQueue ; pub type GMainContextPusher_autoptr = * mut GMainContextPusher ; pub type GMainContextPusher_listautoptr = * mut GList ; pub type GMainContextPusher_slistautoptr = * mut GSList ; pub type GMainContextPusher_queueautoptr = * mut GQueue ; pub type GMainLoop_autoptr = * mut GMainLoop ; pub type GMainLoop_listautoptr = * mut GList ; pub type GMainLoop_slistautoptr = * mut GSList ; pub type GMainLoop_queueautoptr = * mut GQueue ; pub type GSource_autoptr = * mut GSource ; pub type GSource_listautoptr = * mut GList ; pub type GSource_slistautoptr = * mut GSList ; pub type GSource_queueautoptr = * mut GQueue ; pub type GMappedFile_autoptr = * mut GMappedFile ; pub type GMappedFile_listautoptr = * mut GList ; pub type GMappedFile_slistautoptr = * mut GSList ; pub type GMappedFile_queueautoptr = * mut GQueue ; pub type GMarkupParseContext_autoptr = * mut GMarkupParseContext ; pub type GMarkupParseContext_listautoptr = * mut GList ; pub type GMarkupParseContext_slistautoptr = * mut GSList ; pub type GMarkupParseContext_queueautoptr = * mut GQueue ; pub type GNode_autoptr = * mut GNode ; pub type GNode_listautoptr = * mut GList ; pub type GNode_slistautoptr = * mut GSList ; pub type GNode_queueautoptr = * mut GQueue ; pub type GOptionContext_autoptr = * mut GOptionContext ; pub type GOptionContext_listautoptr = * mut GList ; pub type GOptionContext_slistautoptr = * mut GSList ; pub type GOptionContext_queueautoptr = * mut GQueue ; pub type GOptionGroup_autoptr = * mut GOptionGroup ; pub type GOptionGroup_listautoptr = * mut GList ; pub type GOptionGroup_slistautoptr = * mut GSList ; pub type GOptionGroup_queueautoptr = * mut GQueue ; pub type GPatternSpec_autoptr = * mut GPatternSpec ; pub type GPatternSpec_listautoptr = * mut GList ; pub type GPatternSpec_slistautoptr = * mut GSList ; pub type GPatternSpec_queueautoptr = * mut GQueue ; pub type GQueue_autoptr = * mut GQueue ; pub type GQueue_listautoptr = * mut GList ; pub type GQueue_slistautoptr = * mut GSList ; pub type GQueue_queueautoptr = * mut GQueue ; pub type GRand_autoptr = * mut GRand ; pub type GRand_listautoptr = * mut GList ; pub type GRand_slistautoptr = * mut GSList ; pub type GRand_queueautoptr = * mut GQueue ; pub type GRegex_autoptr = * mut GRegex ; pub type GRegex_listautoptr = * mut GList ; pub type GRegex_slistautoptr = * mut GSList ; pub type GRegex_queueautoptr = * mut GQueue ; pub type GMatchInfo_autoptr = * mut GMatchInfo ; pub type GMatchInfo_listautoptr = * mut GList ; pub type GMatchInfo_slistautoptr = * mut GSList ; pub type GMatchInfo_queueautoptr = * mut GQueue ; pub type GScanner_autoptr = * mut GScanner ; pub type GScanner_listautoptr = * mut GList ; pub type GScanner_slistautoptr = * mut GSList ; pub type GScanner_queueautoptr = * mut GQueue ; pub type GSequence_autoptr = * mut GSequence ; pub type GSequence_listautoptr = * mut GList ; pub type GSequence_slistautoptr = * mut GSList ; pub type GSequence_queueautoptr = * mut GQueue ; pub type GSList_autoptr = * mut GSList ; pub type GSList_listautoptr = * mut GList ; pub type GSList_slistautoptr = * mut GSList ; pub type GSList_queueautoptr = * mut GQueue ; pub type GString_autoptr = * mut GString ; pub type GString_listautoptr = * mut GList ; pub type GString_slistautoptr = * mut GSList ; pub type GString_queueautoptr = * mut GQueue ; pub type GStringChunk_autoptr = * mut GStringChunk ; pub type GStringChunk_listautoptr = * mut GList ; pub type GStringChunk_slistautoptr = * mut GSList ; pub type GStringChunk_queueautoptr = * mut GQueue ; pub type GStrvBuilder_autoptr = * mut GStrvBuilder ; pub type GStrvBuilder_listautoptr = * mut GList ; pub type GStrvBuilder_slistautoptr = * mut GSList ; pub type GStrvBuilder_queueautoptr = * mut GQueue ; pub type GThread_autoptr = * mut GThread ; pub type GThread_listautoptr = * mut GList ; pub type GThread_slistautoptr = * mut GSList ; pub type GThread_queueautoptr = * mut GQueue ; pub type GMutexLocker_autoptr = * mut GMutexLocker ; pub type GMutexLocker_listautoptr = * mut GList ; pub type GMutexLocker_slistautoptr = * mut GSList ; pub type GMutexLocker_queueautoptr = * mut GQueue ; pub type GRecMutexLocker_autoptr = * mut GRecMutexLocker ; pub type GRecMutexLocker_listautoptr = * mut GList ; pub type GRecMutexLocker_slistautoptr = * mut GSList ; pub type GRecMutexLocker_queueautoptr = * mut GQueue ; pub type GRWLockWriterLocker_autoptr = * mut GRWLockWriterLocker ; pub type GRWLockWriterLocker_listautoptr = * mut GList ; pub type GRWLockWriterLocker_slistautoptr = * mut GSList ; pub type GRWLockWriterLocker_queueautoptr = * mut GQueue ; pub type GRWLockReaderLocker_autoptr = * mut GRWLockReaderLocker ; pub type GRWLockReaderLocker_listautoptr = * mut GList ; pub type GRWLockReaderLocker_slistautoptr = * mut GSList ; pub type GRWLockReaderLocker_queueautoptr = * mut GQueue ; pub type GTimer_autoptr = * mut GTimer ; pub type GTimer_listautoptr = * mut GList ; pub type GTimer_slistautoptr = * mut GSList ; pub type GTimer_queueautoptr = * mut GQueue ; pub type GTimeZone_autoptr = * mut GTimeZone ; pub type GTimeZone_listautoptr = * mut GList ; pub type GTimeZone_slistautoptr = * mut GSList ; pub type GTimeZone_queueautoptr = * mut GQueue ; pub type GTree_autoptr = * mut GTree ; pub type GTree_listautoptr = * mut GList ; pub type GTree_slistautoptr = * mut GSList ; pub type GTree_queueautoptr = * mut GQueue ; pub type GVariant_autoptr = * mut GVariant ; pub type GVariant_listautoptr = * mut GList ; pub type GVariant_slistautoptr = * mut GSList ; pub type GVariant_queueautoptr = * mut GQueue ; pub type GVariantBuilder_autoptr = * mut GVariantBuilder ; pub type GVariantBuilder_listautoptr = * mut GList ; pub type GVariantBuilder_slistautoptr = * mut GSList ; pub type GVariantBuilder_queueautoptr = * mut GQueue ; pub type GVariantIter_autoptr = * mut GVariantIter ; pub type GVariantIter_listautoptr = * mut GList ; pub type GVariantIter_slistautoptr = * mut GSList ; pub type GVariantIter_queueautoptr = * mut GQueue ; pub type GVariantDict_autoptr = * mut GVariantDict ; pub type GVariantDict_listautoptr = * mut GList ; pub type GVariantDict_slistautoptr = * mut GSList ; pub type GVariantDict_queueautoptr = * mut GQueue ; pub type GVariantType_autoptr = * mut GVariantType ; pub type GVariantType_listautoptr = * mut GList ; pub type GVariantType_slistautoptr = * mut GSList ; pub type GVariantType_queueautoptr = * mut GQueue ; pub type GRefString_autoptr = * mut GRefString ; pub type GRefString_listautoptr = * mut GList ; pub type GRefString_slistautoptr = * mut GSList ; pub type GRefString_queueautoptr = * mut GQueue ; pub type GUri_autoptr = * mut GUri ; pub type GUri_listautoptr = * mut GList ; pub type GUri_slistautoptr = * mut GSList ; pub type GUri_queueautoptr = * mut GQueue ; pub type GPathBuf_autoptr = * mut GPathBuf ; pub type GPathBuf_listautoptr = * mut GList ; pub type GPathBuf_slistautoptr = * mut GSList ; pub type GPathBuf_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) { 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_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) > ( ) ) ) . __wch as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) ) , "::" , stringify ! ( __wch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) > ( ) ) ) . __wchb as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3) ) , "::" , stringify ! ( __wchb ) ) ) ; } # [ test ] fn bindgen_test_layout___mbstate_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __value as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __state ) ) ) ; } pub type __fpos_t = _G_fpos_t ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos64_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos64_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos64_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __state ) ) ) ; } pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_codecvt { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_wide_data { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [ :: std :: os :: raw :: c_char ; 1usize ] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub __pad5 : 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 > ( ) ) ) . _codecvt as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _codecvt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _wide_data as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _wide_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _freeres_list as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _freeres_list ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _freeres_buf as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _freeres_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad5 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _mode as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _unused2 as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _unused2 ) ) ) ; } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [ test ] fn bindgen_test_layout__IO_cookie_io_functions_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_cookie_io_functions_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _IO_cookie_io_functions_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_cookie_io_functions_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_cookie_io_functions_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_cookie_io_functions_t > ( ) ) ) . read as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_cookie_io_functions_t ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_cookie_io_functions_t > ( ) ) ) . write as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_cookie_io_functions_t ) , "::" , stringify ! ( write ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_cookie_io_functions_t > ( ) ) ) . seek as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_cookie_io_functions_t ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_cookie_io_functions_t > ( ) ) ) . close as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _IO_cookie_io_functions_t ) , "::" , stringify ! ( close ) ) ) ; } pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type fpos_t = __fpos_t ; extern "C" { # [ link_name = "\u{1}stdin" ] pub static mut stdin : * mut FILE ; } extern "C" { # [ link_name = "\u{1}stdout" ] pub static mut stdout : * mut FILE ; } extern "C" { # [ link_name = "\u{1}stderr" ] pub static mut stderr : * mut FILE ; } extern "C" { pub fn remove ( __filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rename ( __old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn renameat ( __oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tmpfile ( ) -> * mut FILE ; } extern "C" { pub fn tmpnam ( arg1 : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tmpnam_r ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tempnam ( __dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fflush ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn freopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> * mut FILE ; } extern "C" { pub fn fdopen ( __fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn fopencookie ( __magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t ) -> * mut FILE ; } extern "C" { pub fn fmemopen ( __s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : usize , __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 : usize , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vasprintf ( __ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __asprintf ( __ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn asprintf ( __ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn fileno ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fileno_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn popen ( __command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn ctermid ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn flockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn ftrylockfile ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn funlockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn __uflow ( arg1 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_printf ( format : * const gchar , ... ) -> gint ; } extern "C" { pub fn g_fprintf ( file : * mut FILE , format : * const gchar , ... ) -> gint ; } extern "C" { pub fn g_sprintf ( string : * mut gchar , format : * const gchar , ... ) -> gint ; } extern "C" { pub fn g_vprintf ( format : * const gchar , args : * mut __va_list_tag ) -> gint ; } extern "C" { pub fn g_vfprintf ( file : * mut FILE , format : * const gchar , args : * mut __va_list_tag ) -> gint ; } extern "C" { pub fn g_vsprintf ( string : * mut gchar , format : * const gchar , args : * mut __va_list_tag ) -> gint ; } extern "C" { pub fn g_vasprintf ( string : * mut * mut gchar , format : * const gchar , args : * mut __va_list_tag ) -> gint ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stat { pub st_dev : __dev_t , pub st_ino : __ino_t , pub st_nlink : __nlink_t , pub st_mode : __mode_t , pub st_uid : __uid_t , pub st_gid : __gid_t , pub __pad0 : :: std :: os :: raw :: c_int , pub st_rdev : __dev_t , pub st_size : __off_t , pub st_blksize : __blksize_t , pub st_blocks : __blkcnt_t , pub st_atim : timespec , pub st_mtim : timespec , pub st_ctim : timespec , pub __glibc_reserved : [ __syscall_slong_t ; 3usize ] , } # [ test ] fn bindgen_test_layout_stat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stat > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( stat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stat > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_dev as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_dev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_ino as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_ino ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_nlink as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_nlink ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_mode as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_uid as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_gid as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . __pad0 as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( __pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_rdev as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_rdev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_size as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_blksize as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_blksize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_blocks as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_blocks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_atim as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_atim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_mtim as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_mtim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_ctim as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_ctim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . __glibc_reserved as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( __glibc_reserved ) ) ) ; } extern "C" { pub fn stat ( __file : * const :: std :: os :: raw :: c_char , __buf : * mut stat ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fstat ( __fd : :: std :: os :: raw :: c_int , __buf : * mut stat ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fstatat ( __fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __buf : * mut stat , __flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lstat ( __file : * const :: std :: os :: raw :: c_char , __buf : * mut stat ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chmod ( __file : * const :: std :: os :: raw :: c_char , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lchmod ( __file : * const :: std :: os :: raw :: c_char , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fchmod ( __fd : :: std :: os :: raw :: c_int , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fchmodat ( __fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __mode : __mode_t , __flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn umask ( __mask : __mode_t ) -> __mode_t ; } extern "C" { pub fn mkdir ( __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkdirat ( __fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mknod ( __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t , __dev : __dev_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mknodat ( __fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t , __dev : __dev_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkfifo ( __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkfifoat ( __fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __mode : __mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn utimensat ( __fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __times : * const timespec , __flags : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn futimens ( __fd : :: std :: os :: raw :: c_int , __times : * const timespec ) -> :: std :: os :: raw :: c_int ; } pub type GStatBuf = stat ; extern "C" { pub fn g_access ( filename : * const gchar , mode : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_chdir ( path : * const gchar ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_unlink ( filename : * const gchar ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_rmdir ( filename : * const gchar ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_close ( fd : gint , error : * mut * mut GError ) -> gboolean ; } pub const GModuleFlags_G_MODULE_BIND_LAZY : GModuleFlags = 1 ; pub const GModuleFlags_G_MODULE_BIND_LOCAL : GModuleFlags = 2 ; pub const GModuleFlags_G_MODULE_BIND_MASK : GModuleFlags = 3 ; pub type GModuleFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GModule { _unused : [ u8 ; 0 ] , } pub type GModule = _GModule ; pub type GModuleCheckInit = :: std :: option :: Option < unsafe extern "C" fn ( module : * mut GModule ) -> * const gchar > ; pub type GModuleUnload = :: std :: option :: Option < unsafe extern "C" fn ( module : * mut GModule ) > ; extern "C" { pub fn g_module_error_quark ( ) -> GQuark ; } pub const GModuleError_G_MODULE_ERROR_FAILED : GModuleError = 0 ; pub const GModuleError_G_MODULE_ERROR_CHECK_FAILED : GModuleError = 1 ; pub type GModuleError = u32 ; extern "C" { pub fn g_module_supported ( ) -> gboolean ; } extern "C" { pub fn g_module_open ( file_name : * const gchar , flags : GModuleFlags ) -> * mut GModule ; } extern "C" { pub fn g_module_open_full ( file_name : * const gchar , flags : GModuleFlags , error : * mut * mut GError ) -> * mut GModule ; } extern "C" { pub fn g_module_close ( module : * mut GModule ) -> gboolean ; } extern "C" { pub fn g_module_make_resident ( module : * mut GModule ) ; } extern "C" { pub fn g_module_error ( ) -> * const gchar ; } extern "C" { pub fn g_module_symbol ( module : * mut GModule , symbol_name : * const gchar , symbol : * mut gpointer ) -> gboolean ; } extern "C" { pub fn g_module_name ( module : * mut GModule ) -> * const gchar ; } extern "C" { pub fn g_module_build_path ( directory : * const gchar , module_name : * const gchar ) -> * mut gchar ; } pub type GType = gsize ; pub type GValue = _GValue ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GTypeCValue { _unused : [ u8 ; 0 ] , } pub type GTypeCValue = _GTypeCValue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypePlugin { _unused : [ u8 ; 0 ] , } pub type GTypePlugin = _GTypePlugin ; pub type GTypeClass = _GTypeClass ; pub type GTypeInterface = _GTypeInterface ; pub type GTypeInstance = _GTypeInstance ; pub type GTypeInfo = _GTypeInfo ; pub type GTypeFundamentalInfo = _GTypeFundamentalInfo ; pub type GInterfaceInfo = _GInterfaceInfo ; pub type GTypeValueTable = _GTypeValueTable ; pub type GTypeQuery = _GTypeQuery ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeClass { pub g_type : GType , } # [ test ] fn bindgen_test_layout__GTypeClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeClass > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GTypeClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeClass > ( ) ) ) . g_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeClass ) , "::" , stringify ! ( g_type ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeInstance { pub g_class : * mut GTypeClass , } # [ test ] fn bindgen_test_layout__GTypeInstance ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeInstance > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GTypeInstance ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeInstance > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeInstance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInstance > ( ) ) ) . g_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInstance ) , "::" , stringify ! ( g_class ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeInterface { pub g_type : GType , pub g_instance_type : GType , } # [ test ] fn bindgen_test_layout__GTypeInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeInterface > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GTypeInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInterface > ( ) ) ) . g_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInterface ) , "::" , stringify ! ( g_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInterface > ( ) ) ) . g_instance_type as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInterface ) , "::" , stringify ! ( g_instance_type ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeQuery { pub type_ : GType , pub type_name : * const gchar , pub class_size : guint , pub instance_size : guint , } # [ test ] fn bindgen_test_layout__GTypeQuery ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeQuery > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GTypeQuery ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeQuery > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeQuery ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeQuery > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeQuery ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeQuery > ( ) ) ) . type_name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeQuery ) , "::" , stringify ! ( type_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeQuery > ( ) ) ) . class_size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeQuery ) , "::" , stringify ! ( class_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeQuery > ( ) ) ) . instance_size as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeQuery ) , "::" , stringify ! ( instance_size ) ) ) ; } pub const GTypeDebugFlags_G_TYPE_DEBUG_NONE : GTypeDebugFlags = 0 ; pub const GTypeDebugFlags_G_TYPE_DEBUG_OBJECTS : GTypeDebugFlags = 1 ; pub const GTypeDebugFlags_G_TYPE_DEBUG_SIGNALS : GTypeDebugFlags = 2 ; pub const GTypeDebugFlags_G_TYPE_DEBUG_INSTANCE_COUNT : GTypeDebugFlags = 4 ; pub const GTypeDebugFlags_G_TYPE_DEBUG_MASK : GTypeDebugFlags = 7 ; pub type GTypeDebugFlags = u32 ; extern "C" { pub fn g_type_init ( ) ; } extern "C" { pub fn g_type_init_with_debug_flags ( debug_flags : GTypeDebugFlags ) ; } extern "C" { pub fn g_type_name ( type_ : GType ) -> * const gchar ; } extern "C" { pub fn g_type_qname ( type_ : GType ) -> GQuark ; } extern "C" { pub fn g_type_from_name ( name : * const gchar ) -> GType ; } extern "C" { pub fn g_type_parent ( type_ : GType ) -> GType ; } extern "C" { pub fn g_type_depth ( type_ : GType ) -> guint ; } extern "C" { pub fn g_type_next_base ( leaf_type : GType , root_type : GType ) -> GType ; } extern "C" { pub fn g_type_is_a ( type_ : GType , is_a_type : GType ) -> gboolean ; } extern "C" { pub fn g_type_class_ref ( type_ : GType ) -> gpointer ; } extern "C" { pub fn g_type_class_peek ( type_ : GType ) -> gpointer ; } extern "C" { pub fn g_type_class_peek_static ( type_ : GType ) -> gpointer ; } extern "C" { pub fn g_type_class_unref ( g_class : gpointer ) ; } extern "C" { pub fn g_type_class_peek_parent ( g_class : gpointer ) -> gpointer ; } extern "C" { pub fn g_type_interface_peek ( instance_class : gpointer , iface_type : GType ) -> gpointer ; } extern "C" { pub fn g_type_interface_peek_parent ( g_iface : gpointer ) -> gpointer ; } extern "C" { pub fn g_type_default_interface_ref ( g_type : GType ) -> gpointer ; } extern "C" { pub fn g_type_default_interface_peek ( g_type : GType ) -> gpointer ; } extern "C" { pub fn g_type_default_interface_unref ( g_iface : gpointer ) ; } extern "C" { pub fn g_type_children ( type_ : GType , n_children : * mut guint ) -> * mut GType ; } extern "C" { pub fn g_type_interfaces ( type_ : GType , n_interfaces : * mut guint ) -> * mut GType ; } extern "C" { pub fn g_type_set_qdata ( type_ : GType , quark : GQuark , data : gpointer ) ; } extern "C" { pub fn g_type_get_qdata ( type_ : GType , quark : GQuark ) -> gpointer ; } extern "C" { pub fn g_type_query ( type_ : GType , query : * mut GTypeQuery ) ; } extern "C" { pub fn g_type_get_instance_count ( type_ : GType ) -> :: std :: os :: raw :: c_int ; } pub type GBaseInitFunc = :: std :: option :: Option < unsafe extern "C" fn ( g_class : gpointer ) > ; pub type GBaseFinalizeFunc = :: std :: option :: Option < unsafe extern "C" fn ( g_class : gpointer ) > ; pub type GClassInitFunc = :: std :: option :: Option < unsafe extern "C" fn ( g_class : gpointer , class_data : gpointer ) > ; pub type GClassFinalizeFunc = :: std :: option :: Option < unsafe extern "C" fn ( g_class : gpointer , class_data : gpointer ) > ; pub type GInstanceInitFunc = :: std :: option :: Option < unsafe extern "C" fn ( instance : * mut GTypeInstance , g_class : gpointer ) > ; pub type GInterfaceInitFunc = :: std :: option :: Option < unsafe extern "C" fn ( g_iface : gpointer , iface_data : gpointer ) > ; pub type GInterfaceFinalizeFunc = :: std :: option :: Option < unsafe extern "C" fn ( g_iface : gpointer , iface_data : gpointer ) > ; pub type GTypeClassCacheFunc = :: std :: option :: Option < unsafe extern "C" fn ( cache_data : gpointer , g_class : * mut GTypeClass ) -> gboolean > ; pub type GTypeInterfaceCheckFunc = :: std :: option :: Option < unsafe extern "C" fn ( check_data : gpointer , g_iface : gpointer ) > ; pub const GTypeFundamentalFlags_G_TYPE_FLAG_CLASSED : GTypeFundamentalFlags = 1 ; pub const GTypeFundamentalFlags_G_TYPE_FLAG_INSTANTIATABLE : GTypeFundamentalFlags = 2 ; pub const GTypeFundamentalFlags_G_TYPE_FLAG_DERIVABLE : GTypeFundamentalFlags = 4 ; pub const GTypeFundamentalFlags_G_TYPE_FLAG_DEEP_DERIVABLE : GTypeFundamentalFlags = 8 ; pub type GTypeFundamentalFlags = u32 ; pub const GTypeFlags_G_TYPE_FLAG_NONE : GTypeFlags = 0 ; pub const GTypeFlags_G_TYPE_FLAG_ABSTRACT : GTypeFlags = 16 ; pub const GTypeFlags_G_TYPE_FLAG_VALUE_ABSTRACT : GTypeFlags = 32 ; pub const GTypeFlags_G_TYPE_FLAG_FINAL : GTypeFlags = 64 ; pub const GTypeFlags_G_TYPE_FLAG_DEPRECATED : GTypeFlags = 128 ; pub type GTypeFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeInfo { pub class_size : guint16 , pub base_init : GBaseInitFunc , pub base_finalize : GBaseFinalizeFunc , pub class_init : GClassInitFunc , pub class_finalize : GClassFinalizeFunc , pub class_data : gconstpointer , pub instance_size : guint16 , pub n_preallocs : guint16 , pub instance_init : GInstanceInitFunc , pub value_table : * const GTypeValueTable , } # [ test ] fn bindgen_test_layout__GTypeInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeInfo > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( _GTypeInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . class_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( class_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . base_init as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( base_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . base_finalize as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( base_finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . class_init as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( class_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . class_finalize as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( class_finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . class_data as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( class_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . instance_size as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( instance_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . n_preallocs as * const _ as usize } , 50usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( n_preallocs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . instance_init as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( instance_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeInfo > ( ) ) ) . value_table as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeInfo ) , "::" , stringify ! ( value_table ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeFundamentalInfo { pub type_flags : GTypeFundamentalFlags , } # [ test ] fn bindgen_test_layout__GTypeFundamentalInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeFundamentalInfo > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _GTypeFundamentalInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeFundamentalInfo > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GTypeFundamentalInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeFundamentalInfo > ( ) ) ) . type_flags as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeFundamentalInfo ) , "::" , stringify ! ( type_flags ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInterfaceInfo { pub interface_init : GInterfaceInitFunc , pub interface_finalize : GInterfaceFinalizeFunc , pub interface_data : gpointer , } # [ test ] fn bindgen_test_layout__GInterfaceInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInterfaceInfo > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GInterfaceInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInterfaceInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInterfaceInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInterfaceInfo > ( ) ) ) . interface_init as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInterfaceInfo ) , "::" , stringify ! ( interface_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInterfaceInfo > ( ) ) ) . interface_finalize as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GInterfaceInfo ) , "::" , stringify ! ( interface_finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInterfaceInfo > ( ) ) ) . interface_data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GInterfaceInfo ) , "::" , stringify ! ( interface_data ) ) ) ; } pub type GTypeValueInitFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : * mut GValue ) > ; pub type GTypeValueFreeFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : * mut GValue ) > ; pub type GTypeValueCopyFunc = :: std :: option :: Option < unsafe extern "C" fn ( src_value : * const GValue , dest_value : * mut GValue ) > ; pub type GTypeValuePeekPointerFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : * const GValue ) -> gpointer > ; pub type GTypeValueCollectFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : * mut GValue , n_collect_values : guint , collect_values : * mut GTypeCValue , collect_flags : guint ) -> * mut gchar > ; pub type GTypeValueLCopyFunc = :: std :: option :: Option < unsafe extern "C" fn ( value : * const GValue , n_collect_values : guint , collect_values : * mut GTypeCValue , collect_flags : guint ) -> * mut gchar > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeValueTable { pub value_init : GTypeValueInitFunc , pub value_free : GTypeValueFreeFunc , pub value_copy : GTypeValueCopyFunc , pub value_peek_pointer : GTypeValuePeekPointerFunc , pub collect_format : * const gchar , pub collect_value : GTypeValueCollectFunc , pub lcopy_format : * const gchar , pub lcopy_value : GTypeValueLCopyFunc , } # [ test ] fn bindgen_test_layout__GTypeValueTable ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeValueTable > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _GTypeValueTable ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeValueTable > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeValueTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . value_init as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( value_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . value_free as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( value_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . value_copy as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( value_copy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . value_peek_pointer as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( value_peek_pointer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . collect_format as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( collect_format ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . collect_value as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( collect_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . lcopy_format as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( lcopy_format ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeValueTable > ( ) ) ) . lcopy_value as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeValueTable ) , "::" , stringify ! ( lcopy_value ) ) ) ; } extern "C" { pub fn g_type_register_static ( parent_type : GType , type_name : * const gchar , info : * const GTypeInfo , flags : GTypeFlags ) -> GType ; } extern "C" { pub fn g_type_register_static_simple ( parent_type : GType , type_name : * const gchar , class_size : guint , class_init : GClassInitFunc , instance_size : guint , instance_init : GInstanceInitFunc , flags : GTypeFlags ) -> GType ; } extern "C" { pub fn g_type_register_dynamic ( parent_type : GType , type_name : * const gchar , plugin : * mut GTypePlugin , flags : GTypeFlags ) -> GType ; } extern "C" { pub fn g_type_register_fundamental ( type_id : GType , type_name : * const gchar , info : * const GTypeInfo , finfo : * const GTypeFundamentalInfo , flags : GTypeFlags ) -> GType ; } extern "C" { pub fn g_type_add_interface_static ( instance_type : GType , interface_type : GType , info : * const GInterfaceInfo ) ; } extern "C" { pub fn g_type_add_interface_dynamic ( instance_type : GType , interface_type : GType , plugin : * mut GTypePlugin ) ; } extern "C" { pub fn g_type_interface_add_prerequisite ( interface_type : GType , prerequisite_type : GType ) ; } extern "C" { pub fn g_type_interface_prerequisites ( interface_type : GType , n_prerequisites : * mut guint ) -> * mut GType ; } extern "C" { pub fn g_type_interface_instantiatable_prerequisite ( interface_type : GType ) -> GType ; } extern "C" { pub fn g_type_class_add_private ( g_class : gpointer , private_size : gsize ) ; } extern "C" { pub fn g_type_add_instance_private ( class_type : GType , private_size : gsize ) -> gint ; } extern "C" { pub fn g_type_instance_get_private ( instance : * mut GTypeInstance , private_type : GType ) -> gpointer ; } extern "C" { pub fn g_type_class_adjust_private_offset ( g_class : gpointer , private_size_or_offset : * mut gint ) ; } extern "C" { pub fn g_type_add_class_private ( class_type : GType , private_size : gsize ) ; } extern "C" { pub fn g_type_class_get_private ( klass : * mut GTypeClass , private_type : GType ) -> gpointer ; } extern "C" { pub fn g_type_class_get_instance_private_offset ( g_class : gpointer ) -> gint ; } extern "C" { pub fn g_type_ensure ( type_ : GType ) ; } extern "C" { pub fn g_type_get_type_registration_serial ( ) -> guint ; } extern "C" { pub fn g_type_get_plugin ( type_ : GType ) -> * mut GTypePlugin ; } extern "C" { pub fn g_type_interface_get_plugin ( instance_type : GType , interface_type : GType ) -> * mut GTypePlugin ; } extern "C" { pub fn g_type_fundamental_next ( ) -> GType ; } extern "C" { pub fn g_type_fundamental ( type_id : GType ) -> GType ; } extern "C" { pub fn g_type_create_instance ( type_ : GType ) -> * mut GTypeInstance ; } extern "C" { pub fn g_type_free_instance ( instance : * mut GTypeInstance ) ; } extern "C" { pub fn g_type_add_class_cache_func ( cache_data : gpointer , cache_func : GTypeClassCacheFunc ) ; } extern "C" { pub fn g_type_remove_class_cache_func ( cache_data : gpointer , cache_func : GTypeClassCacheFunc ) ; } extern "C" { pub fn g_type_class_unref_uncached ( g_class : gpointer ) ; } extern "C" { pub fn g_type_add_interface_check ( check_data : gpointer , check_func : GTypeInterfaceCheckFunc ) ; } extern "C" { pub fn g_type_remove_interface_check ( check_data : gpointer , check_func : GTypeInterfaceCheckFunc ) ; } extern "C" { pub fn g_type_value_table_peek ( type_ : GType ) -> * mut GTypeValueTable ; } extern "C" { pub fn g_type_check_instance ( instance : * mut GTypeInstance ) -> gboolean ; } extern "C" { pub fn g_type_check_instance_cast ( instance : * mut GTypeInstance , iface_type : GType ) -> * mut GTypeInstance ; } extern "C" { pub fn g_type_check_instance_is_a ( instance : * mut GTypeInstance , iface_type : GType ) -> gboolean ; } extern "C" { pub fn g_type_check_instance_is_fundamentally_a ( instance : * mut GTypeInstance , fundamental_type : GType ) -> gboolean ; } extern "C" { pub fn g_type_check_class_cast ( g_class : * mut GTypeClass , is_a_type : GType ) -> * mut GTypeClass ; } extern "C" { pub fn g_type_check_class_is_a ( g_class : * mut GTypeClass , is_a_type : GType ) -> gboolean ; } extern "C" { pub fn g_type_check_is_value_type ( type_ : GType ) -> gboolean ; } extern "C" { pub fn g_type_check_value ( value : * const GValue ) -> gboolean ; } extern "C" { pub fn g_type_check_value_holds ( value : * const GValue , type_ : GType ) -> gboolean ; } extern "C" { pub fn g_type_test_flags ( type_ : GType , flags : guint ) -> gboolean ; } extern "C" { pub fn g_type_name_from_instance ( instance : * mut GTypeInstance ) -> * const gchar ; } extern "C" { pub fn g_type_name_from_class ( g_class : * mut GTypeClass ) -> * const gchar ; } pub type GValueTransform = :: std :: option :: Option < unsafe extern "C" fn ( src_value : * const GValue , dest_value : * mut GValue ) > ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GValue { pub g_type : GType , pub data : [ _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) { pub v_int : gint , pub v_uint : guint , pub v_long : glong , pub v_ulong : gulong , pub v_int64 : gint64 , pub v_uint64 : guint64 , pub v_float : gfloat , pub v_double : gdouble , pub v_pointer : gpointer , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout__GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_int as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_int ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_uint as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_uint ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_long as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_long ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_ulong as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_ulong ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_int64 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_int64 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_uint64 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_uint64 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_float as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_float ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_double as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_double ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) > ( ) ) ) . v_pointer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue_union_(unnamed_at_/usr/include/glib-2_0/gobject/gvalue_h_119_3) ) , "::" , stringify ! ( v_pointer ) ) ) ; } # [ test ] fn bindgen_test_layout__GValue ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GValue > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GValue ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GValue > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue > ( ) ) ) . g_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValue ) , "::" , stringify ! ( g_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValue > ( ) ) ) . data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GValue ) , "::" , stringify ! ( data ) ) ) ; } extern "C" { pub fn g_value_init ( value : * mut GValue , g_type : GType ) -> * mut GValue ; } extern "C" { pub fn g_value_copy ( src_value : * const GValue , dest_value : * mut GValue ) ; } extern "C" { pub fn g_value_reset ( value : * mut GValue ) -> * mut GValue ; } extern "C" { pub fn g_value_unset ( value : * mut GValue ) ; } extern "C" { pub fn g_value_set_instance ( value : * mut GValue , instance : gpointer ) ; } extern "C" { pub fn g_value_init_from_instance ( value : * mut GValue , instance : gpointer ) ; } extern "C" { pub fn g_value_fits_pointer ( value : * const GValue ) -> gboolean ; } extern "C" { pub fn g_value_peek_pointer ( value : * const GValue ) -> gpointer ; } extern "C" { pub fn g_value_type_compatible ( src_type : GType , dest_type : GType ) -> gboolean ; } extern "C" { pub fn g_value_type_transformable ( src_type : GType , dest_type : GType ) -> gboolean ; } extern "C" { pub fn g_value_transform ( src_value : * const GValue , dest_value : * mut GValue ) -> gboolean ; } extern "C" { pub fn g_value_register_transform_func ( src_type : GType , dest_type : GType , transform_func : GValueTransform ) ; } pub const GParamFlags_G_PARAM_READABLE : GParamFlags = 1 ; pub const GParamFlags_G_PARAM_WRITABLE : GParamFlags = 2 ; pub const GParamFlags_G_PARAM_READWRITE : GParamFlags = 3 ; pub const GParamFlags_G_PARAM_CONSTRUCT : GParamFlags = 4 ; pub const GParamFlags_G_PARAM_CONSTRUCT_ONLY : GParamFlags = 8 ; pub const GParamFlags_G_PARAM_LAX_VALIDATION : GParamFlags = 16 ; pub const GParamFlags_G_PARAM_STATIC_NAME : GParamFlags = 32 ; pub const GParamFlags_G_PARAM_PRIVATE : GParamFlags = 32 ; pub const GParamFlags_G_PARAM_STATIC_NICK : GParamFlags = 64 ; pub const GParamFlags_G_PARAM_STATIC_BLURB : GParamFlags = 128 ; pub const GParamFlags_G_PARAM_EXPLICIT_NOTIFY : GParamFlags = 1073741824 ; pub const GParamFlags_G_PARAM_DEPRECATED : GParamFlags = -2147483648 ; pub type GParamFlags = i32 ; pub type GParamSpec = _GParamSpec ; pub type GParamSpecClass = _GParamSpecClass ; pub type GParameter = _GParameter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecPool { _unused : [ u8 ; 0 ] , } pub type GParamSpecPool = _GParamSpecPool ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpec { pub g_type_instance : GTypeInstance , pub name : * const gchar , pub flags : GParamFlags , pub value_type : GType , pub owner_type : GType , pub _nick : * mut gchar , pub _blurb : * mut gchar , pub qdata : * mut GData , pub ref_count : guint , pub param_id : guint , } # [ test ] fn bindgen_test_layout__GParamSpec ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpec > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( _GParamSpec ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpec > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . g_type_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( g_type_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . flags as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . value_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( value_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . owner_type as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( owner_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . _nick as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( _nick ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . _blurb as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( _blurb ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . qdata as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( qdata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . ref_count as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpec > ( ) ) ) . param_id as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpec ) , "::" , stringify ! ( param_id ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecClass { pub g_type_class : GTypeClass , pub value_type : GType , pub finalize : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec ) > , pub value_set_default : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value : * mut GValue ) > , pub value_validate : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value : * mut GValue ) -> gboolean > , pub values_cmp : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value1 : * const GValue , value2 : * const GValue ) -> gint > , pub value_is_valid : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value : * const GValue ) -> gboolean > , pub dummy : [ gpointer ; 3usize ] , } # [ test ] fn bindgen_test_layout__GParamSpecClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecClass > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . g_type_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( g_type_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . value_type as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( value_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . finalize as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . value_set_default as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( value_set_default ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . value_validate as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( value_validate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . values_cmp as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( values_cmp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . value_is_valid as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( value_is_valid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecClass > ( ) ) ) . dummy as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecClass ) , "::" , stringify ! ( dummy ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _GParameter { pub name : * const gchar , pub value : GValue , } # [ test ] fn bindgen_test_layout__GParameter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParameter > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GParameter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParameter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParameter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParameter > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParameter ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParameter > ( ) ) ) . value as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GParameter ) , "::" , stringify ! ( value ) ) ) ; } extern "C" { pub fn g_param_spec_ref ( pspec : * mut GParamSpec ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_unref ( pspec : * mut GParamSpec ) ; } extern "C" { pub fn g_param_spec_sink ( pspec : * mut GParamSpec ) ; } extern "C" { pub fn g_param_spec_ref_sink ( pspec : * mut GParamSpec ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_get_qdata ( pspec : * mut GParamSpec , quark : GQuark ) -> gpointer ; } extern "C" { pub fn g_param_spec_set_qdata ( pspec : * mut GParamSpec , quark : GQuark , data : gpointer ) ; } extern "C" { pub fn g_param_spec_set_qdata_full ( pspec : * mut GParamSpec , quark : GQuark , data : gpointer , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_param_spec_steal_qdata ( pspec : * mut GParamSpec , quark : GQuark ) -> gpointer ; } extern "C" { pub fn g_param_spec_get_redirect_target ( pspec : * mut GParamSpec ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_value_set_default ( pspec : * mut GParamSpec , value : * mut GValue ) ; } extern "C" { pub fn g_param_value_defaults ( pspec : * mut GParamSpec , value : * const GValue ) -> gboolean ; } extern "C" { pub fn g_param_value_validate ( pspec : * mut GParamSpec , value : * mut GValue ) -> gboolean ; } extern "C" { pub fn g_param_value_is_valid ( pspec : * mut GParamSpec , value : * const GValue ) -> gboolean ; } extern "C" { pub fn g_param_value_convert ( pspec : * mut GParamSpec , src_value : * const GValue , dest_value : * mut GValue , strict_validation : gboolean ) -> gboolean ; } extern "C" { pub fn g_param_values_cmp ( pspec : * mut GParamSpec , value1 : * const GValue , value2 : * const GValue ) -> gint ; } extern "C" { pub fn g_param_spec_get_name ( pspec : * mut GParamSpec ) -> * const gchar ; } extern "C" { pub fn g_param_spec_get_nick ( pspec : * mut GParamSpec ) -> * const gchar ; } extern "C" { pub fn g_param_spec_get_blurb ( pspec : * mut GParamSpec ) -> * const gchar ; } extern "C" { pub fn g_value_set_param ( value : * mut GValue , param : * mut GParamSpec ) ; } extern "C" { pub fn g_value_get_param ( value : * const GValue ) -> * mut GParamSpec ; } extern "C" { pub fn g_value_dup_param ( value : * const GValue ) -> * mut GParamSpec ; } extern "C" { pub fn g_value_take_param ( value : * mut GValue , param : * mut GParamSpec ) ; } extern "C" { pub fn g_value_set_param_take_ownership ( value : * mut GValue , param : * mut GParamSpec ) ; } extern "C" { pub fn g_param_spec_get_default_value ( pspec : * mut GParamSpec ) -> * const GValue ; } extern "C" { pub fn g_param_spec_get_name_quark ( pspec : * mut GParamSpec ) -> GQuark ; } pub type GParamSpecTypeInfo = _GParamSpecTypeInfo ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecTypeInfo { pub instance_size : guint16 , pub n_preallocs : guint16 , pub instance_init : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec ) > , pub value_type : GType , pub finalize : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec ) > , pub value_set_default : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value : * mut GValue ) > , pub value_validate : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value : * mut GValue ) -> gboolean > , pub values_cmp : :: std :: option :: Option < unsafe extern "C" fn ( pspec : * mut GParamSpec , value1 : * const GValue , value2 : * const GValue ) -> gint > , } # [ test ] fn bindgen_test_layout__GParamSpecTypeInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecTypeInfo > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecTypeInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecTypeInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecTypeInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . instance_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( instance_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . n_preallocs as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( n_preallocs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . instance_init as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( instance_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . value_type as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( value_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . finalize as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . value_set_default as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( value_set_default ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . value_validate as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( value_validate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecTypeInfo > ( ) ) ) . values_cmp as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecTypeInfo ) , "::" , stringify ! ( values_cmp ) ) ) ; } extern "C" { pub fn g_param_type_register_static ( name : * const gchar , pspec_info : * const GParamSpecTypeInfo ) -> GType ; } extern "C" { pub fn g_param_spec_is_valid_name ( name : * const gchar ) -> gboolean ; } extern "C" { pub fn _g_param_type_register_static_constant ( name : * const gchar , pspec_info : * const GParamSpecTypeInfo , opt_type : GType ) -> GType ; } extern "C" { pub fn g_param_spec_internal ( param_type : GType , name : * const gchar , nick : * const gchar , blurb : * const gchar , flags : GParamFlags ) -> gpointer ; } extern "C" { pub fn g_param_spec_pool_new ( type_prefixing : gboolean ) -> * mut GParamSpecPool ; } extern "C" { pub fn g_param_spec_pool_insert ( pool : * mut GParamSpecPool , pspec : * mut GParamSpec , owner_type : GType ) ; } extern "C" { pub fn g_param_spec_pool_remove ( pool : * mut GParamSpecPool , pspec : * mut GParamSpec ) ; } extern "C" { pub fn g_param_spec_pool_lookup ( pool : * mut GParamSpecPool , param_name : * const gchar , owner_type : GType , walk_ancestors : gboolean ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_pool_list_owned ( pool : * mut GParamSpecPool , owner_type : GType ) -> * mut GList ; } extern "C" { pub fn g_param_spec_pool_list ( pool : * mut GParamSpecPool , owner_type : GType , n_pspecs_p : * mut guint ) -> * mut * mut GParamSpec ; } extern "C" { pub fn g_param_spec_pool_free ( pool : * mut GParamSpecPool ) ; } pub type GClosure = _GClosure ; pub type GClosureNotifyData = _GClosureNotifyData ; pub type GCallback = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; pub type GClosureNotify = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer , closure : * mut GClosure ) > ; pub type GClosureMarshal = :: std :: option :: Option < unsafe extern "C" fn ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) > ; pub type GVaClosureMarshal = :: std :: option :: Option < unsafe extern "C" fn ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) > ; pub type GCClosure = _GCClosure ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GClosureNotifyData { pub data : gpointer , pub notify : GClosureNotify , } # [ test ] fn bindgen_test_layout__GClosureNotifyData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GClosureNotifyData > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GClosureNotifyData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GClosureNotifyData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GClosureNotifyData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GClosureNotifyData > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GClosureNotifyData ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GClosureNotifyData > ( ) ) ) . notify as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GClosureNotifyData ) , "::" , stringify ! ( notify ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GClosure { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > , pub marshal : :: std :: option :: Option < unsafe extern "C" fn ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) > , pub data : gpointer , pub notifiers : * mut GClosureNotifyData , } # [ test ] fn bindgen_test_layout__GClosure ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GClosure > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GClosure ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GClosure > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GClosure ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GClosure > ( ) ) ) . marshal as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GClosure ) , "::" , stringify ! ( marshal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GClosure > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GClosure ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GClosure > ( ) ) ) . notifiers as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GClosure ) , "::" , stringify ! ( notifiers ) ) ) ; } impl _GClosure { # [ inline ] pub fn ref_count ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 15u8 ) as u32 ) } } # [ inline ] pub fn set_ref_count ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 15u8 , val as u64 ) } } # [ inline ] pub fn meta_marshal_nouse ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 15usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_meta_marshal_nouse ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 15usize , 1u8 , val as u64 ) } } # [ inline ] pub fn n_guards ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 16usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_n_guards ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 16usize , 1u8 , val as u64 ) } } # [ inline ] pub fn n_fnotifiers ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 17usize , 2u8 ) as u32 ) } } # [ inline ] pub fn set_n_fnotifiers ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 17usize , 2u8 , val as u64 ) } } # [ inline ] pub fn n_inotifiers ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 19usize , 8u8 ) as u32 ) } } # [ inline ] pub fn set_n_inotifiers ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 19usize , 8u8 , val as u64 ) } } # [ inline ] pub fn in_inotify ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 27usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_in_inotify ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 27usize , 1u8 , val as u64 ) } } # [ inline ] pub fn floating ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 28usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_floating ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 28usize , 1u8 , val as u64 ) } } # [ inline ] pub fn derivative_flag ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 29usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_derivative_flag ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 29usize , 1u8 , val as u64 ) } } # [ inline ] pub fn in_marshal ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 30usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_in_marshal ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 30usize , 1u8 , val as u64 ) } } # [ inline ] pub fn is_invalid ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 31usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_is_invalid ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 31usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( ref_count : guint , meta_marshal_nouse : guint , n_guards : guint , n_fnotifiers : guint , n_inotifiers : guint , in_inotify : guint , floating : guint , derivative_flag : guint , in_marshal : guint , is_invalid : guint ) -> __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 15u8 , { let ref_count : u32 = unsafe { :: std :: mem :: transmute ( ref_count ) } ; ref_count as u64 } ) ; __bindgen_bitfield_unit . set ( 15usize , 1u8 , { let meta_marshal_nouse : u32 = unsafe { :: std :: mem :: transmute ( meta_marshal_nouse ) } ; meta_marshal_nouse as u64 } ) ; __bindgen_bitfield_unit . set ( 16usize , 1u8 , { let n_guards : u32 = unsafe { :: std :: mem :: transmute ( n_guards ) } ; n_guards as u64 } ) ; __bindgen_bitfield_unit . set ( 17usize , 2u8 , { let n_fnotifiers : u32 = unsafe { :: std :: mem :: transmute ( n_fnotifiers ) } ; n_fnotifiers as u64 } ) ; __bindgen_bitfield_unit . set ( 19usize , 8u8 , { let n_inotifiers : u32 = unsafe { :: std :: mem :: transmute ( n_inotifiers ) } ; n_inotifiers as u64 } ) ; __bindgen_bitfield_unit . set ( 27usize , 1u8 , { let in_inotify : u32 = unsafe { :: std :: mem :: transmute ( in_inotify ) } ; in_inotify as u64 } ) ; __bindgen_bitfield_unit . set ( 28usize , 1u8 , { let floating : u32 = unsafe { :: std :: mem :: transmute ( floating ) } ; floating as u64 } ) ; __bindgen_bitfield_unit . set ( 29usize , 1u8 , { let derivative_flag : u32 = unsafe { :: std :: mem :: transmute ( derivative_flag ) } ; derivative_flag as u64 } ) ; __bindgen_bitfield_unit . set ( 30usize , 1u8 , { let in_marshal : u32 = unsafe { :: std :: mem :: transmute ( in_marshal ) } ; in_marshal as u64 } ) ; __bindgen_bitfield_unit . set ( 31usize , 1u8 , { let is_invalid : u32 = unsafe { :: std :: mem :: transmute ( is_invalid ) } ; is_invalid as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCClosure { pub closure : GClosure , pub callback : gpointer , } # [ test ] fn bindgen_test_layout__GCClosure ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GCClosure > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GCClosure ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GCClosure > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GCClosure ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCClosure > ( ) ) ) . closure as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GCClosure ) , "::" , stringify ! ( closure ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCClosure > ( ) ) ) . callback as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GCClosure ) , "::" , stringify ! ( callback ) ) ) ; } extern "C" { pub fn g_cclosure_new ( callback_func : GCallback , user_data : gpointer , destroy_data : GClosureNotify ) -> * mut GClosure ; } extern "C" { pub fn g_cclosure_new_swap ( callback_func : GCallback , user_data : gpointer , destroy_data : GClosureNotify ) -> * mut GClosure ; } extern "C" { pub fn g_signal_type_cclosure_new ( itype : GType , struct_offset : guint ) -> * mut GClosure ; } extern "C" { pub fn g_closure_ref ( closure : * mut GClosure ) -> * mut GClosure ; } extern "C" { pub fn g_closure_sink ( closure : * mut GClosure ) ; } extern "C" { pub fn g_closure_unref ( closure : * mut GClosure ) ; } extern "C" { pub fn g_closure_new_simple ( sizeof_closure : guint , data : gpointer ) -> * mut GClosure ; } extern "C" { pub fn g_closure_add_finalize_notifier ( closure : * mut GClosure , notify_data : gpointer , notify_func : GClosureNotify ) ; } extern "C" { pub fn g_closure_remove_finalize_notifier ( closure : * mut GClosure , notify_data : gpointer , notify_func : GClosureNotify ) ; } extern "C" { pub fn g_closure_add_invalidate_notifier ( closure : * mut GClosure , notify_data : gpointer , notify_func : GClosureNotify ) ; } extern "C" { pub fn g_closure_remove_invalidate_notifier ( closure : * mut GClosure , notify_data : gpointer , notify_func : GClosureNotify ) ; } extern "C" { pub fn g_closure_add_marshal_guards ( closure : * mut GClosure , pre_marshal_data : gpointer , pre_marshal_notify : GClosureNotify , post_marshal_data : gpointer , post_marshal_notify : GClosureNotify ) ; } extern "C" { pub fn g_closure_set_marshal ( closure : * mut GClosure , marshal : GClosureMarshal ) ; } extern "C" { pub fn g_closure_set_meta_marshal ( closure : * mut GClosure , marshal_data : gpointer , meta_marshal : GClosureMarshal ) ; } extern "C" { pub fn g_closure_invalidate ( closure : * mut GClosure ) ; } extern "C" { pub fn g_closure_invoke ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_generic ( closure : * mut GClosure , return_gvalue : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_generic_va ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args_list : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__VOID ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__VOIDv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__BOOLEAN ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__BOOLEANv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__CHAR ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__CHARv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__UCHAR ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__UCHARv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__INT ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__INTv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__UINT ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__UINTv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__LONG ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__LONGv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__ULONG ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__ULONGv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__ENUM ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__ENUMv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__FLAGS ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__FLAGSv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__FLOAT ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__FLOATv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__DOUBLE ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__DOUBLEv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__STRING ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__STRINGv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__PARAM ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__PARAMv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__BOXED ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__BOXEDv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__POINTER ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__POINTERv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__OBJECT ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__OBJECTv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__VARIANT ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__VARIANTv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__UINT_POINTER ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_VOID__UINT_POINTERv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_BOOLEAN__FLAGS ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_BOOLEAN__FLAGSv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_STRING__OBJECT_POINTER ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_STRING__OBJECT_POINTERv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } extern "C" { pub fn g_cclosure_marshal_BOOLEAN__BOXED_BOXED ( closure : * mut GClosure , return_value : * mut GValue , n_param_values : guint , param_values : * const GValue , invocation_hint : gpointer , marshal_data : gpointer ) ; } extern "C" { pub fn g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv ( closure : * mut GClosure , return_value : * mut GValue , instance : gpointer , args : * mut __va_list_tag , marshal_data : gpointer , n_params : :: std :: os :: raw :: c_int , param_types : * mut GType ) ; } pub type GSignalQuery = _GSignalQuery ; pub type GSignalInvocationHint = _GSignalInvocationHint ; pub type GSignalCMarshaller = GClosureMarshal ; pub type GSignalCVaMarshaller = GVaClosureMarshal ; pub type GSignalEmissionHook = :: std :: option :: Option < unsafe extern "C" fn ( ihint : * mut GSignalInvocationHint , n_param_values : guint , param_values : * const GValue , data : gpointer ) -> gboolean > ; pub type GSignalAccumulator = :: std :: option :: Option < unsafe extern "C" fn ( ihint : * mut GSignalInvocationHint , return_accu : * mut GValue , handler_return : * const GValue , data : gpointer ) -> gboolean > ; pub const GSignalFlags_G_SIGNAL_RUN_FIRST : GSignalFlags = 1 ; pub const GSignalFlags_G_SIGNAL_RUN_LAST : GSignalFlags = 2 ; pub const GSignalFlags_G_SIGNAL_RUN_CLEANUP : GSignalFlags = 4 ; pub const GSignalFlags_G_SIGNAL_NO_RECURSE : GSignalFlags = 8 ; pub const GSignalFlags_G_SIGNAL_DETAILED : GSignalFlags = 16 ; pub const GSignalFlags_G_SIGNAL_ACTION : GSignalFlags = 32 ; pub const GSignalFlags_G_SIGNAL_NO_HOOKS : GSignalFlags = 64 ; pub const GSignalFlags_G_SIGNAL_MUST_COLLECT : GSignalFlags = 128 ; pub const GSignalFlags_G_SIGNAL_DEPRECATED : GSignalFlags = 256 ; pub const GSignalFlags_G_SIGNAL_ACCUMULATOR_FIRST_RUN : GSignalFlags = 131072 ; pub type GSignalFlags = u32 ; pub const GConnectFlags_G_CONNECT_DEFAULT : GConnectFlags = 0 ; pub const GConnectFlags_G_CONNECT_AFTER : GConnectFlags = 1 ; pub const GConnectFlags_G_CONNECT_SWAPPED : GConnectFlags = 2 ; pub type GConnectFlags = u32 ; pub const GSignalMatchType_G_SIGNAL_MATCH_ID : GSignalMatchType = 1 ; pub const GSignalMatchType_G_SIGNAL_MATCH_DETAIL : GSignalMatchType = 2 ; pub const GSignalMatchType_G_SIGNAL_MATCH_CLOSURE : GSignalMatchType = 4 ; pub const GSignalMatchType_G_SIGNAL_MATCH_FUNC : GSignalMatchType = 8 ; pub const GSignalMatchType_G_SIGNAL_MATCH_DATA : GSignalMatchType = 16 ; pub const GSignalMatchType_G_SIGNAL_MATCH_UNBLOCKED : GSignalMatchType = 32 ; pub type GSignalMatchType = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSignalInvocationHint { pub signal_id : guint , pub detail : GQuark , pub run_type : GSignalFlags , } # [ test ] fn bindgen_test_layout__GSignalInvocationHint ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSignalInvocationHint > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _GSignalInvocationHint ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSignalInvocationHint > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _GSignalInvocationHint ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalInvocationHint > ( ) ) ) . signal_id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalInvocationHint ) , "::" , stringify ! ( signal_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalInvocationHint > ( ) ) ) . detail as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalInvocationHint ) , "::" , stringify ! ( detail ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalInvocationHint > ( ) ) ) . run_type as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalInvocationHint ) , "::" , stringify ! ( run_type ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSignalQuery { pub signal_id : guint , pub signal_name : * const gchar , pub itype : GType , pub signal_flags : GSignalFlags , pub return_type : GType , pub n_params : guint , pub param_types : * const GType , } # [ test ] fn bindgen_test_layout__GSignalQuery ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSignalQuery > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GSignalQuery ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSignalQuery > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSignalQuery ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . signal_id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( signal_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . signal_name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( signal_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . itype as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( itype ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . signal_flags as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( signal_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . return_type as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( return_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . n_params as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( n_params ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSignalQuery > ( ) ) ) . param_types as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GSignalQuery ) , "::" , stringify ! ( param_types ) ) ) ; } extern "C" { pub fn g_signal_newv ( signal_name : * const gchar , itype : GType , signal_flags : GSignalFlags , class_closure : * mut GClosure , accumulator : GSignalAccumulator , accu_data : gpointer , c_marshaller : GSignalCMarshaller , return_type : GType , n_params : guint , param_types : * mut GType ) -> guint ; } extern "C" { pub fn g_signal_new_valist ( signal_name : * const gchar , itype : GType , signal_flags : GSignalFlags , class_closure : * mut GClosure , accumulator : GSignalAccumulator , accu_data : gpointer , c_marshaller : GSignalCMarshaller , return_type : GType , n_params : guint , args : * mut __va_list_tag ) -> guint ; } extern "C" { pub fn g_signal_new ( signal_name : * const gchar , itype : GType , signal_flags : GSignalFlags , class_offset : guint , accumulator : GSignalAccumulator , accu_data : gpointer , c_marshaller : GSignalCMarshaller , return_type : GType , n_params : guint , ... ) -> guint ; } extern "C" { pub fn g_signal_new_class_handler ( signal_name : * const gchar , itype : GType , signal_flags : GSignalFlags , class_handler : GCallback , accumulator : GSignalAccumulator , accu_data : gpointer , c_marshaller : GSignalCMarshaller , return_type : GType , n_params : guint , ... ) -> guint ; } extern "C" { pub fn g_signal_set_va_marshaller ( signal_id : guint , instance_type : GType , va_marshaller : GSignalCVaMarshaller ) ; } extern "C" { pub fn g_signal_emitv ( instance_and_params : * const GValue , signal_id : guint , detail : GQuark , return_value : * mut GValue ) ; } extern "C" { pub fn g_signal_emit_valist ( instance : gpointer , signal_id : guint , detail : GQuark , var_args : * mut __va_list_tag ) ; } extern "C" { pub fn g_signal_emit ( instance : gpointer , signal_id : guint , detail : GQuark , ... ) ; } extern "C" { pub fn g_signal_emit_by_name ( instance : gpointer , detailed_signal : * const gchar , ... ) ; } extern "C" { pub fn g_signal_lookup ( name : * const gchar , itype : GType ) -> guint ; } extern "C" { pub fn g_signal_name ( signal_id : guint ) -> * const gchar ; } extern "C" { pub fn g_signal_query ( signal_id : guint , query : * mut GSignalQuery ) ; } extern "C" { pub fn g_signal_list_ids ( itype : GType , n_ids : * mut guint ) -> * mut guint ; } extern "C" { pub fn g_signal_is_valid_name ( name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_signal_parse_name ( detailed_signal : * const gchar , itype : GType , signal_id_p : * mut guint , detail_p : * mut GQuark , force_detail_quark : gboolean ) -> gboolean ; } extern "C" { pub fn g_signal_get_invocation_hint ( instance : gpointer ) -> * mut GSignalInvocationHint ; } extern "C" { pub fn g_signal_stop_emission ( instance : gpointer , signal_id : guint , detail : GQuark ) ; } extern "C" { pub fn g_signal_stop_emission_by_name ( instance : gpointer , detailed_signal : * const gchar ) ; } extern "C" { pub fn g_signal_add_emission_hook ( signal_id : guint , detail : GQuark , hook_func : GSignalEmissionHook , hook_data : gpointer , data_destroy : GDestroyNotify ) -> gulong ; } extern "C" { pub fn g_signal_remove_emission_hook ( signal_id : guint , hook_id : gulong ) ; } extern "C" { pub fn g_signal_has_handler_pending ( instance : gpointer , signal_id : guint , detail : GQuark , may_be_blocked : gboolean ) -> gboolean ; } extern "C" { pub fn g_signal_connect_closure_by_id ( instance : gpointer , signal_id : guint , detail : GQuark , closure : * mut GClosure , after : gboolean ) -> gulong ; } extern "C" { pub fn g_signal_connect_closure ( instance : gpointer , detailed_signal : * const gchar , closure : * mut GClosure , after : gboolean ) -> gulong ; } extern "C" { pub fn g_signal_connect_data ( instance : gpointer , detailed_signal : * const gchar , c_handler : GCallback , data : gpointer , destroy_data : GClosureNotify , connect_flags : GConnectFlags ) -> gulong ; } extern "C" { pub fn g_signal_handler_block ( instance : gpointer , handler_id : gulong ) ; } extern "C" { pub fn g_signal_handler_unblock ( instance : gpointer , handler_id : gulong ) ; } extern "C" { pub fn g_signal_handler_disconnect ( instance : gpointer , handler_id : gulong ) ; } extern "C" { pub fn g_signal_handler_is_connected ( instance : gpointer , handler_id : gulong ) -> gboolean ; } extern "C" { pub fn g_signal_handler_find ( instance : gpointer , mask : GSignalMatchType , signal_id : guint , detail : GQuark , closure : * mut GClosure , func : gpointer , data : gpointer ) -> gulong ; } extern "C" { pub fn g_signal_handlers_block_matched ( instance : gpointer , mask : GSignalMatchType , signal_id : guint , detail : GQuark , closure : * mut GClosure , func : gpointer , data : gpointer ) -> guint ; } extern "C" { pub fn g_signal_handlers_unblock_matched ( instance : gpointer , mask : GSignalMatchType , signal_id : guint , detail : GQuark , closure : * mut GClosure , func : gpointer , data : gpointer ) -> guint ; } extern "C" { pub fn g_signal_handlers_disconnect_matched ( instance : gpointer , mask : GSignalMatchType , signal_id : guint , detail : GQuark , closure : * mut GClosure , func : gpointer , data : gpointer ) -> guint ; } extern "C" { pub fn g_clear_signal_handler ( handler_id_ptr : * mut gulong , instance : gpointer ) ; } extern "C" { pub fn g_signal_override_class_closure ( signal_id : guint , instance_type : GType , class_closure : * mut GClosure ) ; } extern "C" { pub fn g_signal_override_class_handler ( signal_name : * const gchar , instance_type : GType , class_handler : GCallback ) ; } extern "C" { pub fn g_signal_chain_from_overridden ( instance_and_params : * const GValue , return_value : * mut GValue ) ; } extern "C" { pub fn g_signal_chain_from_overridden_handler ( instance : gpointer , ... ) ; } extern "C" { pub fn g_signal_accumulator_true_handled ( ihint : * mut GSignalInvocationHint , return_accu : * mut GValue , handler_return : * const GValue , dummy : gpointer ) -> gboolean ; } extern "C" { pub fn g_signal_accumulator_first_wins ( ihint : * mut GSignalInvocationHint , return_accu : * mut GValue , handler_return : * const GValue , dummy : gpointer ) -> gboolean ; } extern "C" { pub fn g_signal_handlers_destroy ( instance : gpointer ) ; } extern "C" { pub fn _g_signals_destroy ( itype : GType ) ; } extern "C" { pub fn g_date_get_type ( ) -> GType ; } extern "C" { pub fn g_strv_get_type ( ) -> GType ; } extern "C" { pub fn g_gstring_get_type ( ) -> GType ; } extern "C" { pub fn g_hash_table_get_type ( ) -> GType ; } extern "C" { pub fn g_array_get_type ( ) -> GType ; } extern "C" { pub fn g_byte_array_get_type ( ) -> GType ; } extern "C" { pub fn g_ptr_array_get_type ( ) -> GType ; } extern "C" { pub fn g_bytes_get_type ( ) -> GType ; } extern "C" { pub fn g_variant_type_get_gtype ( ) -> GType ; } extern "C" { pub fn g_regex_get_type ( ) -> GType ; } extern "C" { pub fn g_match_info_get_type ( ) -> GType ; } extern "C" { pub fn g_error_get_type ( ) -> GType ; } extern "C" { pub fn g_date_time_get_type ( ) -> GType ; } extern "C" { pub fn g_time_zone_get_type ( ) -> GType ; } extern "C" { pub fn g_io_channel_get_type ( ) -> GType ; } extern "C" { pub fn g_io_condition_get_type ( ) -> GType ; } extern "C" { pub fn g_variant_builder_get_type ( ) -> GType ; } extern "C" { pub fn g_variant_dict_get_type ( ) -> GType ; } extern "C" { pub fn g_key_file_get_type ( ) -> GType ; } extern "C" { pub fn g_main_loop_get_type ( ) -> GType ; } extern "C" { pub fn g_main_context_get_type ( ) -> GType ; } extern "C" { pub fn g_source_get_type ( ) -> GType ; } extern "C" { pub fn g_pollfd_get_type ( ) -> GType ; } extern "C" { pub fn g_thread_get_type ( ) -> GType ; } extern "C" { pub fn g_checksum_get_type ( ) -> GType ; } extern "C" { pub fn g_markup_parse_context_get_type ( ) -> GType ; } extern "C" { pub fn g_mapped_file_get_type ( ) -> GType ; } extern "C" { pub fn g_option_group_get_type ( ) -> GType ; } extern "C" { pub fn g_uri_get_type ( ) -> GType ; } extern "C" { pub fn g_tree_get_type ( ) -> GType ; } extern "C" { pub fn g_pattern_spec_get_type ( ) -> GType ; } extern "C" { pub fn g_bookmark_file_get_type ( ) -> GType ; } extern "C" { pub fn g_hmac_get_type ( ) -> GType ; } extern "C" { pub fn g_dir_get_type ( ) -> GType ; } extern "C" { pub fn g_rand_get_type ( ) -> GType ; } extern "C" { pub fn g_strv_builder_get_type ( ) -> GType ; } extern "C" { pub fn g_variant_get_gtype ( ) -> GType ; } pub type GBoxedCopyFunc = :: std :: option :: Option < unsafe extern "C" fn ( boxed : gpointer ) -> gpointer > ; pub type GBoxedFreeFunc = :: std :: option :: Option < unsafe extern "C" fn ( boxed : gpointer ) > ; extern "C" { pub fn g_boxed_copy ( boxed_type : GType , src_boxed : gconstpointer ) -> gpointer ; } extern "C" { pub fn g_boxed_free ( boxed_type : GType , boxed : gpointer ) ; } extern "C" { pub fn g_value_set_boxed ( value : * mut GValue , v_boxed : gconstpointer ) ; } extern "C" { pub fn g_value_set_static_boxed ( value : * mut GValue , v_boxed : gconstpointer ) ; } extern "C" { pub fn g_value_take_boxed ( value : * mut GValue , v_boxed : gconstpointer ) ; } extern "C" { pub fn g_value_set_boxed_take_ownership ( value : * mut GValue , v_boxed : gconstpointer ) ; } extern "C" { pub fn g_value_get_boxed ( value : * const GValue ) -> gpointer ; } extern "C" { pub fn g_value_dup_boxed ( value : * const GValue ) -> gpointer ; } extern "C" { pub fn g_boxed_type_register_static ( name : * const gchar , boxed_copy : GBoxedCopyFunc , boxed_free : GBoxedFreeFunc ) -> GType ; } extern "C" { pub fn g_closure_get_type ( ) -> GType ; } extern "C" { pub fn g_value_get_type ( ) -> GType ; } pub type GObject = _GObject ; pub type GObjectClass = _GObjectClass ; pub type GInitiallyUnowned = _GObject ; pub type GInitiallyUnownedClass = _GObjectClass ; pub type GObjectConstructParam = _GObjectConstructParam ; pub type GObjectGetPropertyFunc = :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject , property_id : guint , value : * mut GValue , pspec : * mut GParamSpec ) > ; pub type GObjectSetPropertyFunc = :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject , property_id : guint , value : * const GValue , pspec : * mut GParamSpec ) > ; pub type GObjectFinalizeFunc = :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject ) > ; pub type GWeakNotify = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer , where_the_object_was : * mut GObject ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GObject { pub g_type_instance : GTypeInstance , pub ref_count : guint , pub qdata : * mut GData , } # [ test ] fn bindgen_test_layout__GObject ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GObject > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GObject ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GObject > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GObject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObject > ( ) ) ) . g_type_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GObject ) , "::" , stringify ! ( g_type_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObject > ( ) ) ) . ref_count as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GObject ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObject > ( ) ) ) . qdata as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GObject ) , "::" , stringify ! ( qdata ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GObjectClass { pub g_type_class : GTypeClass , pub construct_properties : * mut GSList , pub constructor : :: std :: option :: Option < unsafe extern "C" fn ( type_ : GType , n_construct_properties : guint , construct_properties : * mut GObjectConstructParam ) -> * mut GObject > , pub set_property : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject , property_id : guint , value : * const GValue , pspec : * mut GParamSpec ) > , pub get_property : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject , property_id : guint , value : * mut GValue , pspec : * mut GParamSpec ) > , pub dispose : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject ) > , pub finalize : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject ) > , pub dispatch_properties_changed : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject , n_pspecs : guint , pspecs : * mut * mut GParamSpec ) > , pub notify : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject , pspec : * mut GParamSpec ) > , pub constructed : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GObject ) > , pub flags : gsize , pub n_construct_properties : gsize , pub pspecs : gpointer , pub n_pspecs : gsize , pub pdummy : [ gpointer ; 3usize ] , } # [ test ] fn bindgen_test_layout__GObjectClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GObjectClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GObjectClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GObjectClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GObjectClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . g_type_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( g_type_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . construct_properties as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( construct_properties ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . constructor as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( constructor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . set_property as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( set_property ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . get_property as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( get_property ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . dispose as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( dispose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . finalize as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( finalize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . dispatch_properties_changed as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( dispatch_properties_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . notify as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( notify ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . constructed as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( constructed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . flags as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . n_construct_properties as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( n_construct_properties ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . pspecs as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( pspecs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . n_pspecs as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( n_pspecs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectClass > ( ) ) ) . pdummy as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectClass ) , "::" , stringify ! ( pdummy ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GObjectConstructParam { pub pspec : * mut GParamSpec , pub value : * mut GValue , } # [ test ] fn bindgen_test_layout__GObjectConstructParam ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GObjectConstructParam > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GObjectConstructParam ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GObjectConstructParam > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GObjectConstructParam ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectConstructParam > ( ) ) ) . pspec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectConstructParam ) , "::" , stringify ! ( pspec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GObjectConstructParam > ( ) ) ) . value as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GObjectConstructParam ) , "::" , stringify ! ( value ) ) ) ; } extern "C" { pub fn g_initially_unowned_get_type ( ) -> GType ; } extern "C" { pub fn g_object_class_install_property ( oclass : * mut GObjectClass , property_id : guint , pspec : * mut GParamSpec ) ; } extern "C" { pub fn g_object_class_find_property ( oclass : * mut GObjectClass , property_name : * const gchar ) -> * mut GParamSpec ; } extern "C" { pub fn g_object_class_list_properties ( oclass : * mut GObjectClass , n_properties : * mut guint ) -> * mut * mut GParamSpec ; } extern "C" { pub fn g_object_class_override_property ( oclass : * mut GObjectClass , property_id : guint , name : * const gchar ) ; } extern "C" { pub fn g_object_class_install_properties ( oclass : * mut GObjectClass , n_pspecs : guint , pspecs : * mut * mut GParamSpec ) ; } extern "C" { pub fn g_object_interface_install_property ( g_iface : gpointer , pspec : * mut GParamSpec ) ; } extern "C" { pub fn g_object_interface_find_property ( g_iface : gpointer , property_name : * const gchar ) -> * mut GParamSpec ; } extern "C" { pub fn g_object_interface_list_properties ( g_iface : gpointer , n_properties_p : * mut guint ) -> * mut * mut GParamSpec ; } extern "C" { pub fn g_object_get_type ( ) -> GType ; } extern "C" { pub fn g_object_new ( object_type : GType , first_property_name : * const gchar , ... ) -> gpointer ; } extern "C" { pub fn g_object_new_with_properties ( object_type : GType , n_properties : guint , names : * mut * const :: std :: os :: raw :: c_char , values : * const GValue ) -> * mut GObject ; } extern "C" { pub fn g_object_newv ( object_type : GType , n_parameters : guint , parameters : * mut GParameter ) -> gpointer ; } extern "C" { pub fn g_object_new_valist ( object_type : GType , first_property_name : * const gchar , var_args : * mut __va_list_tag ) -> * mut GObject ; } extern "C" { pub fn g_object_set ( object : gpointer , first_property_name : * const gchar , ... ) ; } extern "C" { pub fn g_object_get ( object : gpointer , first_property_name : * const gchar , ... ) ; } extern "C" { pub fn g_object_connect ( object : gpointer , signal_spec : * const gchar , ... ) -> gpointer ; } extern "C" { pub fn g_object_disconnect ( object : gpointer , signal_spec : * const gchar , ... ) ; } extern "C" { pub fn g_object_setv ( object : * mut GObject , n_properties : guint , names : * mut * const gchar , values : * const GValue ) ; } extern "C" { pub fn g_object_set_valist ( object : * mut GObject , first_property_name : * const gchar , var_args : * mut __va_list_tag ) ; } extern "C" { pub fn g_object_getv ( object : * mut GObject , n_properties : guint , names : * mut * const gchar , values : * mut GValue ) ; } extern "C" { pub fn g_object_get_valist ( object : * mut GObject , first_property_name : * const gchar , var_args : * mut __va_list_tag ) ; } extern "C" { pub fn g_object_set_property ( object : * mut GObject , property_name : * const gchar , value : * const GValue ) ; } extern "C" { pub fn g_object_get_property ( object : * mut GObject , property_name : * const gchar , value : * mut GValue ) ; } extern "C" { pub fn g_object_freeze_notify ( object : * mut GObject ) ; } extern "C" { pub fn g_object_notify ( object : * mut GObject , property_name : * const gchar ) ; } extern "C" { pub fn g_object_notify_by_pspec ( object : * mut GObject , pspec : * mut GParamSpec ) ; } extern "C" { pub fn g_object_thaw_notify ( object : * mut GObject ) ; } extern "C" { pub fn g_object_is_floating ( object : gpointer ) -> gboolean ; } extern "C" { pub fn g_object_ref_sink ( object : gpointer ) -> gpointer ; } extern "C" { pub fn g_object_take_ref ( object : gpointer ) -> gpointer ; } extern "C" { pub fn g_object_ref ( object : gpointer ) -> gpointer ; } extern "C" { pub fn g_object_unref ( object : gpointer ) ; } extern "C" { pub fn g_object_weak_ref ( object : * mut GObject , notify : GWeakNotify , data : gpointer ) ; } extern "C" { pub fn g_object_weak_unref ( object : * mut GObject , notify : GWeakNotify , data : gpointer ) ; } extern "C" { pub fn g_object_add_weak_pointer ( object : * mut GObject , weak_pointer_location : * mut gpointer ) ; } extern "C" { pub fn g_object_remove_weak_pointer ( object : * mut GObject , weak_pointer_location : * mut gpointer ) ; } pub type GToggleNotify = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer , object : * mut GObject , is_last_ref : gboolean ) > ; extern "C" { pub fn g_object_add_toggle_ref ( object : * mut GObject , notify : GToggleNotify , data : gpointer ) ; } extern "C" { pub fn g_object_remove_toggle_ref ( object : * mut GObject , notify : GToggleNotify , data : gpointer ) ; } extern "C" { pub fn g_object_get_qdata ( object : * mut GObject , quark : GQuark ) -> gpointer ; } extern "C" { pub fn g_object_set_qdata ( object : * mut GObject , quark : GQuark , data : gpointer ) ; } extern "C" { pub fn g_object_set_qdata_full ( object : * mut GObject , quark : GQuark , data : gpointer , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_object_steal_qdata ( object : * mut GObject , quark : GQuark ) -> gpointer ; } extern "C" { pub fn g_object_dup_qdata ( object : * mut GObject , quark : GQuark , dup_func : GDuplicateFunc , user_data : gpointer ) -> gpointer ; } extern "C" { pub fn g_object_replace_qdata ( object : * mut GObject , quark : GQuark , oldval : gpointer , newval : gpointer , destroy : GDestroyNotify , old_destroy : * mut GDestroyNotify ) -> gboolean ; } extern "C" { pub fn g_object_get_data ( object : * mut GObject , key : * const gchar ) -> gpointer ; } extern "C" { pub fn g_object_set_data ( object : * mut GObject , key : * const gchar , data : gpointer ) ; } extern "C" { pub fn g_object_set_data_full ( object : * mut GObject , key : * const gchar , data : gpointer , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_object_steal_data ( object : * mut GObject , key : * const gchar ) -> gpointer ; } extern "C" { pub fn g_object_dup_data ( object : * mut GObject , key : * const gchar , dup_func : GDuplicateFunc , user_data : gpointer ) -> gpointer ; } extern "C" { pub fn g_object_replace_data ( object : * mut GObject , key : * const gchar , oldval : gpointer , newval : gpointer , destroy : GDestroyNotify , old_destroy : * mut GDestroyNotify ) -> gboolean ; } extern "C" { pub fn g_object_watch_closure ( object : * mut GObject , closure : * mut GClosure ) ; } extern "C" { pub fn g_cclosure_new_object ( callback_func : GCallback , object : * mut GObject ) -> * mut GClosure ; } extern "C" { pub fn g_cclosure_new_object_swap ( callback_func : GCallback , object : * mut GObject ) -> * mut GClosure ; } extern "C" { pub fn g_closure_new_object ( sizeof_closure : guint , object : * mut GObject ) -> * mut GClosure ; } extern "C" { pub fn g_value_set_object ( value : * mut GValue , v_object : gpointer ) ; } extern "C" { pub fn g_value_get_object ( value : * const GValue ) -> gpointer ; } extern "C" { pub fn g_value_dup_object ( value : * const GValue ) -> gpointer ; } extern "C" { pub fn g_signal_connect_object ( instance : gpointer , detailed_signal : * const gchar , c_handler : GCallback , gobject : gpointer , connect_flags : GConnectFlags ) -> gulong ; } extern "C" { pub fn g_object_force_floating ( object : * mut GObject ) ; } extern "C" { pub fn g_object_run_dispose ( object : * mut GObject ) ; } extern "C" { pub fn g_value_take_object ( value : * mut GValue , v_object : gpointer ) ; } extern "C" { pub fn g_value_set_object_take_ownership ( value : * mut GValue , v_object : gpointer ) ; } extern "C" { pub fn g_object_compat_control ( what : gsize , data : gpointer ) -> gsize ; } extern "C" { pub fn g_clear_object ( object_ptr : * mut * mut GObject ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct GWeakRef { pub priv_ : GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) { pub p : gpointer , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GWeakRef_union_(unnamed_at_/usr/include/glib-2_0/gobject/gobject_h_922_5) ) , "::" , stringify ! ( p ) ) ) ; } # [ test ] fn bindgen_test_layout_GWeakRef ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GWeakRef > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( GWeakRef ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GWeakRef > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( GWeakRef ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GWeakRef > ( ) ) ) . priv_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GWeakRef ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_weak_ref_init ( weak_ref : * mut GWeakRef , object : gpointer ) ; } extern "C" { pub fn g_weak_ref_clear ( weak_ref : * mut GWeakRef ) ; } extern "C" { pub fn g_weak_ref_get ( weak_ref : * mut GWeakRef ) -> gpointer ; } extern "C" { pub fn g_weak_ref_set ( weak_ref : * mut GWeakRef , object : gpointer ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBinding { _unused : [ u8 ; 0 ] , } pub type GBinding = _GBinding ; pub type GBindingTransformFunc = :: std :: option :: Option < unsafe extern "C" fn ( binding : * mut GBinding , from_value : * const GValue , to_value : * mut GValue , user_data : gpointer ) -> gboolean > ; pub const GBindingFlags_G_BINDING_DEFAULT : GBindingFlags = 0 ; pub const GBindingFlags_G_BINDING_BIDIRECTIONAL : GBindingFlags = 1 ; pub const GBindingFlags_G_BINDING_SYNC_CREATE : GBindingFlags = 2 ; pub const GBindingFlags_G_BINDING_INVERT_BOOLEAN : GBindingFlags = 4 ; pub type GBindingFlags = u32 ; extern "C" { pub fn g_binding_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_binding_get_type ( ) -> GType ; } extern "C" { pub fn g_binding_get_flags ( binding : * mut GBinding ) -> GBindingFlags ; } extern "C" { pub fn g_binding_get_source ( binding : * mut GBinding ) -> * mut GObject ; } extern "C" { pub fn g_binding_dup_source ( binding : * mut GBinding ) -> * mut GObject ; } extern "C" { pub fn g_binding_get_target ( binding : * mut GBinding ) -> * mut GObject ; } extern "C" { pub fn g_binding_dup_target ( binding : * mut GBinding ) -> * mut GObject ; } extern "C" { pub fn g_binding_get_source_property ( binding : * mut GBinding ) -> * const gchar ; } extern "C" { pub fn g_binding_get_target_property ( binding : * mut GBinding ) -> * const gchar ; } extern "C" { pub fn g_binding_unbind ( binding : * mut GBinding ) ; } extern "C" { pub fn g_object_bind_property ( source : gpointer , source_property : * const gchar , target : gpointer , target_property : * const gchar , flags : GBindingFlags ) -> * mut GBinding ; } extern "C" { pub fn g_object_bind_property_full ( source : gpointer , source_property : * const gchar , target : gpointer , target_property : * const gchar , flags : GBindingFlags , transform_to : GBindingTransformFunc , transform_from : GBindingTransformFunc , user_data : gpointer , notify : GDestroyNotify ) -> * mut GBinding ; } extern "C" { pub fn g_object_bind_property_with_closures ( source : gpointer , source_property : * const gchar , target : gpointer , target_property : * const gchar , flags : GBindingFlags , transform_to : * mut GClosure , transform_from : * mut GClosure ) -> * mut GBinding ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBindingGroup { _unused : [ u8 ; 0 ] , } pub type GBindingGroup = _GBindingGroup ; extern "C" { pub fn g_binding_group_get_type ( ) -> GType ; } extern "C" { pub fn g_binding_group_new ( ) -> * mut GBindingGroup ; } extern "C" { pub fn g_binding_group_dup_source ( self_ : * mut GBindingGroup ) -> gpointer ; } extern "C" { pub fn g_binding_group_set_source ( self_ : * mut GBindingGroup , source : gpointer ) ; } extern "C" { pub fn g_binding_group_bind ( self_ : * mut GBindingGroup , source_property : * const gchar , target : gpointer , target_property : * const gchar , flags : GBindingFlags ) ; } extern "C" { pub fn g_binding_group_bind_full ( self_ : * mut GBindingGroup , source_property : * const gchar , target : gpointer , target_property : * const gchar , flags : GBindingFlags , transform_to : GBindingTransformFunc , transform_from : GBindingTransformFunc , user_data : gpointer , user_data_destroy : GDestroyNotify ) ; } extern "C" { pub fn g_binding_group_bind_with_closures ( self_ : * mut GBindingGroup , source_property : * const gchar , target : gpointer , target_property : * const gchar , flags : GBindingFlags , transform_to : * mut GClosure , transform_from : * mut GClosure ) ; } pub type GEnumClass = _GEnumClass ; pub type GFlagsClass = _GFlagsClass ; pub type GEnumValue = _GEnumValue ; pub type GFlagsValue = _GFlagsValue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEnumClass { pub g_type_class : GTypeClass , pub minimum : gint , pub maximum : gint , pub n_values : guint , pub values : * mut GEnumValue , } # [ test ] fn bindgen_test_layout__GEnumClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GEnumClass > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GEnumClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GEnumClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GEnumClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumClass > ( ) ) ) . g_type_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumClass ) , "::" , stringify ! ( g_type_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumClass > ( ) ) ) . minimum as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumClass ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumClass > ( ) ) ) . maximum as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumClass ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumClass > ( ) ) ) . n_values as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumClass ) , "::" , stringify ! ( n_values ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumClass > ( ) ) ) . values as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumClass ) , "::" , stringify ! ( values ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFlagsClass { pub g_type_class : GTypeClass , pub mask : guint , pub n_values : guint , pub values : * mut GFlagsValue , } # [ test ] fn bindgen_test_layout__GFlagsClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFlagsClass > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GFlagsClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFlagsClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFlagsClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsClass > ( ) ) ) . g_type_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsClass ) , "::" , stringify ! ( g_type_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsClass > ( ) ) ) . mask as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsClass ) , "::" , stringify ! ( mask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsClass > ( ) ) ) . n_values as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsClass ) , "::" , stringify ! ( n_values ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsClass > ( ) ) ) . values as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsClass ) , "::" , stringify ! ( values ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEnumValue { pub value : gint , pub value_name : * const gchar , pub value_nick : * const gchar , } # [ test ] fn bindgen_test_layout__GEnumValue ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GEnumValue > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GEnumValue ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GEnumValue > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GEnumValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumValue > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumValue ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumValue > ( ) ) ) . value_name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumValue ) , "::" , stringify ! ( value_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEnumValue > ( ) ) ) . value_nick as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GEnumValue ) , "::" , stringify ! ( value_nick ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFlagsValue { pub value : guint , pub value_name : * const gchar , pub value_nick : * const gchar , } # [ test ] fn bindgen_test_layout__GFlagsValue ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFlagsValue > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GFlagsValue ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFlagsValue > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFlagsValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsValue > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsValue ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsValue > ( ) ) ) . value_name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsValue ) , "::" , stringify ! ( value_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFlagsValue > ( ) ) ) . value_nick as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GFlagsValue ) , "::" , stringify ! ( value_nick ) ) ) ; } extern "C" { pub fn g_enum_get_value ( enum_class : * mut GEnumClass , value : gint ) -> * mut GEnumValue ; } extern "C" { pub fn g_enum_get_value_by_name ( enum_class : * mut GEnumClass , name : * const gchar ) -> * mut GEnumValue ; } extern "C" { pub fn g_enum_get_value_by_nick ( enum_class : * mut GEnumClass , nick : * const gchar ) -> * mut GEnumValue ; } extern "C" { pub fn g_flags_get_first_value ( flags_class : * mut GFlagsClass , value : guint ) -> * mut GFlagsValue ; } extern "C" { pub fn g_flags_get_value_by_name ( flags_class : * mut GFlagsClass , name : * const gchar ) -> * mut GFlagsValue ; } extern "C" { pub fn g_flags_get_value_by_nick ( flags_class : * mut GFlagsClass , nick : * const gchar ) -> * mut GFlagsValue ; } extern "C" { pub fn g_enum_to_string ( g_enum_type : GType , value : gint ) -> * mut gchar ; } extern "C" { pub fn g_flags_to_string ( flags_type : GType , value : guint ) -> * mut gchar ; } extern "C" { pub fn g_value_set_enum ( value : * mut GValue , v_enum : gint ) ; } extern "C" { pub fn g_value_get_enum ( value : * const GValue ) -> gint ; } extern "C" { pub fn g_value_set_flags ( value : * mut GValue , v_flags : guint ) ; } extern "C" { pub fn g_value_get_flags ( value : * const GValue ) -> guint ; } extern "C" { pub fn g_enum_register_static ( name : * const gchar , const_static_values : * const GEnumValue ) -> GType ; } extern "C" { pub fn g_flags_register_static ( name : * const gchar , const_static_values : * const GFlagsValue ) -> GType ; } extern "C" { pub fn g_enum_complete_type_info ( g_enum_type : GType , info : * mut GTypeInfo , const_values : * const GEnumValue ) ; } extern "C" { pub fn g_flags_complete_type_info ( g_flags_type : GType , info : * mut GTypeInfo , const_values : * const GFlagsValue ) ; } extern "C" { pub fn g_unicode_type_get_type ( ) -> GType ; } extern "C" { pub fn g_unicode_break_type_get_type ( ) -> GType ; } extern "C" { pub fn g_unicode_script_get_type ( ) -> GType ; } extern "C" { pub fn g_normalize_mode_get_type ( ) -> GType ; } pub type GParamSpecChar = _GParamSpecChar ; pub type GParamSpecUChar = _GParamSpecUChar ; pub type GParamSpecBoolean = _GParamSpecBoolean ; pub type GParamSpecInt = _GParamSpecInt ; pub type GParamSpecUInt = _GParamSpecUInt ; pub type GParamSpecLong = _GParamSpecLong ; pub type GParamSpecULong = _GParamSpecULong ; pub type GParamSpecInt64 = _GParamSpecInt64 ; pub type GParamSpecUInt64 = _GParamSpecUInt64 ; pub type GParamSpecUnichar = _GParamSpecUnichar ; pub type GParamSpecEnum = _GParamSpecEnum ; pub type GParamSpecFlags = _GParamSpecFlags ; pub type GParamSpecFloat = _GParamSpecFloat ; pub type GParamSpecDouble = _GParamSpecDouble ; pub type GParamSpecString = _GParamSpecString ; pub type GParamSpecParam = _GParamSpecParam ; pub type GParamSpecBoxed = _GParamSpecBoxed ; pub type GParamSpecPointer = _GParamSpecPointer ; pub type GParamSpecValueArray = _GParamSpecValueArray ; pub type GParamSpecObject = _GParamSpecObject ; pub type GParamSpecOverride = _GParamSpecOverride ; pub type GParamSpecGType = _GParamSpecGType ; pub type GParamSpecVariant = _GParamSpecVariant ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecChar { pub parent_instance : GParamSpec , pub minimum : gint8 , pub maximum : gint8 , pub default_value : gint8 , } # [ test ] fn bindgen_test_layout__GParamSpecChar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecChar > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecChar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecChar > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecChar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecChar > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecChar ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecChar > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecChar ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecChar > ( ) ) ) . maximum as * const _ as usize } , 73usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecChar ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecChar > ( ) ) ) . default_value as * const _ as usize } , 74usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecChar ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecUChar { pub parent_instance : GParamSpec , pub minimum : guint8 , pub maximum : guint8 , pub default_value : guint8 , } # [ test ] fn bindgen_test_layout__GParamSpecUChar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecUChar > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecUChar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecUChar > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecUChar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUChar > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUChar ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUChar > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUChar ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUChar > ( ) ) ) . maximum as * const _ as usize } , 73usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUChar ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUChar > ( ) ) ) . default_value as * const _ as usize } , 74usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUChar ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecBoolean { pub parent_instance : GParamSpec , pub default_value : gboolean , } # [ test ] fn bindgen_test_layout__GParamSpecBoolean ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecBoolean > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecBoolean ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecBoolean > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecBoolean ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecBoolean > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecBoolean ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecBoolean > ( ) ) ) . default_value as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecBoolean ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecInt { pub parent_instance : GParamSpec , pub minimum : gint , pub maximum : gint , pub default_value : gint , } # [ test ] fn bindgen_test_layout__GParamSpecInt ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecInt > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecInt ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecInt > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecInt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt > ( ) ) ) . maximum as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt > ( ) ) ) . default_value as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecUInt { pub parent_instance : GParamSpec , pub minimum : guint , pub maximum : guint , pub default_value : guint , } # [ test ] fn bindgen_test_layout__GParamSpecUInt ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecUInt > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecUInt ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecUInt > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecUInt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt > ( ) ) ) . maximum as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt > ( ) ) ) . default_value as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecLong { pub parent_instance : GParamSpec , pub minimum : glong , pub maximum : glong , pub default_value : glong , } # [ test ] fn bindgen_test_layout__GParamSpecLong ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecLong > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecLong ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecLong > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecLong ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecLong > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecLong ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecLong > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecLong ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecLong > ( ) ) ) . maximum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecLong ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecLong > ( ) ) ) . default_value as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecLong ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecULong { pub parent_instance : GParamSpec , pub minimum : gulong , pub maximum : gulong , pub default_value : gulong , } # [ test ] fn bindgen_test_layout__GParamSpecULong ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecULong > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecULong ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecULong > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecULong ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecULong > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecULong ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecULong > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecULong ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecULong > ( ) ) ) . maximum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecULong ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecULong > ( ) ) ) . default_value as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecULong ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecInt64 { pub parent_instance : GParamSpec , pub minimum : gint64 , pub maximum : gint64 , pub default_value : gint64 , } # [ test ] fn bindgen_test_layout__GParamSpecInt64 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecInt64 > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecInt64 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecInt64 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecInt64 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt64 > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt64 ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt64 > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt64 ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt64 > ( ) ) ) . maximum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt64 ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecInt64 > ( ) ) ) . default_value as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecInt64 ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecUInt64 { pub parent_instance : GParamSpec , pub minimum : guint64 , pub maximum : guint64 , pub default_value : guint64 , } # [ test ] fn bindgen_test_layout__GParamSpecUInt64 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecUInt64 > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecUInt64 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecUInt64 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecUInt64 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt64 > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt64 ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt64 > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt64 ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt64 > ( ) ) ) . maximum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt64 ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUInt64 > ( ) ) ) . default_value as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUInt64 ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecUnichar { pub parent_instance : GParamSpec , pub default_value : gunichar , } # [ test ] fn bindgen_test_layout__GParamSpecUnichar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecUnichar > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecUnichar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecUnichar > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecUnichar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUnichar > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUnichar ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecUnichar > ( ) ) ) . default_value as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecUnichar ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecEnum { pub parent_instance : GParamSpec , pub enum_class : * mut GEnumClass , pub default_value : gint , } # [ test ] fn bindgen_test_layout__GParamSpecEnum ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecEnum > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecEnum ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecEnum > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecEnum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecEnum > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecEnum ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecEnum > ( ) ) ) . enum_class as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecEnum ) , "::" , stringify ! ( enum_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecEnum > ( ) ) ) . default_value as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecEnum ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecFlags { pub parent_instance : GParamSpec , pub flags_class : * mut GFlagsClass , pub default_value : guint , } # [ test ] fn bindgen_test_layout__GParamSpecFlags ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecFlags > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecFlags ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecFlags > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecFlags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFlags > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFlags ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFlags > ( ) ) ) . flags_class as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFlags ) , "::" , stringify ! ( flags_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFlags > ( ) ) ) . default_value as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFlags ) , "::" , stringify ! ( default_value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecFloat { pub parent_instance : GParamSpec , pub minimum : gfloat , pub maximum : gfloat , pub default_value : gfloat , pub epsilon : gfloat , } # [ test ] fn bindgen_test_layout__GParamSpecFloat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecFloat > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecFloat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecFloat > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecFloat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFloat > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFloat ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFloat > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFloat ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFloat > ( ) ) ) . maximum as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFloat ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFloat > ( ) ) ) . default_value as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFloat ) , "::" , stringify ! ( default_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecFloat > ( ) ) ) . epsilon as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecFloat ) , "::" , stringify ! ( epsilon ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecDouble { pub parent_instance : GParamSpec , pub minimum : gdouble , pub maximum : gdouble , pub default_value : gdouble , pub epsilon : gdouble , } # [ test ] fn bindgen_test_layout__GParamSpecDouble ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecDouble > ( ) , 104usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecDouble ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecDouble > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecDouble ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecDouble > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecDouble ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecDouble > ( ) ) ) . minimum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecDouble ) , "::" , stringify ! ( minimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecDouble > ( ) ) ) . maximum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecDouble ) , "::" , stringify ! ( maximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecDouble > ( ) ) ) . default_value as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecDouble ) , "::" , stringify ! ( default_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecDouble > ( ) ) ) . epsilon as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecDouble ) , "::" , stringify ! ( epsilon ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecString { pub parent_instance : GParamSpec , pub default_value : * mut gchar , pub cset_first : * mut gchar , pub cset_nth : * mut gchar , pub substitutor : gchar , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub __bindgen_padding_0 : [ u16 ; 3usize ] , } # [ test ] fn bindgen_test_layout__GParamSpecString ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecString > ( ) , 104usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecString ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecString > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecString > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecString ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecString > ( ) ) ) . default_value as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecString ) , "::" , stringify ! ( default_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecString > ( ) ) ) . cset_first as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecString ) , "::" , stringify ! ( cset_first ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecString > ( ) ) ) . cset_nth as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecString ) , "::" , stringify ! ( cset_nth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecString > ( ) ) ) . substitutor as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecString ) , "::" , stringify ! ( substitutor ) ) ) ; } impl _GParamSpecString { # [ inline ] pub fn null_fold_if_empty ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_null_fold_if_empty ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn ensure_non_null ( & self ) -> guint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_ensure_non_null ( & mut self , val : guint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( null_fold_if_empty : guint , ensure_non_null : guint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let null_fold_if_empty : u32 = unsafe { :: std :: mem :: transmute ( null_fold_if_empty ) } ; null_fold_if_empty as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let ensure_non_null : u32 = unsafe { :: std :: mem :: transmute ( ensure_non_null ) } ; ensure_non_null as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecParam { pub parent_instance : GParamSpec , } # [ test ] fn bindgen_test_layout__GParamSpecParam ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecParam > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecParam ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecParam > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecParam ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecParam > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecParam ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecBoxed { pub parent_instance : GParamSpec , } # [ test ] fn bindgen_test_layout__GParamSpecBoxed ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecBoxed > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecBoxed ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecBoxed > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecBoxed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecBoxed > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecBoxed ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecPointer { pub parent_instance : GParamSpec , } # [ test ] fn bindgen_test_layout__GParamSpecPointer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecPointer > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecPointer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecPointer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecPointer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecPointer > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecPointer ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecValueArray { pub parent_instance : GParamSpec , pub element_spec : * mut GParamSpec , pub fixed_n_elements : guint , } # [ test ] fn bindgen_test_layout__GParamSpecValueArray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecValueArray > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecValueArray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecValueArray > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecValueArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecValueArray > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecValueArray ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecValueArray > ( ) ) ) . element_spec as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecValueArray ) , "::" , stringify ! ( element_spec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecValueArray > ( ) ) ) . fixed_n_elements as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecValueArray ) , "::" , stringify ! ( fixed_n_elements ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecObject { pub parent_instance : GParamSpec , } # [ test ] fn bindgen_test_layout__GParamSpecObject ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecObject > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecObject ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecObject > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecObject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecObject > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecObject ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecOverride { pub parent_instance : GParamSpec , pub overridden : * mut GParamSpec , } # [ test ] fn bindgen_test_layout__GParamSpecOverride ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecOverride > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecOverride ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecOverride > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecOverride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecOverride > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecOverride ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecOverride > ( ) ) ) . overridden as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecOverride ) , "::" , stringify ! ( overridden ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecGType { pub parent_instance : GParamSpec , pub is_a_type : GType , } # [ test ] fn bindgen_test_layout__GParamSpecGType ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecGType > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecGType ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecGType > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecGType ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecGType > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecGType ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecGType > ( ) ) ) . is_a_type as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecGType ) , "::" , stringify ! ( is_a_type ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GParamSpecVariant { pub parent_instance : GParamSpec , pub type_ : * mut GVariantType , pub default_value : * mut GVariant , pub padding : [ gpointer ; 4usize ] , } # [ test ] fn bindgen_test_layout__GParamSpecVariant ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GParamSpecVariant > ( ) , 120usize , concat ! ( "Size of: " , stringify ! ( _GParamSpecVariant ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GParamSpecVariant > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GParamSpecVariant ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecVariant > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecVariant ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecVariant > ( ) ) ) . type_ as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecVariant ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecVariant > ( ) ) ) . default_value as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecVariant ) , "::" , stringify ! ( default_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GParamSpecVariant > ( ) ) ) . padding as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GParamSpecVariant ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_param_spec_char ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : gint8 , maximum : gint8 , default_value : gint8 , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_uchar ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : guint8 , maximum : guint8 , default_value : guint8 , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_boolean ( name : * const gchar , nick : * const gchar , blurb : * const gchar , default_value : gboolean , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_int ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : gint , maximum : gint , default_value : gint , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_uint ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : guint , maximum : guint , default_value : guint , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_long ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : glong , maximum : glong , default_value : glong , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_ulong ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : gulong , maximum : gulong , default_value : gulong , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_int64 ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : gint64 , maximum : gint64 , default_value : gint64 , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_uint64 ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : guint64 , maximum : guint64 , default_value : guint64 , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_unichar ( name : * const gchar , nick : * const gchar , blurb : * const gchar , default_value : gunichar , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_enum ( name : * const gchar , nick : * const gchar , blurb : * const gchar , enum_type : GType , default_value : gint , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_flags ( name : * const gchar , nick : * const gchar , blurb : * const gchar , flags_type : GType , default_value : guint , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_float ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : gfloat , maximum : gfloat , default_value : gfloat , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_double ( name : * const gchar , nick : * const gchar , blurb : * const gchar , minimum : gdouble , maximum : gdouble , default_value : gdouble , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_string ( name : * const gchar , nick : * const gchar , blurb : * const gchar , default_value : * const gchar , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_param ( name : * const gchar , nick : * const gchar , blurb : * const gchar , param_type : GType , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_boxed ( name : * const gchar , nick : * const gchar , blurb : * const gchar , boxed_type : GType , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_pointer ( name : * const gchar , nick : * const gchar , blurb : * const gchar , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_value_array ( name : * const gchar , nick : * const gchar , blurb : * const gchar , element_spec : * mut GParamSpec , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_object ( name : * const gchar , nick : * const gchar , blurb : * const gchar , object_type : GType , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_override ( name : * const gchar , overridden : * mut GParamSpec ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_gtype ( name : * const gchar , nick : * const gchar , blurb : * const gchar , is_a_type : GType , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { pub fn g_param_spec_variant ( name : * const gchar , nick : * const gchar , blurb : * const gchar , type_ : * const GVariantType , default_value : * mut GVariant , flags : GParamFlags ) -> * mut GParamSpec ; } extern "C" { # [ link_name = "\u{1}g_param_spec_types" ] pub static mut g_param_spec_types : * mut GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSignalGroup { _unused : [ u8 ; 0 ] , } pub type GSignalGroup = _GSignalGroup ; extern "C" { pub fn g_signal_group_get_type ( ) -> GType ; } extern "C" { pub fn g_signal_group_new ( target_type : GType ) -> * mut GSignalGroup ; } extern "C" { pub fn g_signal_group_set_target ( self_ : * mut GSignalGroup , target : gpointer ) ; } extern "C" { pub fn g_signal_group_dup_target ( self_ : * mut GSignalGroup ) -> gpointer ; } extern "C" { pub fn g_signal_group_block ( self_ : * mut GSignalGroup ) ; } extern "C" { pub fn g_signal_group_unblock ( self_ : * mut GSignalGroup ) ; } extern "C" { pub fn g_signal_group_connect_closure ( self_ : * mut GSignalGroup , detailed_signal : * const gchar , closure : * mut GClosure , after : gboolean ) ; } extern "C" { pub fn g_signal_group_connect_object ( self_ : * mut GSignalGroup , detailed_signal : * const gchar , c_handler : GCallback , object : gpointer , flags : GConnectFlags ) ; } extern "C" { pub fn g_signal_group_connect_data ( self_ : * mut GSignalGroup , detailed_signal : * const gchar , c_handler : GCallback , data : gpointer , notify : GClosureNotify , flags : GConnectFlags ) ; } extern "C" { pub fn g_signal_group_connect ( self_ : * mut GSignalGroup , detailed_signal : * const gchar , c_handler : GCallback , data : gpointer ) ; } extern "C" { pub fn g_signal_group_connect_after ( self_ : * mut GSignalGroup , detailed_signal : * const gchar , c_handler : GCallback , data : gpointer ) ; } extern "C" { pub fn g_signal_group_connect_swapped ( self_ : * mut GSignalGroup , detailed_signal : * const gchar , c_handler : GCallback , data : gpointer ) ; } extern "C" { pub fn g_source_set_closure ( source : * mut GSource , closure : * mut GClosure ) ; } extern "C" { pub fn g_source_set_dummy_callback ( source : * mut GSource ) ; } pub type GTypeModule = _GTypeModule ; pub type GTypeModuleClass = _GTypeModuleClass ; pub type GTypeModule_autoptr = * mut GTypeModule ; pub type GTypeModule_listautoptr = * mut GList ; pub type GTypeModule_slistautoptr = * mut GSList ; pub type GTypeModule_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeModule { pub parent_instance : GObject , pub use_count : guint , pub type_infos : * mut GSList , pub interface_infos : * mut GSList , pub name : * mut gchar , } # [ test ] fn bindgen_test_layout__GTypeModule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeModule > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GTypeModule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeModule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModule > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModule ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModule > ( ) ) ) . use_count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModule ) , "::" , stringify ! ( use_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModule > ( ) ) ) . type_infos as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModule ) , "::" , stringify ! ( type_infos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModule > ( ) ) ) . interface_infos as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModule ) , "::" , stringify ! ( interface_infos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModule > ( ) ) ) . name as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModule ) , "::" , stringify ! ( name ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypeModuleClass { pub parent_class : GObjectClass , pub load : :: std :: option :: Option < unsafe extern "C" fn ( module : * mut GTypeModule ) -> gboolean > , pub unload : :: std :: option :: Option < unsafe extern "C" fn ( module : * mut GTypeModule ) > , pub reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GTypeModuleClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypeModuleClass > ( ) , 184usize , concat ! ( "Size of: " , stringify ! ( _GTypeModuleClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypeModuleClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypeModuleClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . load as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( load ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . unload as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( unload ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . reserved1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . reserved2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . reserved3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypeModuleClass > ( ) ) ) . reserved4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GTypeModuleClass ) , "::" , stringify ! ( reserved4 ) ) ) ; } extern "C" { pub fn g_type_module_get_type ( ) -> GType ; } extern "C" { pub fn g_type_module_use ( module : * mut GTypeModule ) -> gboolean ; } extern "C" { pub fn g_type_module_unuse ( module : * mut GTypeModule ) ; } extern "C" { pub fn g_type_module_set_name ( module : * mut GTypeModule , name : * const gchar ) ; } extern "C" { pub fn g_type_module_register_type ( module : * mut GTypeModule , parent_type : GType , type_name : * const gchar , type_info : * const GTypeInfo , flags : GTypeFlags ) -> GType ; } extern "C" { pub fn g_type_module_add_interface ( module : * mut GTypeModule , instance_type : GType , interface_type : GType , interface_info : * const GInterfaceInfo ) ; } extern "C" { pub fn g_type_module_register_enum ( module : * mut GTypeModule , name : * const gchar , const_static_values : * const GEnumValue ) -> GType ; } extern "C" { pub fn g_type_module_register_flags ( module : * mut GTypeModule , name : * const gchar , const_static_values : * const GFlagsValue ) -> GType ; } pub type GTypePluginClass = _GTypePluginClass ; pub type GTypePluginUse = :: std :: option :: Option < unsafe extern "C" fn ( plugin : * mut GTypePlugin ) > ; pub type GTypePluginUnuse = :: std :: option :: Option < unsafe extern "C" fn ( plugin : * mut GTypePlugin ) > ; pub type GTypePluginCompleteTypeInfo = :: std :: option :: Option < unsafe extern "C" fn ( plugin : * mut GTypePlugin , g_type : GType , info : * mut GTypeInfo , value_table : * mut GTypeValueTable ) > ; pub type GTypePluginCompleteInterfaceInfo = :: std :: option :: Option < unsafe extern "C" fn ( plugin : * mut GTypePlugin , instance_type : GType , interface_type : GType , info : * mut GInterfaceInfo ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTypePluginClass { pub base_iface : GTypeInterface , pub use_plugin : GTypePluginUse , pub unuse_plugin : GTypePluginUnuse , pub complete_type_info : GTypePluginCompleteTypeInfo , pub complete_interface_info : GTypePluginCompleteInterfaceInfo , } # [ test ] fn bindgen_test_layout__GTypePluginClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTypePluginClass > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GTypePluginClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTypePluginClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTypePluginClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypePluginClass > ( ) ) ) . base_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTypePluginClass ) , "::" , stringify ! ( base_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypePluginClass > ( ) ) ) . use_plugin as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTypePluginClass ) , "::" , stringify ! ( use_plugin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypePluginClass > ( ) ) ) . unuse_plugin as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTypePluginClass ) , "::" , stringify ! ( unuse_plugin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypePluginClass > ( ) ) ) . complete_type_info as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GTypePluginClass ) , "::" , stringify ! ( complete_type_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTypePluginClass > ( ) ) ) . complete_interface_info as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GTypePluginClass ) , "::" , stringify ! ( complete_interface_info ) ) ) ; } extern "C" { pub fn g_type_plugin_get_type ( ) -> GType ; } extern "C" { pub fn g_type_plugin_use ( plugin : * mut GTypePlugin ) ; } extern "C" { pub fn g_type_plugin_unuse ( plugin : * mut GTypePlugin ) ; } extern "C" { pub fn g_type_plugin_complete_type_info ( plugin : * mut GTypePlugin , g_type : GType , info : * mut GTypeInfo , value_table : * mut GTypeValueTable ) ; } extern "C" { pub fn g_type_plugin_complete_interface_info ( plugin : * mut GTypePlugin , instance_type : GType , interface_type : GType , info : * mut GInterfaceInfo ) ; } pub type GValueArray = _GValueArray ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GValueArray { pub n_values : guint , pub values : * mut GValue , pub n_prealloced : guint , } # [ test ] fn bindgen_test_layout__GValueArray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GValueArray > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GValueArray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GValueArray > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GValueArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValueArray > ( ) ) ) . n_values as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GValueArray ) , "::" , stringify ! ( n_values ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValueArray > ( ) ) ) . values as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GValueArray ) , "::" , stringify ! ( values ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GValueArray > ( ) ) ) . n_prealloced as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GValueArray ) , "::" , stringify ! ( n_prealloced ) ) ) ; } extern "C" { pub fn g_value_array_get_type ( ) -> GType ; } extern "C" { pub fn g_value_array_get_nth ( value_array : * mut GValueArray , index_ : guint ) -> * mut GValue ; } extern "C" { pub fn g_value_array_new ( n_prealloced : guint ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_free ( value_array : * mut GValueArray ) ; } extern "C" { pub fn g_value_array_copy ( value_array : * const GValueArray ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_prepend ( value_array : * mut GValueArray , value : * const GValue ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_append ( value_array : * mut GValueArray , value : * const GValue ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_insert ( value_array : * mut GValueArray , index_ : guint , value : * const GValue ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_remove ( value_array : * mut GValueArray , index_ : guint ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_sort ( value_array : * mut GValueArray , compare_func : GCompareFunc ) -> * mut GValueArray ; } extern "C" { pub fn g_value_array_sort_with_data ( value_array : * mut GValueArray , compare_func : GCompareDataFunc , user_data : gpointer ) -> * mut GValueArray ; } extern "C" { pub fn g_value_set_char ( value : * mut GValue , v_char : gchar ) ; } extern "C" { pub fn g_value_get_char ( value : * const GValue ) -> gchar ; } extern "C" { pub fn g_value_set_schar ( value : * mut GValue , v_char : gint8 ) ; } extern "C" { pub fn g_value_get_schar ( value : * const GValue ) -> gint8 ; } extern "C" { pub fn g_value_set_uchar ( value : * mut GValue , v_uchar : guchar ) ; } extern "C" { pub fn g_value_get_uchar ( value : * const GValue ) -> guchar ; } extern "C" { pub fn g_value_set_boolean ( value : * mut GValue , v_boolean : gboolean ) ; } extern "C" { pub fn g_value_get_boolean ( value : * const GValue ) -> gboolean ; } extern "C" { pub fn g_value_set_int ( value : * mut GValue , v_int : gint ) ; } extern "C" { pub fn g_value_get_int ( value : * const GValue ) -> gint ; } extern "C" { pub fn g_value_set_uint ( value : * mut GValue , v_uint : guint ) ; } extern "C" { pub fn g_value_get_uint ( value : * const GValue ) -> guint ; } extern "C" { pub fn g_value_set_long ( value : * mut GValue , v_long : glong ) ; } extern "C" { pub fn g_value_get_long ( value : * const GValue ) -> glong ; } extern "C" { pub fn g_value_set_ulong ( value : * mut GValue , v_ulong : gulong ) ; } extern "C" { pub fn g_value_get_ulong ( value : * const GValue ) -> gulong ; } extern "C" { pub fn g_value_set_int64 ( value : * mut GValue , v_int64 : gint64 ) ; } extern "C" { pub fn g_value_get_int64 ( value : * const GValue ) -> gint64 ; } extern "C" { pub fn g_value_set_uint64 ( value : * mut GValue , v_uint64 : guint64 ) ; } extern "C" { pub fn g_value_get_uint64 ( value : * const GValue ) -> guint64 ; } extern "C" { pub fn g_value_set_float ( value : * mut GValue , v_float : gfloat ) ; } extern "C" { pub fn g_value_get_float ( value : * const GValue ) -> gfloat ; } extern "C" { pub fn g_value_set_double ( value : * mut GValue , v_double : gdouble ) ; } extern "C" { pub fn g_value_get_double ( value : * const GValue ) -> gdouble ; } extern "C" { pub fn g_value_set_string ( value : * mut GValue , v_string : * const gchar ) ; } extern "C" { pub fn g_value_set_static_string ( value : * mut GValue , v_string : * const gchar ) ; } extern "C" { pub fn g_value_set_interned_string ( value : * mut GValue , v_string : * const gchar ) ; } extern "C" { pub fn g_value_get_string ( value : * const GValue ) -> * const gchar ; } extern "C" { pub fn g_value_dup_string ( value : * const GValue ) -> * mut gchar ; } extern "C" { pub fn g_value_steal_string ( value : * mut GValue ) -> * mut gchar ; } extern "C" { pub fn g_value_set_pointer ( value : * mut GValue , v_pointer : gpointer ) ; } extern "C" { pub fn g_value_get_pointer ( value : * const GValue ) -> gpointer ; } extern "C" { pub fn g_gtype_get_type ( ) -> GType ; } extern "C" { pub fn g_value_set_gtype ( value : * mut GValue , v_gtype : GType ) ; } extern "C" { pub fn g_value_get_gtype ( value : * const GValue ) -> GType ; } extern "C" { pub fn g_value_set_variant ( value : * mut GValue , variant : * mut GVariant ) ; } extern "C" { pub fn g_value_take_variant ( value : * mut GValue , variant : * mut GVariant ) ; } extern "C" { pub fn g_value_get_variant ( value : * const GValue ) -> * mut GVariant ; } extern "C" { pub fn g_value_dup_variant ( value : * const GValue ) -> * mut GVariant ; } extern "C" { pub fn g_pointer_type_register_static ( name : * const gchar ) -> GType ; } extern "C" { pub fn g_strdup_value_contents ( value : * const GValue ) -> * mut gchar ; } extern "C" { pub fn g_value_take_string ( value : * mut GValue , v_string : * mut gchar ) ; } extern "C" { pub fn g_value_set_string_take_ownership ( value : * mut GValue , v_string : * mut gchar ) ; } pub type gchararray = * mut gchar ; pub type GClosure_autoptr = * mut GClosure ; pub type GClosure_listautoptr = * mut GList ; pub type GClosure_slistautoptr = * mut GSList ; pub type GClosure_queueautoptr = * mut GQueue ; pub type GEnumClass_autoptr = * mut GEnumClass ; pub type GEnumClass_listautoptr = * mut GList ; pub type GEnumClass_slistautoptr = * mut GSList ; pub type GEnumClass_queueautoptr = * mut GQueue ; pub type GFlagsClass_autoptr = * mut GFlagsClass ; pub type GFlagsClass_listautoptr = * mut GList ; pub type GFlagsClass_slistautoptr = * mut GSList ; pub type GFlagsClass_queueautoptr = * mut GQueue ; pub type GObject_autoptr = * mut GObject ; pub type GObject_listautoptr = * mut GList ; pub type GObject_slistautoptr = * mut GSList ; pub type GObject_queueautoptr = * mut GQueue ; pub type GInitiallyUnowned_autoptr = * mut GInitiallyUnowned ; pub type GInitiallyUnowned_listautoptr = * mut GList ; pub type GInitiallyUnowned_slistautoptr = * mut GSList ; pub type GInitiallyUnowned_queueautoptr = * mut GQueue ; pub type GParamSpec_autoptr = * mut GParamSpec ; pub type GParamSpec_listautoptr = * mut GList ; pub type GParamSpec_slistautoptr = * mut GSList ; pub type GParamSpec_queueautoptr = * mut GQueue ; pub type GTypeClass_autoptr = * mut GTypeClass ; pub type GTypeClass_listautoptr = * mut GList ; pub type GTypeClass_slistautoptr = * mut GSList ; pub type GTypeClass_queueautoptr = * mut GQueue ; pub const GAppInfoCreateFlags_G_APP_INFO_CREATE_NONE : GAppInfoCreateFlags = 0 ; pub const GAppInfoCreateFlags_G_APP_INFO_CREATE_NEEDS_TERMINAL : GAppInfoCreateFlags = 1 ; pub const GAppInfoCreateFlags_G_APP_INFO_CREATE_SUPPORTS_URIS : GAppInfoCreateFlags = 2 ; pub const GAppInfoCreateFlags_G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION : GAppInfoCreateFlags = 4 ; pub type GAppInfoCreateFlags = u32 ; pub const GConverterFlags_G_CONVERTER_NO_FLAGS : GConverterFlags = 0 ; pub const GConverterFlags_G_CONVERTER_INPUT_AT_END : GConverterFlags = 1 ; pub const GConverterFlags_G_CONVERTER_FLUSH : GConverterFlags = 2 ; pub type GConverterFlags = u32 ; pub const GConverterResult_G_CONVERTER_ERROR : GConverterResult = 0 ; pub const GConverterResult_G_CONVERTER_CONVERTED : GConverterResult = 1 ; pub const GConverterResult_G_CONVERTER_FINISHED : GConverterResult = 2 ; pub const GConverterResult_G_CONVERTER_FLUSHED : GConverterResult = 3 ; pub type GConverterResult = u32 ; pub const GDataStreamByteOrder_G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN : GDataStreamByteOrder = 0 ; pub const GDataStreamByteOrder_G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN : GDataStreamByteOrder = 1 ; pub const GDataStreamByteOrder_G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN : GDataStreamByteOrder = 2 ; pub type GDataStreamByteOrder = u32 ; pub const GDataStreamNewlineType_G_DATA_STREAM_NEWLINE_TYPE_LF : GDataStreamNewlineType = 0 ; pub const GDataStreamNewlineType_G_DATA_STREAM_NEWLINE_TYPE_CR : GDataStreamNewlineType = 1 ; pub const GDataStreamNewlineType_G_DATA_STREAM_NEWLINE_TYPE_CR_LF : GDataStreamNewlineType = 2 ; pub const GDataStreamNewlineType_G_DATA_STREAM_NEWLINE_TYPE_ANY : GDataStreamNewlineType = 3 ; pub type GDataStreamNewlineType = u32 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_INVALID : GFileAttributeType = 0 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_STRING : GFileAttributeType = 1 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_BYTE_STRING : GFileAttributeType = 2 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_BOOLEAN : GFileAttributeType = 3 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_UINT32 : GFileAttributeType = 4 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_INT32 : GFileAttributeType = 5 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_UINT64 : GFileAttributeType = 6 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_INT64 : GFileAttributeType = 7 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_OBJECT : GFileAttributeType = 8 ; pub const GFileAttributeType_G_FILE_ATTRIBUTE_TYPE_STRINGV : GFileAttributeType = 9 ; pub type GFileAttributeType = u32 ; pub const GFileAttributeInfoFlags_G_FILE_ATTRIBUTE_INFO_NONE : GFileAttributeInfoFlags = 0 ; pub const GFileAttributeInfoFlags_G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE : GFileAttributeInfoFlags = 1 ; pub const GFileAttributeInfoFlags_G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED : GFileAttributeInfoFlags = 2 ; pub type GFileAttributeInfoFlags = u32 ; pub const GFileAttributeStatus_G_FILE_ATTRIBUTE_STATUS_UNSET : GFileAttributeStatus = 0 ; pub const GFileAttributeStatus_G_FILE_ATTRIBUTE_STATUS_SET : GFileAttributeStatus = 1 ; pub const GFileAttributeStatus_G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING : GFileAttributeStatus = 2 ; pub type GFileAttributeStatus = u32 ; pub const GFileQueryInfoFlags_G_FILE_QUERY_INFO_NONE : GFileQueryInfoFlags = 0 ; pub const GFileQueryInfoFlags_G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS : GFileQueryInfoFlags = 1 ; pub type GFileQueryInfoFlags = u32 ; pub const GFileCreateFlags_G_FILE_CREATE_NONE : GFileCreateFlags = 0 ; pub const GFileCreateFlags_G_FILE_CREATE_PRIVATE : GFileCreateFlags = 1 ; pub const GFileCreateFlags_G_FILE_CREATE_REPLACE_DESTINATION : GFileCreateFlags = 2 ; pub type GFileCreateFlags = u32 ; pub const GFileMeasureFlags_G_FILE_MEASURE_NONE : GFileMeasureFlags = 0 ; pub const GFileMeasureFlags_G_FILE_MEASURE_REPORT_ANY_ERROR : GFileMeasureFlags = 2 ; pub const GFileMeasureFlags_G_FILE_MEASURE_APPARENT_SIZE : GFileMeasureFlags = 4 ; pub const GFileMeasureFlags_G_FILE_MEASURE_NO_XDEV : GFileMeasureFlags = 8 ; pub type GFileMeasureFlags = u32 ; pub const GMountMountFlags_G_MOUNT_MOUNT_NONE : GMountMountFlags = 0 ; pub type GMountMountFlags = u32 ; pub const GMountUnmountFlags_G_MOUNT_UNMOUNT_NONE : GMountUnmountFlags = 0 ; pub const GMountUnmountFlags_G_MOUNT_UNMOUNT_FORCE : GMountUnmountFlags = 1 ; pub type GMountUnmountFlags = u32 ; pub const GDriveStartFlags_G_DRIVE_START_NONE : GDriveStartFlags = 0 ; pub type GDriveStartFlags = u32 ; pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_UNKNOWN : GDriveStartStopType = 0 ; pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_SHUTDOWN : GDriveStartStopType = 1 ; pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_NETWORK : GDriveStartStopType = 2 ; pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_MULTIDISK : GDriveStartStopType = 3 ; pub const GDriveStartStopType_G_DRIVE_START_STOP_TYPE_PASSWORD : GDriveStartStopType = 4 ; pub type GDriveStartStopType = u32 ; pub const GFileCopyFlags_G_FILE_COPY_NONE : GFileCopyFlags = 0 ; pub const GFileCopyFlags_G_FILE_COPY_OVERWRITE : GFileCopyFlags = 1 ; pub const GFileCopyFlags_G_FILE_COPY_BACKUP : GFileCopyFlags = 2 ; pub const GFileCopyFlags_G_FILE_COPY_NOFOLLOW_SYMLINKS : GFileCopyFlags = 4 ; pub const GFileCopyFlags_G_FILE_COPY_ALL_METADATA : GFileCopyFlags = 8 ; pub const GFileCopyFlags_G_FILE_COPY_NO_FALLBACK_FOR_MOVE : GFileCopyFlags = 16 ; pub const GFileCopyFlags_G_FILE_COPY_TARGET_DEFAULT_PERMS : GFileCopyFlags = 32 ; pub const GFileCopyFlags_G_FILE_COPY_TARGET_DEFAULT_MODIFIED_TIME : GFileCopyFlags = 64 ; pub type GFileCopyFlags = u32 ; pub const GFileMonitorFlags_G_FILE_MONITOR_NONE : GFileMonitorFlags = 0 ; pub const GFileMonitorFlags_G_FILE_MONITOR_WATCH_MOUNTS : GFileMonitorFlags = 1 ; pub const GFileMonitorFlags_G_FILE_MONITOR_SEND_MOVED : GFileMonitorFlags = 2 ; pub const GFileMonitorFlags_G_FILE_MONITOR_WATCH_HARD_LINKS : GFileMonitorFlags = 4 ; pub const GFileMonitorFlags_G_FILE_MONITOR_WATCH_MOVES : GFileMonitorFlags = 8 ; pub type GFileMonitorFlags = u32 ; pub const GFileType_G_FILE_TYPE_UNKNOWN : GFileType = 0 ; pub const GFileType_G_FILE_TYPE_REGULAR : GFileType = 1 ; pub const GFileType_G_FILE_TYPE_DIRECTORY : GFileType = 2 ; pub const GFileType_G_FILE_TYPE_SYMBOLIC_LINK : GFileType = 3 ; pub const GFileType_G_FILE_TYPE_SPECIAL : GFileType = 4 ; pub const GFileType_G_FILE_TYPE_SHORTCUT : GFileType = 5 ; pub const GFileType_G_FILE_TYPE_MOUNTABLE : GFileType = 6 ; pub type GFileType = u32 ; pub const GFilesystemPreviewType_G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS : GFilesystemPreviewType = 0 ; pub const GFilesystemPreviewType_G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL : GFilesystemPreviewType = 1 ; pub const GFilesystemPreviewType_G_FILESYSTEM_PREVIEW_TYPE_NEVER : GFilesystemPreviewType = 2 ; pub type GFilesystemPreviewType = u32 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_CHANGED : GFileMonitorEvent = 0 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT : GFileMonitorEvent = 1 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_DELETED : GFileMonitorEvent = 2 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_CREATED : GFileMonitorEvent = 3 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED : GFileMonitorEvent = 4 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_PRE_UNMOUNT : GFileMonitorEvent = 5 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_UNMOUNTED : GFileMonitorEvent = 6 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_MOVED : GFileMonitorEvent = 7 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_RENAMED : GFileMonitorEvent = 8 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_MOVED_IN : GFileMonitorEvent = 9 ; pub const GFileMonitorEvent_G_FILE_MONITOR_EVENT_MOVED_OUT : GFileMonitorEvent = 10 ; pub type GFileMonitorEvent = u32 ; pub const GIOErrorEnum_G_IO_ERROR_FAILED : GIOErrorEnum = 0 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_FOUND : GIOErrorEnum = 1 ; pub const GIOErrorEnum_G_IO_ERROR_EXISTS : GIOErrorEnum = 2 ; pub const GIOErrorEnum_G_IO_ERROR_IS_DIRECTORY : GIOErrorEnum = 3 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_DIRECTORY : GIOErrorEnum = 4 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_EMPTY : GIOErrorEnum = 5 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_REGULAR_FILE : GIOErrorEnum = 6 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_SYMBOLIC_LINK : GIOErrorEnum = 7 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_MOUNTABLE_FILE : GIOErrorEnum = 8 ; pub const GIOErrorEnum_G_IO_ERROR_FILENAME_TOO_LONG : GIOErrorEnum = 9 ; pub const GIOErrorEnum_G_IO_ERROR_INVALID_FILENAME : GIOErrorEnum = 10 ; pub const GIOErrorEnum_G_IO_ERROR_TOO_MANY_LINKS : GIOErrorEnum = 11 ; pub const GIOErrorEnum_G_IO_ERROR_NO_SPACE : GIOErrorEnum = 12 ; pub const GIOErrorEnum_G_IO_ERROR_INVALID_ARGUMENT : GIOErrorEnum = 13 ; pub const GIOErrorEnum_G_IO_ERROR_PERMISSION_DENIED : GIOErrorEnum = 14 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_SUPPORTED : GIOErrorEnum = 15 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_MOUNTED : GIOErrorEnum = 16 ; pub const GIOErrorEnum_G_IO_ERROR_ALREADY_MOUNTED : GIOErrorEnum = 17 ; pub const GIOErrorEnum_G_IO_ERROR_CLOSED : GIOErrorEnum = 18 ; pub const GIOErrorEnum_G_IO_ERROR_CANCELLED : GIOErrorEnum = 19 ; pub const GIOErrorEnum_G_IO_ERROR_PENDING : GIOErrorEnum = 20 ; pub const GIOErrorEnum_G_IO_ERROR_READ_ONLY : GIOErrorEnum = 21 ; pub const GIOErrorEnum_G_IO_ERROR_CANT_CREATE_BACKUP : GIOErrorEnum = 22 ; pub const GIOErrorEnum_G_IO_ERROR_WRONG_ETAG : GIOErrorEnum = 23 ; pub const GIOErrorEnum_G_IO_ERROR_TIMED_OUT : GIOErrorEnum = 24 ; pub const GIOErrorEnum_G_IO_ERROR_WOULD_RECURSE : GIOErrorEnum = 25 ; pub const GIOErrorEnum_G_IO_ERROR_BUSY : GIOErrorEnum = 26 ; pub const GIOErrorEnum_G_IO_ERROR_WOULD_BLOCK : GIOErrorEnum = 27 ; pub const GIOErrorEnum_G_IO_ERROR_HOST_NOT_FOUND : GIOErrorEnum = 28 ; pub const GIOErrorEnum_G_IO_ERROR_WOULD_MERGE : GIOErrorEnum = 29 ; pub const GIOErrorEnum_G_IO_ERROR_FAILED_HANDLED : GIOErrorEnum = 30 ; pub const GIOErrorEnum_G_IO_ERROR_TOO_MANY_OPEN_FILES : GIOErrorEnum = 31 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_INITIALIZED : GIOErrorEnum = 32 ; pub const GIOErrorEnum_G_IO_ERROR_ADDRESS_IN_USE : GIOErrorEnum = 33 ; pub const GIOErrorEnum_G_IO_ERROR_PARTIAL_INPUT : GIOErrorEnum = 34 ; pub const GIOErrorEnum_G_IO_ERROR_INVALID_DATA : GIOErrorEnum = 35 ; pub const GIOErrorEnum_G_IO_ERROR_DBUS_ERROR : GIOErrorEnum = 36 ; pub const GIOErrorEnum_G_IO_ERROR_HOST_UNREACHABLE : GIOErrorEnum = 37 ; pub const GIOErrorEnum_G_IO_ERROR_NETWORK_UNREACHABLE : GIOErrorEnum = 38 ; pub const GIOErrorEnum_G_IO_ERROR_CONNECTION_REFUSED : GIOErrorEnum = 39 ; pub const GIOErrorEnum_G_IO_ERROR_PROXY_FAILED : GIOErrorEnum = 40 ; pub const GIOErrorEnum_G_IO_ERROR_PROXY_AUTH_FAILED : GIOErrorEnum = 41 ; pub const GIOErrorEnum_G_IO_ERROR_PROXY_NEED_AUTH : GIOErrorEnum = 42 ; pub const GIOErrorEnum_G_IO_ERROR_PROXY_NOT_ALLOWED : GIOErrorEnum = 43 ; pub const GIOErrorEnum_G_IO_ERROR_BROKEN_PIPE : GIOErrorEnum = 44 ; pub const GIOErrorEnum_G_IO_ERROR_CONNECTION_CLOSED : GIOErrorEnum = 44 ; pub const GIOErrorEnum_G_IO_ERROR_NOT_CONNECTED : GIOErrorEnum = 45 ; pub const GIOErrorEnum_G_IO_ERROR_MESSAGE_TOO_LARGE : GIOErrorEnum = 46 ; pub const GIOErrorEnum_G_IO_ERROR_NO_SUCH_DEVICE : GIOErrorEnum = 47 ; pub const GIOErrorEnum_G_IO_ERROR_DESTINATION_UNSET : GIOErrorEnum = 48 ; pub type GIOErrorEnum = u32 ; pub const GAskPasswordFlags_G_ASK_PASSWORD_NEED_PASSWORD : GAskPasswordFlags = 1 ; pub const GAskPasswordFlags_G_ASK_PASSWORD_NEED_USERNAME : GAskPasswordFlags = 2 ; pub const GAskPasswordFlags_G_ASK_PASSWORD_NEED_DOMAIN : GAskPasswordFlags = 4 ; pub const GAskPasswordFlags_G_ASK_PASSWORD_SAVING_SUPPORTED : GAskPasswordFlags = 8 ; pub const GAskPasswordFlags_G_ASK_PASSWORD_ANONYMOUS_SUPPORTED : GAskPasswordFlags = 16 ; pub const GAskPasswordFlags_G_ASK_PASSWORD_TCRYPT : GAskPasswordFlags = 32 ; pub type GAskPasswordFlags = u32 ; pub const GPasswordSave_G_PASSWORD_SAVE_NEVER : GPasswordSave = 0 ; pub const GPasswordSave_G_PASSWORD_SAVE_FOR_SESSION : GPasswordSave = 1 ; pub const GPasswordSave_G_PASSWORD_SAVE_PERMANENTLY : GPasswordSave = 2 ; pub type GPasswordSave = u32 ; pub const GMountOperationResult_G_MOUNT_OPERATION_HANDLED : GMountOperationResult = 0 ; pub const GMountOperationResult_G_MOUNT_OPERATION_ABORTED : GMountOperationResult = 1 ; pub const GMountOperationResult_G_MOUNT_OPERATION_UNHANDLED : GMountOperationResult = 2 ; pub type GMountOperationResult = u32 ; pub const GOutputStreamSpliceFlags_G_OUTPUT_STREAM_SPLICE_NONE : GOutputStreamSpliceFlags = 0 ; pub const GOutputStreamSpliceFlags_G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE : GOutputStreamSpliceFlags = 1 ; pub const GOutputStreamSpliceFlags_G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET : GOutputStreamSpliceFlags = 2 ; pub type GOutputStreamSpliceFlags = u32 ; pub const GIOStreamSpliceFlags_G_IO_STREAM_SPLICE_NONE : GIOStreamSpliceFlags = 0 ; pub const GIOStreamSpliceFlags_G_IO_STREAM_SPLICE_CLOSE_STREAM1 : GIOStreamSpliceFlags = 1 ; pub const GIOStreamSpliceFlags_G_IO_STREAM_SPLICE_CLOSE_STREAM2 : GIOStreamSpliceFlags = 2 ; pub const GIOStreamSpliceFlags_G_IO_STREAM_SPLICE_WAIT_FOR_BOTH : GIOStreamSpliceFlags = 4 ; pub type GIOStreamSpliceFlags = u32 ; pub const GEmblemOrigin_G_EMBLEM_ORIGIN_UNKNOWN : GEmblemOrigin = 0 ; pub const GEmblemOrigin_G_EMBLEM_ORIGIN_DEVICE : GEmblemOrigin = 1 ; pub const GEmblemOrigin_G_EMBLEM_ORIGIN_LIVEMETADATA : GEmblemOrigin = 2 ; pub const GEmblemOrigin_G_EMBLEM_ORIGIN_TAG : GEmblemOrigin = 3 ; pub type GEmblemOrigin = u32 ; pub const GResolverError_G_RESOLVER_ERROR_NOT_FOUND : GResolverError = 0 ; pub const GResolverError_G_RESOLVER_ERROR_TEMPORARY_FAILURE : GResolverError = 1 ; pub const GResolverError_G_RESOLVER_ERROR_INTERNAL : GResolverError = 2 ; pub type GResolverError = u32 ; pub const GResolverRecordType_G_RESOLVER_RECORD_SRV : GResolverRecordType = 1 ; pub const GResolverRecordType_G_RESOLVER_RECORD_MX : GResolverRecordType = 2 ; pub const GResolverRecordType_G_RESOLVER_RECORD_TXT : GResolverRecordType = 3 ; pub const GResolverRecordType_G_RESOLVER_RECORD_SOA : GResolverRecordType = 4 ; pub const GResolverRecordType_G_RESOLVER_RECORD_NS : GResolverRecordType = 5 ; pub type GResolverRecordType = u32 ; pub const GResourceError_G_RESOURCE_ERROR_NOT_FOUND : GResourceError = 0 ; pub const GResourceError_G_RESOURCE_ERROR_INTERNAL : GResourceError = 1 ; pub type GResourceError = u32 ; pub const GResourceFlags_G_RESOURCE_FLAGS_NONE : GResourceFlags = 0 ; pub const GResourceFlags_G_RESOURCE_FLAGS_COMPRESSED : GResourceFlags = 1 ; pub type GResourceFlags = u32 ; pub const GResourceLookupFlags_G_RESOURCE_LOOKUP_FLAGS_NONE : GResourceLookupFlags = 0 ; pub type GResourceLookupFlags = u32 ; pub const GSocketFamily_G_SOCKET_FAMILY_INVALID : GSocketFamily = 0 ; pub const GSocketFamily_G_SOCKET_FAMILY_UNIX : GSocketFamily = 1 ; pub const GSocketFamily_G_SOCKET_FAMILY_IPV4 : GSocketFamily = 2 ; pub const GSocketFamily_G_SOCKET_FAMILY_IPV6 : GSocketFamily = 10 ; pub type GSocketFamily = u32 ; pub const GSocketType_G_SOCKET_TYPE_INVALID : GSocketType = 0 ; pub const GSocketType_G_SOCKET_TYPE_STREAM : GSocketType = 1 ; pub const GSocketType_G_SOCKET_TYPE_DATAGRAM : GSocketType = 2 ; pub const GSocketType_G_SOCKET_TYPE_SEQPACKET : GSocketType = 3 ; pub type GSocketType = u32 ; pub const GSocketMsgFlags_G_SOCKET_MSG_NONE : GSocketMsgFlags = 0 ; pub const GSocketMsgFlags_G_SOCKET_MSG_OOB : GSocketMsgFlags = 1 ; pub const GSocketMsgFlags_G_SOCKET_MSG_PEEK : GSocketMsgFlags = 2 ; pub const GSocketMsgFlags_G_SOCKET_MSG_DONTROUTE : GSocketMsgFlags = 4 ; pub type GSocketMsgFlags = u32 ; pub const GSocketProtocol_G_SOCKET_PROTOCOL_UNKNOWN : GSocketProtocol = -1 ; pub const GSocketProtocol_G_SOCKET_PROTOCOL_DEFAULT : GSocketProtocol = 0 ; pub const GSocketProtocol_G_SOCKET_PROTOCOL_TCP : GSocketProtocol = 6 ; pub const GSocketProtocol_G_SOCKET_PROTOCOL_UDP : GSocketProtocol = 17 ; pub const GSocketProtocol_G_SOCKET_PROTOCOL_SCTP : GSocketProtocol = 132 ; pub type GSocketProtocol = i32 ; pub const GZlibCompressorFormat_G_ZLIB_COMPRESSOR_FORMAT_ZLIB : GZlibCompressorFormat = 0 ; pub const GZlibCompressorFormat_G_ZLIB_COMPRESSOR_FORMAT_GZIP : GZlibCompressorFormat = 1 ; pub const GZlibCompressorFormat_G_ZLIB_COMPRESSOR_FORMAT_RAW : GZlibCompressorFormat = 2 ; pub type GZlibCompressorFormat = u32 ; pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_INVALID : GUnixSocketAddressType = 0 ; pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_ANONYMOUS : GUnixSocketAddressType = 1 ; pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_PATH : GUnixSocketAddressType = 2 ; pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_ABSTRACT : GUnixSocketAddressType = 3 ; pub const GUnixSocketAddressType_G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED : GUnixSocketAddressType = 4 ; pub type GUnixSocketAddressType = u32 ; pub const GBusType_G_BUS_TYPE_STARTER : GBusType = -1 ; pub const GBusType_G_BUS_TYPE_NONE : GBusType = 0 ; pub const GBusType_G_BUS_TYPE_SYSTEM : GBusType = 1 ; pub const GBusType_G_BUS_TYPE_SESSION : GBusType = 2 ; pub type GBusType = i32 ; pub const GBusNameOwnerFlags_G_BUS_NAME_OWNER_FLAGS_NONE : GBusNameOwnerFlags = 0 ; pub const GBusNameOwnerFlags_G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT : GBusNameOwnerFlags = 1 ; pub const GBusNameOwnerFlags_G_BUS_NAME_OWNER_FLAGS_REPLACE : GBusNameOwnerFlags = 2 ; pub const GBusNameOwnerFlags_G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE : GBusNameOwnerFlags = 4 ; pub type GBusNameOwnerFlags = u32 ; pub const GBusNameWatcherFlags_G_BUS_NAME_WATCHER_FLAGS_NONE : GBusNameWatcherFlags = 0 ; pub const GBusNameWatcherFlags_G_BUS_NAME_WATCHER_FLAGS_AUTO_START : GBusNameWatcherFlags = 1 ; pub type GBusNameWatcherFlags = u32 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_NONE : GDBusProxyFlags = 0 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES : GDBusProxyFlags = 1 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS : GDBusProxyFlags = 2 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START : GDBusProxyFlags = 4 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES : GDBusProxyFlags = 8 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION : GDBusProxyFlags = 16 ; pub const GDBusProxyFlags_G_DBUS_PROXY_FLAGS_NO_MATCH_RULE : GDBusProxyFlags = 32 ; pub type GDBusProxyFlags = u32 ; pub const GDBusError_G_DBUS_ERROR_FAILED : GDBusError = 0 ; pub const GDBusError_G_DBUS_ERROR_NO_MEMORY : GDBusError = 1 ; pub const GDBusError_G_DBUS_ERROR_SERVICE_UNKNOWN : GDBusError = 2 ; pub const GDBusError_G_DBUS_ERROR_NAME_HAS_NO_OWNER : GDBusError = 3 ; pub const GDBusError_G_DBUS_ERROR_NO_REPLY : GDBusError = 4 ; pub const GDBusError_G_DBUS_ERROR_IO_ERROR : GDBusError = 5 ; pub const GDBusError_G_DBUS_ERROR_BAD_ADDRESS : GDBusError = 6 ; pub const GDBusError_G_DBUS_ERROR_NOT_SUPPORTED : GDBusError = 7 ; pub const GDBusError_G_DBUS_ERROR_LIMITS_EXCEEDED : GDBusError = 8 ; pub const GDBusError_G_DBUS_ERROR_ACCESS_DENIED : GDBusError = 9 ; pub const GDBusError_G_DBUS_ERROR_AUTH_FAILED : GDBusError = 10 ; pub const GDBusError_G_DBUS_ERROR_NO_SERVER : GDBusError = 11 ; pub const GDBusError_G_DBUS_ERROR_TIMEOUT : GDBusError = 12 ; pub const GDBusError_G_DBUS_ERROR_NO_NETWORK : GDBusError = 13 ; pub const GDBusError_G_DBUS_ERROR_ADDRESS_IN_USE : GDBusError = 14 ; pub const GDBusError_G_DBUS_ERROR_DISCONNECTED : GDBusError = 15 ; pub const GDBusError_G_DBUS_ERROR_INVALID_ARGS : GDBusError = 16 ; pub const GDBusError_G_DBUS_ERROR_FILE_NOT_FOUND : GDBusError = 17 ; pub const GDBusError_G_DBUS_ERROR_FILE_EXISTS : GDBusError = 18 ; pub const GDBusError_G_DBUS_ERROR_UNKNOWN_METHOD : GDBusError = 19 ; pub const GDBusError_G_DBUS_ERROR_TIMED_OUT : GDBusError = 20 ; pub const GDBusError_G_DBUS_ERROR_MATCH_RULE_NOT_FOUND : GDBusError = 21 ; pub const GDBusError_G_DBUS_ERROR_MATCH_RULE_INVALID : GDBusError = 22 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_EXEC_FAILED : GDBusError = 23 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_FORK_FAILED : GDBusError = 24 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_CHILD_EXITED : GDBusError = 25 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_CHILD_SIGNALED : GDBusError = 26 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_FAILED : GDBusError = 27 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_SETUP_FAILED : GDBusError = 28 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_CONFIG_INVALID : GDBusError = 29 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_SERVICE_INVALID : GDBusError = 30 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND : GDBusError = 31 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID : GDBusError = 32 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_FILE_INVALID : GDBusError = 33 ; pub const GDBusError_G_DBUS_ERROR_SPAWN_NO_MEMORY : GDBusError = 34 ; pub const GDBusError_G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN : GDBusError = 35 ; pub const GDBusError_G_DBUS_ERROR_INVALID_SIGNATURE : GDBusError = 36 ; pub const GDBusError_G_DBUS_ERROR_INVALID_FILE_CONTENT : GDBusError = 37 ; pub const GDBusError_G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN : GDBusError = 38 ; pub const GDBusError_G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN : GDBusError = 39 ; pub const GDBusError_G_DBUS_ERROR_OBJECT_PATH_IN_USE : GDBusError = 40 ; pub const GDBusError_G_DBUS_ERROR_UNKNOWN_OBJECT : GDBusError = 41 ; pub const GDBusError_G_DBUS_ERROR_UNKNOWN_INTERFACE : GDBusError = 42 ; pub const GDBusError_G_DBUS_ERROR_UNKNOWN_PROPERTY : GDBusError = 43 ; pub const GDBusError_G_DBUS_ERROR_PROPERTY_READ_ONLY : GDBusError = 44 ; pub type GDBusError = u32 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_NONE : GDBusConnectionFlags = 0 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT : GDBusConnectionFlags = 1 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER : GDBusConnectionFlags = 2 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS : GDBusConnectionFlags = 4 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION : GDBusConnectionFlags = 8 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING : GDBusConnectionFlags = 16 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER : GDBusConnectionFlags = 32 ; pub const GDBusConnectionFlags_G_DBUS_CONNECTION_FLAGS_CROSS_NAMESPACE : GDBusConnectionFlags = 64 ; pub type GDBusConnectionFlags = u32 ; pub const GDBusCapabilityFlags_G_DBUS_CAPABILITY_FLAGS_NONE : GDBusCapabilityFlags = 0 ; pub const GDBusCapabilityFlags_G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING : GDBusCapabilityFlags = 1 ; pub type GDBusCapabilityFlags = u32 ; pub const GDBusCallFlags_G_DBUS_CALL_FLAGS_NONE : GDBusCallFlags = 0 ; pub const GDBusCallFlags_G_DBUS_CALL_FLAGS_NO_AUTO_START : GDBusCallFlags = 1 ; pub const GDBusCallFlags_G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION : GDBusCallFlags = 2 ; pub type GDBusCallFlags = u32 ; pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_INVALID : GDBusMessageType = 0 ; pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_METHOD_CALL : GDBusMessageType = 1 ; pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_METHOD_RETURN : GDBusMessageType = 2 ; pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_ERROR : GDBusMessageType = 3 ; pub const GDBusMessageType_G_DBUS_MESSAGE_TYPE_SIGNAL : GDBusMessageType = 4 ; pub type GDBusMessageType = u32 ; pub const GDBusMessageFlags_G_DBUS_MESSAGE_FLAGS_NONE : GDBusMessageFlags = 0 ; pub const GDBusMessageFlags_G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED : GDBusMessageFlags = 1 ; pub const GDBusMessageFlags_G_DBUS_MESSAGE_FLAGS_NO_AUTO_START : GDBusMessageFlags = 2 ; pub const GDBusMessageFlags_G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION : GDBusMessageFlags = 4 ; pub type GDBusMessageFlags = u32 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_INVALID : GDBusMessageHeaderField = 0 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_PATH : GDBusMessageHeaderField = 1 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE : GDBusMessageHeaderField = 2 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_MEMBER : GDBusMessageHeaderField = 3 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME : GDBusMessageHeaderField = 4 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL : GDBusMessageHeaderField = 5 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION : GDBusMessageHeaderField = 6 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_SENDER : GDBusMessageHeaderField = 7 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE : GDBusMessageHeaderField = 8 ; pub const GDBusMessageHeaderField_G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS : GDBusMessageHeaderField = 9 ; pub type GDBusMessageHeaderField = u32 ; pub const GDBusPropertyInfoFlags_G_DBUS_PROPERTY_INFO_FLAGS_NONE : GDBusPropertyInfoFlags = 0 ; pub const GDBusPropertyInfoFlags_G_DBUS_PROPERTY_INFO_FLAGS_READABLE : GDBusPropertyInfoFlags = 1 ; pub const GDBusPropertyInfoFlags_G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE : GDBusPropertyInfoFlags = 2 ; pub type GDBusPropertyInfoFlags = u32 ; pub const GDBusSubtreeFlags_G_DBUS_SUBTREE_FLAGS_NONE : GDBusSubtreeFlags = 0 ; pub const GDBusSubtreeFlags_G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES : GDBusSubtreeFlags = 1 ; pub type GDBusSubtreeFlags = u32 ; pub const GDBusServerFlags_G_DBUS_SERVER_FLAGS_NONE : GDBusServerFlags = 0 ; pub const GDBusServerFlags_G_DBUS_SERVER_FLAGS_RUN_IN_THREAD : GDBusServerFlags = 1 ; pub const GDBusServerFlags_G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS : GDBusServerFlags = 2 ; pub const GDBusServerFlags_G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER : GDBusServerFlags = 4 ; pub type GDBusServerFlags = u32 ; pub const GDBusSignalFlags_G_DBUS_SIGNAL_FLAGS_NONE : GDBusSignalFlags = 0 ; pub const GDBusSignalFlags_G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE : GDBusSignalFlags = 1 ; pub const GDBusSignalFlags_G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE : GDBusSignalFlags = 2 ; pub const GDBusSignalFlags_G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH : GDBusSignalFlags = 4 ; pub type GDBusSignalFlags = u32 ; pub const GDBusSendMessageFlags_G_DBUS_SEND_MESSAGE_FLAGS_NONE : GDBusSendMessageFlags = 0 ; pub const GDBusSendMessageFlags_G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL : GDBusSendMessageFlags = 1 ; pub type GDBusSendMessageFlags = u32 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_INVALID : GCredentialsType = 0 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_LINUX_UCRED : GCredentialsType = 1 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED : GCredentialsType = 2 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED : GCredentialsType = 3 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_SOLARIS_UCRED : GCredentialsType = 4 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_NETBSD_UNPCBID : GCredentialsType = 5 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_APPLE_XUCRED : GCredentialsType = 6 ; pub const GCredentialsType_G_CREDENTIALS_TYPE_WIN32_PID : GCredentialsType = 7 ; pub type GCredentialsType = u32 ; pub const GDBusMessageByteOrder_G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN : GDBusMessageByteOrder = 66 ; pub const GDBusMessageByteOrder_G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN : GDBusMessageByteOrder = 108 ; pub type GDBusMessageByteOrder = u32 ; pub const GApplicationFlags_G_APPLICATION_FLAGS_NONE : GApplicationFlags = 0 ; pub const GApplicationFlags_G_APPLICATION_DEFAULT_FLAGS : GApplicationFlags = 0 ; pub const GApplicationFlags_G_APPLICATION_IS_SERVICE : GApplicationFlags = 1 ; pub const GApplicationFlags_G_APPLICATION_IS_LAUNCHER : GApplicationFlags = 2 ; pub const GApplicationFlags_G_APPLICATION_HANDLES_OPEN : GApplicationFlags = 4 ; pub const GApplicationFlags_G_APPLICATION_HANDLES_COMMAND_LINE : GApplicationFlags = 8 ; pub const GApplicationFlags_G_APPLICATION_SEND_ENVIRONMENT : GApplicationFlags = 16 ; pub const GApplicationFlags_G_APPLICATION_NON_UNIQUE : GApplicationFlags = 32 ; pub const GApplicationFlags_G_APPLICATION_CAN_OVERRIDE_APP_ID : GApplicationFlags = 64 ; pub const GApplicationFlags_G_APPLICATION_ALLOW_REPLACEMENT : GApplicationFlags = 128 ; pub const GApplicationFlags_G_APPLICATION_REPLACE : GApplicationFlags = 256 ; pub type GApplicationFlags = u32 ; pub const GTlsError_G_TLS_ERROR_UNAVAILABLE : GTlsError = 0 ; pub const GTlsError_G_TLS_ERROR_MISC : GTlsError = 1 ; pub const GTlsError_G_TLS_ERROR_BAD_CERTIFICATE : GTlsError = 2 ; pub const GTlsError_G_TLS_ERROR_NOT_TLS : GTlsError = 3 ; pub const GTlsError_G_TLS_ERROR_HANDSHAKE : GTlsError = 4 ; pub const GTlsError_G_TLS_ERROR_CERTIFICATE_REQUIRED : GTlsError = 5 ; pub const GTlsError_G_TLS_ERROR_EOF : GTlsError = 6 ; pub const GTlsError_G_TLS_ERROR_INAPPROPRIATE_FALLBACK : GTlsError = 7 ; pub const GTlsError_G_TLS_ERROR_BAD_CERTIFICATE_PASSWORD : GTlsError = 8 ; pub type GTlsError = u32 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_NO_FLAGS : GTlsCertificateFlags = 0 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_UNKNOWN_CA : GTlsCertificateFlags = 1 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_BAD_IDENTITY : GTlsCertificateFlags = 2 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_NOT_ACTIVATED : GTlsCertificateFlags = 4 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_EXPIRED : GTlsCertificateFlags = 8 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_REVOKED : GTlsCertificateFlags = 16 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_INSECURE : GTlsCertificateFlags = 32 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_GENERIC_ERROR : GTlsCertificateFlags = 64 ; pub const GTlsCertificateFlags_G_TLS_CERTIFICATE_VALIDATE_ALL : GTlsCertificateFlags = 127 ; pub type GTlsCertificateFlags = u32 ; pub const GTlsAuthenticationMode_G_TLS_AUTHENTICATION_NONE : GTlsAuthenticationMode = 0 ; pub const GTlsAuthenticationMode_G_TLS_AUTHENTICATION_REQUESTED : GTlsAuthenticationMode = 1 ; pub const GTlsAuthenticationMode_G_TLS_AUTHENTICATION_REQUIRED : GTlsAuthenticationMode = 2 ; pub type GTlsAuthenticationMode = u32 ; pub const GTlsChannelBindingType_G_TLS_CHANNEL_BINDING_TLS_UNIQUE : GTlsChannelBindingType = 0 ; pub const GTlsChannelBindingType_G_TLS_CHANNEL_BINDING_TLS_SERVER_END_POINT : GTlsChannelBindingType = 1 ; pub const GTlsChannelBindingType_G_TLS_CHANNEL_BINDING_TLS_EXPORTER : GTlsChannelBindingType = 2 ; pub type GTlsChannelBindingType = u32 ; pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_NOT_IMPLEMENTED : GTlsChannelBindingError = 0 ; pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_INVALID_STATE : GTlsChannelBindingError = 1 ; pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_NOT_AVAILABLE : GTlsChannelBindingError = 2 ; pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_NOT_SUPPORTED : GTlsChannelBindingError = 3 ; pub const GTlsChannelBindingError_G_TLS_CHANNEL_BINDING_ERROR_GENERAL_ERROR : GTlsChannelBindingError = 4 ; pub type GTlsChannelBindingError = u32 ; pub const GTlsRehandshakeMode_G_TLS_REHANDSHAKE_NEVER : GTlsRehandshakeMode = 0 ; pub const GTlsRehandshakeMode_G_TLS_REHANDSHAKE_SAFELY : GTlsRehandshakeMode = 1 ; pub const GTlsRehandshakeMode_G_TLS_REHANDSHAKE_UNSAFELY : GTlsRehandshakeMode = 2 ; pub type GTlsRehandshakeMode = u32 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_NONE : _GTlsPasswordFlags = 0 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_RETRY : _GTlsPasswordFlags = 2 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_MANY_TRIES : _GTlsPasswordFlags = 4 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_FINAL_TRY : _GTlsPasswordFlags = 8 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_PKCS11_USER : _GTlsPasswordFlags = 16 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_PKCS11_SECURITY_OFFICER : _GTlsPasswordFlags = 32 ; pub const _GTlsPasswordFlags_G_TLS_PASSWORD_PKCS11_CONTEXT_SPECIFIC : _GTlsPasswordFlags = 64 ; pub type _GTlsPasswordFlags = u32 ; pub use self :: _GTlsPasswordFlags as GTlsPasswordFlags ; pub const GTlsInteractionResult_G_TLS_INTERACTION_UNHANDLED : GTlsInteractionResult = 0 ; pub const GTlsInteractionResult_G_TLS_INTERACTION_HANDLED : GTlsInteractionResult = 1 ; pub const GTlsInteractionResult_G_TLS_INTERACTION_FAILED : GTlsInteractionResult = 2 ; pub type GTlsInteractionResult = u32 ; pub const GDBusInterfaceSkeletonFlags_G_DBUS_INTERFACE_SKELETON_FLAGS_NONE : GDBusInterfaceSkeletonFlags = 0 ; pub const GDBusInterfaceSkeletonFlags_G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD : GDBusInterfaceSkeletonFlags = 1 ; pub type GDBusInterfaceSkeletonFlags = u32 ; pub const GDBusObjectManagerClientFlags_G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE : GDBusObjectManagerClientFlags = 0 ; pub const GDBusObjectManagerClientFlags_G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START : GDBusObjectManagerClientFlags = 1 ; pub type GDBusObjectManagerClientFlags = u32 ; pub const GTlsDatabaseVerifyFlags_G_TLS_DATABASE_VERIFY_NONE : GTlsDatabaseVerifyFlags = 0 ; pub type GTlsDatabaseVerifyFlags = u32 ; pub const GTlsDatabaseLookupFlags_G_TLS_DATABASE_LOOKUP_NONE : GTlsDatabaseLookupFlags = 0 ; pub const GTlsDatabaseLookupFlags_G_TLS_DATABASE_LOOKUP_KEYPAIR : GTlsDatabaseLookupFlags = 1 ; pub type GTlsDatabaseLookupFlags = u32 ; pub const GTlsCertificateRequestFlags_G_TLS_CERTIFICATE_REQUEST_NONE : GTlsCertificateRequestFlags = 0 ; pub type GTlsCertificateRequestFlags = u32 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_UNKNOWN : GTlsProtocolVersion = 0 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_SSL_3_0 : GTlsProtocolVersion = 1 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_TLS_1_0 : GTlsProtocolVersion = 2 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_TLS_1_1 : GTlsProtocolVersion = 3 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_TLS_1_2 : GTlsProtocolVersion = 4 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_TLS_1_3 : GTlsProtocolVersion = 5 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_DTLS_1_0 : GTlsProtocolVersion = 201 ; pub const GTlsProtocolVersion_G_TLS_PROTOCOL_VERSION_DTLS_1_2 : GTlsProtocolVersion = 202 ; pub type GTlsProtocolVersion = u32 ; pub const GIOModuleScopeFlags_G_IO_MODULE_SCOPE_NONE : GIOModuleScopeFlags = 0 ; pub const GIOModuleScopeFlags_G_IO_MODULE_SCOPE_BLOCK_DUPLICATES : GIOModuleScopeFlags = 1 ; pub type GIOModuleScopeFlags = u32 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_RESOLVING : GSocketClientEvent = 0 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_RESOLVED : GSocketClientEvent = 1 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_CONNECTING : GSocketClientEvent = 2 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_CONNECTED : GSocketClientEvent = 3 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_PROXY_NEGOTIATING : GSocketClientEvent = 4 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_PROXY_NEGOTIATED : GSocketClientEvent = 5 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_TLS_HANDSHAKING : GSocketClientEvent = 6 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_TLS_HANDSHAKED : GSocketClientEvent = 7 ; pub const GSocketClientEvent_G_SOCKET_CLIENT_COMPLETE : GSocketClientEvent = 8 ; pub type GSocketClientEvent = u32 ; pub const GSocketListenerEvent_G_SOCKET_LISTENER_BINDING : GSocketListenerEvent = 0 ; pub const GSocketListenerEvent_G_SOCKET_LISTENER_BOUND : GSocketListenerEvent = 1 ; pub const GSocketListenerEvent_G_SOCKET_LISTENER_LISTENING : GSocketListenerEvent = 2 ; pub const GSocketListenerEvent_G_SOCKET_LISTENER_LISTENED : GSocketListenerEvent = 3 ; pub type GSocketListenerEvent = u32 ; pub const GTestDBusFlags_G_TEST_DBUS_NONE : GTestDBusFlags = 0 ; pub type GTestDBusFlags = u32 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_NONE : GSubprocessFlags = 0 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDIN_PIPE : GSubprocessFlags = 1 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDIN_INHERIT : GSubprocessFlags = 2 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDOUT_PIPE : GSubprocessFlags = 4 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDOUT_SILENCE : GSubprocessFlags = 8 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDERR_PIPE : GSubprocessFlags = 16 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDERR_SILENCE : GSubprocessFlags = 32 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_STDERR_MERGE : GSubprocessFlags = 64 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_INHERIT_FDS : GSubprocessFlags = 128 ; pub const GSubprocessFlags_G_SUBPROCESS_FLAGS_SEARCH_PATH_FROM_ENVP : GSubprocessFlags = 256 ; pub type GSubprocessFlags = u32 ; pub const GNotificationPriority_G_NOTIFICATION_PRIORITY_NORMAL : GNotificationPriority = 0 ; pub const GNotificationPriority_G_NOTIFICATION_PRIORITY_LOW : GNotificationPriority = 1 ; pub const GNotificationPriority_G_NOTIFICATION_PRIORITY_HIGH : GNotificationPriority = 2 ; pub const GNotificationPriority_G_NOTIFICATION_PRIORITY_URGENT : GNotificationPriority = 3 ; pub type GNotificationPriority = u32 ; pub const GNetworkConnectivity_G_NETWORK_CONNECTIVITY_LOCAL : GNetworkConnectivity = 1 ; pub const GNetworkConnectivity_G_NETWORK_CONNECTIVITY_LIMITED : GNetworkConnectivity = 2 ; pub const GNetworkConnectivity_G_NETWORK_CONNECTIVITY_PORTAL : GNetworkConnectivity = 3 ; pub const GNetworkConnectivity_G_NETWORK_CONNECTIVITY_FULL : GNetworkConnectivity = 4 ; pub type GNetworkConnectivity = u32 ; pub const GPollableReturn_G_POLLABLE_RETURN_FAILED : GPollableReturn = 0 ; pub const GPollableReturn_G_POLLABLE_RETURN_OK : GPollableReturn = 1 ; pub const GPollableReturn_G_POLLABLE_RETURN_WOULD_BLOCK : GPollableReturn = -27 ; pub type GPollableReturn = i32 ; pub const GMemoryMonitorWarningLevel_G_MEMORY_MONITOR_WARNING_LEVEL_LOW : GMemoryMonitorWarningLevel = 50 ; pub const GMemoryMonitorWarningLevel_G_MEMORY_MONITOR_WARNING_LEVEL_MEDIUM : GMemoryMonitorWarningLevel = 100 ; pub const GMemoryMonitorWarningLevel_G_MEMORY_MONITOR_WARNING_LEVEL_CRITICAL : GMemoryMonitorWarningLevel = 255 ; pub type GMemoryMonitorWarningLevel = u32 ; pub type GAppLaunchContext = _GAppLaunchContext ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAppInfo { _unused : [ u8 ; 0 ] , } pub type GAppInfo = _GAppInfo ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAsyncResult { _unused : [ u8 ; 0 ] , } pub type GAsyncResult = _GAsyncResult ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAsyncInitable { _unused : [ u8 ; 0 ] , } pub type GAsyncInitable = _GAsyncInitable ; pub type GBufferedInputStream = _GBufferedInputStream ; pub type GBufferedOutputStream = _GBufferedOutputStream ; pub type GCancellable = _GCancellable ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCharsetConverter { _unused : [ u8 ; 0 ] , } pub type GCharsetConverter = _GCharsetConverter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverter { _unused : [ u8 ; 0 ] , } pub type GConverter = _GConverter ; pub type GConverterInputStream = _GConverterInputStream ; pub type GConverterOutputStream = _GConverterOutputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDatagramBased { _unused : [ u8 ; 0 ] , } pub type GDatagramBased = _GDatagramBased ; pub type GDataInputStream = _GDataInputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimplePermission { _unused : [ u8 ; 0 ] , } pub type GSimplePermission = _GSimplePermission ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GZlibCompressor { _unused : [ u8 ; 0 ] , } pub type GZlibCompressor = _GZlibCompressor ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GZlibDecompressor { _unused : [ u8 ; 0 ] , } pub type GZlibDecompressor = _GZlibDecompressor ; pub type GSimpleActionGroup = _GSimpleActionGroup ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRemoteActionGroup { _unused : [ u8 ; 0 ] , } pub type GRemoteActionGroup = _GRemoteActionGroup ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusActionGroup { _unused : [ u8 ; 0 ] , } pub type GDBusActionGroup = _GDBusActionGroup ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GActionMap { _unused : [ u8 ; 0 ] , } pub type GActionMap = _GActionMap ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GActionGroup { _unused : [ u8 ; 0 ] , } pub type GActionGroup = _GActionGroup ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPropertyAction { _unused : [ u8 ; 0 ] , } pub type GPropertyAction = _GPropertyAction ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleAction { _unused : [ u8 ; 0 ] , } pub type GSimpleAction = _GSimpleAction ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAction { _unused : [ u8 ; 0 ] , } pub type GAction = _GAction ; pub type GApplication = _GApplication ; pub type GApplicationCommandLine = _GApplicationCommandLine ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettingsBackend { _unused : [ u8 ; 0 ] , } pub type GSettingsBackend = _GSettingsBackend ; pub type GSettings = _GSettings ; pub type GPermission = _GPermission ; pub type GMenuModel = _GMenuModel ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNotification { _unused : [ u8 ; 0 ] , } pub type GNotification = _GNotification ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDrive { _unused : [ u8 ; 0 ] , } pub type GDrive = _GDrive ; pub type GFileEnumerator = _GFileEnumerator ; pub type GFileMonitor = _GFileMonitor ; pub type GFilterInputStream = _GFilterInputStream ; pub type GFilterOutputStream = _GFilterOutputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFile { _unused : [ u8 ; 0 ] , } pub type GFile = _GFile ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileInfo { _unused : [ u8 ; 0 ] , } pub type GFileInfo = _GFileInfo ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileAttributeMatcher { _unused : [ u8 ; 0 ] , } pub type GFileAttributeMatcher = _GFileAttributeMatcher ; pub type GFileAttributeInfo = _GFileAttributeInfo ; pub type GFileAttributeInfoList = _GFileAttributeInfoList ; pub type GFileInputStream = _GFileInputStream ; pub type GFileOutputStream = _GFileOutputStream ; pub type GFileIOStream = _GFileIOStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileIcon { _unused : [ u8 ; 0 ] , } pub type GFileIcon = _GFileIcon ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFilenameCompleter { _unused : [ u8 ; 0 ] , } pub type GFilenameCompleter = _GFilenameCompleter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIcon { _unused : [ u8 ; 0 ] , } pub type GIcon = _GIcon ; pub type GInetAddress = _GInetAddress ; pub type GInetAddressMask = _GInetAddressMask ; pub type GInetSocketAddress = _GInetSocketAddress ; pub type GNativeSocketAddress = _GNativeSocketAddress ; pub type GInputStream = _GInputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInitable { _unused : [ u8 ; 0 ] , } pub type GInitable = _GInitable ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOModule { _unused : [ u8 ; 0 ] , } pub type GIOModule = _GIOModule ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOExtensionPoint { _unused : [ u8 ; 0 ] , } pub type GIOExtensionPoint = _GIOExtensionPoint ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOExtension { _unused : [ u8 ; 0 ] , } pub type GIOExtension = _GIOExtension ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOSchedulerJob { _unused : [ u8 ; 0 ] , } pub type GIOSchedulerJob = _GIOSchedulerJob ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOStreamAdapter { _unused : [ u8 ; 0 ] , } pub type GIOStreamAdapter = _GIOStreamAdapter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GLoadableIcon { _unused : [ u8 ; 0 ] , } pub type GLoadableIcon = _GLoadableIcon ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBytesIcon { _unused : [ u8 ; 0 ] , } pub type GBytesIcon = _GBytesIcon ; pub type GMemoryInputStream = _GMemoryInputStream ; pub type GMemoryOutputStream = _GMemoryOutputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMount { _unused : [ u8 ; 0 ] , } pub type GMount = _GMount ; pub type GMountOperation = _GMountOperation ; pub type GNetworkAddress = _GNetworkAddress ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkMonitor { _unused : [ u8 ; 0 ] , } pub type GNetworkMonitor = _GNetworkMonitor ; pub type GNetworkService = _GNetworkService ; pub type GOutputStream = _GOutputStream ; pub type GIOStream = _GIOStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleIOStream { _unused : [ u8 ; 0 ] , } pub type GSimpleIOStream = _GSimpleIOStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPollableInputStream { _unused : [ u8 ; 0 ] , } pub type GPollableInputStream = _GPollableInputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPollableOutputStream { _unused : [ u8 ; 0 ] , } pub type GPollableOutputStream = _GPollableOutputStream ; pub type GResolver = _GResolver ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GResource { _unused : [ u8 ; 0 ] , } pub type GResource = _GResource ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSeekable { _unused : [ u8 ; 0 ] , } pub type GSeekable = _GSeekable ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleAsyncResult { _unused : [ u8 ; 0 ] , } pub type GSimpleAsyncResult = _GSimpleAsyncResult ; pub type GSocket = _GSocket ; pub type GSocketControlMessage = _GSocketControlMessage ; pub type GSocketClient = _GSocketClient ; pub type GSocketConnection = _GSocketConnection ; pub type GSocketListener = _GSocketListener ; pub type GSocketService = _GSocketService ; pub type GSocketAddress = _GSocketAddress ; pub type GSocketAddressEnumerator = _GSocketAddressEnumerator ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketConnectable { _unused : [ u8 ; 0 ] , } pub type GSocketConnectable = _GSocketConnectable ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSrvTarget { _unused : [ u8 ; 0 ] , } pub type GSrvTarget = _GSrvTarget ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTask { _unused : [ u8 ; 0 ] , } pub type GTask = _GTask ; pub type GTcpConnection = _GTcpConnection ; pub type GTcpWrapperConnection = _GTcpWrapperConnection ; pub type GThreadedSocketService = _GThreadedSocketService ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDtlsConnection { _unused : [ u8 ; 0 ] , } pub type GDtlsConnection = _GDtlsConnection ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDtlsClientConnection { _unused : [ u8 ; 0 ] , } pub type GDtlsClientConnection = _GDtlsClientConnection ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDtlsServerConnection { _unused : [ u8 ; 0 ] , } pub type GDtlsServerConnection = _GDtlsServerConnection ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThemedIcon { _unused : [ u8 ; 0 ] , } pub type GThemedIcon = _GThemedIcon ; pub type GTlsCertificate = _GTlsCertificate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsClientConnection { _unused : [ u8 ; 0 ] , } pub type GTlsClientConnection = _GTlsClientConnection ; pub type GTlsConnection = _GTlsConnection ; pub type GTlsDatabase = _GTlsDatabase ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsFileDatabase { _unused : [ u8 ; 0 ] , } pub type GTlsFileDatabase = _GTlsFileDatabase ; pub type GTlsInteraction = _GTlsInteraction ; pub type GTlsPassword = _GTlsPassword ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsServerConnection { _unused : [ u8 ; 0 ] , } pub type GTlsServerConnection = _GTlsServerConnection ; pub type GVfs = _GVfs ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyResolver { _unused : [ u8 ; 0 ] , } pub type GProxyResolver = _GProxyResolver ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxy { _unused : [ u8 ; 0 ] , } pub type GProxy = _GProxy ; pub type GProxyAddress = _GProxyAddress ; pub type GProxyAddressEnumerator = _GProxyAddressEnumerator ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVolume { _unused : [ u8 ; 0 ] , } pub type GVolume = _GVolume ; pub type GVolumeMonitor = _GVolumeMonitor ; pub type GAsyncReadyCallback = :: std :: option :: Option < unsafe extern "C" fn ( source_object : * mut GObject , res : * mut GAsyncResult , data : gpointer ) > ; pub type GFileProgressCallback = :: std :: option :: Option < unsafe extern "C" fn ( current_num_bytes : goffset , total_num_bytes : goffset , data : gpointer ) > ; pub type GFileReadMoreCallback = :: std :: option :: Option < unsafe extern "C" fn ( file_contents : * const :: std :: os :: raw :: c_char , file_size : goffset , callback_data : gpointer ) -> gboolean > ; pub type GFileMeasureProgressCallback = :: std :: option :: Option < unsafe extern "C" fn ( reporting : gboolean , current_size : guint64 , num_dirs : guint64 , num_files : guint64 , data : gpointer ) > ; pub type GIOSchedulerJobFunc = :: std :: option :: Option < unsafe extern "C" fn ( job : * mut GIOSchedulerJob , cancellable : * mut GCancellable , data : gpointer ) -> gboolean > ; pub type GSimpleAsyncThreadFunc = :: std :: option :: Option < unsafe extern "C" fn ( res : * mut GSimpleAsyncResult , object : * mut GObject , cancellable : * mut GCancellable ) > ; pub type GSocketSourceFunc = :: std :: option :: Option < unsafe extern "C" fn ( socket : * mut GSocket , condition : GIOCondition , data : gpointer ) -> gboolean > ; pub type GDatagramBasedSourceFunc = :: std :: option :: Option < unsafe extern "C" fn ( datagram_based : * mut GDatagramBased , condition : GIOCondition , data : gpointer ) -> gboolean > ; pub type GInputVector = _GInputVector ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInputVector { pub buffer : gpointer , pub size : gsize , } # [ test ] fn bindgen_test_layout__GInputVector ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInputVector > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GInputVector ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInputVector > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInputVector ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputVector > ( ) ) ) . buffer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInputVector ) , "::" , stringify ! ( buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputVector > ( ) ) ) . size as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GInputVector ) , "::" , stringify ! ( size ) ) ) ; } pub type GInputMessage = _GInputMessage ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInputMessage { pub address : * mut * mut GSocketAddress , pub vectors : * mut GInputVector , pub num_vectors : guint , pub bytes_received : gsize , pub flags : gint , pub control_messages : * mut * mut * mut GSocketControlMessage , pub num_control_messages : * mut guint , } # [ test ] fn bindgen_test_layout__GInputMessage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInputMessage > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GInputMessage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInputMessage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInputMessage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . address as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( address ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . vectors as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( vectors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . num_vectors as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( num_vectors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . bytes_received as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( bytes_received ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . flags as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . control_messages as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( control_messages ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputMessage > ( ) ) ) . num_control_messages as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GInputMessage ) , "::" , stringify ! ( num_control_messages ) ) ) ; } pub type GOutputVector = _GOutputVector ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOutputVector { pub buffer : gconstpointer , pub size : gsize , } # [ test ] fn bindgen_test_layout__GOutputVector ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GOutputVector > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GOutputVector ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GOutputVector > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GOutputVector ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputVector > ( ) ) ) . buffer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputVector ) , "::" , stringify ! ( buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputVector > ( ) ) ) . size as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputVector ) , "::" , stringify ! ( size ) ) ) ; } pub type GOutputMessage = _GOutputMessage ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOutputMessage { pub address : * mut GSocketAddress , pub vectors : * mut GOutputVector , pub num_vectors : guint , pub bytes_sent : guint , pub control_messages : * mut * mut GSocketControlMessage , pub num_control_messages : guint , } # [ test ] fn bindgen_test_layout__GOutputMessage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GOutputMessage > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GOutputMessage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GOutputMessage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GOutputMessage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputMessage > ( ) ) ) . address as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputMessage ) , "::" , stringify ! ( address ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputMessage > ( ) ) ) . vectors as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputMessage ) , "::" , stringify ! ( vectors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputMessage > ( ) ) ) . num_vectors as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputMessage ) , "::" , stringify ! ( num_vectors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputMessage > ( ) ) ) . bytes_sent as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputMessage ) , "::" , stringify ! ( bytes_sent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputMessage > ( ) ) ) . control_messages as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputMessage ) , "::" , stringify ! ( control_messages ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputMessage > ( ) ) ) . num_control_messages as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputMessage ) , "::" , stringify ! ( num_control_messages ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCredentials { _unused : [ u8 ; 0 ] , } pub type GCredentials = _GCredentials ; pub type GUnixCredentialsMessage = _GUnixCredentialsMessage ; pub type GUnixFDList = _GUnixFDList ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusMessage { _unused : [ u8 ; 0 ] , } pub type GDBusMessage = _GDBusMessage ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusConnection { _unused : [ u8 ; 0 ] , } pub type GDBusConnection = _GDBusConnection ; pub type GDBusProxy = _GDBusProxy ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusMethodInvocation { _unused : [ u8 ; 0 ] , } pub type GDBusMethodInvocation = _GDBusMethodInvocation ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusServer { _unused : [ u8 ; 0 ] , } pub type GDBusServer = _GDBusServer ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusAuthObserver { _unused : [ u8 ; 0 ] , } pub type GDBusAuthObserver = _GDBusAuthObserver ; pub type GDBusErrorEntry = _GDBusErrorEntry ; pub type GDBusInterfaceVTable = _GDBusInterfaceVTable ; pub type GDBusSubtreeVTable = _GDBusSubtreeVTable ; pub type GDBusAnnotationInfo = _GDBusAnnotationInfo ; pub type GDBusArgInfo = _GDBusArgInfo ; pub type GDBusMethodInfo = _GDBusMethodInfo ; pub type GDBusSignalInfo = _GDBusSignalInfo ; pub type GDBusPropertyInfo = _GDBusPropertyInfo ; pub type GDBusInterfaceInfo = _GDBusInterfaceInfo ; pub type GDBusNodeInfo = _GDBusNodeInfo ; pub type GCancellableSourceFunc = :: std :: option :: Option < unsafe extern "C" fn ( cancellable : * mut GCancellable , data : gpointer ) -> gboolean > ; pub type GPollableSourceFunc = :: std :: option :: Option < unsafe extern "C" fn ( pollable_stream : * mut GObject , data : gpointer ) -> gboolean > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterface { _unused : [ u8 ; 0 ] , } pub type GDBusInterface = _GDBusInterface ; pub type GDBusInterfaceSkeleton = _GDBusInterfaceSkeleton ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObject { _unused : [ u8 ; 0 ] , } pub type GDBusObject = _GDBusObject ; pub type GDBusObjectSkeleton = _GDBusObjectSkeleton ; pub type GDBusObjectProxy = _GDBusObjectProxy ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManager { _unused : [ u8 ; 0 ] , } pub type GDBusObjectManager = _GDBusObjectManager ; pub type GDBusObjectManagerClient = _GDBusObjectManagerClient ; pub type GDBusObjectManagerServer = _GDBusObjectManagerServer ; pub type GDBusProxyTypeFunc = :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManagerClient , object_path : * const gchar , interface_name : * const gchar , data : gpointer ) -> GType > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTestDBus { _unused : [ u8 ; 0 ] , } pub type GTestDBus = _GTestDBus ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSubprocess { _unused : [ u8 ; 0 ] , } pub type GSubprocess = _GSubprocess ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSubprocessLauncher { _unused : [ u8 ; 0 ] , } pub type GSubprocessLauncher = _GSubprocessLauncher ; pub type GActionInterface = _GActionInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GActionInterface { pub g_iface : GTypeInterface , pub get_name : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction ) -> * const gchar > , pub get_parameter_type : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction ) -> * const GVariantType > , pub get_state_type : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction ) -> * const GVariantType > , pub get_state_hint : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction ) -> * mut GVariant > , pub get_enabled : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction ) -> gboolean > , pub get_state : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction ) -> * mut GVariant > , pub change_state : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction , value : * mut GVariant ) > , pub activate : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GAction , parameter : * mut GVariant ) > , } # [ test ] fn bindgen_test_layout__GActionInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GActionInterface > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GActionInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GActionInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GActionInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . get_name as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( get_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . get_parameter_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( get_parameter_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . get_state_type as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( get_state_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . get_state_hint as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( get_state_hint ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . get_enabled as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( get_enabled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . get_state as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( get_state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . change_state as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( change_state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionInterface > ( ) ) ) . activate as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GActionInterface ) , "::" , stringify ! ( activate ) ) ) ; } extern "C" { pub fn g_action_get_type ( ) -> GType ; } extern "C" { pub fn g_action_get_name ( action : * mut GAction ) -> * const gchar ; } extern "C" { pub fn g_action_get_parameter_type ( action : * mut GAction ) -> * const GVariantType ; } extern "C" { pub fn g_action_get_state_type ( action : * mut GAction ) -> * const GVariantType ; } extern "C" { pub fn g_action_get_state_hint ( action : * mut GAction ) -> * mut GVariant ; } extern "C" { pub fn g_action_get_enabled ( action : * mut GAction ) -> gboolean ; } extern "C" { pub fn g_action_get_state ( action : * mut GAction ) -> * mut GVariant ; } extern "C" { pub fn g_action_change_state ( action : * mut GAction , value : * mut GVariant ) ; } extern "C" { pub fn g_action_activate ( action : * mut GAction , parameter : * mut GVariant ) ; } extern "C" { pub fn g_action_name_is_valid ( action_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_action_parse_detailed_name ( detailed_name : * const gchar , action_name : * mut * mut gchar , target_value : * mut * mut GVariant , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_action_print_detailed_name ( action_name : * const gchar , target_value : * mut GVariant ) -> * mut gchar ; } pub type GActionGroupInterface = _GActionGroupInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GActionGroupInterface { pub g_iface : GTypeInterface , pub has_action : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) -> gboolean > , pub list_actions : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup ) -> * mut * mut gchar > , pub get_action_enabled : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) -> gboolean > , pub get_action_parameter_type : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * const GVariantType > , pub get_action_state_type : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * const GVariantType > , pub get_action_state_hint : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * mut GVariant > , pub get_action_state : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * mut GVariant > , pub change_action_state : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar , value : * mut GVariant ) > , pub activate_action : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar , parameter : * mut GVariant ) > , pub action_added : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) > , pub action_removed : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar ) > , pub action_enabled_changed : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar , enabled : gboolean ) > , pub action_state_changed : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar , state : * mut GVariant ) > , pub query_action : :: std :: option :: Option < unsafe extern "C" fn ( action_group : * mut GActionGroup , action_name : * const gchar , enabled : * mut gboolean , parameter_type : * mut * const GVariantType , state_type : * mut * const GVariantType , state_hint : * mut * mut GVariant , state : * mut * mut GVariant ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GActionGroupInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GActionGroupInterface > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _GActionGroupInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GActionGroupInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GActionGroupInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . has_action as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( has_action ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . list_actions as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( list_actions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . get_action_enabled as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( get_action_enabled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . get_action_parameter_type as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( get_action_parameter_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . get_action_state_type as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( get_action_state_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . get_action_state_hint as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( get_action_state_hint ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . get_action_state as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( get_action_state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . change_action_state as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( change_action_state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . activate_action as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( activate_action ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . action_added as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( action_added ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . action_removed as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( action_removed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . action_enabled_changed as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( action_enabled_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . action_state_changed as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( action_state_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionGroupInterface > ( ) ) ) . query_action as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GActionGroupInterface ) , "::" , stringify ! ( query_action ) ) ) ; } extern "C" { pub fn g_action_group_get_type ( ) -> GType ; } extern "C" { pub fn g_action_group_has_action ( action_group : * mut GActionGroup , action_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_action_group_list_actions ( action_group : * mut GActionGroup ) -> * mut * mut gchar ; } extern "C" { pub fn g_action_group_get_action_parameter_type ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * const GVariantType ; } extern "C" { pub fn g_action_group_get_action_state_type ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * const GVariantType ; } extern "C" { pub fn g_action_group_get_action_state_hint ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_action_group_get_action_enabled ( action_group : * mut GActionGroup , action_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_action_group_get_action_state ( action_group : * mut GActionGroup , action_name : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_action_group_change_action_state ( action_group : * mut GActionGroup , action_name : * const gchar , value : * mut GVariant ) ; } extern "C" { pub fn g_action_group_activate_action ( action_group : * mut GActionGroup , action_name : * const gchar , parameter : * mut GVariant ) ; } extern "C" { pub fn g_action_group_action_added ( action_group : * mut GActionGroup , action_name : * const gchar ) ; } extern "C" { pub fn g_action_group_action_removed ( action_group : * mut GActionGroup , action_name : * const gchar ) ; } extern "C" { pub fn g_action_group_action_enabled_changed ( action_group : * mut GActionGroup , action_name : * const gchar , enabled : gboolean ) ; } extern "C" { pub fn g_action_group_action_state_changed ( action_group : * mut GActionGroup , action_name : * const gchar , state : * mut GVariant ) ; } extern "C" { pub fn g_action_group_query_action ( action_group : * mut GActionGroup , action_name : * const gchar , enabled : * mut gboolean , parameter_type : * mut * const GVariantType , state_type : * mut * const GVariantType , state_hint : * mut * mut GVariant , state : * mut * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_export_action_group ( connection : * mut GDBusConnection , object_path : * const gchar , action_group : * mut GActionGroup , error : * mut * mut GError ) -> guint ; } extern "C" { pub fn g_dbus_connection_unexport_action_group ( connection : * mut GDBusConnection , export_id : guint ) ; } pub type GActionMapInterface = _GActionMapInterface ; pub type GActionEntry = _GActionEntry ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GActionMapInterface { pub g_iface : GTypeInterface , pub lookup_action : :: std :: option :: Option < unsafe extern "C" fn ( action_map : * mut GActionMap , action_name : * const gchar ) -> * mut GAction > , pub add_action : :: std :: option :: Option < unsafe extern "C" fn ( action_map : * mut GActionMap , action : * mut GAction ) > , pub remove_action : :: std :: option :: Option < unsafe extern "C" fn ( action_map : * mut GActionMap , action_name : * const gchar ) > , } # [ test ] fn bindgen_test_layout__GActionMapInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GActionMapInterface > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GActionMapInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GActionMapInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GActionMapInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionMapInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GActionMapInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionMapInterface > ( ) ) ) . lookup_action as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GActionMapInterface ) , "::" , stringify ! ( lookup_action ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionMapInterface > ( ) ) ) . add_action as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GActionMapInterface ) , "::" , stringify ! ( add_action ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionMapInterface > ( ) ) ) . remove_action as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GActionMapInterface ) , "::" , stringify ! ( remove_action ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GActionEntry { pub name : * const gchar , pub activate : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GSimpleAction , parameter : * mut GVariant , user_data : gpointer ) > , pub parameter_type : * const gchar , pub state : * const gchar , pub change_state : :: std :: option :: Option < unsafe extern "C" fn ( action : * mut GSimpleAction , value : * mut GVariant , user_data : gpointer ) > , pub padding : [ gsize ; 3usize ] , } # [ test ] fn bindgen_test_layout__GActionEntry ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GActionEntry > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _GActionEntry ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GActionEntry > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GActionEntry ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionEntry > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GActionEntry ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionEntry > ( ) ) ) . activate as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GActionEntry ) , "::" , stringify ! ( activate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionEntry > ( ) ) ) . parameter_type as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GActionEntry ) , "::" , stringify ! ( parameter_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionEntry > ( ) ) ) . state as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GActionEntry ) , "::" , stringify ! ( state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionEntry > ( ) ) ) . change_state as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GActionEntry ) , "::" , stringify ! ( change_state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GActionEntry > ( ) ) ) . padding as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GActionEntry ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_action_map_get_type ( ) -> GType ; } extern "C" { pub fn g_action_map_lookup_action ( action_map : * mut GActionMap , action_name : * const gchar ) -> * mut GAction ; } extern "C" { pub fn g_action_map_add_action ( action_map : * mut GActionMap , action : * mut GAction ) ; } extern "C" { pub fn g_action_map_remove_action ( action_map : * mut GActionMap , action_name : * const gchar ) ; } extern "C" { pub fn g_action_map_add_action_entries ( action_map : * mut GActionMap , entries : * const GActionEntry , n_entries : gint , user_data : gpointer ) ; } extern "C" { pub fn g_action_map_remove_action_entries ( action_map : * mut GActionMap , entries : * const GActionEntry , n_entries : gint ) ; } pub type GAppLaunchContextClass = _GAppLaunchContextClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAppLaunchContextPrivate { _unused : [ u8 ; 0 ] , } pub type GAppLaunchContextPrivate = _GAppLaunchContextPrivate ; pub type GAppInfoIface = _GAppInfoIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAppInfoIface { pub g_iface : GTypeInterface , pub dup : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * mut GAppInfo > , pub equal : :: std :: option :: Option < unsafe extern "C" fn ( appinfo1 : * mut GAppInfo , appinfo2 : * mut GAppInfo ) -> gboolean > , pub get_id : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char > , pub get_name : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char > , pub get_description : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char > , pub get_executable : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char > , pub get_icon : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * mut GIcon > , pub launch : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , files : * mut GList , context : * mut GAppLaunchContext , error : * mut * mut GError ) -> gboolean > , pub supports_uris : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> gboolean > , pub supports_files : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> gboolean > , pub launch_uris : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , uris : * mut GList , context : * mut GAppLaunchContext , error : * mut * mut GError ) -> gboolean > , pub should_show : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> gboolean > , pub set_as_default_for_type : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean > , pub set_as_default_for_extension : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , extension : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean > , pub add_supports_type : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean > , pub can_remove_supports_type : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> gboolean > , pub remove_supports_type : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean > , pub can_delete : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> gboolean > , pub do_delete : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> gboolean > , pub get_commandline : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char > , pub get_display_name : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char > , pub set_as_last_used_for_type : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean > , pub get_supported_types : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo ) -> * mut * const :: std :: os :: raw :: c_char > , pub launch_uris_async : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , uris : * mut GList , context : * mut GAppLaunchContext , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub launch_uris_finish : :: std :: option :: Option < unsafe extern "C" fn ( appinfo : * mut GAppInfo , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GAppInfoIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GAppInfoIface > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _GAppInfoIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GAppInfoIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GAppInfoIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . dup as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( dup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . equal as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( equal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_id as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_name as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_description as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_executable as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_executable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_icon as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_icon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . launch as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( launch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . supports_uris as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( supports_uris ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . supports_files as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( supports_files ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . launch_uris as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( launch_uris ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . should_show as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( should_show ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . set_as_default_for_type as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( set_as_default_for_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . set_as_default_for_extension as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( set_as_default_for_extension ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . add_supports_type as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( add_supports_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . can_remove_supports_type as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( can_remove_supports_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . remove_supports_type as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( remove_supports_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . can_delete as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( can_delete ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . do_delete as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( do_delete ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_commandline as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_commandline ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_display_name as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_display_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . set_as_last_used_for_type as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( set_as_last_used_for_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . get_supported_types as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( get_supported_types ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . launch_uris_async as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( launch_uris_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppInfoIface > ( ) ) ) . launch_uris_finish as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GAppInfoIface ) , "::" , stringify ! ( launch_uris_finish ) ) ) ; } extern "C" { pub fn g_app_info_get_type ( ) -> GType ; } extern "C" { pub fn g_app_info_create_from_commandline ( commandline : * const :: std :: os :: raw :: c_char , application_name : * const :: std :: os :: raw :: c_char , flags : GAppInfoCreateFlags , error : * mut * mut GError ) -> * mut GAppInfo ; } extern "C" { pub fn g_app_info_dup ( appinfo : * mut GAppInfo ) -> * mut GAppInfo ; } extern "C" { pub fn g_app_info_equal ( appinfo1 : * mut GAppInfo , appinfo2 : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_get_id ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_get_name ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_get_display_name ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_get_description ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_get_executable ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_get_commandline ( appinfo : * mut GAppInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_get_icon ( appinfo : * mut GAppInfo ) -> * mut GIcon ; } extern "C" { pub fn g_app_info_launch ( appinfo : * mut GAppInfo , files : * mut GList , context : * mut GAppLaunchContext , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_supports_uris ( appinfo : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_supports_files ( appinfo : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_launch_uris ( appinfo : * mut GAppInfo , uris : * mut GList , context : * mut GAppLaunchContext , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_launch_uris_async ( appinfo : * mut GAppInfo , uris : * mut GList , context : * mut GAppLaunchContext , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_app_info_launch_uris_finish ( appinfo : * mut GAppInfo , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_should_show ( appinfo : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_set_as_default_for_type ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_set_as_default_for_extension ( appinfo : * mut GAppInfo , extension : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_add_supports_type ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_can_remove_supports_type ( appinfo : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_remove_supports_type ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_get_supported_types ( appinfo : * mut GAppInfo ) -> * mut * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_info_can_delete ( appinfo : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_delete ( appinfo : * mut GAppInfo ) -> gboolean ; } extern "C" { pub fn g_app_info_set_as_last_used_for_type ( appinfo : * mut GAppInfo , content_type : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_get_all ( ) -> * mut GList ; } extern "C" { pub fn g_app_info_get_all_for_type ( content_type : * const :: std :: os :: raw :: c_char ) -> * mut GList ; } extern "C" { pub fn g_app_info_get_recommended_for_type ( content_type : * const gchar ) -> * mut GList ; } extern "C" { pub fn g_app_info_get_fallback_for_type ( content_type : * const gchar ) -> * mut GList ; } extern "C" { pub fn g_app_info_reset_type_associations ( content_type : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_app_info_get_default_for_type ( content_type : * const :: std :: os :: raw :: c_char , must_support_uris : gboolean ) -> * mut GAppInfo ; } extern "C" { pub fn g_app_info_get_default_for_type_async ( content_type : * const :: std :: os :: raw :: c_char , must_support_uris : gboolean , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_app_info_get_default_for_type_finish ( result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GAppInfo ; } extern "C" { pub fn g_app_info_get_default_for_uri_scheme ( uri_scheme : * const :: std :: os :: raw :: c_char ) -> * mut GAppInfo ; } extern "C" { pub fn g_app_info_get_default_for_uri_scheme_async ( uri_scheme : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_app_info_get_default_for_uri_scheme_finish ( result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GAppInfo ; } extern "C" { pub fn g_app_info_launch_default_for_uri ( uri : * const :: std :: os :: raw :: c_char , context : * mut GAppLaunchContext , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_app_info_launch_default_for_uri_async ( uri : * const :: std :: os :: raw :: c_char , context : * mut GAppLaunchContext , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_app_info_launch_default_for_uri_finish ( result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAppLaunchContext { pub parent_instance : GObject , pub priv_ : * mut GAppLaunchContextPrivate , } # [ test ] fn bindgen_test_layout__GAppLaunchContext ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GAppLaunchContext > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GAppLaunchContext ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GAppLaunchContext > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GAppLaunchContext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContext > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContext ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContext > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContext ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAppLaunchContextClass { pub parent_class : GObjectClass , pub get_display : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GAppLaunchContext , info : * mut GAppInfo , files : * mut GList ) -> * mut :: std :: os :: raw :: c_char > , pub get_startup_notify_id : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GAppLaunchContext , info : * mut GAppInfo , files : * mut GList ) -> * mut :: std :: os :: raw :: c_char > , pub launch_failed : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GAppLaunchContext , startup_notify_id : * const :: std :: os :: raw :: c_char ) > , pub launched : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GAppLaunchContext , info : * mut GAppInfo , platform_data : * mut GVariant ) > , pub launch_started : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut GAppLaunchContext , info : * mut GAppInfo , platform_data : * mut GVariant ) > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GAppLaunchContextClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GAppLaunchContextClass > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( _GAppLaunchContextClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GAppLaunchContextClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GAppLaunchContextClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . get_display as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( get_display ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . get_startup_notify_id as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( get_startup_notify_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . launch_failed as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( launch_failed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . launched as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( launched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . launch_started as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( launch_started ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAppLaunchContextClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GAppLaunchContextClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; } extern "C" { pub fn g_app_launch_context_get_type ( ) -> GType ; } extern "C" { pub fn g_app_launch_context_new ( ) -> * mut GAppLaunchContext ; } extern "C" { pub fn g_app_launch_context_setenv ( context : * mut GAppLaunchContext , variable : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_app_launch_context_unsetenv ( context : * mut GAppLaunchContext , variable : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_app_launch_context_get_environment ( context : * mut GAppLaunchContext ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_launch_context_get_display ( context : * mut GAppLaunchContext , info : * mut GAppInfo , files : * mut GList ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_launch_context_get_startup_notify_id ( context : * mut GAppLaunchContext , info : * mut GAppInfo , files : * mut GList ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_app_launch_context_launch_failed ( context : * mut GAppLaunchContext , startup_notify_id : * const :: std :: os :: raw :: c_char ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAppInfoMonitor { _unused : [ u8 ; 0 ] , } pub type GAppInfoMonitor = _GAppInfoMonitor ; extern "C" { pub fn g_app_info_monitor_get_type ( ) -> GType ; } extern "C" { pub fn g_app_info_monitor_get ( ) -> * mut GAppInfoMonitor ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GApplicationPrivate { _unused : [ u8 ; 0 ] , } pub type GApplicationPrivate = _GApplicationPrivate ; pub type GApplicationClass = _GApplicationClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GApplication { pub parent_instance : GObject , pub priv_ : * mut GApplicationPrivate , } # [ test ] fn bindgen_test_layout__GApplication ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GApplication > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GApplication ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GApplication > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GApplication ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplication > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GApplication ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplication > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GApplication ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GApplicationClass { pub parent_class : GObjectClass , pub startup : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication ) > , pub activate : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication ) > , pub open : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , files : * mut * mut GFile , n_files : gint , hint : * const gchar ) > , pub command_line : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , command_line : * mut GApplicationCommandLine ) -> :: std :: os :: raw :: c_int > , pub local_command_line : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , arguments : * mut * mut * mut gchar , exit_status : * mut :: std :: os :: raw :: c_int ) -> gboolean > , pub before_emit : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , platform_data : * mut GVariant ) > , pub after_emit : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , platform_data : * mut GVariant ) > , pub add_platform_data : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , builder : * mut GVariantBuilder ) > , pub quit_mainloop : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication ) > , pub run_mainloop : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication ) > , pub shutdown : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication ) > , pub dbus_register : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , connection : * mut GDBusConnection , object_path : * const gchar , error : * mut * mut GError ) -> gboolean > , pub dbus_unregister : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , connection : * mut GDBusConnection , object_path : * const gchar ) > , pub handle_local_options : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication , options : * mut GVariantDict ) -> gint > , pub name_lost : :: std :: option :: Option < unsafe extern "C" fn ( application : * mut GApplication ) -> gboolean > , pub padding : [ gpointer ; 7usize ] , } # [ test ] fn bindgen_test_layout__GApplicationClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GApplicationClass > ( ) , 312usize , concat ! ( "Size of: " , stringify ! ( _GApplicationClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GApplicationClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GApplicationClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . startup as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( startup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . activate as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( activate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . open as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( open ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . command_line as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( command_line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . local_command_line as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( local_command_line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . before_emit as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( before_emit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . after_emit as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( after_emit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . add_platform_data as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( add_platform_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . quit_mainloop as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( quit_mainloop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . run_mainloop as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( run_mainloop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . shutdown as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( shutdown ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . dbus_register as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( dbus_register ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . dbus_unregister as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( dbus_unregister ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . handle_local_options as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( handle_local_options ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . name_lost as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( name_lost ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationClass > ( ) ) ) . padding as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_application_get_type ( ) -> GType ; } extern "C" { pub fn g_application_id_is_valid ( application_id : * const gchar ) -> gboolean ; } extern "C" { pub fn g_application_new ( application_id : * const gchar , flags : GApplicationFlags ) -> * mut GApplication ; } extern "C" { pub fn g_application_get_application_id ( application : * mut GApplication ) -> * const gchar ; } extern "C" { pub fn g_application_set_application_id ( application : * mut GApplication , application_id : * const gchar ) ; } extern "C" { pub fn g_application_get_version ( application : * mut GApplication ) -> * const gchar ; } extern "C" { pub fn g_application_set_version ( application : * mut GApplication , version : * const gchar ) ; } extern "C" { pub fn g_application_get_dbus_connection ( application : * mut GApplication ) -> * mut GDBusConnection ; } extern "C" { pub fn g_application_get_dbus_object_path ( application : * mut GApplication ) -> * const gchar ; } extern "C" { pub fn g_application_get_inactivity_timeout ( application : * mut GApplication ) -> guint ; } extern "C" { pub fn g_application_set_inactivity_timeout ( application : * mut GApplication , inactivity_timeout : guint ) ; } extern "C" { pub fn g_application_get_flags ( application : * mut GApplication ) -> GApplicationFlags ; } extern "C" { pub fn g_application_set_flags ( application : * mut GApplication , flags : GApplicationFlags ) ; } extern "C" { pub fn g_application_get_resource_base_path ( application : * mut GApplication ) -> * const gchar ; } extern "C" { pub fn g_application_set_resource_base_path ( application : * mut GApplication , resource_path : * const gchar ) ; } extern "C" { pub fn g_application_set_action_group ( application : * mut GApplication , action_group : * mut GActionGroup ) ; } extern "C" { pub fn g_application_add_main_option_entries ( application : * mut GApplication , entries : * const GOptionEntry ) ; } extern "C" { pub fn g_application_add_main_option ( application : * mut GApplication , long_name : * const :: std :: os :: raw :: c_char , short_name : :: std :: os :: raw :: c_char , flags : GOptionFlags , arg : GOptionArg , description : * const :: std :: os :: raw :: c_char , arg_description : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_application_add_option_group ( application : * mut GApplication , group : * mut GOptionGroup ) ; } extern "C" { pub fn g_application_set_option_context_parameter_string ( application : * mut GApplication , parameter_string : * const gchar ) ; } extern "C" { pub fn g_application_set_option_context_summary ( application : * mut GApplication , summary : * const gchar ) ; } extern "C" { pub fn g_application_set_option_context_description ( application : * mut GApplication , description : * const gchar ) ; } extern "C" { pub fn g_application_get_is_registered ( application : * mut GApplication ) -> gboolean ; } extern "C" { pub fn g_application_get_is_remote ( application : * mut GApplication ) -> gboolean ; } extern "C" { pub fn g_application_register ( application : * mut GApplication , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_application_hold ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_release ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_activate ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_open ( application : * mut GApplication , files : * mut * mut GFile , n_files : gint , hint : * const gchar ) ; } extern "C" { pub fn g_application_run ( application : * mut GApplication , argc : :: std :: os :: raw :: c_int , argv : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_application_quit ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_get_default ( ) -> * mut GApplication ; } extern "C" { pub fn g_application_set_default ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_mark_busy ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_unmark_busy ( application : * mut GApplication ) ; } extern "C" { pub fn g_application_get_is_busy ( application : * mut GApplication ) -> gboolean ; } extern "C" { pub fn g_application_send_notification ( application : * mut GApplication , id : * const gchar , notification : * mut GNotification ) ; } extern "C" { pub fn g_application_withdraw_notification ( application : * mut GApplication , id : * const gchar ) ; } extern "C" { pub fn g_application_bind_busy_property ( application : * mut GApplication , object : gpointer , property : * const gchar ) ; } extern "C" { pub fn g_application_unbind_busy_property ( application : * mut GApplication , object : gpointer , property : * const gchar ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GApplicationCommandLinePrivate { _unused : [ u8 ; 0 ] , } pub type GApplicationCommandLinePrivate = _GApplicationCommandLinePrivate ; pub type GApplicationCommandLineClass = _GApplicationCommandLineClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GApplicationCommandLine { pub parent_instance : GObject , pub priv_ : * mut GApplicationCommandLinePrivate , } # [ test ] fn bindgen_test_layout__GApplicationCommandLine ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GApplicationCommandLine > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GApplicationCommandLine ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GApplicationCommandLine > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GApplicationCommandLine ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLine > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLine ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLine > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLine ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GApplicationCommandLineClass { pub parent_class : GObjectClass , pub print_literal : :: std :: option :: Option < unsafe extern "C" fn ( cmdline : * mut GApplicationCommandLine , message : * const gchar ) > , pub printerr_literal : :: std :: option :: Option < unsafe extern "C" fn ( cmdline : * mut GApplicationCommandLine , message : * const gchar ) > , pub get_stdin : :: std :: option :: Option < unsafe extern "C" fn ( cmdline : * mut GApplicationCommandLine ) -> * mut GInputStream > , pub done : :: std :: option :: Option < unsafe extern "C" fn ( cmdline : * mut GApplicationCommandLine ) > , pub padding : [ gpointer ; 10usize ] , } # [ test ] fn bindgen_test_layout__GApplicationCommandLineClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GApplicationCommandLineClass > ( ) , 248usize , concat ! ( "Size of: " , stringify ! ( _GApplicationCommandLineClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GApplicationCommandLineClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GApplicationCommandLineClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLineClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLineClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLineClass > ( ) ) ) . print_literal as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLineClass ) , "::" , stringify ! ( print_literal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLineClass > ( ) ) ) . printerr_literal as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLineClass ) , "::" , stringify ! ( printerr_literal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLineClass > ( ) ) ) . get_stdin as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLineClass ) , "::" , stringify ! ( get_stdin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLineClass > ( ) ) ) . done as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLineClass ) , "::" , stringify ! ( done ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GApplicationCommandLineClass > ( ) ) ) . padding as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GApplicationCommandLineClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_application_command_line_get_type ( ) -> GType ; } extern "C" { pub fn g_application_command_line_get_arguments ( cmdline : * mut GApplicationCommandLine , argc : * mut :: std :: os :: raw :: c_int ) -> * mut * mut gchar ; } extern "C" { pub fn g_application_command_line_get_options_dict ( cmdline : * mut GApplicationCommandLine ) -> * mut GVariantDict ; } extern "C" { pub fn g_application_command_line_get_stdin ( cmdline : * mut GApplicationCommandLine ) -> * mut GInputStream ; } extern "C" { pub fn g_application_command_line_get_environ ( cmdline : * mut GApplicationCommandLine ) -> * const * const gchar ; } extern "C" { pub fn g_application_command_line_getenv ( cmdline : * mut GApplicationCommandLine , name : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_application_command_line_get_cwd ( cmdline : * mut GApplicationCommandLine ) -> * const gchar ; } extern "C" { pub fn g_application_command_line_get_is_remote ( cmdline : * mut GApplicationCommandLine ) -> gboolean ; } extern "C" { pub fn g_application_command_line_print_literal ( cmdline : * mut GApplicationCommandLine , message : * const gchar ) ; } extern "C" { pub fn g_application_command_line_printerr_literal ( cmdline : * mut GApplicationCommandLine , message : * const gchar ) ; } extern "C" { pub fn g_application_command_line_print ( cmdline : * mut GApplicationCommandLine , format : * const gchar , ... ) ; } extern "C" { pub fn g_application_command_line_printerr ( cmdline : * mut GApplicationCommandLine , format : * const gchar , ... ) ; } extern "C" { pub fn g_application_command_line_get_exit_status ( cmdline : * mut GApplicationCommandLine ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_application_command_line_set_exit_status ( cmdline : * mut GApplicationCommandLine , exit_status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn g_application_command_line_get_platform_data ( cmdline : * mut GApplicationCommandLine ) -> * mut GVariant ; } extern "C" { pub fn g_application_command_line_create_file_for_arg ( cmdline : * mut GApplicationCommandLine , arg : * const gchar ) -> * mut GFile ; } extern "C" { pub fn g_application_command_line_done ( cmdline : * mut GApplicationCommandLine ) ; } pub type GInitableIface = _GInitableIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInitableIface { pub g_iface : GTypeInterface , pub init : :: std :: option :: Option < unsafe extern "C" fn ( initable : * mut GInitable , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GInitableIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInitableIface > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GInitableIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInitableIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInitableIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInitableIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInitableIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInitableIface > ( ) ) ) . init as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GInitableIface ) , "::" , stringify ! ( init ) ) ) ; } extern "C" { pub fn g_initable_get_type ( ) -> GType ; } extern "C" { pub fn g_initable_init ( initable : * mut GInitable , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_initable_new ( object_type : GType , cancellable : * mut GCancellable , error : * mut * mut GError , first_property_name : * const gchar , ... ) -> gpointer ; } extern "C" { pub fn g_initable_newv ( object_type : GType , n_parameters : guint , parameters : * mut GParameter , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gpointer ; } extern "C" { pub fn g_initable_new_valist ( object_type : GType , first_property_name : * const gchar , var_args : * mut __va_list_tag , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GObject ; } pub type GAsyncInitableIface = _GAsyncInitableIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAsyncInitableIface { pub g_iface : GTypeInterface , pub init_async : :: std :: option :: Option < unsafe extern "C" fn ( initable : * mut GAsyncInitable , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub init_finish : :: std :: option :: Option < unsafe extern "C" fn ( initable : * mut GAsyncInitable , res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GAsyncInitableIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GAsyncInitableIface > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GAsyncInitableIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GAsyncInitableIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GAsyncInitableIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncInitableIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncInitableIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncInitableIface > ( ) ) ) . init_async as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncInitableIface ) , "::" , stringify ! ( init_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncInitableIface > ( ) ) ) . init_finish as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncInitableIface ) , "::" , stringify ! ( init_finish ) ) ) ; } extern "C" { pub fn g_async_initable_get_type ( ) -> GType ; } extern "C" { pub fn g_async_initable_init_async ( initable : * mut GAsyncInitable , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_async_initable_init_finish ( initable : * mut GAsyncInitable , res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_async_initable_new_async ( object_type : GType , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer , first_property_name : * const gchar , ... ) ; } extern "C" { pub fn g_async_initable_newv_async ( object_type : GType , n_parameters : guint , parameters : * mut GParameter , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_async_initable_new_valist_async ( object_type : GType , first_property_name : * const gchar , var_args : * mut __va_list_tag , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_async_initable_new_finish ( initable : * mut GAsyncInitable , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GObject ; } pub type GAsyncResultIface = _GAsyncResultIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GAsyncResultIface { pub g_iface : GTypeInterface , pub get_user_data : :: std :: option :: Option < unsafe extern "C" fn ( res : * mut GAsyncResult ) -> gpointer > , pub get_source_object : :: std :: option :: Option < unsafe extern "C" fn ( res : * mut GAsyncResult ) -> * mut GObject > , pub is_tagged : :: std :: option :: Option < unsafe extern "C" fn ( res : * mut GAsyncResult , source_tag : gpointer ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GAsyncResultIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GAsyncResultIface > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GAsyncResultIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GAsyncResultIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GAsyncResultIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncResultIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncResultIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncResultIface > ( ) ) ) . get_user_data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncResultIface ) , "::" , stringify ! ( get_user_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncResultIface > ( ) ) ) . get_source_object as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncResultIface ) , "::" , stringify ! ( get_source_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GAsyncResultIface > ( ) ) ) . is_tagged as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GAsyncResultIface ) , "::" , stringify ! ( is_tagged ) ) ) ; } extern "C" { pub fn g_async_result_get_type ( ) -> GType ; } extern "C" { pub fn g_async_result_get_user_data ( res : * mut GAsyncResult ) -> gpointer ; } extern "C" { pub fn g_async_result_get_source_object ( res : * mut GAsyncResult ) -> * mut GObject ; } extern "C" { pub fn g_async_result_legacy_propagate_error ( res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_async_result_is_tagged ( res : * mut GAsyncResult , source_tag : gpointer ) -> gboolean ; } pub type GInputStreamClass = _GInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GInputStreamPrivate = _GInputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInputStream { pub parent_instance : GObject , pub priv_ : * mut GInputStreamPrivate , } # [ test ] fn bindgen_test_layout__GInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInputStream > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStream > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInputStreamClass { pub parent_class : GObjectClass , pub read_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize > , pub skip : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize > , pub close_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub read_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub read_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize > , pub skip_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub skip_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize > , pub close_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub close_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInputStreamClass > ( ) , 248usize , concat ! ( "Size of: " , stringify ! ( _GInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . read_fn as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( read_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . skip as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( skip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . close_fn as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( close_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . read_async as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( read_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . read_finish as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( read_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . skip_async as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( skip_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . skip_finish as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( skip_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . close_async as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( close_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . close_finish as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( close_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GInputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_input_stream_read ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_input_stream_read_all ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , bytes_read : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_input_stream_read_bytes ( stream : * mut GInputStream , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_input_stream_skip ( stream : * mut GInputStream , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_input_stream_close ( stream : * mut GInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_input_stream_read_async ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_input_stream_read_finish ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_input_stream_read_all_async ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_input_stream_read_all_finish ( stream : * mut GInputStream , result : * mut GAsyncResult , bytes_read : * mut gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_input_stream_read_bytes_async ( stream : * mut GInputStream , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_input_stream_read_bytes_finish ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_input_stream_skip_async ( stream : * mut GInputStream , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_input_stream_skip_finish ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_input_stream_close_async ( stream : * mut GInputStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_input_stream_close_finish ( stream : * mut GInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_input_stream_is_closed ( stream : * mut GInputStream ) -> gboolean ; } extern "C" { pub fn g_input_stream_has_pending ( stream : * mut GInputStream ) -> gboolean ; } extern "C" { pub fn g_input_stream_set_pending ( stream : * mut GInputStream , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_input_stream_clear_pending ( stream : * mut GInputStream ) ; } pub type GFilterInputStreamClass = _GFilterInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFilterInputStream { pub parent_instance : GInputStream , pub base_stream : * mut GInputStream , } # [ test ] fn bindgen_test_layout__GFilterInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFilterInputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GFilterInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFilterInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFilterInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterInputStream > ( ) ) ) . base_stream as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterInputStream ) , "::" , stringify ! ( base_stream ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFilterInputStreamClass { pub parent_class : GInputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFilterInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFilterInputStreamClass > ( ) , 272usize , concat ! ( "Size of: " , stringify ! ( _GFilterInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFilterInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFilterInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; } extern "C" { pub fn g_filter_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_filter_input_stream_get_base_stream ( stream : * mut GFilterInputStream ) -> * mut GInputStream ; } extern "C" { pub fn g_filter_input_stream_get_close_base_stream ( stream : * mut GFilterInputStream ) -> gboolean ; } extern "C" { pub fn g_filter_input_stream_set_close_base_stream ( stream : * mut GFilterInputStream , close_base : gboolean ) ; } pub type GBufferedInputStreamClass = _GBufferedInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBufferedInputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GBufferedInputStreamPrivate = _GBufferedInputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBufferedInputStream { pub parent_instance : GFilterInputStream , pub priv_ : * mut GBufferedInputStreamPrivate , } # [ test ] fn bindgen_test_layout__GBufferedInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GBufferedInputStream > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GBufferedInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GBufferedInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GBufferedInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStream > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBufferedInputStreamClass { pub parent_class : GFilterInputStreamClass , pub fill : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GBufferedInputStream , count : gssize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize > , pub fill_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GBufferedInputStream , count : gssize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub fill_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GBufferedInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GBufferedInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GBufferedInputStreamClass > ( ) , 336usize , concat ! ( "Size of: " , stringify ! ( _GBufferedInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GBufferedInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GBufferedInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . fill as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( fill ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . fill_async as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( fill_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . fill_finish as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( fill_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedInputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedInputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_buffered_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_buffered_input_stream_new ( base_stream : * mut GInputStream ) -> * mut GInputStream ; } extern "C" { pub fn g_buffered_input_stream_new_sized ( base_stream : * mut GInputStream , size : gsize ) -> * mut GInputStream ; } extern "C" { pub fn g_buffered_input_stream_get_buffer_size ( stream : * mut GBufferedInputStream ) -> gsize ; } extern "C" { pub fn g_buffered_input_stream_set_buffer_size ( stream : * mut GBufferedInputStream , size : gsize ) ; } extern "C" { pub fn g_buffered_input_stream_get_available ( stream : * mut GBufferedInputStream ) -> gsize ; } extern "C" { pub fn g_buffered_input_stream_peek ( stream : * mut GBufferedInputStream , buffer : * mut :: std :: os :: raw :: c_void , offset : gsize , count : gsize ) -> gsize ; } extern "C" { pub fn g_buffered_input_stream_peek_buffer ( stream : * mut GBufferedInputStream , count : * mut gsize ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn g_buffered_input_stream_fill ( stream : * mut GBufferedInputStream , count : gssize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_buffered_input_stream_fill_async ( stream : * mut GBufferedInputStream , count : gssize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_buffered_input_stream_fill_finish ( stream : * mut GBufferedInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_buffered_input_stream_read_byte ( stream : * mut GBufferedInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> :: std :: os :: raw :: c_int ; } pub type GOutputStreamClass = _GOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOutputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GOutputStreamPrivate = _GOutputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOutputStream { pub parent_instance : GObject , pub priv_ : * mut GOutputStreamPrivate , } # [ test ] fn bindgen_test_layout__GOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GOutputStream > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStream > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GOutputStreamClass { pub parent_class : GObjectClass , pub write_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize > , pub splice : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , source : * mut GInputStream , flags : GOutputStreamSpliceFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize > , pub flush : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub close_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub write_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub write_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize > , pub splice_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , source : * mut GInputStream , flags : GOutputStreamSpliceFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub splice_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize > , pub flush_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub flush_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub close_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub close_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub writev_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , vectors : * const GOutputVector , n_vectors : gsize , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub writev_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , vectors : * const GOutputVector , n_vectors : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub writev_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GOutputStream , result : * mut GAsyncResult , bytes_written : * mut gsize , error : * mut * mut GError ) -> gboolean > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved7 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved8 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GOutputStreamClass > ( ) , 296usize , concat ! ( "Size of: " , stringify ! ( _GOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . write_fn as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( write_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . splice as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( splice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . flush as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( flush ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . close_fn as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( close_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . write_async as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( write_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . write_finish as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( write_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . splice_async as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( splice_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . splice_finish as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( splice_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . flush_async as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( flush_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . flush_finish as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( flush_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . close_async as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( close_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . close_finish as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( close_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . writev_fn as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( writev_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . writev_async as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( writev_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . writev_finish as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( writev_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . _g_reserved7 as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( _g_reserved7 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GOutputStreamClass > ( ) ) ) . _g_reserved8 as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GOutputStreamClass ) , "::" , stringify ! ( _g_reserved8 ) ) ) ; } extern "C" { pub fn g_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_output_stream_write ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_output_stream_write_all ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_writev ( stream : * mut GOutputStream , vectors : * const GOutputVector , n_vectors : gsize , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_writev_all ( stream : * mut GOutputStream , vectors : * mut GOutputVector , n_vectors : gsize , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_printf ( stream : * mut GOutputStream , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError , format : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_output_stream_vprintf ( stream : * mut GOutputStream , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError , format : * const gchar , args : * mut __va_list_tag ) -> gboolean ; } extern "C" { pub fn g_output_stream_write_bytes ( stream : * mut GOutputStream , bytes : * mut GBytes , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_output_stream_splice ( stream : * mut GOutputStream , source : * mut GInputStream , flags : GOutputStreamSpliceFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_output_stream_flush ( stream : * mut GOutputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_close ( stream : * mut GOutputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_write_async ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_write_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_output_stream_write_all_async ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_write_all_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , bytes_written : * mut gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_writev_async ( stream : * mut GOutputStream , vectors : * const GOutputVector , n_vectors : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_writev_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , bytes_written : * mut gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_writev_all_async ( stream : * mut GOutputStream , vectors : * mut GOutputVector , n_vectors : gsize , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_writev_all_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , bytes_written : * mut gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_write_bytes_async ( stream : * mut GOutputStream , bytes : * mut GBytes , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_write_bytes_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_output_stream_splice_async ( stream : * mut GOutputStream , source : * mut GInputStream , flags : GOutputStreamSpliceFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_splice_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_output_stream_flush_async ( stream : * mut GOutputStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_flush_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_close_async ( stream : * mut GOutputStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_output_stream_close_finish ( stream : * mut GOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_is_closed ( stream : * mut GOutputStream ) -> gboolean ; } extern "C" { pub fn g_output_stream_is_closing ( stream : * mut GOutputStream ) -> gboolean ; } extern "C" { pub fn g_output_stream_has_pending ( stream : * mut GOutputStream ) -> gboolean ; } extern "C" { pub fn g_output_stream_set_pending ( stream : * mut GOutputStream , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_output_stream_clear_pending ( stream : * mut GOutputStream ) ; } pub type GFilterOutputStreamClass = _GFilterOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFilterOutputStream { pub parent_instance : GOutputStream , pub base_stream : * mut GOutputStream , } # [ test ] fn bindgen_test_layout__GFilterOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFilterOutputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GFilterOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFilterOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFilterOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterOutputStream > ( ) ) ) . base_stream as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterOutputStream ) , "::" , stringify ! ( base_stream ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFilterOutputStreamClass { pub parent_class : GOutputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFilterOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFilterOutputStreamClass > ( ) , 320usize , concat ! ( "Size of: " , stringify ! ( _GFilterOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFilterOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFilterOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterOutputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterOutputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterOutputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterOutputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilterOutputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GFilterOutputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; } extern "C" { pub fn g_filter_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_filter_output_stream_get_base_stream ( stream : * mut GFilterOutputStream ) -> * mut GOutputStream ; } extern "C" { pub fn g_filter_output_stream_get_close_base_stream ( stream : * mut GFilterOutputStream ) -> gboolean ; } extern "C" { pub fn g_filter_output_stream_set_close_base_stream ( stream : * mut GFilterOutputStream , close_base : gboolean ) ; } pub type GBufferedOutputStreamClass = _GBufferedOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBufferedOutputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GBufferedOutputStreamPrivate = _GBufferedOutputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBufferedOutputStream { pub parent_instance : GFilterOutputStream , pub priv_ : * mut GBufferedOutputStreamPrivate , } # [ test ] fn bindgen_test_layout__GBufferedOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GBufferedOutputStream > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GBufferedOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GBufferedOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GBufferedOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedOutputStream > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedOutputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GBufferedOutputStreamClass { pub parent_class : GFilterOutputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GBufferedOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GBufferedOutputStreamClass > ( ) , 336usize , concat ! ( "Size of: " , stringify ! ( _GBufferedOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GBufferedOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GBufferedOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedOutputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedOutputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GBufferedOutputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GBufferedOutputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; } extern "C" { pub fn g_buffered_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_buffered_output_stream_new ( base_stream : * mut GOutputStream ) -> * mut GOutputStream ; } extern "C" { pub fn g_buffered_output_stream_new_sized ( base_stream : * mut GOutputStream , size : gsize ) -> * mut GOutputStream ; } extern "C" { pub fn g_buffered_output_stream_get_buffer_size ( stream : * mut GBufferedOutputStream ) -> gsize ; } extern "C" { pub fn g_buffered_output_stream_set_buffer_size ( stream : * mut GBufferedOutputStream , size : gsize ) ; } extern "C" { pub fn g_buffered_output_stream_get_auto_grow ( stream : * mut GBufferedOutputStream ) -> gboolean ; } extern "C" { pub fn g_buffered_output_stream_set_auto_grow ( stream : * mut GBufferedOutputStream , auto_grow : gboolean ) ; } extern "C" { pub fn g_bytes_icon_get_type ( ) -> GType ; } extern "C" { pub fn g_bytes_icon_new ( bytes : * mut GBytes ) -> * mut GIcon ; } extern "C" { pub fn g_bytes_icon_get_bytes ( icon : * mut GBytesIcon ) -> * mut GBytes ; } pub type GCancellableClass = _GCancellableClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCancellablePrivate { _unused : [ u8 ; 0 ] , } pub type GCancellablePrivate = _GCancellablePrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCancellable { pub parent_instance : GObject , pub priv_ : * mut GCancellablePrivate , } # [ test ] fn bindgen_test_layout__GCancellable ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GCancellable > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GCancellable ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GCancellable > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GCancellable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellable > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellable ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellable > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellable ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCancellableClass { pub parent_class : GObjectClass , pub cancelled : :: std :: option :: Option < unsafe extern "C" fn ( cancellable : * mut GCancellable ) > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GCancellableClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GCancellableClass > ( ) , 184usize , concat ! ( "Size of: " , stringify ! ( _GCancellableClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GCancellableClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GCancellableClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . cancelled as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( cancelled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCancellableClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GCancellableClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_cancellable_get_type ( ) -> GType ; } extern "C" { pub fn g_cancellable_new ( ) -> * mut GCancellable ; } extern "C" { pub fn g_cancellable_is_cancelled ( cancellable : * mut GCancellable ) -> gboolean ; } extern "C" { pub fn g_cancellable_set_error_if_cancelled ( cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_cancellable_get_fd ( cancellable : * mut GCancellable ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_cancellable_make_pollfd ( cancellable : * mut GCancellable , pollfd : * mut GPollFD ) -> gboolean ; } extern "C" { pub fn g_cancellable_release_fd ( cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_cancellable_source_new ( cancellable : * mut GCancellable ) -> * mut GSource ; } extern "C" { pub fn g_cancellable_get_current ( ) -> * mut GCancellable ; } extern "C" { pub fn g_cancellable_push_current ( cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_cancellable_pop_current ( cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_cancellable_reset ( cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_cancellable_connect ( cancellable : * mut GCancellable , callback : GCallback , data : gpointer , data_destroy_func : GDestroyNotify ) -> gulong ; } extern "C" { pub fn g_cancellable_disconnect ( cancellable : * mut GCancellable , handler_id : gulong ) ; } extern "C" { pub fn g_cancellable_cancel ( cancellable : * mut GCancellable ) ; } pub type GConverterIface = _GConverterIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterIface { pub g_iface : GTypeInterface , pub convert : :: std :: option :: Option < unsafe extern "C" fn ( converter : * mut GConverter , inbuf : * const :: std :: os :: raw :: c_void , inbuf_size : gsize , outbuf : * mut :: std :: os :: raw :: c_void , outbuf_size : gsize , flags : GConverterFlags , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> GConverterResult > , pub reset : :: std :: option :: Option < unsafe extern "C" fn ( converter : * mut GConverter ) > , } # [ test ] fn bindgen_test_layout__GConverterIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GConverterIface > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GConverterIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GConverterIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GConverterIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterIface > ( ) ) ) . convert as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterIface ) , "::" , stringify ! ( convert ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterIface > ( ) ) ) . reset as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterIface ) , "::" , stringify ! ( reset ) ) ) ; } extern "C" { pub fn g_converter_get_type ( ) -> GType ; } extern "C" { pub fn g_converter_convert ( converter : * mut GConverter , inbuf : * const :: std :: os :: raw :: c_void , inbuf_size : gsize , outbuf : * mut :: std :: os :: raw :: c_void , outbuf_size : gsize , flags : GConverterFlags , bytes_read : * mut gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> GConverterResult ; } extern "C" { pub fn g_converter_reset ( converter : * mut GConverter ) ; } pub type GCharsetConverterClass = _GCharsetConverterClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCharsetConverterClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GCharsetConverterClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GCharsetConverterClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GCharsetConverterClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GCharsetConverterClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GCharsetConverterClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GCharsetConverterClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GCharsetConverterClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_charset_converter_get_type ( ) -> GType ; } extern "C" { pub fn g_charset_converter_new ( to_charset : * const gchar , from_charset : * const gchar , error : * mut * mut GError ) -> * mut GCharsetConverter ; } extern "C" { pub fn g_charset_converter_set_use_fallback ( converter : * mut GCharsetConverter , use_fallback : gboolean ) ; } extern "C" { pub fn g_charset_converter_get_use_fallback ( converter : * mut GCharsetConverter ) -> gboolean ; } extern "C" { pub fn g_charset_converter_get_num_fallbacks ( converter : * mut GCharsetConverter ) -> guint ; } extern "C" { pub fn g_content_type_equals ( type1 : * const gchar , type2 : * const gchar ) -> gboolean ; } extern "C" { pub fn g_content_type_is_a ( type_ : * const gchar , supertype : * const gchar ) -> gboolean ; } extern "C" { pub fn g_content_type_is_mime_type ( type_ : * const gchar , mime_type : * const gchar ) -> gboolean ; } extern "C" { pub fn g_content_type_is_unknown ( type_ : * const gchar ) -> gboolean ; } extern "C" { pub fn g_content_type_get_description ( type_ : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_content_type_get_mime_type ( type_ : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_content_type_get_icon ( type_ : * const gchar ) -> * mut GIcon ; } extern "C" { pub fn g_content_type_get_symbolic_icon ( type_ : * const gchar ) -> * mut GIcon ; } extern "C" { pub fn g_content_type_get_generic_icon_name ( type_ : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_content_type_can_be_executable ( type_ : * const gchar ) -> gboolean ; } extern "C" { pub fn g_content_type_from_mime_type ( mime_type : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_content_type_guess ( filename : * const gchar , data : * const guchar , data_size : gsize , result_uncertain : * mut gboolean ) -> * mut gchar ; } extern "C" { pub fn g_content_type_guess_for_tree ( root : * mut GFile ) -> * mut * mut gchar ; } extern "C" { pub fn g_content_types_get_registered ( ) -> * mut GList ; } extern "C" { pub fn g_content_type_get_mime_dirs ( ) -> * const * const gchar ; } extern "C" { pub fn g_content_type_set_mime_dirs ( dirs : * const * const gchar ) ; } pub type GConverterInputStreamClass = _GConverterInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterInputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GConverterInputStreamPrivate = _GConverterInputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterInputStream { pub parent_instance : GFilterInputStream , pub priv_ : * mut GConverterInputStreamPrivate , } # [ test ] fn bindgen_test_layout__GConverterInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GConverterInputStream > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GConverterInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GConverterInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GConverterInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStream > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterInputStreamClass { pub parent_class : GFilterInputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GConverterInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GConverterInputStreamClass > ( ) , 312usize , concat ! ( "Size of: " , stringify ! ( _GConverterInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GConverterInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GConverterInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterInputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterInputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_converter_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_converter_input_stream_new ( base_stream : * mut GInputStream , converter : * mut GConverter ) -> * mut GInputStream ; } extern "C" { pub fn g_converter_input_stream_get_converter ( converter_stream : * mut GConverterInputStream ) -> * mut GConverter ; } pub type GConverterOutputStreamClass = _GConverterOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterOutputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GConverterOutputStreamPrivate = _GConverterOutputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterOutputStream { pub parent_instance : GFilterOutputStream , pub priv_ : * mut GConverterOutputStreamPrivate , } # [ test ] fn bindgen_test_layout__GConverterOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GConverterOutputStream > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GConverterOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GConverterOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GConverterOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStream > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GConverterOutputStreamClass { pub parent_class : GFilterOutputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GConverterOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GConverterOutputStreamClass > ( ) , 360usize , concat ! ( "Size of: " , stringify ! ( _GConverterOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GConverterOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GConverterOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GConverterOutputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _GConverterOutputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_converter_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_converter_output_stream_new ( base_stream : * mut GOutputStream , converter : * mut GConverter ) -> * mut GOutputStream ; } extern "C" { pub fn g_converter_output_stream_get_converter ( converter_stream : * mut GConverterOutputStream ) -> * mut GConverter ; } pub type useconds_t = __useconds_t ; pub type socklen_t = __socklen_t ; extern "C" { pub fn access ( __name : * const :: std :: os :: raw :: c_char , __type : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn faccessat ( __fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __type : :: std :: os :: raw :: c_int , __flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lseek ( __fd : :: std :: os :: raw :: c_int , __offset : __off_t , __whence : :: std :: os :: raw :: c_int ) -> __off_t ; } extern "C" { pub fn close ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn closefrom ( __lowfd : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn read ( __fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_void , __nbytes : usize ) -> isize ; } extern "C" { pub fn write ( __fd : :: std :: os :: raw :: c_int , __buf : * const :: std :: os :: raw :: c_void , __n : usize ) -> isize ; } extern "C" { pub fn pread ( __fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_void , __nbytes : usize , __offset : __off_t ) -> isize ; } extern "C" { pub fn pwrite ( __fd : :: std :: os :: raw :: c_int , __buf : * const :: std :: os :: raw :: c_void , __n : usize , __offset : __off_t ) -> isize ; } extern "C" { pub fn pipe ( __pipedes : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn alarm ( __seconds : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn sleep ( __seconds : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn ualarm ( __value : __useconds_t , __interval : __useconds_t ) -> __useconds_t ; } extern "C" { pub fn usleep ( __useconds : __useconds_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pause ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chown ( __file : * const :: std :: os :: raw :: c_char , __owner : __uid_t , __group : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fchown ( __fd : :: std :: os :: raw :: c_int , __owner : __uid_t , __group : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lchown ( __file : * const :: std :: os :: raw :: c_char , __owner : __uid_t , __group : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fchownat ( __fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __owner : __uid_t , __group : __gid_t , __flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chdir ( __path : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fchdir ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcwd ( __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getwd ( __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn dup ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dup2 ( __fd : :: std :: os :: raw :: c_int , __fd2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__environ" ] pub static mut __environ : * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn execve ( __path : * const :: std :: os :: raw :: c_char , __argv : * const * const :: std :: os :: raw :: c_char , __envp : * const * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fexecve ( __fd : :: std :: os :: raw :: c_int , __argv : * const * const :: std :: os :: raw :: c_char , __envp : * const * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execv ( __path : * const :: std :: os :: raw :: c_char , __argv : * const * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execle ( __path : * const :: std :: os :: raw :: c_char , __arg : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execl ( __path : * const :: std :: os :: raw :: c_char , __arg : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execvp ( __file : * const :: std :: os :: raw :: c_char , __argv : * const * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execlp ( __file : * const :: std :: os :: raw :: c_char , __arg : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nice ( __inc : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _exit ( __status : :: std :: os :: raw :: c_int ) ; } pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_LINK_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 0 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_MAX_CANON : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_MAX_INPUT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_PATH_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_PIPE_BUF : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_CHOWN_RESTRICTED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 6 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_NO_TRUNC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 7 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_VDISABLE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 8 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_SYNC_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 9 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_ASYNC_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 10 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_PRIO_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 11 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_SOCK_MAXBUF : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 12 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_FILESIZEBITS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 13 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_REC_INCR_XFER_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 14 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_REC_MAX_XFER_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 15 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_REC_MIN_XFER_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 16 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_REC_XFER_ALIGN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 17 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_ALLOC_SIZE_MIN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 18 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_SYMLINK_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 19 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1)__PC_2_SYMLINKS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = 20 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_24_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_ARG_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 0 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CHILD_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CLK_TCK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NGROUPS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_OPEN_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_STREAM_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TZNAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 6 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_JOB_CONTROL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 7 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SAVED_IDS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 8 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_REALTIME_SIGNALS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 9 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PRIORITY_SCHEDULING : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 10 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TIMERS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 11 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_ASYNCHRONOUS_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 12 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PRIORITIZED_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 13 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SYNCHRONIZED_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 14 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_FSYNC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 15 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MAPPED_FILES : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 16 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MEMLOCK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 17 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MEMLOCK_RANGE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 18 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MEMORY_PROTECTION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 19 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MESSAGE_PASSING : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 20 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SEMAPHORES : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 21 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SHARED_MEMORY_OBJECTS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 22 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_AIO_LISTIO_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 23 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_AIO_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 24 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_AIO_PRIO_DELTA_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 25 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_DELAYTIMER_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 26 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MQ_OPEN_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 27 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MQ_PRIO_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 28 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 29 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PAGESIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 30 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_RTSIG_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 31 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SEM_NSEMS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SEM_VALUE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 33 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SIGQUEUE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 34 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TIMER_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 35 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_BC_BASE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 36 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_BC_DIM_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 37 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_BC_SCALE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 38 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_BC_STRING_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 39 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_COLL_WEIGHTS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 40 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_EQUIV_CLASS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 41 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_EXPR_NEST_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 42 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LINE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 43 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_RE_DUP_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 44 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CHARCLASS_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 45 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 46 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_C_BIND : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 47 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_C_DEV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 48 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_FORT_DEV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 49 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_FORT_RUN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 50 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_SW_DEV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 51 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_LOCALEDEF : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 52 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 53 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_XTI : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 54 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_SOCKET : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 55 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_INTERNET : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 56 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_OSI : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 57 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_POLL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 58 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SELECT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 59 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_UIO_MAXIOV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 60 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_IOV_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 60 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_INTERNET_STREAM : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 61 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_INTERNET_DGRAM : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 62 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_OSI_COTS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 63 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_OSI_CLTS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 64 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PII_OSI_M : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 65 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_T_IOV_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 66 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREADS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 67 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_SAFE_FUNCTIONS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 68 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_GETGR_R_SIZE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 69 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_GETPW_R_SIZE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 70 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LOGIN_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 71 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TTY_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 72 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_DESTRUCTOR_ITERATIONS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 73 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_KEYS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 74 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_STACK_MIN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 75 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_THREADS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 76 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_ATTR_STACKADDR : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 77 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_ATTR_STACKSIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 78 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_PRIORITY_SCHEDULING : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 79 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_PRIO_INHERIT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 80 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_PRIO_PROTECT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 81 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_PROCESS_SHARED : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 82 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NPROCESSORS_CONF : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 83 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NPROCESSORS_ONLN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 84 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PHYS_PAGES : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 85 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_AVPHYS_PAGES : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 86 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_ATEXIT_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 87 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PASS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 88 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 89 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_XCU_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 90 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_UNIX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 91 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_CRYPT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 92 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_ENH_I18N : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 93 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_SHM : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 94 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_CHAR_TERM : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 95 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_C_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 96 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_UPE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 97 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_XPG2 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 98 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_XPG3 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 99 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_XPG4 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 100 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CHAR_BIT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 101 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CHAR_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 102 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CHAR_MIN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 103 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_INT_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 104 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_INT_MIN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 105 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LONG_BIT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 106 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_WORD_BIT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 107 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MB_LEN_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 108 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NZERO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 109 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SSIZE_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 110 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SCHAR_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 111 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SCHAR_MIN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 112 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SHRT_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 113 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SHRT_MIN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 114 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_UCHAR_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 115 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_UINT_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 116 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_ULONG_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 117 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_USHRT_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 118 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NL_ARGMAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 119 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NL_LANGMAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 120 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NL_MSGMAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 121 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NL_NMAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 122 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NL_SETMAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 123 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NL_TEXTMAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 124 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XBS5_ILP32_OFF32 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 125 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XBS5_ILP32_OFFBIG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 126 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XBS5_LP64_OFF64 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 127 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XBS5_LPBIG_OFFBIG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 128 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_LEGACY : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 129 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_REALTIME : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 130 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_REALTIME_THREADS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 131 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_ADVISORY_INFO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 132 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_BARRIERS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 133 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_BASE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 134 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_C_LANG_SUPPORT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 135 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_C_LANG_SUPPORT_R : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 136 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CLOCK_SELECTION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 137 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_CPUTIME : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 138 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_CPUTIME : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 139 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_DEVICE_IO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 140 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_DEVICE_SPECIFIC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 141 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_DEVICE_SPECIFIC_R : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 142 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_FD_MGMT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 143 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_FIFO : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 144 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_PIPE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 145 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_FILE_ATTRIBUTES : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 146 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_FILE_LOCKING : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 147 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_FILE_SYSTEM : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 148 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MONOTONIC_CLOCK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 149 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MULTI_PROCESS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 150 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SINGLE_PROCESS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 151 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_NETWORKING : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 152 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_READER_WRITER_LOCKS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 153 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SPIN_LOCKS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 154 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_REGEXP : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 155 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_REGEX_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 156 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SHELL : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 157 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SIGNALS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 158 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SPAWN : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 159 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SPORADIC_SERVER : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 160 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_SPORADIC_SERVER : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 161 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SYSTEM_DATABASE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 162 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SYSTEM_DATABASE_R : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 163 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TIMEOUTS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 164 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TYPED_MEMORY_OBJECTS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 165 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_USER_GROUPS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 166 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_USER_GROUPS_R : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 167 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_PBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 168 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_PBS_ACCOUNTING : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 169 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_PBS_LOCATE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 170 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_PBS_MESSAGE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 171 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_PBS_TRACK : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 172 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SYMLOOP_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 173 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_STREAMS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 174 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_2_PBS_CHECKPOINT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 175 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V6_ILP32_OFF32 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 176 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V6_ILP32_OFFBIG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 177 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V6_LP64_OFF64 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 178 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V6_LPBIG_OFFBIG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 179 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_HOST_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 180 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 181 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_EVENT_FILTER : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 182 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_INHERIT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 183 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_LOG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 184 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL1_ICACHE_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 185 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL1_ICACHE_ASSOC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 186 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL1_ICACHE_LINESIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 187 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL1_DCACHE_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 188 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL1_DCACHE_ASSOC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 189 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL1_DCACHE_LINESIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 190 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL2_CACHE_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 191 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL2_CACHE_ASSOC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 192 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL2_CACHE_LINESIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 193 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL3_CACHE_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 194 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL3_CACHE_ASSOC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 195 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL3_CACHE_LINESIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 196 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL4_CACHE_SIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 197 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL4_CACHE_ASSOC : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 198 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_LEVEL4_CACHE_LINESIZE : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 199 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_IPV6 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 235 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_RAW_SOCKETS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 236 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V7_ILP32_OFF32 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 237 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V7_ILP32_OFFBIG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 238 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V7_LP64_OFF64 : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 239 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_V7_LPBIG_OFFBIG : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 240 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SS_REPL_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 241 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_EVENT_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 242 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_NAME_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 243 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_SYS_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 244 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_TRACE_USER_EVENT_MAX : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 245 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_XOPEN_STREAMS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 246 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_ROBUST_PRIO_INHERIT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 247 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_THREAD_ROBUST_PRIO_PROTECT : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 248 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_MINSIGSTKSZ : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 249 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1)__SC_SIGSTKSZ : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = 250 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_71_1) = u32 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_PATH : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 0 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_V6_WIDTH_RESTRICTED_ENVS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_GNU_LIBC_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 2 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_GNU_LIBPTHREAD_VERSION : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 3 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_V5_WIDTH_RESTRICTED_ENVS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 4 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_V7_WIDTH_RESTRICTED_ENVS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 5 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1000 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1001 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1002 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1003 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS64_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1004 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS64_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1005 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS64_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1006 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_LFS64_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1007 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFF32_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1100 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFF32_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1101 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFF32_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1102 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFF32_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1103 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFFBIG_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1104 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFFBIG_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1105 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFFBIG_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1106 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_ILP32_OFFBIG_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1107 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LP64_OFF64_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1108 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LP64_OFF64_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1109 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LP64_OFF64_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1110 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LP64_OFF64_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1111 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LPBIG_OFFBIG_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1112 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LPBIG_OFFBIG_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1113 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LPBIG_OFFBIG_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1114 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_XBS5_LPBIG_OFFBIG_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1115 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFF32_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1116 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFF32_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1117 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFF32_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1118 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFF32_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1119 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFFBIG_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1120 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1121 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFFBIG_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1122 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1123 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LP64_OFF64_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1124 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LP64_OFF64_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1125 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LP64_OFF64_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1126 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LP64_OFF64_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1127 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1128 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1129 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LPBIG_OFFBIG_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1130 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1131 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFF32_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1132 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFF32_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1133 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFF32_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1134 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFF32_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1135 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFFBIG_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1136 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1137 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFFBIG_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1138 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1139 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LP64_OFF64_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1140 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LP64_OFF64_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1141 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LP64_OFF64_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1142 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LP64_OFF64_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1143 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1144 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1145 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LPBIG_OFFBIG_LIBS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1146 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1147 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_V6_ENV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1148 ; pub const enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1)__CS_V7_ENV : enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = 1149 ; pub type enum_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/confname_h_539_1) = u32 ; extern "C" { pub fn pathconf ( __path : * const :: std :: os :: raw :: c_char , __name : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn fpathconf ( __fd : :: std :: os :: raw :: c_int , __name : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn sysconf ( __name : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn confstr ( __name : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> usize ; } extern "C" { pub fn getpid ( ) -> __pid_t ; } extern "C" { pub fn getppid ( ) -> __pid_t ; } extern "C" { pub fn getpgrp ( ) -> __pid_t ; } extern "C" { pub fn __getpgid ( __pid : __pid_t ) -> __pid_t ; } extern "C" { pub fn getpgid ( __pid : __pid_t ) -> __pid_t ; } extern "C" { pub fn setpgid ( __pid : __pid_t , __pgid : __pid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setpgrp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setsid ( ) -> __pid_t ; } extern "C" { pub fn getsid ( __pid : __pid_t ) -> __pid_t ; } extern "C" { pub fn getuid ( ) -> __uid_t ; } extern "C" { pub fn geteuid ( ) -> __uid_t ; } extern "C" { pub fn getgid ( ) -> __gid_t ; } extern "C" { pub fn getegid ( ) -> __gid_t ; } extern "C" { pub fn getgroups ( __size : :: std :: os :: raw :: c_int , __list : * mut __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setuid ( __uid : __uid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setreuid ( __ruid : __uid_t , __euid : __uid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn seteuid ( __uid : __uid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setgid ( __gid : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setregid ( __rgid : __gid_t , __egid : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setegid ( __gid : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fork ( ) -> __pid_t ; } extern "C" { pub fn vfork ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ttyname ( __fd : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ttyname_r ( __fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __buflen : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isatty ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ttyslot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn link ( __from : * const :: std :: os :: raw :: c_char , __to : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn linkat ( __fromfd : :: std :: os :: raw :: c_int , __from : * const :: std :: os :: raw :: c_char , __tofd : :: std :: os :: raw :: c_int , __to : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn symlink ( __from : * const :: std :: os :: raw :: c_char , __to : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn readlink ( __path : * const :: std :: os :: raw :: c_char , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> isize ; } extern "C" { pub fn symlinkat ( __from : * const :: std :: os :: raw :: c_char , __tofd : :: std :: os :: raw :: c_int , __to : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn readlinkat ( __fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> isize ; } extern "C" { pub fn unlink ( __name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unlinkat ( __fd : :: std :: os :: raw :: c_int , __name : * const :: std :: os :: raw :: c_char , __flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rmdir ( __path : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tcgetpgrp ( __fd : :: std :: os :: raw :: c_int ) -> __pid_t ; } extern "C" { pub fn tcsetpgrp ( __fd : :: std :: os :: raw :: c_int , __pgrp_id : __pid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getlogin ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getlogin_r ( __name : * mut :: std :: os :: raw :: c_char , __name_len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setlogin ( __name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}optarg" ] pub static mut optarg : * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}optind" ] pub static mut optind : :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}opterr" ] pub static mut opterr : :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}optopt" ] pub static mut optopt : :: std :: os :: raw :: c_int ; } extern "C" { pub fn getopt ( ___argc : :: std :: os :: raw :: c_int , ___argv : * const * const :: std :: os :: raw :: c_char , __shortopts : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gethostname ( __name : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sethostname ( __name : * const :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sethostid ( __id : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getdomainname ( __name : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setdomainname ( __name : * const :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vhangup ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn revoke ( __file : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn profil ( __sample_buffer : * mut :: std :: os :: raw :: c_ushort , __size : usize , __offset : usize , __scale : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acct ( __name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getusershell ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn endusershell ( ) ; } extern "C" { pub fn setusershell ( ) ; } extern "C" { pub fn daemon ( __nochdir : :: std :: os :: raw :: c_int , __noclose : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chroot ( __path : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpass ( __prompt : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fsync ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gethostid ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn sync ( ) ; } extern "C" { pub fn getpagesize ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getdtablesize ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn truncate ( __file : * const :: std :: os :: raw :: c_char , __length : __off_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftruncate ( __fd : :: std :: os :: raw :: c_int , __length : __off_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn brk ( __addr : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sbrk ( __delta : isize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn syscall ( __sysno : :: std :: os :: raw :: c_long , ... ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn lockf ( __fd : :: std :: os :: raw :: c_int , __cmd : :: std :: os :: raw :: c_int , __len : __off_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fdatasync ( __fildes : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn crypt ( __key : * const :: std :: os :: raw :: c_char , __salt : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getentropy ( __buffer : * mut :: std :: os :: raw :: c_void , __length : usize ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GCredentialsClass { _unused : [ u8 ; 0 ] , } pub type GCredentialsClass = _GCredentialsClass ; extern "C" { pub fn g_credentials_get_type ( ) -> GType ; } extern "C" { pub fn g_credentials_new ( ) -> * mut GCredentials ; } extern "C" { pub fn g_credentials_to_string ( credentials : * mut GCredentials ) -> * mut gchar ; } extern "C" { pub fn g_credentials_get_native ( credentials : * mut GCredentials , native_type : GCredentialsType ) -> gpointer ; } extern "C" { pub fn g_credentials_set_native ( credentials : * mut GCredentials , native_type : GCredentialsType , native : gpointer ) ; } extern "C" { pub fn g_credentials_is_same_user ( credentials : * mut GCredentials , other_credentials : * mut GCredentials , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_credentials_get_unix_pid ( credentials : * mut GCredentials , error : * mut * mut GError ) -> pid_t ; } extern "C" { pub fn g_credentials_get_unix_user ( credentials : * mut GCredentials , error : * mut * mut GError ) -> uid_t ; } extern "C" { pub fn g_credentials_set_unix_user ( credentials : * mut GCredentials , uid : uid_t , error : * mut * mut GError ) -> gboolean ; } pub type GDatagramBasedInterface = _GDatagramBasedInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDatagramBasedInterface { pub g_iface : GTypeInterface , pub receive_messages : :: std :: option :: Option < unsafe extern "C" fn ( datagram_based : * mut GDatagramBased , messages : * mut GInputMessage , num_messages : guint , flags : gint , timeout : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint > , pub send_messages : :: std :: option :: Option < unsafe extern "C" fn ( datagram_based : * mut GDatagramBased , messages : * mut GOutputMessage , num_messages : guint , flags : gint , timeout : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint > , pub create_source : :: std :: option :: Option < unsafe extern "C" fn ( datagram_based : * mut GDatagramBased , condition : GIOCondition , cancellable : * mut GCancellable ) -> * mut GSource > , pub condition_check : :: std :: option :: Option < unsafe extern "C" fn ( datagram_based : * mut GDatagramBased , condition : GIOCondition ) -> GIOCondition > , pub condition_wait : :: std :: option :: Option < unsafe extern "C" fn ( datagram_based : * mut GDatagramBased , condition : GIOCondition , timeout : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GDatagramBasedInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDatagramBasedInterface > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GDatagramBasedInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDatagramBasedInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDatagramBasedInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDatagramBasedInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDatagramBasedInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDatagramBasedInterface > ( ) ) ) . receive_messages as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDatagramBasedInterface ) , "::" , stringify ! ( receive_messages ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDatagramBasedInterface > ( ) ) ) . send_messages as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDatagramBasedInterface ) , "::" , stringify ! ( send_messages ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDatagramBasedInterface > ( ) ) ) . create_source as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDatagramBasedInterface ) , "::" , stringify ! ( create_source ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDatagramBasedInterface > ( ) ) ) . condition_check as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDatagramBasedInterface ) , "::" , stringify ! ( condition_check ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDatagramBasedInterface > ( ) ) ) . condition_wait as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GDatagramBasedInterface ) , "::" , stringify ! ( condition_wait ) ) ) ; } extern "C" { pub fn g_datagram_based_get_type ( ) -> GType ; } extern "C" { pub fn g_datagram_based_receive_messages ( datagram_based : * mut GDatagramBased , messages : * mut GInputMessage , num_messages : guint , flags : gint , timeout : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_datagram_based_send_messages ( datagram_based : * mut GDatagramBased , messages : * mut GOutputMessage , num_messages : guint , flags : gint , timeout : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_datagram_based_create_source ( datagram_based : * mut GDatagramBased , condition : GIOCondition , cancellable : * mut GCancellable ) -> * mut GSource ; } extern "C" { pub fn g_datagram_based_condition_check ( datagram_based : * mut GDatagramBased , condition : GIOCondition ) -> GIOCondition ; } extern "C" { pub fn g_datagram_based_condition_wait ( datagram_based : * mut GDatagramBased , condition : GIOCondition , timeout : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } pub type GDataInputStreamClass = _GDataInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDataInputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GDataInputStreamPrivate = _GDataInputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDataInputStream { pub parent_instance : GBufferedInputStream , pub priv_ : * mut GDataInputStreamPrivate , } # [ test ] fn bindgen_test_layout__GDataInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDataInputStream > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GDataInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDataInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDataInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStream > ( ) ) ) . priv_ as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDataInputStreamClass { pub parent_class : GBufferedInputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GDataInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDataInputStreamClass > ( ) , 376usize , concat ! ( "Size of: " , stringify ! ( _GDataInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDataInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDataInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataInputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _GDataInputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_data_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_data_input_stream_new ( base_stream : * mut GInputStream ) -> * mut GDataInputStream ; } extern "C" { pub fn g_data_input_stream_set_byte_order ( stream : * mut GDataInputStream , order : GDataStreamByteOrder ) ; } extern "C" { pub fn g_data_input_stream_get_byte_order ( stream : * mut GDataInputStream ) -> GDataStreamByteOrder ; } extern "C" { pub fn g_data_input_stream_set_newline_type ( stream : * mut GDataInputStream , type_ : GDataStreamNewlineType ) ; } extern "C" { pub fn g_data_input_stream_get_newline_type ( stream : * mut GDataInputStream ) -> GDataStreamNewlineType ; } extern "C" { pub fn g_data_input_stream_read_byte ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> guchar ; } extern "C" { pub fn g_data_input_stream_read_int16 ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint16 ; } extern "C" { pub fn g_data_input_stream_read_uint16 ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> guint16 ; } extern "C" { pub fn g_data_input_stream_read_int32 ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint32 ; } extern "C" { pub fn g_data_input_stream_read_uint32 ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> guint32 ; } extern "C" { pub fn g_data_input_stream_read_int64 ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint64 ; } extern "C" { pub fn g_data_input_stream_read_uint64 ( stream : * mut GDataInputStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> guint64 ; } extern "C" { pub fn g_data_input_stream_read_line ( stream : * mut GDataInputStream , length : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_line_utf8 ( stream : * mut GDataInputStream , length : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_line_async ( stream : * mut GDataInputStream , io_priority : gint , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_data_input_stream_read_line_finish ( stream : * mut GDataInputStream , result : * mut GAsyncResult , length : * mut gsize , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_line_finish_utf8 ( stream : * mut GDataInputStream , result : * mut GAsyncResult , length : * mut gsize , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_until ( stream : * mut GDataInputStream , stop_chars : * const gchar , length : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_until_async ( stream : * mut GDataInputStream , stop_chars : * const gchar , io_priority : gint , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_data_input_stream_read_until_finish ( stream : * mut GDataInputStream , result : * mut GAsyncResult , length : * mut gsize , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_upto ( stream : * mut GDataInputStream , stop_chars : * const gchar , stop_chars_len : gssize , length : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_data_input_stream_read_upto_async ( stream : * mut GDataInputStream , stop_chars : * const gchar , stop_chars_len : gssize , io_priority : gint , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_data_input_stream_read_upto_finish ( stream : * mut GDataInputStream , result : * mut GAsyncResult , length : * mut gsize , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } pub type GDataOutputStream = _GDataOutputStream ; pub type GDataOutputStreamClass = _GDataOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDataOutputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GDataOutputStreamPrivate = _GDataOutputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDataOutputStream { pub parent_instance : GFilterOutputStream , pub priv_ : * mut GDataOutputStreamPrivate , } # [ test ] fn bindgen_test_layout__GDataOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDataOutputStream > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GDataOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDataOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDataOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStream > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDataOutputStreamClass { pub parent_class : GFilterOutputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GDataOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDataOutputStreamClass > ( ) , 360usize , concat ! ( "Size of: " , stringify ! ( _GDataOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDataOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDataOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDataOutputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _GDataOutputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_data_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_data_output_stream_new ( base_stream : * mut GOutputStream ) -> * mut GDataOutputStream ; } extern "C" { pub fn g_data_output_stream_set_byte_order ( stream : * mut GDataOutputStream , order : GDataStreamByteOrder ) ; } extern "C" { pub fn g_data_output_stream_get_byte_order ( stream : * mut GDataOutputStream ) -> GDataStreamByteOrder ; } extern "C" { pub fn g_data_output_stream_put_byte ( stream : * mut GDataOutputStream , data : guchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_int16 ( stream : * mut GDataOutputStream , data : gint16 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_uint16 ( stream : * mut GDataOutputStream , data : guint16 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_int32 ( stream : * mut GDataOutputStream , data : gint32 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_uint32 ( stream : * mut GDataOutputStream , data : guint32 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_int64 ( stream : * mut GDataOutputStream , data : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_uint64 ( stream : * mut GDataOutputStream , data : guint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_data_output_stream_put_string ( stream : * mut GDataOutputStream , str : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_action_group_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_action_group_get ( connection : * mut GDBusConnection , bus_name : * const gchar , object_path : * const gchar ) -> * mut GDBusActionGroup ; } extern "C" { pub fn g_dbus_address_escape_value ( string : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_dbus_is_address ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_is_supported_address ( string : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_address_get_stream ( address : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_address_get_stream_finish ( res : * mut GAsyncResult , out_guid : * mut * mut gchar , error : * mut * mut GError ) -> * mut GIOStream ; } extern "C" { pub fn g_dbus_address_get_stream_sync ( address : * const gchar , out_guid : * mut * mut gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GIOStream ; } extern "C" { pub fn g_dbus_address_get_for_bus_sync ( bus_type : GBusType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_dbus_auth_observer_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_auth_observer_new ( ) -> * mut GDBusAuthObserver ; } extern "C" { pub fn g_dbus_auth_observer_authorize_authenticated_peer ( observer : * mut GDBusAuthObserver , stream : * mut GIOStream , credentials : * mut GCredentials ) -> gboolean ; } extern "C" { pub fn g_dbus_auth_observer_allow_mechanism ( observer : * mut GDBusAuthObserver , mechanism : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_bus_get ( bus_type : GBusType , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_bus_get_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusConnection ; } extern "C" { pub fn g_bus_get_sync ( bus_type : GBusType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_connection_new ( stream : * mut GIOStream , guid : * const gchar , flags : GDBusConnectionFlags , observer : * mut GDBusAuthObserver , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_new_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_connection_new_sync ( stream : * mut GIOStream , guid : * const gchar , flags : GDBusConnectionFlags , observer : * mut GDBusAuthObserver , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_connection_new_for_address ( address : * const gchar , flags : GDBusConnectionFlags , observer : * mut GDBusAuthObserver , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_new_for_address_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_connection_new_for_address_sync ( address : * const gchar , flags : GDBusConnectionFlags , observer : * mut GDBusAuthObserver , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_connection_start_message_processing ( connection : * mut GDBusConnection ) ; } extern "C" { pub fn g_dbus_connection_is_closed ( connection : * mut GDBusConnection ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_get_stream ( connection : * mut GDBusConnection ) -> * mut GIOStream ; } extern "C" { pub fn g_dbus_connection_get_guid ( connection : * mut GDBusConnection ) -> * const gchar ; } extern "C" { pub fn g_dbus_connection_get_unique_name ( connection : * mut GDBusConnection ) -> * const gchar ; } extern "C" { pub fn g_dbus_connection_get_peer_credentials ( connection : * mut GDBusConnection ) -> * mut GCredentials ; } extern "C" { pub fn g_dbus_connection_get_last_serial ( connection : * mut GDBusConnection ) -> guint32 ; } extern "C" { pub fn g_dbus_connection_get_exit_on_close ( connection : * mut GDBusConnection ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_set_exit_on_close ( connection : * mut GDBusConnection , exit_on_close : gboolean ) ; } extern "C" { pub fn g_dbus_connection_get_capabilities ( connection : * mut GDBusConnection ) -> GDBusCapabilityFlags ; } extern "C" { pub fn g_dbus_connection_get_flags ( connection : * mut GDBusConnection ) -> GDBusConnectionFlags ; } extern "C" { pub fn g_dbus_connection_close ( connection : * mut GDBusConnection , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_close_finish ( connection : * mut GDBusConnection , res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_close_sync ( connection : * mut GDBusConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_flush ( connection : * mut GDBusConnection , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_flush_finish ( connection : * mut GDBusConnection , res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_flush_sync ( connection : * mut GDBusConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_send_message ( connection : * mut GDBusConnection , message : * mut GDBusMessage , flags : GDBusSendMessageFlags , out_serial : * mut guint32 , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_send_message_with_reply ( connection : * mut GDBusConnection , message : * mut GDBusMessage , flags : GDBusSendMessageFlags , timeout_msec : gint , out_serial : * mut guint32 , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_send_message_with_reply_finish ( connection : * mut GDBusConnection , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_connection_send_message_with_reply_sync ( connection : * mut GDBusConnection , message : * mut GDBusMessage , flags : GDBusSendMessageFlags , timeout_msec : gint , out_serial : * mut guint32 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_connection_emit_signal ( connection : * mut GDBusConnection , destination_bus_name : * const gchar , object_path : * const gchar , interface_name : * const gchar , signal_name : * const gchar , parameters : * mut GVariant , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_connection_call ( connection : * mut GDBusConnection , bus_name : * const gchar , object_path : * const gchar , interface_name : * const gchar , method_name : * const gchar , parameters : * mut GVariant , reply_type : * const GVariantType , flags : GDBusCallFlags , timeout_msec : gint , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_call_finish ( connection : * mut GDBusConnection , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_connection_call_sync ( connection : * mut GDBusConnection , bus_name : * const gchar , object_path : * const gchar , interface_name : * const gchar , method_name : * const gchar , parameters : * mut GVariant , reply_type : * const GVariantType , flags : GDBusCallFlags , timeout_msec : gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_connection_call_with_unix_fd_list ( connection : * mut GDBusConnection , bus_name : * const gchar , object_path : * const gchar , interface_name : * const gchar , method_name : * const gchar , parameters : * mut GVariant , reply_type : * const GVariantType , flags : GDBusCallFlags , timeout_msec : gint , fd_list : * mut GUnixFDList , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_connection_call_with_unix_fd_list_finish ( connection : * mut GDBusConnection , out_fd_list : * mut * mut GUnixFDList , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_connection_call_with_unix_fd_list_sync ( connection : * mut GDBusConnection , bus_name : * const gchar , object_path : * const gchar , interface_name : * const gchar , method_name : * const gchar , parameters : * mut GVariant , reply_type : * const GVariantType , flags : GDBusCallFlags , timeout_msec : gint , fd_list : * mut GUnixFDList , out_fd_list : * mut * mut GUnixFDList , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GVariant ; } pub type GDBusInterfaceMethodCallFunc = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender : * const gchar , object_path : * const gchar , interface_name : * const gchar , method_name : * const gchar , parameters : * mut GVariant , invocation : * mut GDBusMethodInvocation , user_data : gpointer ) > ; pub type GDBusInterfaceGetPropertyFunc = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender : * const gchar , object_path : * const gchar , interface_name : * const gchar , property_name : * const gchar , error : * mut * mut GError , user_data : gpointer ) -> * mut GVariant > ; pub type GDBusInterfaceSetPropertyFunc = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender : * const gchar , object_path : * const gchar , interface_name : * const gchar , property_name : * const gchar , value : * mut GVariant , error : * mut * mut GError , user_data : gpointer ) -> gboolean > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterfaceVTable { pub method_call : GDBusInterfaceMethodCallFunc , pub get_property : GDBusInterfaceGetPropertyFunc , pub set_property : GDBusInterfaceSetPropertyFunc , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusInterfaceVTable ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusInterfaceVTable > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GDBusInterfaceVTable ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusInterfaceVTable > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusInterfaceVTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceVTable > ( ) ) ) . method_call as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceVTable ) , "::" , stringify ! ( method_call ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceVTable > ( ) ) ) . get_property as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceVTable ) , "::" , stringify ! ( get_property ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceVTable > ( ) ) ) . set_property as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceVTable ) , "::" , stringify ! ( set_property ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceVTable > ( ) ) ) . padding as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceVTable ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_connection_register_object ( connection : * mut GDBusConnection , object_path : * const gchar , interface_info : * mut GDBusInterfaceInfo , vtable : * const GDBusInterfaceVTable , user_data : gpointer , user_data_free_func : GDestroyNotify , error : * mut * mut GError ) -> guint ; } extern "C" { pub fn g_dbus_connection_register_object_with_closures ( connection : * mut GDBusConnection , object_path : * const gchar , interface_info : * mut GDBusInterfaceInfo , method_call_closure : * mut GClosure , get_property_closure : * mut GClosure , set_property_closure : * mut GClosure , error : * mut * mut GError ) -> guint ; } extern "C" { pub fn g_dbus_connection_unregister_object ( connection : * mut GDBusConnection , registration_id : guint ) -> gboolean ; } pub type GDBusSubtreeEnumerateFunc = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender : * const gchar , object_path : * const gchar , user_data : gpointer ) -> * mut * mut gchar > ; pub type GDBusSubtreeIntrospectFunc = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender : * const gchar , object_path : * const gchar , node : * const gchar , user_data : gpointer ) -> * mut * mut GDBusInterfaceInfo > ; pub type GDBusSubtreeDispatchFunc = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender : * const gchar , object_path : * const gchar , interface_name : * const gchar , node : * const gchar , out_user_data : * mut gpointer , user_data : gpointer ) -> * const GDBusInterfaceVTable > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusSubtreeVTable { pub enumerate : GDBusSubtreeEnumerateFunc , pub introspect : GDBusSubtreeIntrospectFunc , pub dispatch : GDBusSubtreeDispatchFunc , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusSubtreeVTable ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusSubtreeVTable > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GDBusSubtreeVTable ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusSubtreeVTable > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusSubtreeVTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSubtreeVTable > ( ) ) ) . enumerate as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSubtreeVTable ) , "::" , stringify ! ( enumerate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSubtreeVTable > ( ) ) ) . introspect as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSubtreeVTable ) , "::" , stringify ! ( introspect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSubtreeVTable > ( ) ) ) . dispatch as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSubtreeVTable ) , "::" , stringify ! ( dispatch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSubtreeVTable > ( ) ) ) . padding as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSubtreeVTable ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_connection_register_subtree ( connection : * mut GDBusConnection , object_path : * const gchar , vtable : * const GDBusSubtreeVTable , flags : GDBusSubtreeFlags , user_data : gpointer , user_data_free_func : GDestroyNotify , error : * mut * mut GError ) -> guint ; } extern "C" { pub fn g_dbus_connection_unregister_subtree ( connection : * mut GDBusConnection , registration_id : guint ) -> gboolean ; } pub type GDBusSignalCallback = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , sender_name : * const gchar , object_path : * const gchar , interface_name : * const gchar , signal_name : * const gchar , parameters : * mut GVariant , user_data : gpointer ) > ; extern "C" { pub fn g_dbus_connection_signal_subscribe ( connection : * mut GDBusConnection , sender : * const gchar , interface_name : * const gchar , member : * const gchar , object_path : * const gchar , arg0 : * const gchar , flags : GDBusSignalFlags , callback : GDBusSignalCallback , user_data : gpointer , user_data_free_func : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_dbus_connection_signal_unsubscribe ( connection : * mut GDBusConnection , subscription_id : guint ) ; } pub type GDBusMessageFilterFunction = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , message : * mut GDBusMessage , incoming : gboolean , user_data : gpointer ) -> * mut GDBusMessage > ; extern "C" { pub fn g_dbus_connection_add_filter ( connection : * mut GDBusConnection , filter_function : GDBusMessageFilterFunction , user_data : gpointer , user_data_free_func : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_dbus_connection_remove_filter ( connection : * mut GDBusConnection , filter_id : guint ) ; } extern "C" { pub fn g_dbus_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_dbus_error_is_remote_error ( error : * const GError ) -> gboolean ; } extern "C" { pub fn g_dbus_error_get_remote_error ( error : * const GError ) -> * mut gchar ; } extern "C" { pub fn g_dbus_error_strip_remote_error ( error : * mut GError ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusErrorEntry { pub error_code : gint , pub dbus_error_name : * const gchar , } # [ test ] fn bindgen_test_layout__GDBusErrorEntry ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusErrorEntry > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GDBusErrorEntry ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusErrorEntry > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusErrorEntry ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusErrorEntry > ( ) ) ) . error_code as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusErrorEntry ) , "::" , stringify ! ( error_code ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusErrorEntry > ( ) ) ) . dbus_error_name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusErrorEntry ) , "::" , stringify ! ( dbus_error_name ) ) ) ; } extern "C" { pub fn g_dbus_error_register_error ( error_domain : GQuark , error_code : gint , dbus_error_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_error_unregister_error ( error_domain : GQuark , error_code : gint , dbus_error_name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_error_register_error_domain ( error_domain_quark_name : * const gchar , quark_volatile : * mut gsize , entries : * const GDBusErrorEntry , num_entries : guint ) ; } extern "C" { pub fn g_dbus_error_new_for_dbus_error ( dbus_error_name : * const gchar , dbus_error_message : * const gchar ) -> * mut GError ; } extern "C" { pub fn g_dbus_error_set_dbus_error ( error : * mut * mut GError , dbus_error_name : * const gchar , dbus_error_message : * const gchar , format : * const gchar , ... ) ; } extern "C" { pub fn g_dbus_error_set_dbus_error_valist ( error : * mut * mut GError , dbus_error_name : * const gchar , dbus_error_message : * const gchar , format : * const gchar , var_args : * mut __va_list_tag ) ; } extern "C" { pub fn g_dbus_error_encode_gerror ( error : * const GError ) -> * mut gchar ; } pub type GDBusInterfaceIface = _GDBusInterfaceIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterfaceIface { pub parent_iface : GTypeInterface , pub get_info : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterface ) -> * mut GDBusInterfaceInfo > , pub get_object : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterface ) -> * mut GDBusObject > , pub set_object : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterface , object : * mut GDBusObject ) > , pub dup_object : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterface ) -> * mut GDBusObject > , } # [ test ] fn bindgen_test_layout__GDBusInterfaceIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusInterfaceIface > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GDBusInterfaceIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusInterfaceIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusInterfaceIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceIface > ( ) ) ) . parent_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceIface ) , "::" , stringify ! ( parent_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceIface > ( ) ) ) . get_info as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceIface ) , "::" , stringify ! ( get_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceIface > ( ) ) ) . get_object as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceIface ) , "::" , stringify ! ( get_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceIface > ( ) ) ) . set_object as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceIface ) , "::" , stringify ! ( set_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceIface > ( ) ) ) . dup_object as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceIface ) , "::" , stringify ! ( dup_object ) ) ) ; } extern "C" { pub fn g_dbus_interface_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_interface_get_info ( interface_ : * mut GDBusInterface ) -> * mut GDBusInterfaceInfo ; } extern "C" { pub fn g_dbus_interface_get_object ( interface_ : * mut GDBusInterface ) -> * mut GDBusObject ; } extern "C" { pub fn g_dbus_interface_set_object ( interface_ : * mut GDBusInterface , object : * mut GDBusObject ) ; } extern "C" { pub fn g_dbus_interface_dup_object ( interface_ : * mut GDBusInterface ) -> * mut GDBusObject ; } pub type GDBusInterfaceSkeletonClass = _GDBusInterfaceSkeletonClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterfaceSkeletonPrivate { _unused : [ u8 ; 0 ] , } pub type GDBusInterfaceSkeletonPrivate = _GDBusInterfaceSkeletonPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterfaceSkeleton { pub parent_instance : GObject , pub priv_ : * mut GDBusInterfaceSkeletonPrivate , } # [ test ] fn bindgen_test_layout__GDBusInterfaceSkeleton ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusInterfaceSkeleton > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusInterfaceSkeleton ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusInterfaceSkeleton > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusInterfaceSkeleton ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeleton > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeleton ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeleton > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeleton ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterfaceSkeletonClass { pub parent_class : GObjectClass , pub get_info : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GDBusInterfaceInfo > , pub get_vtable : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GDBusInterfaceVTable > , pub get_properties : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GVariant > , pub flush : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterfaceSkeleton ) > , pub vfunc_padding : [ gpointer ; 8usize ] , pub g_authorize_method : :: std :: option :: Option < unsafe extern "C" fn ( interface_ : * mut GDBusInterfaceSkeleton , invocation : * mut GDBusMethodInvocation ) -> gboolean > , pub signal_padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusInterfaceSkeletonClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusInterfaceSkeletonClass > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( _GDBusInterfaceSkeletonClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusInterfaceSkeletonClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusInterfaceSkeletonClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . get_info as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( get_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . get_vtable as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( get_vtable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . get_properties as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( get_properties ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . flush as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( flush ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . vfunc_padding as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( vfunc_padding ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . g_authorize_method as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( g_authorize_method ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceSkeletonClass > ( ) ) ) . signal_padding as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceSkeletonClass ) , "::" , stringify ! ( signal_padding ) ) ) ; } extern "C" { pub fn g_dbus_interface_skeleton_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_interface_skeleton_get_flags ( interface_ : * mut GDBusInterfaceSkeleton ) -> GDBusInterfaceSkeletonFlags ; } extern "C" { pub fn g_dbus_interface_skeleton_set_flags ( interface_ : * mut GDBusInterfaceSkeleton , flags : GDBusInterfaceSkeletonFlags ) ; } extern "C" { pub fn g_dbus_interface_skeleton_get_info ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GDBusInterfaceInfo ; } extern "C" { pub fn g_dbus_interface_skeleton_get_vtable ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GDBusInterfaceVTable ; } extern "C" { pub fn g_dbus_interface_skeleton_get_properties ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_interface_skeleton_flush ( interface_ : * mut GDBusInterfaceSkeleton ) ; } extern "C" { pub fn g_dbus_interface_skeleton_export ( interface_ : * mut GDBusInterfaceSkeleton , connection : * mut GDBusConnection , object_path : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_interface_skeleton_unexport ( interface_ : * mut GDBusInterfaceSkeleton ) ; } extern "C" { pub fn g_dbus_interface_skeleton_unexport_from_connection ( interface_ : * mut GDBusInterfaceSkeleton , connection : * mut GDBusConnection ) ; } extern "C" { pub fn g_dbus_interface_skeleton_get_connection ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_interface_skeleton_get_connections ( interface_ : * mut GDBusInterfaceSkeleton ) -> * mut GList ; } extern "C" { pub fn g_dbus_interface_skeleton_has_connection ( interface_ : * mut GDBusInterfaceSkeleton , connection : * mut GDBusConnection ) -> gboolean ; } extern "C" { pub fn g_dbus_interface_skeleton_get_object_path ( interface_ : * mut GDBusInterfaceSkeleton ) -> * const gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusAnnotationInfo { pub ref_count : gint , pub key : * mut gchar , pub value : * mut gchar , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusAnnotationInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusAnnotationInfo > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusAnnotationInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusAnnotationInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusAnnotationInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusAnnotationInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusAnnotationInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusAnnotationInfo > ( ) ) ) . key as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusAnnotationInfo ) , "::" , stringify ! ( key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusAnnotationInfo > ( ) ) ) . value as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusAnnotationInfo ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusAnnotationInfo > ( ) ) ) . annotations as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusAnnotationInfo ) , "::" , stringify ! ( annotations ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusArgInfo { pub ref_count : gint , pub name : * mut gchar , pub signature : * mut gchar , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusArgInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusArgInfo > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusArgInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusArgInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusArgInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusArgInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusArgInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusArgInfo > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusArgInfo ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusArgInfo > ( ) ) ) . signature as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusArgInfo ) , "::" , stringify ! ( signature ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusArgInfo > ( ) ) ) . annotations as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusArgInfo ) , "::" , stringify ! ( annotations ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusMethodInfo { pub ref_count : gint , pub name : * mut gchar , pub in_args : * mut * mut GDBusArgInfo , pub out_args : * mut * mut GDBusArgInfo , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusMethodInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusMethodInfo > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GDBusMethodInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusMethodInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusMethodInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusMethodInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusMethodInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusMethodInfo > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusMethodInfo ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusMethodInfo > ( ) ) ) . in_args as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusMethodInfo ) , "::" , stringify ! ( in_args ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusMethodInfo > ( ) ) ) . out_args as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusMethodInfo ) , "::" , stringify ! ( out_args ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusMethodInfo > ( ) ) ) . annotations as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusMethodInfo ) , "::" , stringify ! ( annotations ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusSignalInfo { pub ref_count : gint , pub name : * mut gchar , pub args : * mut * mut GDBusArgInfo , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusSignalInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusSignalInfo > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusSignalInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusSignalInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusSignalInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSignalInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSignalInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSignalInfo > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSignalInfo ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSignalInfo > ( ) ) ) . args as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSignalInfo ) , "::" , stringify ! ( args ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusSignalInfo > ( ) ) ) . annotations as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusSignalInfo ) , "::" , stringify ! ( annotations ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusPropertyInfo { pub ref_count : gint , pub name : * mut gchar , pub signature : * mut gchar , pub flags : GDBusPropertyInfoFlags , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusPropertyInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusPropertyInfo > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GDBusPropertyInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusPropertyInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusPropertyInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusPropertyInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusPropertyInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusPropertyInfo > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusPropertyInfo ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusPropertyInfo > ( ) ) ) . signature as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusPropertyInfo ) , "::" , stringify ! ( signature ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusPropertyInfo > ( ) ) ) . flags as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusPropertyInfo ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusPropertyInfo > ( ) ) ) . annotations as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusPropertyInfo ) , "::" , stringify ! ( annotations ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusInterfaceInfo { pub ref_count : gint , pub name : * mut gchar , pub methods : * mut * mut GDBusMethodInfo , pub signals : * mut * mut GDBusSignalInfo , pub properties : * mut * mut GDBusPropertyInfo , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusInterfaceInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusInterfaceInfo > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GDBusInterfaceInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusInterfaceInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusInterfaceInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceInfo > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceInfo ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceInfo > ( ) ) ) . methods as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceInfo ) , "::" , stringify ! ( methods ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceInfo > ( ) ) ) . signals as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceInfo ) , "::" , stringify ! ( signals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceInfo > ( ) ) ) . properties as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceInfo ) , "::" , stringify ! ( properties ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusInterfaceInfo > ( ) ) ) . annotations as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusInterfaceInfo ) , "::" , stringify ! ( annotations ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusNodeInfo { pub ref_count : gint , pub path : * mut gchar , pub interfaces : * mut * mut GDBusInterfaceInfo , pub nodes : * mut * mut GDBusNodeInfo , pub annotations : * mut * mut GDBusAnnotationInfo , } # [ test ] fn bindgen_test_layout__GDBusNodeInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusNodeInfo > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GDBusNodeInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusNodeInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusNodeInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusNodeInfo > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusNodeInfo ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusNodeInfo > ( ) ) ) . path as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusNodeInfo ) , "::" , stringify ! ( path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusNodeInfo > ( ) ) ) . interfaces as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusNodeInfo ) , "::" , stringify ! ( interfaces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusNodeInfo > ( ) ) ) . nodes as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusNodeInfo ) , "::" , stringify ! ( nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusNodeInfo > ( ) ) ) . annotations as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusNodeInfo ) , "::" , stringify ! ( annotations ) ) ) ; } extern "C" { pub fn g_dbus_annotation_info_lookup ( annotations : * mut * mut GDBusAnnotationInfo , name : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_dbus_interface_info_lookup_method ( info : * mut GDBusInterfaceInfo , name : * const gchar ) -> * mut GDBusMethodInfo ; } extern "C" { pub fn g_dbus_interface_info_lookup_signal ( info : * mut GDBusInterfaceInfo , name : * const gchar ) -> * mut GDBusSignalInfo ; } extern "C" { pub fn g_dbus_interface_info_lookup_property ( info : * mut GDBusInterfaceInfo , name : * const gchar ) -> * mut GDBusPropertyInfo ; } extern "C" { pub fn g_dbus_interface_info_cache_build ( info : * mut GDBusInterfaceInfo ) ; } extern "C" { pub fn g_dbus_interface_info_cache_release ( info : * mut GDBusInterfaceInfo ) ; } extern "C" { pub fn g_dbus_interface_info_generate_xml ( info : * mut GDBusInterfaceInfo , indent : guint , string_builder : * mut GString ) ; } extern "C" { pub fn g_dbus_node_info_new_for_xml ( xml_data : * const gchar , error : * mut * mut GError ) -> * mut GDBusNodeInfo ; } extern "C" { pub fn g_dbus_node_info_lookup_interface ( info : * mut GDBusNodeInfo , name : * const gchar ) -> * mut GDBusInterfaceInfo ; } extern "C" { pub fn g_dbus_node_info_generate_xml ( info : * mut GDBusNodeInfo , indent : guint , string_builder : * mut GString ) ; } extern "C" { pub fn g_dbus_node_info_ref ( info : * mut GDBusNodeInfo ) -> * mut GDBusNodeInfo ; } extern "C" { pub fn g_dbus_interface_info_ref ( info : * mut GDBusInterfaceInfo ) -> * mut GDBusInterfaceInfo ; } extern "C" { pub fn g_dbus_method_info_ref ( info : * mut GDBusMethodInfo ) -> * mut GDBusMethodInfo ; } extern "C" { pub fn g_dbus_signal_info_ref ( info : * mut GDBusSignalInfo ) -> * mut GDBusSignalInfo ; } extern "C" { pub fn g_dbus_property_info_ref ( info : * mut GDBusPropertyInfo ) -> * mut GDBusPropertyInfo ; } extern "C" { pub fn g_dbus_arg_info_ref ( info : * mut GDBusArgInfo ) -> * mut GDBusArgInfo ; } extern "C" { pub fn g_dbus_annotation_info_ref ( info : * mut GDBusAnnotationInfo ) -> * mut GDBusAnnotationInfo ; } extern "C" { pub fn g_dbus_node_info_unref ( info : * mut GDBusNodeInfo ) ; } extern "C" { pub fn g_dbus_interface_info_unref ( info : * mut GDBusInterfaceInfo ) ; } extern "C" { pub fn g_dbus_method_info_unref ( info : * mut GDBusMethodInfo ) ; } extern "C" { pub fn g_dbus_signal_info_unref ( info : * mut GDBusSignalInfo ) ; } extern "C" { pub fn g_dbus_property_info_unref ( info : * mut GDBusPropertyInfo ) ; } extern "C" { pub fn g_dbus_arg_info_unref ( info : * mut GDBusArgInfo ) ; } extern "C" { pub fn g_dbus_annotation_info_unref ( info : * mut GDBusAnnotationInfo ) ; } extern "C" { pub fn g_dbus_node_info_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_interface_info_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_method_info_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_signal_info_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_property_info_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_arg_info_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_annotation_info_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusMenuModel { _unused : [ u8 ; 0 ] , } pub type GDBusMenuModel = _GDBusMenuModel ; extern "C" { pub fn g_dbus_menu_model_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_menu_model_get ( connection : * mut GDBusConnection , bus_name : * const gchar , object_path : * const gchar ) -> * mut GDBusMenuModel ; } extern "C" { pub fn g_dbus_message_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_message_new ( ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_new_signal ( path : * const gchar , interface_ : * const gchar , signal : * const gchar ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_new_method_call ( name : * const gchar , path : * const gchar , interface_ : * const gchar , method : * const gchar ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_new_method_reply ( method_call_message : * mut GDBusMessage ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_new_method_error ( method_call_message : * mut GDBusMessage , error_name : * const gchar , error_message_format : * const gchar , ... ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_new_method_error_valist ( method_call_message : * mut GDBusMessage , error_name : * const gchar , error_message_format : * const gchar , var_args : * mut __va_list_tag ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_new_method_error_literal ( method_call_message : * mut GDBusMessage , error_name : * const gchar , error_message : * const gchar ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_print ( message : * mut GDBusMessage , indent : guint ) -> * mut gchar ; } extern "C" { pub fn g_dbus_message_get_locked ( message : * mut GDBusMessage ) -> gboolean ; } extern "C" { pub fn g_dbus_message_lock ( message : * mut GDBusMessage ) ; } extern "C" { pub fn g_dbus_message_copy ( message : * mut GDBusMessage , error : * mut * mut GError ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_get_byte_order ( message : * mut GDBusMessage ) -> GDBusMessageByteOrder ; } extern "C" { pub fn g_dbus_message_set_byte_order ( message : * mut GDBusMessage , byte_order : GDBusMessageByteOrder ) ; } extern "C" { pub fn g_dbus_message_get_message_type ( message : * mut GDBusMessage ) -> GDBusMessageType ; } extern "C" { pub fn g_dbus_message_set_message_type ( message : * mut GDBusMessage , type_ : GDBusMessageType ) ; } extern "C" { pub fn g_dbus_message_get_flags ( message : * mut GDBusMessage ) -> GDBusMessageFlags ; } extern "C" { pub fn g_dbus_message_set_flags ( message : * mut GDBusMessage , flags : GDBusMessageFlags ) ; } extern "C" { pub fn g_dbus_message_get_serial ( message : * mut GDBusMessage ) -> guint32 ; } extern "C" { pub fn g_dbus_message_set_serial ( message : * mut GDBusMessage , serial : guint32 ) ; } extern "C" { pub fn g_dbus_message_get_header ( message : * mut GDBusMessage , header_field : GDBusMessageHeaderField ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_message_set_header ( message : * mut GDBusMessage , header_field : GDBusMessageHeaderField , value : * mut GVariant ) ; } extern "C" { pub fn g_dbus_message_get_header_fields ( message : * mut GDBusMessage ) -> * mut guchar ; } extern "C" { pub fn g_dbus_message_get_body ( message : * mut GDBusMessage ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_message_set_body ( message : * mut GDBusMessage , body : * mut GVariant ) ; } extern "C" { pub fn g_dbus_message_get_unix_fd_list ( message : * mut GDBusMessage ) -> * mut GUnixFDList ; } extern "C" { pub fn g_dbus_message_set_unix_fd_list ( message : * mut GDBusMessage , fd_list : * mut GUnixFDList ) ; } extern "C" { pub fn g_dbus_message_get_reply_serial ( message : * mut GDBusMessage ) -> guint32 ; } extern "C" { pub fn g_dbus_message_set_reply_serial ( message : * mut GDBusMessage , value : guint32 ) ; } extern "C" { pub fn g_dbus_message_get_interface ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_interface ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_member ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_member ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_path ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_path ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_sender ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_sender ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_destination ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_destination ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_error_name ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_error_name ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_signature ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_set_signature ( message : * mut GDBusMessage , value : * const gchar ) ; } extern "C" { pub fn g_dbus_message_get_num_unix_fds ( message : * mut GDBusMessage ) -> guint32 ; } extern "C" { pub fn g_dbus_message_set_num_unix_fds ( message : * mut GDBusMessage , value : guint32 ) ; } extern "C" { pub fn g_dbus_message_get_arg0 ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_get_arg0_path ( message : * mut GDBusMessage ) -> * const gchar ; } extern "C" { pub fn g_dbus_message_new_from_blob ( blob : * mut guchar , blob_len : gsize , capabilities : GDBusCapabilityFlags , error : * mut * mut GError ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_message_bytes_needed ( blob : * mut guchar , blob_len : gsize , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_dbus_message_to_blob ( message : * mut GDBusMessage , out_size : * mut gsize , capabilities : GDBusCapabilityFlags , error : * mut * mut GError ) -> * mut guchar ; } extern "C" { pub fn g_dbus_message_to_gerror ( message : * mut GDBusMessage , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dbus_method_invocation_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_method_invocation_get_sender ( invocation : * mut GDBusMethodInvocation ) -> * const gchar ; } extern "C" { pub fn g_dbus_method_invocation_get_object_path ( invocation : * mut GDBusMethodInvocation ) -> * const gchar ; } extern "C" { pub fn g_dbus_method_invocation_get_interface_name ( invocation : * mut GDBusMethodInvocation ) -> * const gchar ; } extern "C" { pub fn g_dbus_method_invocation_get_method_name ( invocation : * mut GDBusMethodInvocation ) -> * const gchar ; } extern "C" { pub fn g_dbus_method_invocation_get_method_info ( invocation : * mut GDBusMethodInvocation ) -> * const GDBusMethodInfo ; } extern "C" { pub fn g_dbus_method_invocation_get_property_info ( invocation : * mut GDBusMethodInvocation ) -> * const GDBusPropertyInfo ; } extern "C" { pub fn g_dbus_method_invocation_get_connection ( invocation : * mut GDBusMethodInvocation ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_method_invocation_get_message ( invocation : * mut GDBusMethodInvocation ) -> * mut GDBusMessage ; } extern "C" { pub fn g_dbus_method_invocation_get_parameters ( invocation : * mut GDBusMethodInvocation ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_method_invocation_get_user_data ( invocation : * mut GDBusMethodInvocation ) -> gpointer ; } extern "C" { pub fn g_dbus_method_invocation_return_value ( invocation : * mut GDBusMethodInvocation , parameters : * mut GVariant ) ; } extern "C" { pub fn g_dbus_method_invocation_return_value_with_unix_fd_list ( invocation : * mut GDBusMethodInvocation , parameters : * mut GVariant , fd_list : * mut GUnixFDList ) ; } extern "C" { pub fn g_dbus_method_invocation_return_error ( invocation : * mut GDBusMethodInvocation , domain : GQuark , code : gint , format : * const gchar , ... ) ; } extern "C" { pub fn g_dbus_method_invocation_return_error_valist ( invocation : * mut GDBusMethodInvocation , domain : GQuark , code : gint , format : * const gchar , var_args : * mut __va_list_tag ) ; } extern "C" { pub fn g_dbus_method_invocation_return_error_literal ( invocation : * mut GDBusMethodInvocation , domain : GQuark , code : gint , message : * const gchar ) ; } extern "C" { pub fn g_dbus_method_invocation_return_gerror ( invocation : * mut GDBusMethodInvocation , error : * const GError ) ; } extern "C" { pub fn g_dbus_method_invocation_take_error ( invocation : * mut GDBusMethodInvocation , error : * mut GError ) ; } extern "C" { pub fn g_dbus_method_invocation_return_dbus_error ( invocation : * mut GDBusMethodInvocation , error_name : * const gchar , error_message : * const gchar ) ; } pub type GBusAcquiredCallback = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , name : * const gchar , user_data : gpointer ) > ; pub type GBusNameAcquiredCallback = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , name : * const gchar , user_data : gpointer ) > ; pub type GBusNameLostCallback = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , name : * const gchar , user_data : gpointer ) > ; extern "C" { pub fn g_bus_own_name ( bus_type : GBusType , name : * const gchar , flags : GBusNameOwnerFlags , bus_acquired_handler : GBusAcquiredCallback , name_acquired_handler : GBusNameAcquiredCallback , name_lost_handler : GBusNameLostCallback , user_data : gpointer , user_data_free_func : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_bus_own_name_on_connection ( connection : * mut GDBusConnection , name : * const gchar , flags : GBusNameOwnerFlags , name_acquired_handler : GBusNameAcquiredCallback , name_lost_handler : GBusNameLostCallback , user_data : gpointer , user_data_free_func : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_bus_own_name_with_closures ( bus_type : GBusType , name : * const gchar , flags : GBusNameOwnerFlags , bus_acquired_closure : * mut GClosure , name_acquired_closure : * mut GClosure , name_lost_closure : * mut GClosure ) -> guint ; } extern "C" { pub fn g_bus_own_name_on_connection_with_closures ( connection : * mut GDBusConnection , name : * const gchar , flags : GBusNameOwnerFlags , name_acquired_closure : * mut GClosure , name_lost_closure : * mut GClosure ) -> guint ; } extern "C" { pub fn g_bus_unown_name ( owner_id : guint ) ; } pub type GBusNameAppearedCallback = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , name : * const gchar , name_owner : * const gchar , user_data : gpointer ) > ; pub type GBusNameVanishedCallback = :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDBusConnection , name : * const gchar , user_data : gpointer ) > ; extern "C" { pub fn g_bus_watch_name ( bus_type : GBusType , name : * const gchar , flags : GBusNameWatcherFlags , name_appeared_handler : GBusNameAppearedCallback , name_vanished_handler : GBusNameVanishedCallback , user_data : gpointer , user_data_free_func : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_bus_watch_name_on_connection ( connection : * mut GDBusConnection , name : * const gchar , flags : GBusNameWatcherFlags , name_appeared_handler : GBusNameAppearedCallback , name_vanished_handler : GBusNameVanishedCallback , user_data : gpointer , user_data_free_func : GDestroyNotify ) -> guint ; } extern "C" { pub fn g_bus_watch_name_with_closures ( bus_type : GBusType , name : * const gchar , flags : GBusNameWatcherFlags , name_appeared_closure : * mut GClosure , name_vanished_closure : * mut GClosure ) -> guint ; } extern "C" { pub fn g_bus_watch_name_on_connection_with_closures ( connection : * mut GDBusConnection , name : * const gchar , flags : GBusNameWatcherFlags , name_appeared_closure : * mut GClosure , name_vanished_closure : * mut GClosure ) -> guint ; } extern "C" { pub fn g_bus_unwatch_name ( watcher_id : guint ) ; } pub type GDBusObjectIface = _GDBusObjectIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectIface { pub parent_iface : GTypeInterface , pub get_object_path : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GDBusObject ) -> * const gchar > , pub get_interfaces : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GDBusObject ) -> * mut GList > , pub get_interface : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GDBusObject , interface_name : * const gchar ) -> * mut GDBusInterface > , pub interface_added : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GDBusObject , interface_ : * mut GDBusInterface ) > , pub interface_removed : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GDBusObject , interface_ : * mut GDBusInterface ) > , } # [ test ] fn bindgen_test_layout__GDBusObjectIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectIface > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectIface > ( ) ) ) . parent_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectIface ) , "::" , stringify ! ( parent_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectIface > ( ) ) ) . get_object_path as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectIface ) , "::" , stringify ! ( get_object_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectIface > ( ) ) ) . get_interfaces as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectIface ) , "::" , stringify ! ( get_interfaces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectIface > ( ) ) ) . get_interface as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectIface ) , "::" , stringify ! ( get_interface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectIface > ( ) ) ) . interface_added as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectIface ) , "::" , stringify ! ( interface_added ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectIface > ( ) ) ) . interface_removed as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectIface ) , "::" , stringify ! ( interface_removed ) ) ) ; } extern "C" { pub fn g_dbus_object_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_get_object_path ( object : * mut GDBusObject ) -> * const gchar ; } extern "C" { pub fn g_dbus_object_get_interfaces ( object : * mut GDBusObject ) -> * mut GList ; } extern "C" { pub fn g_dbus_object_get_interface ( object : * mut GDBusObject , interface_name : * const gchar ) -> * mut GDBusInterface ; } pub type GDBusObjectManagerIface = _GDBusObjectManagerIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerIface { pub parent_iface : GTypeInterface , pub get_object_path : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager ) -> * const gchar > , pub get_objects : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager ) -> * mut GList > , pub get_object : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager , object_path : * const gchar ) -> * mut GDBusObject > , pub get_interface : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager , object_path : * const gchar , interface_name : * const gchar ) -> * mut GDBusInterface > , pub object_added : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager , object : * mut GDBusObject ) > , pub object_removed : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager , object : * mut GDBusObject ) > , pub interface_added : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager , object : * mut GDBusObject , interface_ : * mut GDBusInterface ) > , pub interface_removed : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManager , object : * mut GDBusObject , interface_ : * mut GDBusInterface ) > , } # [ test ] fn bindgen_test_layout__GDBusObjectManagerIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectManagerIface > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectManagerIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectManagerIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectManagerIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . parent_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( parent_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . get_object_path as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( get_object_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . get_objects as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( get_objects ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . get_object as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( get_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . get_interface as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( get_interface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . object_added as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( object_added ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . object_removed as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( object_removed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . interface_added as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( interface_added ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerIface > ( ) ) ) . interface_removed as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerIface ) , "::" , stringify ! ( interface_removed ) ) ) ; } extern "C" { pub fn g_dbus_object_manager_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_manager_get_object_path ( manager : * mut GDBusObjectManager ) -> * const gchar ; } extern "C" { pub fn g_dbus_object_manager_get_objects ( manager : * mut GDBusObjectManager ) -> * mut GList ; } extern "C" { pub fn g_dbus_object_manager_get_object ( manager : * mut GDBusObjectManager , object_path : * const gchar ) -> * mut GDBusObject ; } extern "C" { pub fn g_dbus_object_manager_get_interface ( manager : * mut GDBusObjectManager , object_path : * const gchar , interface_name : * const gchar ) -> * mut GDBusInterface ; } pub type GDBusObjectManagerClientClass = _GDBusObjectManagerClientClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerClientPrivate { _unused : [ u8 ; 0 ] , } pub type GDBusObjectManagerClientPrivate = _GDBusObjectManagerClientPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerClient { pub parent_instance : GObject , pub priv_ : * mut GDBusObjectManagerClientPrivate , } # [ test ] fn bindgen_test_layout__GDBusObjectManagerClient ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectManagerClient > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectManagerClient ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectManagerClient > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectManagerClient ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerClient > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerClient ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerClient > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerClient ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerClientClass { pub parent_class : GObjectClass , pub interface_proxy_signal : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManagerClient , object_proxy : * mut GDBusObjectProxy , interface_proxy : * mut GDBusProxy , sender_name : * const gchar , signal_name : * const gchar , parameters : * mut GVariant ) > , pub interface_proxy_properties_changed : :: std :: option :: Option < unsafe extern "C" fn ( manager : * mut GDBusObjectManagerClient , object_proxy : * mut GDBusObjectProxy , interface_proxy : * mut GDBusProxy , changed_properties : * mut GVariant , invalidated_properties : * const * const gchar ) > , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusObjectManagerClientClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectManagerClientClass > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectManagerClientClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectManagerClientClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectManagerClientClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerClientClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerClientClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerClientClass > ( ) ) ) . interface_proxy_signal as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerClientClass ) , "::" , stringify ! ( interface_proxy_signal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerClientClass > ( ) ) ) . interface_proxy_properties_changed as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerClientClass ) , "::" , stringify ! ( interface_proxy_properties_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerClientClass > ( ) ) ) . padding as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerClientClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_object_manager_client_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_manager_client_new ( connection : * mut GDBusConnection , flags : GDBusObjectManagerClientFlags , name : * const gchar , object_path : * const gchar , get_proxy_type_func : GDBusProxyTypeFunc , get_proxy_type_user_data : gpointer , get_proxy_type_destroy_notify : GDestroyNotify , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_object_manager_client_new_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusObjectManager ; } extern "C" { pub fn g_dbus_object_manager_client_new_sync ( connection : * mut GDBusConnection , flags : GDBusObjectManagerClientFlags , name : * const gchar , object_path : * const gchar , get_proxy_type_func : GDBusProxyTypeFunc , get_proxy_type_user_data : gpointer , get_proxy_type_destroy_notify : GDestroyNotify , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusObjectManager ; } extern "C" { pub fn g_dbus_object_manager_client_new_for_bus ( bus_type : GBusType , flags : GDBusObjectManagerClientFlags , name : * const gchar , object_path : * const gchar , get_proxy_type_func : GDBusProxyTypeFunc , get_proxy_type_user_data : gpointer , get_proxy_type_destroy_notify : GDestroyNotify , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_object_manager_client_new_for_bus_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusObjectManager ; } extern "C" { pub fn g_dbus_object_manager_client_new_for_bus_sync ( bus_type : GBusType , flags : GDBusObjectManagerClientFlags , name : * const gchar , object_path : * const gchar , get_proxy_type_func : GDBusProxyTypeFunc , get_proxy_type_user_data : gpointer , get_proxy_type_destroy_notify : GDestroyNotify , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusObjectManager ; } extern "C" { pub fn g_dbus_object_manager_client_get_connection ( manager : * mut GDBusObjectManagerClient ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_object_manager_client_get_flags ( manager : * mut GDBusObjectManagerClient ) -> GDBusObjectManagerClientFlags ; } extern "C" { pub fn g_dbus_object_manager_client_get_name ( manager : * mut GDBusObjectManagerClient ) -> * const gchar ; } extern "C" { pub fn g_dbus_object_manager_client_get_name_owner ( manager : * mut GDBusObjectManagerClient ) -> * mut gchar ; } pub type GDBusObjectManagerServerClass = _GDBusObjectManagerServerClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerServerPrivate { _unused : [ u8 ; 0 ] , } pub type GDBusObjectManagerServerPrivate = _GDBusObjectManagerServerPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerServer { pub parent_instance : GObject , pub priv_ : * mut GDBusObjectManagerServerPrivate , } # [ test ] fn bindgen_test_layout__GDBusObjectManagerServer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectManagerServer > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectManagerServer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectManagerServer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectManagerServer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerServer > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerServer ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerServer > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerServer ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectManagerServerClass { pub parent_class : GObjectClass , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusObjectManagerServerClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectManagerServerClass > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectManagerServerClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectManagerServerClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectManagerServerClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerServerClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerServerClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectManagerServerClass > ( ) ) ) . padding as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectManagerServerClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_object_manager_server_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_manager_server_new ( object_path : * const gchar ) -> * mut GDBusObjectManagerServer ; } extern "C" { pub fn g_dbus_object_manager_server_get_connection ( manager : * mut GDBusObjectManagerServer ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_object_manager_server_set_connection ( manager : * mut GDBusObjectManagerServer , connection : * mut GDBusConnection ) ; } extern "C" { pub fn g_dbus_object_manager_server_export ( manager : * mut GDBusObjectManagerServer , object : * mut GDBusObjectSkeleton ) ; } extern "C" { pub fn g_dbus_object_manager_server_export_uniquely ( manager : * mut GDBusObjectManagerServer , object : * mut GDBusObjectSkeleton ) ; } extern "C" { pub fn g_dbus_object_manager_server_is_exported ( manager : * mut GDBusObjectManagerServer , object : * mut GDBusObjectSkeleton ) -> gboolean ; } extern "C" { pub fn g_dbus_object_manager_server_unexport ( manager : * mut GDBusObjectManagerServer , object_path : * const gchar ) -> gboolean ; } pub type GDBusObjectProxyClass = _GDBusObjectProxyClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectProxyPrivate { _unused : [ u8 ; 0 ] , } pub type GDBusObjectProxyPrivate = _GDBusObjectProxyPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectProxy { pub parent_instance : GObject , pub priv_ : * mut GDBusObjectProxyPrivate , } # [ test ] fn bindgen_test_layout__GDBusObjectProxy ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectProxy > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectProxy ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectProxy > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectProxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectProxy > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectProxy ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectProxy > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectProxy ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectProxyClass { pub parent_class : GObjectClass , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusObjectProxyClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectProxyClass > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectProxyClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectProxyClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectProxyClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectProxyClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectProxyClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectProxyClass > ( ) ) ) . padding as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectProxyClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_object_proxy_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_proxy_new ( connection : * mut GDBusConnection , object_path : * const gchar ) -> * mut GDBusObjectProxy ; } extern "C" { pub fn g_dbus_object_proxy_get_connection ( proxy : * mut GDBusObjectProxy ) -> * mut GDBusConnection ; } pub type GDBusObjectSkeletonClass = _GDBusObjectSkeletonClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectSkeletonPrivate { _unused : [ u8 ; 0 ] , } pub type GDBusObjectSkeletonPrivate = _GDBusObjectSkeletonPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectSkeleton { pub parent_instance : GObject , pub priv_ : * mut GDBusObjectSkeletonPrivate , } # [ test ] fn bindgen_test_layout__GDBusObjectSkeleton ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectSkeleton > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectSkeleton ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectSkeleton > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectSkeleton ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectSkeleton > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectSkeleton ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectSkeleton > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectSkeleton ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusObjectSkeletonClass { pub parent_class : GObjectClass , pub authorize_method : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut GDBusObjectSkeleton , interface_ : * mut GDBusInterfaceSkeleton , invocation : * mut GDBusMethodInvocation ) -> gboolean > , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GDBusObjectSkeletonClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusObjectSkeletonClass > ( ) , 208usize , concat ! ( "Size of: " , stringify ! ( _GDBusObjectSkeletonClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusObjectSkeletonClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusObjectSkeletonClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectSkeletonClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectSkeletonClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectSkeletonClass > ( ) ) ) . authorize_method as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectSkeletonClass ) , "::" , stringify ! ( authorize_method ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusObjectSkeletonClass > ( ) ) ) . padding as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusObjectSkeletonClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_object_skeleton_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_skeleton_new ( object_path : * const gchar ) -> * mut GDBusObjectSkeleton ; } extern "C" { pub fn g_dbus_object_skeleton_flush ( object : * mut GDBusObjectSkeleton ) ; } extern "C" { pub fn g_dbus_object_skeleton_add_interface ( object : * mut GDBusObjectSkeleton , interface_ : * mut GDBusInterfaceSkeleton ) ; } extern "C" { pub fn g_dbus_object_skeleton_remove_interface ( object : * mut GDBusObjectSkeleton , interface_ : * mut GDBusInterfaceSkeleton ) ; } extern "C" { pub fn g_dbus_object_skeleton_remove_interface_by_name ( object : * mut GDBusObjectSkeleton , interface_name : * const gchar ) ; } extern "C" { pub fn g_dbus_object_skeleton_set_object_path ( object : * mut GDBusObjectSkeleton , object_path : * const gchar ) ; } pub type GDBusProxyClass = _GDBusProxyClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusProxyPrivate { _unused : [ u8 ; 0 ] , } pub type GDBusProxyPrivate = _GDBusProxyPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusProxy { pub parent_instance : GObject , pub priv_ : * mut GDBusProxyPrivate , } # [ test ] fn bindgen_test_layout__GDBusProxy ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusProxy > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GDBusProxy ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusProxy > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusProxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusProxy > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusProxy ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusProxy > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusProxy ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDBusProxyClass { pub parent_class : GObjectClass , pub g_properties_changed : :: std :: option :: Option < unsafe extern "C" fn ( proxy : * mut GDBusProxy , changed_properties : * mut GVariant , invalidated_properties : * const * const gchar ) > , pub g_signal : :: std :: option :: Option < unsafe extern "C" fn ( proxy : * mut GDBusProxy , sender_name : * const gchar , signal_name : * const gchar , parameters : * mut GVariant ) > , pub padding : [ gpointer ; 32usize ] , } # [ test ] fn bindgen_test_layout__GDBusProxyClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDBusProxyClass > ( ) , 408usize , concat ! ( "Size of: " , stringify ! ( _GDBusProxyClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDBusProxyClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDBusProxyClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusProxyClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusProxyClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusProxyClass > ( ) ) ) . g_properties_changed as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusProxyClass ) , "::" , stringify ! ( g_properties_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusProxyClass > ( ) ) ) . g_signal as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusProxyClass ) , "::" , stringify ! ( g_signal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDBusProxyClass > ( ) ) ) . padding as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GDBusProxyClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_dbus_proxy_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_proxy_new ( connection : * mut GDBusConnection , flags : GDBusProxyFlags , info : * mut GDBusInterfaceInfo , name : * const gchar , object_path : * const gchar , interface_name : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_proxy_new_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusProxy ; } extern "C" { pub fn g_dbus_proxy_new_sync ( connection : * mut GDBusConnection , flags : GDBusProxyFlags , info : * mut GDBusInterfaceInfo , name : * const gchar , object_path : * const gchar , interface_name : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusProxy ; } extern "C" { pub fn g_dbus_proxy_new_for_bus ( bus_type : GBusType , flags : GDBusProxyFlags , info : * mut GDBusInterfaceInfo , name : * const gchar , object_path : * const gchar , interface_name : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_proxy_new_for_bus_finish ( res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GDBusProxy ; } extern "C" { pub fn g_dbus_proxy_new_for_bus_sync ( bus_type : GBusType , flags : GDBusProxyFlags , info : * mut GDBusInterfaceInfo , name : * const gchar , object_path : * const gchar , interface_name : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusProxy ; } extern "C" { pub fn g_dbus_proxy_get_connection ( proxy : * mut GDBusProxy ) -> * mut GDBusConnection ; } extern "C" { pub fn g_dbus_proxy_get_flags ( proxy : * mut GDBusProxy ) -> GDBusProxyFlags ; } extern "C" { pub fn g_dbus_proxy_get_name ( proxy : * mut GDBusProxy ) -> * const gchar ; } extern "C" { pub fn g_dbus_proxy_get_name_owner ( proxy : * mut GDBusProxy ) -> * mut gchar ; } extern "C" { pub fn g_dbus_proxy_get_object_path ( proxy : * mut GDBusProxy ) -> * const gchar ; } extern "C" { pub fn g_dbus_proxy_get_interface_name ( proxy : * mut GDBusProxy ) -> * const gchar ; } extern "C" { pub fn g_dbus_proxy_get_default_timeout ( proxy : * mut GDBusProxy ) -> gint ; } extern "C" { pub fn g_dbus_proxy_set_default_timeout ( proxy : * mut GDBusProxy , timeout_msec : gint ) ; } extern "C" { pub fn g_dbus_proxy_get_interface_info ( proxy : * mut GDBusProxy ) -> * mut GDBusInterfaceInfo ; } extern "C" { pub fn g_dbus_proxy_set_interface_info ( proxy : * mut GDBusProxy , info : * mut GDBusInterfaceInfo ) ; } extern "C" { pub fn g_dbus_proxy_get_cached_property ( proxy : * mut GDBusProxy , property_name : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_proxy_set_cached_property ( proxy : * mut GDBusProxy , property_name : * const gchar , value : * mut GVariant ) ; } extern "C" { pub fn g_dbus_proxy_get_cached_property_names ( proxy : * mut GDBusProxy ) -> * mut * mut gchar ; } extern "C" { pub fn g_dbus_proxy_call ( proxy : * mut GDBusProxy , method_name : * const gchar , parameters : * mut GVariant , flags : GDBusCallFlags , timeout_msec : gint , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_proxy_call_finish ( proxy : * mut GDBusProxy , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_proxy_call_sync ( proxy : * mut GDBusProxy , method_name : * const gchar , parameters : * mut GVariant , flags : GDBusCallFlags , timeout_msec : gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_proxy_call_with_unix_fd_list ( proxy : * mut GDBusProxy , method_name : * const gchar , parameters : * mut GVariant , flags : GDBusCallFlags , timeout_msec : gint , fd_list : * mut GUnixFDList , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dbus_proxy_call_with_unix_fd_list_finish ( proxy : * mut GDBusProxy , out_fd_list : * mut * mut GUnixFDList , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_proxy_call_with_unix_fd_list_sync ( proxy : * mut GDBusProxy , method_name : * const gchar , parameters : * mut GVariant , flags : GDBusCallFlags , timeout_msec : gint , fd_list : * mut GUnixFDList , out_fd_list : * mut * mut GUnixFDList , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_server_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_server_new_sync ( address : * const gchar , flags : GDBusServerFlags , guid : * const gchar , observer : * mut GDBusAuthObserver , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDBusServer ; } extern "C" { pub fn g_dbus_server_get_client_address ( server : * mut GDBusServer ) -> * const gchar ; } extern "C" { pub fn g_dbus_server_get_guid ( server : * mut GDBusServer ) -> * const gchar ; } extern "C" { pub fn g_dbus_server_get_flags ( server : * mut GDBusServer ) -> GDBusServerFlags ; } extern "C" { pub fn g_dbus_server_start ( server : * mut GDBusServer ) ; } extern "C" { pub fn g_dbus_server_stop ( server : * mut GDBusServer ) ; } extern "C" { pub fn g_dbus_server_is_active ( server : * mut GDBusServer ) -> gboolean ; } extern "C" { pub fn g_dbus_is_guid ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_generate_guid ( ) -> * mut gchar ; } extern "C" { pub fn g_dbus_is_name ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_is_unique_name ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_is_member_name ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_is_interface_name ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_is_error_name ( string : * const gchar ) -> gboolean ; } extern "C" { pub fn g_dbus_gvariant_to_gvalue ( value : * mut GVariant , out_gvalue : * mut GValue ) ; } extern "C" { pub fn g_dbus_gvalue_to_gvariant ( gvalue : * const GValue , type_ : * const GVariantType ) -> * mut GVariant ; } extern "C" { pub fn g_dbus_escape_object_path_bytestring ( bytes : * const guint8 ) -> * mut gchar ; } extern "C" { pub fn g_dbus_escape_object_path ( s : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_dbus_unescape_object_path ( s : * const gchar ) -> * mut guint8 ; } extern "C" { pub fn g_debug_controller_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDebugController { _unused : [ u8 ; 0 ] , } pub type GDebugController = _GDebugController ; pub type GDebugControllerInterface = _GDebugControllerInterface ; pub type GDebugController_autoptr = * mut GDebugController ; pub type GDebugController_listautoptr = * mut GList ; pub type GDebugController_slistautoptr = * mut GSList ; pub type GDebugController_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDebugControllerInterface { pub g_iface : GTypeInterface , } # [ test ] fn bindgen_test_layout__GDebugControllerInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDebugControllerInterface > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GDebugControllerInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDebugControllerInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDebugControllerInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugControllerInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugControllerInterface ) , "::" , stringify ! ( g_iface ) ) ) ; } extern "C" { pub fn g_debug_controller_get_debug_enabled ( self_ : * mut GDebugController ) -> gboolean ; } extern "C" { pub fn g_debug_controller_set_debug_enabled ( self_ : * mut GDebugController , debug_enabled : gboolean ) ; } extern "C" { pub fn g_debug_controller_dbus_get_type ( ) -> GType ; } pub type GDebugControllerDBus = _GDebugControllerDBus ; pub type GDebugControllerDBusClass = _GDebugControllerDBusClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDebugControllerDBus { pub parent_instance : GObject , } # [ test ] fn bindgen_test_layout__GDebugControllerDBus ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDebugControllerDBus > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GDebugControllerDBus ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDebugControllerDBus > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDebugControllerDBus ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugControllerDBus > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugControllerDBus ) , "::" , stringify ! ( parent_instance ) ) ) ; } pub type GDebugControllerDBus_autoptr = * mut GDebugControllerDBus ; pub type GDebugControllerDBus_listautoptr = * mut GList ; pub type GDebugControllerDBus_slistautoptr = * mut GSList ; pub type GDebugControllerDBus_queueautoptr = * mut GQueue ; pub type GDebugControllerDBusClass_autoptr = * mut GDebugControllerDBusClass ; pub type GDebugControllerDBusClass_listautoptr = * mut GList ; pub type GDebugControllerDBusClass_slistautoptr = * mut GSList ; pub type GDebugControllerDBusClass_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDebugControllerDBusClass { pub parent_class : GObjectClass , pub authorize : :: std :: option :: Option < unsafe extern "C" fn ( controller : * mut GDebugControllerDBus , invocation : * mut GDBusMethodInvocation ) -> gboolean > , pub padding : [ gpointer ; 12usize ] , } # [ test ] fn bindgen_test_layout__GDebugControllerDBusClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDebugControllerDBusClass > ( ) , 240usize , concat ! ( "Size of: " , stringify ! ( _GDebugControllerDBusClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDebugControllerDBusClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDebugControllerDBusClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugControllerDBusClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugControllerDBusClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugControllerDBusClass > ( ) ) ) . authorize as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugControllerDBusClass ) , "::" , stringify ! ( authorize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDebugControllerDBusClass > ( ) ) ) . padding as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GDebugControllerDBusClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_debug_controller_dbus_new ( connection : * mut GDBusConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GDebugControllerDBus ; } extern "C" { pub fn g_debug_controller_dbus_stop ( self_ : * mut GDebugControllerDBus ) ; } pub type GDriveIface = _GDriveIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDriveIface { pub g_iface : GTypeInterface , pub changed : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) > , pub disconnected : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) > , pub eject_button : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) > , pub get_name : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> * mut :: std :: os :: raw :: c_char > , pub get_icon : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> * mut GIcon > , pub has_volumes : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub get_volumes : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> * mut GList > , pub is_media_removable : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub has_media : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub is_media_check_automatic : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub can_eject : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub can_poll_for_media : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub eject : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_finish : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub poll_for_media : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub poll_for_media_finish : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub get_identifier : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , kind : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char > , pub enumerate_identifiers : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> * mut * mut :: std :: os :: raw :: c_char > , pub get_start_stop_type : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> GDriveStartStopType > , pub can_start : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub can_start_degraded : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub start : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , flags : GDriveStartFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub start_finish : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub can_stop : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , pub stop : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub stop_finish : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub stop_button : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) > , pub eject_with_operation : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_with_operation_finish : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub get_sort_key : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> * const gchar > , pub get_symbolic_icon : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> * mut GIcon > , pub is_removable : :: std :: option :: Option < unsafe extern "C" fn ( drive : * mut GDrive ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GDriveIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDriveIface > ( ) , 272usize , concat ! ( "Size of: " , stringify ! ( _GDriveIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDriveIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDriveIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . changed as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . disconnected as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( disconnected ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . eject_button as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( eject_button ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_name as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_icon as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_icon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . has_volumes as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( has_volumes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_volumes as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_volumes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . is_media_removable as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( is_media_removable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . has_media as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( has_media ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . is_media_check_automatic as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( is_media_check_automatic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . can_eject as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( can_eject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . can_poll_for_media as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( can_poll_for_media ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . eject as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( eject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . eject_finish as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( eject_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . poll_for_media as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( poll_for_media ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . poll_for_media_finish as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( poll_for_media_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_identifier as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_identifier ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . enumerate_identifiers as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( enumerate_identifiers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_start_stop_type as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_start_stop_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . can_start as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( can_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . can_start_degraded as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( can_start_degraded ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . start as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . start_finish as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( start_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . can_stop as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( can_stop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . stop as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( stop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . stop_finish as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( stop_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . stop_button as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( stop_button ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . eject_with_operation as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( eject_with_operation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . eject_with_operation_finish as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( eject_with_operation_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_sort_key as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_sort_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . get_symbolic_icon as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( get_symbolic_icon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDriveIface > ( ) ) ) . is_removable as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GDriveIface ) , "::" , stringify ! ( is_removable ) ) ) ; } extern "C" { pub fn g_drive_get_type ( ) -> GType ; } extern "C" { pub fn g_drive_get_name ( drive : * mut GDrive ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_drive_get_icon ( drive : * mut GDrive ) -> * mut GIcon ; } extern "C" { pub fn g_drive_get_symbolic_icon ( drive : * mut GDrive ) -> * mut GIcon ; } extern "C" { pub fn g_drive_has_volumes ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_get_volumes ( drive : * mut GDrive ) -> * mut GList ; } extern "C" { pub fn g_drive_is_removable ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_is_media_removable ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_has_media ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_is_media_check_automatic ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_can_poll_for_media ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_can_eject ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_eject ( drive : * mut GDrive , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_drive_eject_finish ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_drive_poll_for_media ( drive : * mut GDrive , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_drive_poll_for_media_finish ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_drive_get_identifier ( drive : * mut GDrive , kind : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_drive_enumerate_identifiers ( drive : * mut GDrive ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_drive_get_start_stop_type ( drive : * mut GDrive ) -> GDriveStartStopType ; } extern "C" { pub fn g_drive_can_start ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_can_start_degraded ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_start ( drive : * mut GDrive , flags : GDriveStartFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_drive_start_finish ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_drive_can_stop ( drive : * mut GDrive ) -> gboolean ; } extern "C" { pub fn g_drive_stop ( drive : * mut GDrive , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_drive_stop_finish ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_drive_eject_with_operation ( drive : * mut GDrive , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_drive_eject_with_operation_finish ( drive : * mut GDrive , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_drive_get_sort_key ( drive : * mut GDrive ) -> * const gchar ; } pub type GDtlsConnectionInterface = _GDtlsConnectionInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDtlsConnectionInterface { pub g_iface : GTypeInterface , pub accept_certificate : :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GDtlsConnection , peer_cert : * mut GTlsCertificate , errors : GTlsCertificateFlags ) -> gboolean > , pub handshake : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub handshake_async : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub handshake_finish : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub shutdown : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , shutdown_read : gboolean , shutdown_write : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub shutdown_async : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , shutdown_read : gboolean , shutdown_write : gboolean , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub shutdown_finish : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub set_advertised_protocols : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , protocols : * const * const gchar ) > , pub get_negotiated_protocol : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection ) -> * const gchar > , pub get_binding_data : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GDtlsConnection , type_ : GTlsChannelBindingType , data : * mut GByteArray , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GDtlsConnectionInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDtlsConnectionInterface > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _GDtlsConnectionInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDtlsConnectionInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDtlsConnectionInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . accept_certificate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( accept_certificate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . handshake as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( handshake ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . handshake_async as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( handshake_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . handshake_finish as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( handshake_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . shutdown as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( shutdown ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . shutdown_async as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( shutdown_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . shutdown_finish as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( shutdown_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . set_advertised_protocols as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( set_advertised_protocols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . get_negotiated_protocol as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( get_negotiated_protocol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsConnectionInterface > ( ) ) ) . get_binding_data as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsConnectionInterface ) , "::" , stringify ! ( get_binding_data ) ) ) ; } extern "C" { pub fn g_dtls_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_dtls_connection_set_database ( conn : * mut GDtlsConnection , database : * mut GTlsDatabase ) ; } extern "C" { pub fn g_dtls_connection_get_database ( conn : * mut GDtlsConnection ) -> * mut GTlsDatabase ; } extern "C" { pub fn g_dtls_connection_set_certificate ( conn : * mut GDtlsConnection , certificate : * mut GTlsCertificate ) ; } extern "C" { pub fn g_dtls_connection_get_certificate ( conn : * mut GDtlsConnection ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_dtls_connection_set_interaction ( conn : * mut GDtlsConnection , interaction : * mut GTlsInteraction ) ; } extern "C" { pub fn g_dtls_connection_get_interaction ( conn : * mut GDtlsConnection ) -> * mut GTlsInteraction ; } extern "C" { pub fn g_dtls_connection_get_peer_certificate ( conn : * mut GDtlsConnection ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_dtls_connection_get_peer_certificate_errors ( conn : * mut GDtlsConnection ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_dtls_connection_set_require_close_notify ( conn : * mut GDtlsConnection , require_close_notify : gboolean ) ; } extern "C" { pub fn g_dtls_connection_get_require_close_notify ( conn : * mut GDtlsConnection ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_set_rehandshake_mode ( conn : * mut GDtlsConnection , mode : GTlsRehandshakeMode ) ; } extern "C" { pub fn g_dtls_connection_get_rehandshake_mode ( conn : * mut GDtlsConnection ) -> GTlsRehandshakeMode ; } extern "C" { pub fn g_dtls_connection_handshake ( conn : * mut GDtlsConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_handshake_async ( conn : * mut GDtlsConnection , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dtls_connection_handshake_finish ( conn : * mut GDtlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_shutdown ( conn : * mut GDtlsConnection , shutdown_read : gboolean , shutdown_write : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_shutdown_async ( conn : * mut GDtlsConnection , shutdown_read : gboolean , shutdown_write : gboolean , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dtls_connection_shutdown_finish ( conn : * mut GDtlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_close ( conn : * mut GDtlsConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_close_async ( conn : * mut GDtlsConnection , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_dtls_connection_close_finish ( conn : * mut GDtlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_emit_accept_certificate ( conn : * mut GDtlsConnection , peer_cert : * mut GTlsCertificate , errors : GTlsCertificateFlags ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_set_advertised_protocols ( conn : * mut GDtlsConnection , protocols : * const * const gchar ) ; } extern "C" { pub fn g_dtls_connection_get_negotiated_protocol ( conn : * mut GDtlsConnection ) -> * const gchar ; } extern "C" { pub fn g_dtls_connection_get_channel_binding_data ( conn : * mut GDtlsConnection , type_ : GTlsChannelBindingType , data : * mut GByteArray , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_dtls_connection_get_protocol_version ( conn : * mut GDtlsConnection ) -> GTlsProtocolVersion ; } extern "C" { pub fn g_dtls_connection_get_ciphersuite_name ( conn : * mut GDtlsConnection ) -> * mut gchar ; } pub type GDtlsClientConnectionInterface = _GDtlsClientConnectionInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDtlsClientConnectionInterface { pub g_iface : GTypeInterface , } # [ test ] fn bindgen_test_layout__GDtlsClientConnectionInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDtlsClientConnectionInterface > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GDtlsClientConnectionInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDtlsClientConnectionInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDtlsClientConnectionInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsClientConnectionInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsClientConnectionInterface ) , "::" , stringify ! ( g_iface ) ) ) ; } extern "C" { pub fn g_dtls_client_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_dtls_client_connection_new ( base_socket : * mut GDatagramBased , server_identity : * mut GSocketConnectable , error : * mut * mut GError ) -> * mut GDatagramBased ; } extern "C" { pub fn g_dtls_client_connection_get_validation_flags ( conn : * mut GDtlsClientConnection ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_dtls_client_connection_set_validation_flags ( conn : * mut GDtlsClientConnection , flags : GTlsCertificateFlags ) ; } extern "C" { pub fn g_dtls_client_connection_get_server_identity ( conn : * mut GDtlsClientConnection ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_dtls_client_connection_set_server_identity ( conn : * mut GDtlsClientConnection , identity : * mut GSocketConnectable ) ; } extern "C" { pub fn g_dtls_client_connection_get_accepted_cas ( conn : * mut GDtlsClientConnection ) -> * mut GList ; } pub type GDtlsServerConnectionInterface = _GDtlsServerConnectionInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GDtlsServerConnectionInterface { pub g_iface : GTypeInterface , } # [ test ] fn bindgen_test_layout__GDtlsServerConnectionInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GDtlsServerConnectionInterface > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GDtlsServerConnectionInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GDtlsServerConnectionInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GDtlsServerConnectionInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GDtlsServerConnectionInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GDtlsServerConnectionInterface ) , "::" , stringify ! ( g_iface ) ) ) ; } extern "C" { pub fn g_dtls_server_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_dtls_server_connection_new ( base_socket : * mut GDatagramBased , certificate : * mut GTlsCertificate , error : * mut * mut GError ) -> * mut GDatagramBased ; } pub type GIconIface = _GIconIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIconIface { pub g_iface : GTypeInterface , pub hash : :: std :: option :: Option < unsafe extern "C" fn ( icon : * mut GIcon ) -> guint > , pub equal : :: std :: option :: Option < unsafe extern "C" fn ( icon1 : * mut GIcon , icon2 : * mut GIcon ) -> gboolean > , pub to_tokens : :: std :: option :: Option < unsafe extern "C" fn ( icon : * mut GIcon , tokens : * mut GPtrArray , out_version : * mut gint ) -> gboolean > , pub from_tokens : :: std :: option :: Option < unsafe extern "C" fn ( tokens : * mut * mut gchar , num_tokens : gint , version : gint , error : * mut * mut GError ) -> * mut GIcon > , pub serialize : :: std :: option :: Option < unsafe extern "C" fn ( icon : * mut GIcon ) -> * mut GVariant > , } # [ test ] fn bindgen_test_layout__GIconIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GIconIface > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GIconIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GIconIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GIconIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIconIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GIconIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIconIface > ( ) ) ) . hash as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GIconIface ) , "::" , stringify ! ( hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIconIface > ( ) ) ) . equal as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GIconIface ) , "::" , stringify ! ( equal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIconIface > ( ) ) ) . to_tokens as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GIconIface ) , "::" , stringify ! ( to_tokens ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIconIface > ( ) ) ) . from_tokens as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GIconIface ) , "::" , stringify ! ( from_tokens ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIconIface > ( ) ) ) . serialize as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GIconIface ) , "::" , stringify ! ( serialize ) ) ) ; } extern "C" { pub fn g_icon_get_type ( ) -> GType ; } extern "C" { pub fn g_icon_hash ( icon : gconstpointer ) -> guint ; } extern "C" { pub fn g_icon_equal ( icon1 : * mut GIcon , icon2 : * mut GIcon ) -> gboolean ; } extern "C" { pub fn g_icon_to_string ( icon : * mut GIcon ) -> * mut gchar ; } extern "C" { pub fn g_icon_new_for_string ( str : * const gchar , error : * mut * mut GError ) -> * mut GIcon ; } extern "C" { pub fn g_icon_serialize ( icon : * mut GIcon ) -> * mut GVariant ; } extern "C" { pub fn g_icon_deserialize ( value : * mut GVariant ) -> * mut GIcon ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEmblem { _unused : [ u8 ; 0 ] , } pub type GEmblem = _GEmblem ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEmblemClass { _unused : [ u8 ; 0 ] , } pub type GEmblemClass = _GEmblemClass ; extern "C" { pub fn g_emblem_get_type ( ) -> GType ; } extern "C" { pub fn g_emblem_new ( icon : * mut GIcon ) -> * mut GEmblem ; } extern "C" { pub fn g_emblem_new_with_origin ( icon : * mut GIcon , origin : GEmblemOrigin ) -> * mut GEmblem ; } extern "C" { pub fn g_emblem_get_icon ( emblem : * mut GEmblem ) -> * mut GIcon ; } extern "C" { pub fn g_emblem_get_origin ( emblem : * mut GEmblem ) -> GEmblemOrigin ; } pub type GEmblemedIcon = _GEmblemedIcon ; pub type GEmblemedIconClass = _GEmblemedIconClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEmblemedIconPrivate { _unused : [ u8 ; 0 ] , } pub type GEmblemedIconPrivate = _GEmblemedIconPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEmblemedIcon { pub parent_instance : GObject , pub priv_ : * mut GEmblemedIconPrivate , } # [ test ] fn bindgen_test_layout__GEmblemedIcon ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GEmblemedIcon > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GEmblemedIcon ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GEmblemedIcon > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GEmblemedIcon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEmblemedIcon > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GEmblemedIcon ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEmblemedIcon > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GEmblemedIcon ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GEmblemedIconClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GEmblemedIconClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GEmblemedIconClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GEmblemedIconClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GEmblemedIconClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GEmblemedIconClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GEmblemedIconClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GEmblemedIconClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_emblemed_icon_get_type ( ) -> GType ; } extern "C" { pub fn g_emblemed_icon_new ( icon : * mut GIcon , emblem : * mut GEmblem ) -> * mut GIcon ; } extern "C" { pub fn g_emblemed_icon_get_icon ( emblemed : * mut GEmblemedIcon ) -> * mut GIcon ; } extern "C" { pub fn g_emblemed_icon_get_emblems ( emblemed : * mut GEmblemedIcon ) -> * mut GList ; } extern "C" { pub fn g_emblemed_icon_add_emblem ( emblemed : * mut GEmblemedIcon , emblem : * mut GEmblem ) ; } extern "C" { pub fn g_emblemed_icon_clear_emblems ( emblemed : * mut GEmblemedIcon ) ; } pub type GFileIface = _GFileIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileIface { pub g_iface : GTypeInterface , pub dup : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut GFile > , pub hash : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> guint > , pub equal : :: std :: option :: Option < unsafe extern "C" fn ( file1 : * mut GFile , file2 : * mut GFile ) -> gboolean > , pub is_native : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> gboolean > , pub has_uri_scheme : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , uri_scheme : * const :: std :: os :: raw :: c_char ) -> gboolean > , pub get_uri_scheme : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char > , pub get_basename : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char > , pub get_path : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char > , pub get_uri : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char > , pub get_parse_name : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char > , pub get_parent : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile ) -> * mut GFile > , pub prefix_matches : :: std :: option :: Option < unsafe extern "C" fn ( prefix : * mut GFile , file : * mut GFile ) -> gboolean > , pub get_relative_path : :: std :: option :: Option < unsafe extern "C" fn ( parent : * mut GFile , descendant : * mut GFile ) -> * mut :: std :: os :: raw :: c_char > , pub resolve_relative_path : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , relative_path : * const :: std :: os :: raw :: c_char ) -> * mut GFile > , pub get_child_for_display_name : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , display_name : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GFile > , pub enumerate_children : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileEnumerator > , pub enumerate_children_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub enumerate_children_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileEnumerator > , pub query_info : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo > , pub query_info_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub query_info_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo > , pub query_filesystem_info : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo > , pub query_filesystem_info_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub query_filesystem_info_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo > , pub find_enclosing_mount : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GMount > , pub find_enclosing_mount_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub find_enclosing_mount_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GMount > , pub set_display_name : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , display_name : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFile > , pub set_display_name_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , display_name : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub set_display_name_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFile > , pub query_settable_attributes : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileAttributeInfoList > , pub _query_settable_attributes_async : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _query_settable_attributes_finish : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub query_writable_namespaces : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileAttributeInfoList > , pub _query_writable_namespaces_async : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _query_writable_namespaces_finish : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub set_attribute : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , type_ : GFileAttributeType , value_p : gpointer , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub set_attributes_from_info : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , info : * mut GFileInfo , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub set_attributes_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , info : * mut GFileInfo , flags : GFileQueryInfoFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub set_attributes_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , info : * mut * mut GFileInfo , error : * mut * mut GError ) -> gboolean > , pub read_fn : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInputStream > , pub read_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub read_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInputStream > , pub append_to : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileOutputStream > , pub append_to_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub append_to_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileOutputStream > , pub create : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileOutputStream > , pub create_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub create_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileOutputStream > , pub replace : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileOutputStream > , pub replace_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub replace_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileOutputStream > , pub delete_file : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub delete_file_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub delete_file_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub trash : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub trash_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub trash_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub make_directory : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub make_directory_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub make_directory_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub make_symbolic_link : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , symlink_value : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub make_symbolic_link_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , symlink_value : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub make_symbolic_link_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub copy : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , error : * mut * mut GError ) -> gboolean > , pub copy_async : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub copy_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub move_ : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , error : * mut * mut GError ) -> gboolean > , pub move_async : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub move_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub mount_mountable : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub mount_mountable_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFile > , pub unmount_mountable : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub unmount_mountable_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub eject_mountable : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_mountable_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub mount_enclosing_volume : :: std :: option :: Option < unsafe extern "C" fn ( location : * mut GFile , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub mount_enclosing_volume_finish : :: std :: option :: Option < unsafe extern "C" fn ( location : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub monitor_dir : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileMonitorFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileMonitor > , pub monitor_file : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileMonitorFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileMonitor > , pub open_readwrite : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileIOStream > , pub open_readwrite_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub open_readwrite_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileIOStream > , pub create_readwrite : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileIOStream > , pub create_readwrite_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub create_readwrite_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileIOStream > , pub replace_readwrite : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileIOStream > , pub replace_readwrite_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub replace_readwrite_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileIOStream > , pub start_mountable : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GDriveStartFlags , start_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub start_mountable_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub stop_mountable : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub stop_mountable_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub supports_thread_contexts : gboolean , pub unmount_mountable_with_operation : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub unmount_mountable_with_operation_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub eject_mountable_with_operation : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_mountable_with_operation_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub poll_mountable : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub poll_mountable_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub measure_disk_usage : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileMeasureFlags , cancellable : * mut GCancellable , progress_callback : GFileMeasureProgressCallback , progress_data : gpointer , disk_usage : * mut guint64 , num_dirs : * mut guint64 , num_files : * mut guint64 , error : * mut * mut GError ) -> gboolean > , pub measure_disk_usage_async : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , flags : GFileMeasureFlags , io_priority : gint , cancellable : * mut GCancellable , progress_callback : GFileMeasureProgressCallback , progress_data : gpointer , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub measure_disk_usage_finish : :: std :: option :: Option < unsafe extern "C" fn ( file : * mut GFile , result : * mut GAsyncResult , disk_usage : * mut guint64 , num_dirs : * mut guint64 , num_files : * mut guint64 , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GFileIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileIface > ( ) , 840usize , concat ! ( "Size of: " , stringify ! ( _GFileIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . dup as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( dup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . hash as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . equal as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( equal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . is_native as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( is_native ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . has_uri_scheme as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( has_uri_scheme ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_uri_scheme as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_uri_scheme ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_basename as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_basename ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_path as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_uri as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_uri ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_parse_name as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_parse_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_parent as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . prefix_matches as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( prefix_matches ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_relative_path as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_relative_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . resolve_relative_path as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( resolve_relative_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . get_child_for_display_name as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( get_child_for_display_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . enumerate_children as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( enumerate_children ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . enumerate_children_async as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( enumerate_children_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . enumerate_children_finish as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( enumerate_children_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_info as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_info_async as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_info_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_info_finish as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_info_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_filesystem_info as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_filesystem_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_filesystem_info_async as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_filesystem_info_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_filesystem_info_finish as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_filesystem_info_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . find_enclosing_mount as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( find_enclosing_mount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . find_enclosing_mount_async as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( find_enclosing_mount_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . find_enclosing_mount_finish as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( find_enclosing_mount_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_display_name as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_display_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_display_name_async as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_display_name_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_display_name_finish as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_display_name_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_settable_attributes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_settable_attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . _query_settable_attributes_async as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( _query_settable_attributes_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . _query_settable_attributes_finish as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( _query_settable_attributes_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . query_writable_namespaces as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( query_writable_namespaces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . _query_writable_namespaces_async as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( _query_writable_namespaces_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . _query_writable_namespaces_finish as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( _query_writable_namespaces_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_attribute as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_attribute ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_attributes_from_info as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_attributes_from_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_attributes_async as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_attributes_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . set_attributes_finish as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( set_attributes_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . read_fn as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( read_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . read_async as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( read_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . read_finish as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( read_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . append_to as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( append_to ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . append_to_async as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( append_to_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . append_to_finish as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( append_to_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . create as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( create ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . create_async as * const _ as usize } , 392usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( create_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . create_finish as * const _ as usize } , 400usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( create_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . replace as * const _ as usize } , 408usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( replace ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . replace_async as * const _ as usize } , 416usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( replace_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . replace_finish as * const _ as usize } , 424usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( replace_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . delete_file as * const _ as usize } , 432usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( delete_file ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . delete_file_async as * const _ as usize } , 440usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( delete_file_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . delete_file_finish as * const _ as usize } , 448usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( delete_file_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . trash as * const _ as usize } , 456usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( trash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . trash_async as * const _ as usize } , 464usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( trash_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . trash_finish as * const _ as usize } , 472usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( trash_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . make_directory as * const _ as usize } , 480usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( make_directory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . make_directory_async as * const _ as usize } , 488usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( make_directory_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . make_directory_finish as * const _ as usize } , 496usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( make_directory_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . make_symbolic_link as * const _ as usize } , 504usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( make_symbolic_link ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . make_symbolic_link_async as * const _ as usize } , 512usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( make_symbolic_link_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . make_symbolic_link_finish as * const _ as usize } , 520usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( make_symbolic_link_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . copy as * const _ as usize } , 528usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( copy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . copy_async as * const _ as usize } , 536usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( copy_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . copy_finish as * const _ as usize } , 544usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( copy_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . move_ as * const _ as usize } , 552usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( move_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . move_async as * const _ as usize } , 560usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( move_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . move_finish as * const _ as usize } , 568usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( move_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . mount_mountable as * const _ as usize } , 576usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( mount_mountable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . mount_mountable_finish as * const _ as usize } , 584usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( mount_mountable_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . unmount_mountable as * const _ as usize } , 592usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( unmount_mountable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . unmount_mountable_finish as * const _ as usize } , 600usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( unmount_mountable_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . eject_mountable as * const _ as usize } , 608usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( eject_mountable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . eject_mountable_finish as * const _ as usize } , 616usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( eject_mountable_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . mount_enclosing_volume as * const _ as usize } , 624usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( mount_enclosing_volume ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . mount_enclosing_volume_finish as * const _ as usize } , 632usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( mount_enclosing_volume_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . monitor_dir as * const _ as usize } , 640usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( monitor_dir ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . monitor_file as * const _ as usize } , 648usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( monitor_file ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . open_readwrite as * const _ as usize } , 656usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( open_readwrite ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . open_readwrite_async as * const _ as usize } , 664usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( open_readwrite_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . open_readwrite_finish as * const _ as usize } , 672usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( open_readwrite_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . create_readwrite as * const _ as usize } , 680usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( create_readwrite ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . create_readwrite_async as * const _ as usize } , 688usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( create_readwrite_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . create_readwrite_finish as * const _ as usize } , 696usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( create_readwrite_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . replace_readwrite as * const _ as usize } , 704usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( replace_readwrite ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . replace_readwrite_async as * const _ as usize } , 712usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( replace_readwrite_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . replace_readwrite_finish as * const _ as usize } , 720usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( replace_readwrite_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . start_mountable as * const _ as usize } , 728usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( start_mountable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . start_mountable_finish as * const _ as usize } , 736usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( start_mountable_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . stop_mountable as * const _ as usize } , 744usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( stop_mountable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . stop_mountable_finish as * const _ as usize } , 752usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( stop_mountable_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . supports_thread_contexts as * const _ as usize } , 760usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( supports_thread_contexts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . unmount_mountable_with_operation as * const _ as usize } , 768usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( unmount_mountable_with_operation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . unmount_mountable_with_operation_finish as * const _ as usize } , 776usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( unmount_mountable_with_operation_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . eject_mountable_with_operation as * const _ as usize } , 784usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( eject_mountable_with_operation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . eject_mountable_with_operation_finish as * const _ as usize } , 792usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( eject_mountable_with_operation_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . poll_mountable as * const _ as usize } , 800usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( poll_mountable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . poll_mountable_finish as * const _ as usize } , 808usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( poll_mountable_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . measure_disk_usage as * const _ as usize } , 816usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( measure_disk_usage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . measure_disk_usage_async as * const _ as usize } , 824usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( measure_disk_usage_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIface > ( ) ) ) . measure_disk_usage_finish as * const _ as usize } , 832usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIface ) , "::" , stringify ! ( measure_disk_usage_finish ) ) ) ; } extern "C" { pub fn g_file_get_type ( ) -> GType ; } extern "C" { pub fn g_file_new_for_path ( path : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_file_new_for_uri ( uri : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_file_new_for_commandline_arg ( arg : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_file_new_for_commandline_arg_and_cwd ( arg : * const gchar , cwd : * const gchar ) -> * mut GFile ; } extern "C" { pub fn g_file_new_tmp ( tmpl : * const :: std :: os :: raw :: c_char , iostream : * mut * mut GFileIOStream , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_new_tmp_async ( tmpl : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_new_tmp_finish ( result : * mut GAsyncResult , iostream : * mut * mut GFileIOStream , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_new_tmp_dir_async ( tmpl : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_new_tmp_dir_finish ( result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_parse_name ( parse_name : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_file_new_build_filename ( first_element : * const gchar , ... ) -> * mut GFile ; } extern "C" { pub fn g_file_new_build_filenamev ( args : * const * const gchar ) -> * mut GFile ; } extern "C" { pub fn g_file_dup ( file : * mut GFile ) -> * mut GFile ; } extern "C" { pub fn g_file_hash ( file : gconstpointer ) -> guint ; } extern "C" { pub fn g_file_equal ( file1 : * mut GFile , file2 : * mut GFile ) -> gboolean ; } extern "C" { pub fn g_file_get_basename ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_get_path ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_peek_path ( file : * mut GFile ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_get_uri ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_get_parse_name ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_get_parent ( file : * mut GFile ) -> * mut GFile ; } extern "C" { pub fn g_file_has_parent ( file : * mut GFile , parent : * mut GFile ) -> gboolean ; } extern "C" { pub fn g_file_get_child ( file : * mut GFile , name : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_file_get_child_for_display_name ( file : * mut GFile , display_name : * const :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_has_prefix ( file : * mut GFile , prefix : * mut GFile ) -> gboolean ; } extern "C" { pub fn g_file_get_relative_path ( parent : * mut GFile , descendant : * mut GFile ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_resolve_relative_path ( file : * mut GFile , relative_path : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_file_is_native ( file : * mut GFile ) -> gboolean ; } extern "C" { pub fn g_file_has_uri_scheme ( file : * mut GFile , uri_scheme : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_get_uri_scheme ( file : * mut GFile ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_read ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInputStream ; } extern "C" { pub fn g_file_read_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_read_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInputStream ; } extern "C" { pub fn g_file_append_to ( file : * mut GFile , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileOutputStream ; } extern "C" { pub fn g_file_create ( file : * mut GFile , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileOutputStream ; } extern "C" { pub fn g_file_replace ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileOutputStream ; } extern "C" { pub fn g_file_append_to_async ( file : * mut GFile , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_append_to_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileOutputStream ; } extern "C" { pub fn g_file_create_async ( file : * mut GFile , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_create_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileOutputStream ; } extern "C" { pub fn g_file_replace_async ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_replace_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileOutputStream ; } extern "C" { pub fn g_file_open_readwrite ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileIOStream ; } extern "C" { pub fn g_file_open_readwrite_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_open_readwrite_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileIOStream ; } extern "C" { pub fn g_file_create_readwrite ( file : * mut GFile , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileIOStream ; } extern "C" { pub fn g_file_create_readwrite_async ( file : * mut GFile , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_create_readwrite_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileIOStream ; } extern "C" { pub fn g_file_replace_readwrite ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileIOStream ; } extern "C" { pub fn g_file_replace_readwrite_async ( file : * mut GFile , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_replace_readwrite_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileIOStream ; } extern "C" { pub fn g_file_query_exists ( file : * mut GFile , cancellable : * mut GCancellable ) -> gboolean ; } extern "C" { pub fn g_file_query_file_type ( file : * mut GFile , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable ) -> GFileType ; } extern "C" { pub fn g_file_query_info ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_query_info_async ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_query_info_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_query_filesystem_info ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_query_filesystem_info_async ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_query_filesystem_info_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_find_enclosing_mount ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GMount ; } extern "C" { pub fn g_file_find_enclosing_mount_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_find_enclosing_mount_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GMount ; } extern "C" { pub fn g_file_enumerate_children ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileEnumerator ; } extern "C" { pub fn g_file_enumerate_children_async ( file : * mut GFile , attributes : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_enumerate_children_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileEnumerator ; } extern "C" { pub fn g_file_set_display_name ( file : * mut GFile , display_name : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_set_display_name_async ( file : * mut GFile , display_name : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_set_display_name_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_delete ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_delete_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_delete_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_trash ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_trash_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_trash_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_copy ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_copy_async ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_copy_finish ( file : * mut GFile , res : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_move ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_move_async ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , progress_callback : GFileProgressCallback , progress_callback_data : gpointer , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_move_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_make_directory ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_make_directory_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_make_directory_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_make_directory_with_parents ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_make_symbolic_link ( file : * mut GFile , symlink_value : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_make_symbolic_link_async ( file : * mut GFile , symlink_value : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_make_symbolic_link_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_query_settable_attributes ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileAttributeInfoList ; } extern "C" { pub fn g_file_query_writable_namespaces ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileAttributeInfoList ; } extern "C" { pub fn g_file_set_attribute ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , type_ : GFileAttributeType , value_p : gpointer , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attributes_from_info ( file : * mut GFile , info : * mut GFileInfo , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attributes_async ( file : * mut GFile , info : * mut GFileInfo , flags : GFileQueryInfoFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_set_attributes_finish ( file : * mut GFile , result : * mut GAsyncResult , info : * mut * mut GFileInfo , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attribute_string ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attribute_byte_string ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attribute_uint32 ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , value : guint32 , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attribute_int32 ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , value : gint32 , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attribute_uint64 ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , value : guint64 , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_set_attribute_int64 ( file : * mut GFile , attribute : * const :: std :: os :: raw :: c_char , value : gint64 , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_mount_enclosing_volume ( location : * mut GFile , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_mount_enclosing_volume_finish ( location : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_mount_mountable ( file : * mut GFile , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_mount_mountable_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFile ; } extern "C" { pub fn g_file_unmount_mountable ( file : * mut GFile , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_unmount_mountable_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_unmount_mountable_with_operation ( file : * mut GFile , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_unmount_mountable_with_operation_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_eject_mountable ( file : * mut GFile , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_eject_mountable_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_eject_mountable_with_operation ( file : * mut GFile , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_eject_mountable_with_operation_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_build_attribute_list_for_copy ( file : * mut GFile , flags : GFileCopyFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_copy_attributes ( source : * mut GFile , destination : * mut GFile , flags : GFileCopyFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_monitor_directory ( file : * mut GFile , flags : GFileMonitorFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileMonitor ; } extern "C" { pub fn g_file_monitor_file ( file : * mut GFile , flags : GFileMonitorFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileMonitor ; } extern "C" { pub fn g_file_monitor ( file : * mut GFile , flags : GFileMonitorFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileMonitor ; } extern "C" { pub fn g_file_measure_disk_usage ( file : * mut GFile , flags : GFileMeasureFlags , cancellable : * mut GCancellable , progress_callback : GFileMeasureProgressCallback , progress_data : gpointer , disk_usage : * mut guint64 , num_dirs : * mut guint64 , num_files : * mut guint64 , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_measure_disk_usage_async ( file : * mut GFile , flags : GFileMeasureFlags , io_priority : gint , cancellable : * mut GCancellable , progress_callback : GFileMeasureProgressCallback , progress_data : gpointer , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_measure_disk_usage_finish ( file : * mut GFile , result : * mut GAsyncResult , disk_usage : * mut guint64 , num_dirs : * mut guint64 , num_files : * mut guint64 , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_start_mountable ( file : * mut GFile , flags : GDriveStartFlags , start_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_start_mountable_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_stop_mountable ( file : * mut GFile , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_stop_mountable_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_poll_mountable ( file : * mut GFile , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_poll_mountable_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_query_default_handler ( file : * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GAppInfo ; } extern "C" { pub fn g_file_query_default_handler_async ( file : * mut GFile , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_query_default_handler_finish ( file : * mut GFile , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GAppInfo ; } extern "C" { pub fn g_file_load_contents ( file : * mut GFile , cancellable : * mut GCancellable , contents : * mut * mut :: std :: os :: raw :: c_char , length : * mut gsize , etag_out : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_load_contents_async ( file : * mut GFile , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_load_contents_finish ( file : * mut GFile , res : * mut GAsyncResult , contents : * mut * mut :: std :: os :: raw :: c_char , length : * mut gsize , etag_out : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_load_partial_contents_async ( file : * mut GFile , cancellable : * mut GCancellable , read_more_callback : GFileReadMoreCallback , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_load_partial_contents_finish ( file : * mut GFile , res : * mut GAsyncResult , contents : * mut * mut :: std :: os :: raw :: c_char , length : * mut gsize , etag_out : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_replace_contents ( file : * mut GFile , contents : * const :: std :: os :: raw :: c_char , length : gsize , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , new_etag : * mut * mut :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_replace_contents_async ( file : * mut GFile , contents : * const :: std :: os :: raw :: c_char , length : gsize , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_replace_contents_bytes_async ( file : * mut GFile , contents : * mut GBytes , etag : * const :: std :: os :: raw :: c_char , make_backup : gboolean , flags : GFileCreateFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_replace_contents_finish ( file : * mut GFile , res : * mut GAsyncResult , new_etag : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_supports_thread_contexts ( file : * mut GFile ) -> gboolean ; } extern "C" { pub fn g_file_load_bytes ( file : * mut GFile , cancellable : * mut GCancellable , etag_out : * mut * mut gchar , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_file_load_bytes_async ( file : * mut GFile , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_load_bytes_finish ( file : * mut GFile , result : * mut GAsyncResult , etag_out : * mut * mut gchar , error : * mut * mut GError ) -> * mut GBytes ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileAttributeInfo { pub name : * mut :: std :: os :: raw :: c_char , pub type_ : GFileAttributeType , pub flags : GFileAttributeInfoFlags , } # [ test ] fn bindgen_test_layout__GFileAttributeInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileAttributeInfo > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GFileAttributeInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileAttributeInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileAttributeInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileAttributeInfo > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileAttributeInfo ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileAttributeInfo > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GFileAttributeInfo ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileAttributeInfo > ( ) ) ) . flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _GFileAttributeInfo ) , "::" , stringify ! ( flags ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileAttributeInfoList { pub infos : * mut GFileAttributeInfo , pub n_infos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__GFileAttributeInfoList ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileAttributeInfoList > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GFileAttributeInfoList ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileAttributeInfoList > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileAttributeInfoList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileAttributeInfoList > ( ) ) ) . infos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileAttributeInfoList ) , "::" , stringify ! ( infos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileAttributeInfoList > ( ) ) ) . n_infos as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GFileAttributeInfoList ) , "::" , stringify ! ( n_infos ) ) ) ; } extern "C" { pub fn g_file_attribute_info_list_get_type ( ) -> GType ; } extern "C" { pub fn g_file_attribute_info_list_new ( ) -> * mut GFileAttributeInfoList ; } extern "C" { pub fn g_file_attribute_info_list_ref ( list : * mut GFileAttributeInfoList ) -> * mut GFileAttributeInfoList ; } extern "C" { pub fn g_file_attribute_info_list_unref ( list : * mut GFileAttributeInfoList ) ; } extern "C" { pub fn g_file_attribute_info_list_dup ( list : * mut GFileAttributeInfoList ) -> * mut GFileAttributeInfoList ; } extern "C" { pub fn g_file_attribute_info_list_lookup ( list : * mut GFileAttributeInfoList , name : * const :: std :: os :: raw :: c_char ) -> * const GFileAttributeInfo ; } extern "C" { pub fn g_file_attribute_info_list_add ( list : * mut GFileAttributeInfoList , name : * const :: std :: os :: raw :: c_char , type_ : GFileAttributeType , flags : GFileAttributeInfoFlags ) ; } pub type GFileEnumeratorClass = _GFileEnumeratorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileEnumeratorPrivate { _unused : [ u8 ; 0 ] , } pub type GFileEnumeratorPrivate = _GFileEnumeratorPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileEnumerator { pub parent_instance : GObject , pub priv_ : * mut GFileEnumeratorPrivate , } # [ test ] fn bindgen_test_layout__GFileEnumerator ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileEnumerator > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GFileEnumerator ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileEnumerator > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileEnumerator ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumerator > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumerator ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumerator > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumerator ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileEnumeratorClass { pub parent_class : GObjectClass , pub next_file : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GFileEnumerator , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo > , pub close_fn : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GFileEnumerator , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub next_files_async : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GFileEnumerator , num_files : :: std :: os :: raw :: c_int , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub next_files_finish : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GFileEnumerator , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList > , pub close_async : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GFileEnumerator , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub close_finish : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GFileEnumerator , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved7 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFileEnumeratorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileEnumeratorClass > ( ) , 240usize , concat ! ( "Size of: " , stringify ! ( _GFileEnumeratorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileEnumeratorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileEnumeratorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . next_file as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( next_file ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . close_fn as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( close_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . next_files_async as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( next_files_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . next_files_finish as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( next_files_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . close_async as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( close_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . close_finish as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( close_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileEnumeratorClass > ( ) ) ) . _g_reserved7 as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GFileEnumeratorClass ) , "::" , stringify ! ( _g_reserved7 ) ) ) ; } extern "C" { pub fn g_file_enumerator_get_type ( ) -> GType ; } extern "C" { pub fn g_file_enumerator_next_file ( enumerator : * mut GFileEnumerator , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_enumerator_close ( enumerator : * mut GFileEnumerator , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_enumerator_next_files_async ( enumerator : * mut GFileEnumerator , num_files : :: std :: os :: raw :: c_int , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_enumerator_next_files_finish ( enumerator : * mut GFileEnumerator , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_file_enumerator_close_async ( enumerator : * mut GFileEnumerator , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_enumerator_close_finish ( enumerator : * mut GFileEnumerator , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_file_enumerator_is_closed ( enumerator : * mut GFileEnumerator ) -> gboolean ; } extern "C" { pub fn g_file_enumerator_has_pending ( enumerator : * mut GFileEnumerator ) -> gboolean ; } extern "C" { pub fn g_file_enumerator_set_pending ( enumerator : * mut GFileEnumerator , pending : gboolean ) ; } extern "C" { pub fn g_file_enumerator_get_container ( enumerator : * mut GFileEnumerator ) -> * mut GFile ; } extern "C" { pub fn g_file_enumerator_get_child ( enumerator : * mut GFileEnumerator , info : * mut GFileInfo ) -> * mut GFile ; } extern "C" { pub fn g_file_enumerator_iterate ( direnum : * mut GFileEnumerator , out_info : * mut * mut GFileInfo , out_child : * mut * mut GFile , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileIconClass { _unused : [ u8 ; 0 ] , } pub type GFileIconClass = _GFileIconClass ; extern "C" { pub fn g_file_icon_get_type ( ) -> GType ; } extern "C" { pub fn g_file_icon_new ( file : * mut GFile ) -> * mut GIcon ; } extern "C" { pub fn g_file_icon_get_file ( icon : * mut GFileIcon ) -> * mut GFile ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileInfoClass { _unused : [ u8 ; 0 ] , } pub type GFileInfoClass = _GFileInfoClass ; extern "C" { pub fn g_file_info_get_type ( ) -> GType ; } extern "C" { pub fn g_file_info_new ( ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_info_dup ( other : * mut GFileInfo ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_info_copy_into ( src_info : * mut GFileInfo , dest_info : * mut GFileInfo ) ; } extern "C" { pub fn g_file_info_has_attribute ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_info_has_namespace ( info : * mut GFileInfo , name_space : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_info_list_attributes ( info : * mut GFileInfo , name_space : * const :: std :: os :: raw :: c_char ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_attribute_data ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , type_ : * mut GFileAttributeType , value_pp : * mut gpointer , status : * mut GFileAttributeStatus ) -> gboolean ; } extern "C" { pub fn g_file_info_get_attribute_type ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> GFileAttributeType ; } extern "C" { pub fn g_file_info_remove_attribute ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_get_attribute_status ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> GFileAttributeStatus ; } extern "C" { pub fn g_file_info_set_attribute_status ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , status : GFileAttributeStatus ) -> gboolean ; } extern "C" { pub fn g_file_info_get_attribute_as_string ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_attribute_string ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_attribute_byte_string ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_attribute_boolean ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_info_get_attribute_uint32 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> guint32 ; } extern "C" { pub fn g_file_info_get_attribute_int32 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> gint32 ; } extern "C" { pub fn g_file_info_get_attribute_uint64 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> guint64 ; } extern "C" { pub fn g_file_info_get_attribute_int64 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> gint64 ; } extern "C" { pub fn g_file_info_get_attribute_object ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> * mut GObject ; } extern "C" { pub fn g_file_info_get_attribute_stringv ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_attribute_file_path ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_set_attribute ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , type_ : GFileAttributeType , value_p : gpointer ) ; } extern "C" { pub fn g_file_info_set_attribute_string ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_attribute_byte_string ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_attribute_boolean ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : gboolean ) ; } extern "C" { pub fn g_file_info_set_attribute_uint32 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : guint32 ) ; } extern "C" { pub fn g_file_info_set_attribute_int32 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : gint32 ) ; } extern "C" { pub fn g_file_info_set_attribute_uint64 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : guint64 ) ; } extern "C" { pub fn g_file_info_set_attribute_int64 ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : gint64 ) ; } extern "C" { pub fn g_file_info_set_attribute_object ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : * mut GObject ) ; } extern "C" { pub fn g_file_info_set_attribute_stringv ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : * mut * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_attribute_file_path ( info : * mut GFileInfo , attribute : * const :: std :: os :: raw :: c_char , attr_value : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_clear_status ( info : * mut GFileInfo ) ; } extern "C" { pub fn g_file_info_get_deletion_date ( info : * mut GFileInfo ) -> * mut GDateTime ; } extern "C" { pub fn g_file_info_get_file_type ( info : * mut GFileInfo ) -> GFileType ; } extern "C" { pub fn g_file_info_get_is_hidden ( info : * mut GFileInfo ) -> gboolean ; } extern "C" { pub fn g_file_info_get_is_backup ( info : * mut GFileInfo ) -> gboolean ; } extern "C" { pub fn g_file_info_get_is_symlink ( info : * mut GFileInfo ) -> gboolean ; } extern "C" { pub fn g_file_info_get_name ( info : * mut GFileInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_display_name ( info : * mut GFileInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_edit_name ( info : * mut GFileInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_icon ( info : * mut GFileInfo ) -> * mut GIcon ; } extern "C" { pub fn g_file_info_get_symbolic_icon ( info : * mut GFileInfo ) -> * mut GIcon ; } extern "C" { pub fn g_file_info_get_content_type ( info : * mut GFileInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_size ( info : * mut GFileInfo ) -> goffset ; } extern "C" { pub fn g_file_info_get_modification_time ( info : * mut GFileInfo , result : * mut GTimeVal ) ; } extern "C" { pub fn g_file_info_get_modification_date_time ( info : * mut GFileInfo ) -> * mut GDateTime ; } extern "C" { pub fn g_file_info_get_access_date_time ( info : * mut GFileInfo ) -> * mut GDateTime ; } extern "C" { pub fn g_file_info_get_creation_date_time ( info : * mut GFileInfo ) -> * mut GDateTime ; } extern "C" { pub fn g_file_info_get_symlink_target ( info : * mut GFileInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_etag ( info : * mut GFileInfo ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_info_get_sort_order ( info : * mut GFileInfo ) -> gint32 ; } extern "C" { pub fn g_file_info_set_attribute_mask ( info : * mut GFileInfo , mask : * mut GFileAttributeMatcher ) ; } extern "C" { pub fn g_file_info_unset_attribute_mask ( info : * mut GFileInfo ) ; } extern "C" { pub fn g_file_info_set_file_type ( info : * mut GFileInfo , type_ : GFileType ) ; } extern "C" { pub fn g_file_info_set_is_hidden ( info : * mut GFileInfo , is_hidden : gboolean ) ; } extern "C" { pub fn g_file_info_set_is_symlink ( info : * mut GFileInfo , is_symlink : gboolean ) ; } extern "C" { pub fn g_file_info_set_name ( info : * mut GFileInfo , name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_display_name ( info : * mut GFileInfo , display_name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_edit_name ( info : * mut GFileInfo , edit_name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_icon ( info : * mut GFileInfo , icon : * mut GIcon ) ; } extern "C" { pub fn g_file_info_set_symbolic_icon ( info : * mut GFileInfo , icon : * mut GIcon ) ; } extern "C" { pub fn g_file_info_set_content_type ( info : * mut GFileInfo , content_type : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_size ( info : * mut GFileInfo , size : goffset ) ; } extern "C" { pub fn g_file_info_set_modification_time ( info : * mut GFileInfo , mtime : * mut GTimeVal ) ; } extern "C" { pub fn g_file_info_set_modification_date_time ( info : * mut GFileInfo , mtime : * mut GDateTime ) ; } extern "C" { pub fn g_file_info_set_access_date_time ( info : * mut GFileInfo , atime : * mut GDateTime ) ; } extern "C" { pub fn g_file_info_set_creation_date_time ( info : * mut GFileInfo , creation_time : * mut GDateTime ) ; } extern "C" { pub fn g_file_info_set_symlink_target ( info : * mut GFileInfo , symlink_target : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_file_info_set_sort_order ( info : * mut GFileInfo , sort_order : gint32 ) ; } extern "C" { pub fn g_file_attribute_matcher_get_type ( ) -> GType ; } extern "C" { pub fn g_file_attribute_matcher_new ( attributes : * const :: std :: os :: raw :: c_char ) -> * mut GFileAttributeMatcher ; } extern "C" { pub fn g_file_attribute_matcher_ref ( matcher : * mut GFileAttributeMatcher ) -> * mut GFileAttributeMatcher ; } extern "C" { pub fn g_file_attribute_matcher_unref ( matcher : * mut GFileAttributeMatcher ) ; } extern "C" { pub fn g_file_attribute_matcher_subtract ( matcher : * mut GFileAttributeMatcher , subtract : * mut GFileAttributeMatcher ) -> * mut GFileAttributeMatcher ; } extern "C" { pub fn g_file_attribute_matcher_matches ( matcher : * mut GFileAttributeMatcher , attribute : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_attribute_matcher_matches_only ( matcher : * mut GFileAttributeMatcher , attribute : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_attribute_matcher_enumerate_namespace ( matcher : * mut GFileAttributeMatcher , ns : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn g_file_attribute_matcher_enumerate_next ( matcher : * mut GFileAttributeMatcher ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_file_attribute_matcher_to_string ( matcher : * mut GFileAttributeMatcher ) -> * mut :: std :: os :: raw :: c_char ; } pub type GFileInputStreamClass = _GFileInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileInputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GFileInputStreamPrivate = _GFileInputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileInputStream { pub parent_instance : GInputStream , pub priv_ : * mut GFileInputStreamPrivate , } # [ test ] fn bindgen_test_layout__GFileInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileInputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GFileInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStream > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileInputStreamClass { pub parent_class : GInputStreamClass , pub tell : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileInputStream ) -> goffset > , pub can_seek : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileInputStream ) -> gboolean > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileInputStream , offset : goffset , type_ : GSeekType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub query_info : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileInputStream , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo > , pub query_info_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileInputStream , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub query_info_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFileInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileInputStreamClass > ( ) , 336usize , concat ! ( "Size of: " , stringify ! ( _GFileInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . tell as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( tell ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . can_seek as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( can_seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . seek as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . query_info as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( query_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . query_info_async as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( query_info_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . query_info_finish as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( query_info_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileInputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GFileInputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_file_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_file_input_stream_query_info ( stream : * mut GFileInputStream , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_input_stream_query_info_async ( stream : * mut GFileInputStream , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_input_stream_query_info_finish ( stream : * mut GFileInputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_io_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_io_error_from_errno ( err_no : gint ) -> GIOErrorEnum ; } extern "C" { pub fn g_io_error_from_file_error ( file_error : GFileError ) -> GIOErrorEnum ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GIOStreamPrivate = _GIOStreamPrivate ; pub type GIOStreamClass = _GIOStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOStream { pub parent_instance : GObject , pub priv_ : * mut GIOStreamPrivate , } # [ test ] fn bindgen_test_layout__GIOStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GIOStream > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GIOStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GIOStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GIOStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStream > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOStreamClass { pub parent_class : GObjectClass , pub get_input_stream : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GIOStream ) -> * mut GInputStream > , pub get_output_stream : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GIOStream ) -> * mut GOutputStream > , pub close_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GIOStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub close_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GIOStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub close_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GIOStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved7 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved8 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved9 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved10 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GIOStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GIOStreamClass > ( ) , 256usize , concat ! ( "Size of: " , stringify ! ( _GIOStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GIOStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GIOStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . get_input_stream as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( get_input_stream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . get_output_stream as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( get_output_stream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . close_fn as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( close_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . close_async as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( close_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . close_finish as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( close_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved7 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved7 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved8 as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved8 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved9 as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved9 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GIOStreamClass > ( ) ) ) . _g_reserved10 as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GIOStreamClass ) , "::" , stringify ! ( _g_reserved10 ) ) ) ; } extern "C" { pub fn g_io_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_io_stream_get_input_stream ( stream : * mut GIOStream ) -> * mut GInputStream ; } extern "C" { pub fn g_io_stream_get_output_stream ( stream : * mut GIOStream ) -> * mut GOutputStream ; } extern "C" { pub fn g_io_stream_splice_async ( stream1 : * mut GIOStream , stream2 : * mut GIOStream , flags : GIOStreamSpliceFlags , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_io_stream_splice_finish ( result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_io_stream_close ( stream : * mut GIOStream , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_io_stream_close_async ( stream : * mut GIOStream , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_io_stream_close_finish ( stream : * mut GIOStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_io_stream_is_closed ( stream : * mut GIOStream ) -> gboolean ; } extern "C" { pub fn g_io_stream_has_pending ( stream : * mut GIOStream ) -> gboolean ; } extern "C" { pub fn g_io_stream_set_pending ( stream : * mut GIOStream , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_io_stream_clear_pending ( stream : * mut GIOStream ) ; } pub type GFileIOStreamClass = _GFileIOStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileIOStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GFileIOStreamPrivate = _GFileIOStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileIOStream { pub parent_instance : GIOStream , pub priv_ : * mut GFileIOStreamPrivate , } # [ test ] fn bindgen_test_layout__GFileIOStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileIOStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GFileIOStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileIOStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileIOStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStream > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileIOStreamClass { pub parent_class : GIOStreamClass , pub tell : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream ) -> goffset > , pub can_seek : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream ) -> gboolean > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream , offset : goffset , type_ : GSeekType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub can_truncate : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream ) -> gboolean > , pub truncate_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream , size : goffset , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub query_info : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo > , pub query_info_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub query_info_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo > , pub get_etag : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileIOStream ) -> * mut :: std :: os :: raw :: c_char > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFileIOStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileIOStreamClass > ( ) , 368usize , concat ! ( "Size of: " , stringify ! ( _GFileIOStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileIOStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileIOStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . tell as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( tell ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . can_seek as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( can_seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . seek as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . can_truncate as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( can_truncate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . truncate_fn as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( truncate_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . query_info as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( query_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . query_info_async as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( query_info_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . query_info_finish as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( query_info_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . get_etag as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( get_etag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileIOStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _GFileIOStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_file_io_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_file_io_stream_query_info ( stream : * mut GFileIOStream , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_io_stream_query_info_async ( stream : * mut GFileIOStream , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_io_stream_query_info_finish ( stream : * mut GFileIOStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_io_stream_get_etag ( stream : * mut GFileIOStream ) -> * mut :: std :: os :: raw :: c_char ; } pub type GFileMonitorClass = _GFileMonitorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileMonitorPrivate { _unused : [ u8 ; 0 ] , } pub type GFileMonitorPrivate = _GFileMonitorPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileMonitor { pub parent_instance : GObject , pub priv_ : * mut GFileMonitorPrivate , } # [ test ] fn bindgen_test_layout__GFileMonitor ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileMonitor > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GFileMonitor ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileMonitor > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileMonitor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitor > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitor ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitor > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitor ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileMonitorClass { pub parent_class : GObjectClass , pub changed : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GFileMonitor , file : * mut GFile , other_file : * mut GFile , event_type : GFileMonitorEvent ) > , pub cancel : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GFileMonitor ) -> gboolean > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFileMonitorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileMonitorClass > ( ) , 192usize , concat ! ( "Size of: " , stringify ! ( _GFileMonitorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileMonitorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileMonitorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . changed as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . cancel as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( cancel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileMonitorClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GFileMonitorClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_file_monitor_get_type ( ) -> GType ; } extern "C" { pub fn g_file_monitor_cancel ( monitor : * mut GFileMonitor ) -> gboolean ; } extern "C" { pub fn g_file_monitor_is_cancelled ( monitor : * mut GFileMonitor ) -> gboolean ; } extern "C" { pub fn g_file_monitor_set_rate_limit ( monitor : * mut GFileMonitor , limit_msecs : gint ) ; } extern "C" { pub fn g_file_monitor_emit_event ( monitor : * mut GFileMonitor , child : * mut GFile , other_file : * mut GFile , event_type : GFileMonitorEvent ) ; } pub type GFilenameCompleterClass = _GFilenameCompleterClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFilenameCompleterClass { pub parent_class : GObjectClass , pub got_completion_data : :: std :: option :: Option < unsafe extern "C" fn ( filename_completer : * mut GFilenameCompleter ) > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFilenameCompleterClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFilenameCompleterClass > ( ) , 168usize , concat ! ( "Size of: " , stringify ! ( _GFilenameCompleterClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFilenameCompleterClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFilenameCompleterClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilenameCompleterClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFilenameCompleterClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilenameCompleterClass > ( ) ) ) . got_completion_data as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GFilenameCompleterClass ) , "::" , stringify ! ( got_completion_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilenameCompleterClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GFilenameCompleterClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilenameCompleterClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GFilenameCompleterClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFilenameCompleterClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GFilenameCompleterClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; } extern "C" { pub fn g_filename_completer_get_type ( ) -> GType ; } extern "C" { pub fn g_filename_completer_new ( ) -> * mut GFilenameCompleter ; } extern "C" { pub fn g_filename_completer_get_completion_suffix ( completer : * mut GFilenameCompleter , initial_text : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_filename_completer_get_completions ( completer : * mut GFilenameCompleter , initial_text : * const :: std :: os :: raw :: c_char ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_filename_completer_set_dirs_only ( completer : * mut GFilenameCompleter , dirs_only : gboolean ) ; } pub type GFileOutputStreamClass = _GFileOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileOutputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GFileOutputStreamPrivate = _GFileOutputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileOutputStream { pub parent_instance : GOutputStream , pub priv_ : * mut GFileOutputStreamPrivate , } # [ test ] fn bindgen_test_layout__GFileOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileOutputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GFileOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStream > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GFileOutputStreamClass { pub parent_class : GOutputStreamClass , pub tell : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream ) -> goffset > , pub can_seek : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream ) -> gboolean > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream , offset : goffset , type_ : GSeekType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub can_truncate : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream ) -> gboolean > , pub truncate_fn : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream , size : goffset , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub query_info : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo > , pub query_info_async : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub query_info_finish : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo > , pub get_etag : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GFileOutputStream ) -> * mut :: std :: os :: raw :: c_char > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GFileOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GFileOutputStreamClass > ( ) , 408usize , concat ! ( "Size of: " , stringify ! ( _GFileOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GFileOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GFileOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . tell as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( tell ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . can_seek as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( can_seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . seek as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . can_truncate as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( can_truncate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . truncate_fn as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( truncate_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . query_info as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( query_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . query_info_async as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( query_info_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . query_info_finish as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( query_info_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . get_etag as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( get_etag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 392usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GFileOutputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 400usize , concat ! ( "Offset of field: " , stringify ! ( _GFileOutputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_file_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_file_output_stream_query_info ( stream : * mut GFileOutputStream , attributes : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_output_stream_query_info_async ( stream : * mut GFileOutputStream , attributes : * const :: std :: os :: raw :: c_char , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_file_output_stream_query_info_finish ( stream : * mut GFileOutputStream , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GFileInfo ; } extern "C" { pub fn g_file_output_stream_get_etag ( stream : * mut GFileOutputStream ) -> * mut :: std :: os :: raw :: c_char ; } pub type GInetAddressClass = _GInetAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetAddressPrivate { _unused : [ u8 ; 0 ] , } pub type GInetAddressPrivate = _GInetAddressPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetAddress { pub parent_instance : GObject , pub priv_ : * mut GInetAddressPrivate , } # [ test ] fn bindgen_test_layout__GInetAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInetAddress > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GInetAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInetAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInetAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddress > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddress ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetAddressClass { pub parent_class : GObjectClass , pub to_string : :: std :: option :: Option < unsafe extern "C" fn ( address : * mut GInetAddress ) -> * mut gchar > , pub to_bytes : :: std :: option :: Option < unsafe extern "C" fn ( address : * mut GInetAddress ) -> * const guint8 > , } # [ test ] fn bindgen_test_layout__GInetAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInetAddressClass > ( ) , 152usize , concat ! ( "Size of: " , stringify ! ( _GInetAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInetAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInetAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddressClass > ( ) ) ) . to_string as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddressClass ) , "::" , stringify ! ( to_string ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddressClass > ( ) ) ) . to_bytes as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddressClass ) , "::" , stringify ! ( to_bytes ) ) ) ; } extern "C" { pub fn g_inet_address_get_type ( ) -> GType ; } extern "C" { pub fn g_inet_address_new_from_string ( string : * const gchar ) -> * mut GInetAddress ; } extern "C" { pub fn g_inet_address_new_from_bytes ( bytes : * const guint8 , family : GSocketFamily ) -> * mut GInetAddress ; } extern "C" { pub fn g_inet_address_new_loopback ( family : GSocketFamily ) -> * mut GInetAddress ; } extern "C" { pub fn g_inet_address_new_any ( family : GSocketFamily ) -> * mut GInetAddress ; } extern "C" { pub fn g_inet_address_equal ( address : * mut GInetAddress , other_address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_to_string ( address : * mut GInetAddress ) -> * mut gchar ; } extern "C" { pub fn g_inet_address_to_bytes ( address : * mut GInetAddress ) -> * const guint8 ; } extern "C" { pub fn g_inet_address_get_native_size ( address : * mut GInetAddress ) -> gsize ; } extern "C" { pub fn g_inet_address_get_family ( address : * mut GInetAddress ) -> GSocketFamily ; } extern "C" { pub fn g_inet_address_get_is_any ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_loopback ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_link_local ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_site_local ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_multicast ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_mc_global ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_mc_link_local ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_mc_node_local ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_mc_org_local ( address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_get_is_mc_site_local ( address : * mut GInetAddress ) -> gboolean ; } pub type GInetAddressMaskClass = _GInetAddressMaskClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetAddressMaskPrivate { _unused : [ u8 ; 0 ] , } pub type GInetAddressMaskPrivate = _GInetAddressMaskPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetAddressMask { pub parent_instance : GObject , pub priv_ : * mut GInetAddressMaskPrivate , } # [ test ] fn bindgen_test_layout__GInetAddressMask ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInetAddressMask > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GInetAddressMask ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInetAddressMask > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInetAddressMask ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddressMask > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddressMask ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddressMask > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddressMask ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetAddressMaskClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GInetAddressMaskClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInetAddressMaskClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GInetAddressMaskClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInetAddressMaskClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInetAddressMaskClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetAddressMaskClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInetAddressMaskClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_inet_address_mask_get_type ( ) -> GType ; } extern "C" { pub fn g_inet_address_mask_new ( addr : * mut GInetAddress , length : guint , error : * mut * mut GError ) -> * mut GInetAddressMask ; } extern "C" { pub fn g_inet_address_mask_new_from_string ( mask_string : * const gchar , error : * mut * mut GError ) -> * mut GInetAddressMask ; } extern "C" { pub fn g_inet_address_mask_to_string ( mask : * mut GInetAddressMask ) -> * mut gchar ; } extern "C" { pub fn g_inet_address_mask_get_family ( mask : * mut GInetAddressMask ) -> GSocketFamily ; } extern "C" { pub fn g_inet_address_mask_get_address ( mask : * mut GInetAddressMask ) -> * mut GInetAddress ; } extern "C" { pub fn g_inet_address_mask_get_length ( mask : * mut GInetAddressMask ) -> guint ; } extern "C" { pub fn g_inet_address_mask_matches ( mask : * mut GInetAddressMask , address : * mut GInetAddress ) -> gboolean ; } extern "C" { pub fn g_inet_address_mask_equal ( mask : * mut GInetAddressMask , mask2 : * mut GInetAddressMask ) -> gboolean ; } pub type GSocketAddressClass = _GSocketAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketAddress { pub parent_instance : GObject , } # [ test ] fn bindgen_test_layout__GSocketAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketAddress > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GSocketAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketAddressClass { pub parent_class : GObjectClass , pub get_family : :: std :: option :: Option < unsafe extern "C" fn ( address : * mut GSocketAddress ) -> GSocketFamily > , pub get_native_size : :: std :: option :: Option < unsafe extern "C" fn ( address : * mut GSocketAddress ) -> gssize > , pub to_native : :: std :: option :: Option < unsafe extern "C" fn ( address : * mut GSocketAddress , dest : gpointer , destlen : gsize , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GSocketAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketAddressClass > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( _GSocketAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressClass > ( ) ) ) . get_family as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressClass ) , "::" , stringify ! ( get_family ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressClass > ( ) ) ) . get_native_size as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressClass ) , "::" , stringify ! ( get_native_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressClass > ( ) ) ) . to_native as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressClass ) , "::" , stringify ! ( to_native ) ) ) ; } extern "C" { pub fn g_socket_address_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_address_get_family ( address : * mut GSocketAddress ) -> GSocketFamily ; } extern "C" { pub fn g_socket_address_new_from_native ( native : gpointer , len : gsize ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_address_to_native ( address : * mut GSocketAddress , dest : gpointer , destlen : gsize , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_address_get_native_size ( address : * mut GSocketAddress ) -> gssize ; } pub type GInetSocketAddressClass = _GInetSocketAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetSocketAddressPrivate { _unused : [ u8 ; 0 ] , } pub type GInetSocketAddressPrivate = _GInetSocketAddressPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetSocketAddress { pub parent_instance : GSocketAddress , pub priv_ : * mut GInetSocketAddressPrivate , } # [ test ] fn bindgen_test_layout__GInetSocketAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInetSocketAddress > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GInetSocketAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInetSocketAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInetSocketAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetSocketAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInetSocketAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetSocketAddress > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GInetSocketAddress ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GInetSocketAddressClass { pub parent_class : GSocketAddressClass , } # [ test ] fn bindgen_test_layout__GInetSocketAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GInetSocketAddressClass > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( _GInetSocketAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GInetSocketAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GInetSocketAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GInetSocketAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GInetSocketAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_inet_socket_address_get_type ( ) -> GType ; } extern "C" { pub fn g_inet_socket_address_new ( address : * mut GInetAddress , port : guint16 ) -> * mut GSocketAddress ; } extern "C" { pub fn g_inet_socket_address_new_from_string ( address : * const :: std :: os :: raw :: c_char , port : guint ) -> * mut GSocketAddress ; } extern "C" { pub fn g_inet_socket_address_get_address ( address : * mut GInetSocketAddress ) -> * mut GInetAddress ; } extern "C" { pub fn g_inet_socket_address_get_port ( address : * mut GInetSocketAddress ) -> guint16 ; } extern "C" { pub fn g_inet_socket_address_get_flowinfo ( address : * mut GInetSocketAddress ) -> guint32 ; } extern "C" { pub fn g_inet_socket_address_get_scope_id ( address : * mut GInetSocketAddress ) -> guint32 ; } extern "C" { pub fn g_app_info_create_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_converter_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_converter_result_get_type ( ) -> GType ; } extern "C" { pub fn g_data_stream_byte_order_get_type ( ) -> GType ; } extern "C" { pub fn g_data_stream_newline_type_get_type ( ) -> GType ; } extern "C" { pub fn g_file_attribute_type_get_type ( ) -> GType ; } extern "C" { pub fn g_file_attribute_info_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_file_attribute_status_get_type ( ) -> GType ; } extern "C" { pub fn g_file_query_info_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_file_create_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_file_measure_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_mount_mount_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_mount_unmount_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_drive_start_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_drive_start_stop_type_get_type ( ) -> GType ; } extern "C" { pub fn g_file_copy_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_file_monitor_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_file_type_get_type ( ) -> GType ; } extern "C" { pub fn g_filesystem_preview_type_get_type ( ) -> GType ; } extern "C" { pub fn g_file_monitor_event_get_type ( ) -> GType ; } extern "C" { pub fn g_io_error_enum_get_type ( ) -> GType ; } extern "C" { pub fn g_ask_password_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_password_save_get_type ( ) -> GType ; } extern "C" { pub fn g_mount_operation_result_get_type ( ) -> GType ; } extern "C" { pub fn g_output_stream_splice_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_io_stream_splice_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_emblem_origin_get_type ( ) -> GType ; } extern "C" { pub fn g_resolver_error_get_type ( ) -> GType ; } extern "C" { pub fn g_resolver_record_type_get_type ( ) -> GType ; } extern "C" { pub fn g_resource_error_get_type ( ) -> GType ; } extern "C" { pub fn g_resource_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_resource_lookup_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_family_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_type_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_msg_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_protocol_get_type ( ) -> GType ; } extern "C" { pub fn g_zlib_compressor_format_get_type ( ) -> GType ; } extern "C" { pub fn g_unix_socket_address_type_get_type ( ) -> GType ; } extern "C" { pub fn g_bus_type_get_type ( ) -> GType ; } extern "C" { pub fn g_bus_name_owner_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_bus_name_watcher_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_proxy_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_error_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_connection_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_capability_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_call_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_message_type_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_message_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_message_header_field_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_property_info_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_subtree_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_server_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_signal_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_send_message_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_credentials_type_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_message_byte_order_get_type ( ) -> GType ; } extern "C" { pub fn g_application_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_error_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_certificate_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_authentication_mode_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_channel_binding_type_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_channel_binding_error_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_rehandshake_mode_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_password_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_interaction_result_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_interface_skeleton_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_dbus_object_manager_client_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_database_verify_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_database_lookup_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_certificate_request_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_protocol_version_get_type ( ) -> GType ; } extern "C" { pub fn g_io_module_scope_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_client_event_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_listener_event_get_type ( ) -> GType ; } extern "C" { pub fn g_test_dbus_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_subprocess_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_notification_priority_get_type ( ) -> GType ; } extern "C" { pub fn g_network_connectivity_get_type ( ) -> GType ; } extern "C" { pub fn g_pollable_return_get_type ( ) -> GType ; } extern "C" { pub fn g_memory_monitor_warning_level_get_type ( ) -> GType ; } extern "C" { pub fn g_resolver_name_lookup_flags_get_type ( ) -> GType ; } extern "C" { pub fn g_settings_bind_flags_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOModuleScope { _unused : [ u8 ; 0 ] , } pub type GIOModuleScope = _GIOModuleScope ; extern "C" { pub fn g_io_module_scope_new ( flags : GIOModuleScopeFlags ) -> * mut GIOModuleScope ; } extern "C" { pub fn g_io_module_scope_free ( scope : * mut GIOModuleScope ) ; } extern "C" { pub fn g_io_module_scope_block ( scope : * mut GIOModuleScope , basename : * const gchar ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GIOModuleClass { _unused : [ u8 ; 0 ] , } pub type GIOModuleClass = _GIOModuleClass ; extern "C" { pub fn g_io_module_get_type ( ) -> GType ; } extern "C" { pub fn g_io_module_new ( filename : * const gchar ) -> * mut GIOModule ; } extern "C" { pub fn g_io_modules_scan_all_in_directory ( dirname : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_io_modules_load_all_in_directory ( dirname : * const gchar ) -> * mut GList ; } extern "C" { pub fn g_io_modules_scan_all_in_directory_with_scope ( dirname : * const gchar , scope : * mut GIOModuleScope ) ; } extern "C" { pub fn g_io_modules_load_all_in_directory_with_scope ( dirname : * const gchar , scope : * mut GIOModuleScope ) -> * mut GList ; } extern "C" { pub fn g_io_extension_point_register ( name : * const :: std :: os :: raw :: c_char ) -> * mut GIOExtensionPoint ; } extern "C" { pub fn g_io_extension_point_lookup ( name : * const :: std :: os :: raw :: c_char ) -> * mut GIOExtensionPoint ; } extern "C" { pub fn g_io_extension_point_set_required_type ( extension_point : * mut GIOExtensionPoint , type_ : GType ) ; } extern "C" { pub fn g_io_extension_point_get_required_type ( extension_point : * mut GIOExtensionPoint ) -> GType ; } extern "C" { pub fn g_io_extension_point_get_extensions ( extension_point : * mut GIOExtensionPoint ) -> * mut GList ; } extern "C" { pub fn g_io_extension_point_get_extension_by_name ( extension_point : * mut GIOExtensionPoint , name : * const :: std :: os :: raw :: c_char ) -> * mut GIOExtension ; } extern "C" { pub fn g_io_extension_point_implement ( extension_point_name : * const :: std :: os :: raw :: c_char , type_ : GType , extension_name : * const :: std :: os :: raw :: c_char , priority : gint ) -> * mut GIOExtension ; } extern "C" { pub fn g_io_extension_get_type ( extension : * mut GIOExtension ) -> GType ; } extern "C" { pub fn g_io_extension_get_name ( extension : * mut GIOExtension ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_io_extension_get_priority ( extension : * mut GIOExtension ) -> gint ; } extern "C" { pub fn g_io_extension_ref_class ( extension : * mut GIOExtension ) -> * mut GTypeClass ; } extern "C" { pub fn g_io_module_load ( module : * mut GIOModule ) ; } extern "C" { pub fn g_io_module_unload ( module : * mut GIOModule ) ; } extern "C" { pub fn g_io_module_query ( ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_io_scheduler_push_job ( job_func : GIOSchedulerJobFunc , user_data : gpointer , notify : GDestroyNotify , io_priority : gint , cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_io_scheduler_cancel_all_jobs ( ) ; } extern "C" { pub fn g_io_scheduler_job_send_to_mainloop ( job : * mut GIOSchedulerJob , func : GSourceFunc , user_data : gpointer , notify : GDestroyNotify ) -> gboolean ; } extern "C" { pub fn g_io_scheduler_job_send_to_mainloop_async ( job : * mut GIOSchedulerJob , func : GSourceFunc , user_data : gpointer , notify : GDestroyNotify ) ; } extern "C" { pub fn g_list_model_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GListModel { _unused : [ u8 ; 0 ] , } pub type GListModel = _GListModel ; pub type GListModelInterface = _GListModelInterface ; pub type GListModel_autoptr = * mut GListModel ; pub type GListModel_listautoptr = * mut GList ; pub type GListModel_slistautoptr = * mut GSList ; pub type GListModel_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GListModelInterface { pub g_iface : GTypeInterface , pub get_item_type : :: std :: option :: Option < unsafe extern "C" fn ( list : * mut GListModel ) -> GType > , pub get_n_items : :: std :: option :: Option < unsafe extern "C" fn ( list : * mut GListModel ) -> guint > , pub get_item : :: std :: option :: Option < unsafe extern "C" fn ( list : * mut GListModel , position : guint ) -> gpointer > , } # [ test ] fn bindgen_test_layout__GListModelInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GListModelInterface > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GListModelInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GListModelInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GListModelInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GListModelInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GListModelInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GListModelInterface > ( ) ) ) . get_item_type as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GListModelInterface ) , "::" , stringify ! ( get_item_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GListModelInterface > ( ) ) ) . get_n_items as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GListModelInterface ) , "::" , stringify ! ( get_n_items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GListModelInterface > ( ) ) ) . get_item as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GListModelInterface ) , "::" , stringify ! ( get_item ) ) ) ; } extern "C" { pub fn g_list_model_get_item_type ( list : * mut GListModel ) -> GType ; } extern "C" { pub fn g_list_model_get_n_items ( list : * mut GListModel ) -> guint ; } extern "C" { pub fn g_list_model_get_item ( list : * mut GListModel , position : guint ) -> gpointer ; } extern "C" { pub fn g_list_model_get_object ( list : * mut GListModel , position : guint ) -> * mut GObject ; } extern "C" { pub fn g_list_model_items_changed ( list : * mut GListModel , position : guint , removed : guint , added : guint ) ; } extern "C" { pub fn g_list_store_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GListStore { _unused : [ u8 ; 0 ] , } pub type GListStore = _GListStore ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct GListStoreClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout_GListStoreClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < GListStoreClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( GListStoreClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < GListStoreClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( GListStoreClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < GListStoreClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( GListStoreClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type GListStore_autoptr = * mut GListStore ; pub type GListStore_listautoptr = * mut GList ; pub type GListStore_slistautoptr = * mut GSList ; pub type GListStore_queueautoptr = * mut GQueue ; pub type GListStoreClass_autoptr = * mut GListStoreClass ; pub type GListStoreClass_listautoptr = * mut GList ; pub type GListStoreClass_slistautoptr = * mut GSList ; pub type GListStoreClass_queueautoptr = * mut GQueue ; extern "C" { pub fn g_list_store_new ( item_type : GType ) -> * mut GListStore ; } extern "C" { pub fn g_list_store_insert ( store : * mut GListStore , position : guint , item : gpointer ) ; } extern "C" { pub fn g_list_store_insert_sorted ( store : * mut GListStore , item : gpointer , compare_func : GCompareDataFunc , user_data : gpointer ) -> guint ; } extern "C" { pub fn g_list_store_sort ( store : * mut GListStore , compare_func : GCompareDataFunc , user_data : gpointer ) ; } extern "C" { pub fn g_list_store_append ( store : * mut GListStore , item : gpointer ) ; } extern "C" { pub fn g_list_store_remove ( store : * mut GListStore , position : guint ) ; } extern "C" { pub fn g_list_store_remove_all ( store : * mut GListStore ) ; } extern "C" { pub fn g_list_store_splice ( store : * mut GListStore , position : guint , n_removals : guint , additions : * mut gpointer , n_additions : guint ) ; } extern "C" { pub fn g_list_store_find ( store : * mut GListStore , item : gpointer , position : * mut guint ) -> gboolean ; } extern "C" { pub fn g_list_store_find_with_equal_func ( store : * mut GListStore , item : gpointer , equal_func : GEqualFunc , position : * mut guint ) -> gboolean ; } extern "C" { pub fn g_list_store_find_with_equal_func_full ( store : * mut GListStore , item : gpointer , equal_func : GEqualFuncFull , user_data : gpointer , position : * mut guint ) -> gboolean ; } pub type GLoadableIconIface = _GLoadableIconIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GLoadableIconIface { pub g_iface : GTypeInterface , pub load : :: std :: option :: Option < unsafe extern "C" fn ( icon : * mut GLoadableIcon , size : :: std :: os :: raw :: c_int , type_ : * mut * mut :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GInputStream > , pub load_async : :: std :: option :: Option < unsafe extern "C" fn ( icon : * mut GLoadableIcon , size : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub load_finish : :: std :: option :: Option < unsafe extern "C" fn ( icon : * mut GLoadableIcon , res : * mut GAsyncResult , type_ : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GInputStream > , } # [ test ] fn bindgen_test_layout__GLoadableIconIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GLoadableIconIface > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GLoadableIconIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GLoadableIconIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GLoadableIconIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLoadableIconIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GLoadableIconIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLoadableIconIface > ( ) ) ) . load as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GLoadableIconIface ) , "::" , stringify ! ( load ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLoadableIconIface > ( ) ) ) . load_async as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GLoadableIconIface ) , "::" , stringify ! ( load_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GLoadableIconIface > ( ) ) ) . load_finish as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GLoadableIconIface ) , "::" , stringify ! ( load_finish ) ) ) ; } extern "C" { pub fn g_loadable_icon_get_type ( ) -> GType ; } extern "C" { pub fn g_loadable_icon_load ( icon : * mut GLoadableIcon , size : :: std :: os :: raw :: c_int , type_ : * mut * mut :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GInputStream ; } extern "C" { pub fn g_loadable_icon_load_async ( icon : * mut GLoadableIcon , size : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_loadable_icon_load_finish ( icon : * mut GLoadableIcon , res : * mut GAsyncResult , type_ : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> * mut GInputStream ; } pub type GMemoryInputStreamClass = _GMemoryInputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryInputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GMemoryInputStreamPrivate = _GMemoryInputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryInputStream { pub parent_instance : GInputStream , pub priv_ : * mut GMemoryInputStreamPrivate , } # [ test ] fn bindgen_test_layout__GMemoryInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMemoryInputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GMemoryInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMemoryInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMemoryInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStream > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryInputStreamClass { pub parent_class : GInputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GMemoryInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMemoryInputStreamClass > ( ) , 288usize , concat ! ( "Size of: " , stringify ! ( _GMemoryInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMemoryInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMemoryInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryInputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryInputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_memory_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_memory_input_stream_new ( ) -> * mut GInputStream ; } extern "C" { pub fn g_memory_input_stream_new_from_data ( data : * const :: std :: os :: raw :: c_void , len : gssize , destroy : GDestroyNotify ) -> * mut GInputStream ; } extern "C" { pub fn g_memory_input_stream_new_from_bytes ( bytes : * mut GBytes ) -> * mut GInputStream ; } extern "C" { pub fn g_memory_input_stream_add_data ( stream : * mut GMemoryInputStream , data : * const :: std :: os :: raw :: c_void , len : gssize , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_memory_input_stream_add_bytes ( stream : * mut GMemoryInputStream , bytes : * mut GBytes ) ; } extern "C" { pub fn g_memory_monitor_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryMonitor { _unused : [ u8 ; 0 ] , } pub type GMemoryMonitor = _GMemoryMonitor ; pub type GMemoryMonitorInterface = _GMemoryMonitorInterface ; pub type GMemoryMonitor_autoptr = * mut GMemoryMonitor ; pub type GMemoryMonitor_listautoptr = * mut GList ; pub type GMemoryMonitor_slistautoptr = * mut GSList ; pub type GMemoryMonitor_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryMonitorInterface { pub g_iface : GTypeInterface , pub low_memory_warning : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GMemoryMonitor , level : GMemoryMonitorWarningLevel ) > , } # [ test ] fn bindgen_test_layout__GMemoryMonitorInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMemoryMonitorInterface > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GMemoryMonitorInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMemoryMonitorInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMemoryMonitorInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryMonitorInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryMonitorInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryMonitorInterface > ( ) ) ) . low_memory_warning as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryMonitorInterface ) , "::" , stringify ! ( low_memory_warning ) ) ) ; } extern "C" { pub fn g_memory_monitor_dup_default ( ) -> * mut GMemoryMonitor ; } pub type GMemoryOutputStreamClass = _GMemoryOutputStreamClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryOutputStreamPrivate { _unused : [ u8 ; 0 ] , } pub type GMemoryOutputStreamPrivate = _GMemoryOutputStreamPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryOutputStream { pub parent_instance : GOutputStream , pub priv_ : * mut GMemoryOutputStreamPrivate , } # [ test ] fn bindgen_test_layout__GMemoryOutputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMemoryOutputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GMemoryOutputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMemoryOutputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMemoryOutputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStream > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStream ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMemoryOutputStreamClass { pub parent_class : GOutputStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GMemoryOutputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMemoryOutputStreamClass > ( ) , 336usize , concat ! ( "Size of: " , stringify ! ( _GMemoryOutputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMemoryOutputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMemoryOutputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStreamClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStreamClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStreamClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStreamClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStreamClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStreamClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStreamClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStreamClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMemoryOutputStreamClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GMemoryOutputStreamClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } pub type GReallocFunc = :: std :: option :: Option < unsafe extern "C" fn ( data : gpointer , size : gsize ) -> gpointer > ; extern "C" { pub fn g_memory_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_memory_output_stream_new ( data : gpointer , size : gsize , realloc_function : GReallocFunc , destroy_function : GDestroyNotify ) -> * mut GOutputStream ; } extern "C" { pub fn g_memory_output_stream_new_resizable ( ) -> * mut GOutputStream ; } extern "C" { pub fn g_memory_output_stream_get_data ( ostream : * mut GMemoryOutputStream ) -> gpointer ; } extern "C" { pub fn g_memory_output_stream_get_size ( ostream : * mut GMemoryOutputStream ) -> gsize ; } extern "C" { pub fn g_memory_output_stream_get_data_size ( ostream : * mut GMemoryOutputStream ) -> gsize ; } extern "C" { pub fn g_memory_output_stream_steal_data ( ostream : * mut GMemoryOutputStream ) -> gpointer ; } extern "C" { pub fn g_memory_output_stream_steal_as_bytes ( ostream : * mut GMemoryOutputStream ) -> * mut GBytes ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuModelPrivate { _unused : [ u8 ; 0 ] , } pub type GMenuModelPrivate = _GMenuModelPrivate ; pub type GMenuModelClass = _GMenuModelClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuAttributeIterPrivate { _unused : [ u8 ; 0 ] , } pub type GMenuAttributeIterPrivate = _GMenuAttributeIterPrivate ; pub type GMenuAttributeIterClass = _GMenuAttributeIterClass ; pub type GMenuAttributeIter = _GMenuAttributeIter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuLinkIterPrivate { _unused : [ u8 ; 0 ] , } pub type GMenuLinkIterPrivate = _GMenuLinkIterPrivate ; pub type GMenuLinkIterClass = _GMenuLinkIterClass ; pub type GMenuLinkIter = _GMenuLinkIter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuModel { pub parent_instance : GObject , pub priv_ : * mut GMenuModelPrivate , } # [ test ] fn bindgen_test_layout__GMenuModel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMenuModel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GMenuModel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMenuModel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMenuModel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModel > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModel ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModel > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModel ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuModelClass { pub parent_class : GObjectClass , pub is_mutable : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel ) -> gboolean > , pub get_n_items : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel ) -> gint > , pub get_item_attributes : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel , item_index : gint , attributes : * mut * mut GHashTable ) > , pub iterate_item_attributes : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel , item_index : gint ) -> * mut GMenuAttributeIter > , pub get_item_attribute_value : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel , item_index : gint , attribute : * const gchar , expected_type : * const GVariantType ) -> * mut GVariant > , pub get_item_links : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel , item_index : gint , links : * mut * mut GHashTable ) > , pub iterate_item_links : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel , item_index : gint ) -> * mut GMenuLinkIter > , pub get_item_link : :: std :: option :: Option < unsafe extern "C" fn ( model : * mut GMenuModel , item_index : gint , link : * const gchar ) -> * mut GMenuModel > , } # [ test ] fn bindgen_test_layout__GMenuModelClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMenuModelClass > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( _GMenuModelClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMenuModelClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMenuModelClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . is_mutable as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( is_mutable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . get_n_items as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( get_n_items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . get_item_attributes as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( get_item_attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . iterate_item_attributes as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( iterate_item_attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . get_item_attribute_value as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( get_item_attribute_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . get_item_links as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( get_item_links ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . iterate_item_links as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( iterate_item_links ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuModelClass > ( ) ) ) . get_item_link as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuModelClass ) , "::" , stringify ! ( get_item_link ) ) ) ; } extern "C" { pub fn g_menu_model_get_type ( ) -> GType ; } extern "C" { pub fn g_menu_model_is_mutable ( model : * mut GMenuModel ) -> gboolean ; } extern "C" { pub fn g_menu_model_get_n_items ( model : * mut GMenuModel ) -> gint ; } extern "C" { pub fn g_menu_model_iterate_item_attributes ( model : * mut GMenuModel , item_index : gint ) -> * mut GMenuAttributeIter ; } extern "C" { pub fn g_menu_model_get_item_attribute_value ( model : * mut GMenuModel , item_index : gint , attribute : * const gchar , expected_type : * const GVariantType ) -> * mut GVariant ; } extern "C" { pub fn g_menu_model_get_item_attribute ( model : * mut GMenuModel , item_index : gint , attribute : * const gchar , format_string : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_menu_model_iterate_item_links ( model : * mut GMenuModel , item_index : gint ) -> * mut GMenuLinkIter ; } extern "C" { pub fn g_menu_model_get_item_link ( model : * mut GMenuModel , item_index : gint , link : * const gchar ) -> * mut GMenuModel ; } extern "C" { pub fn g_menu_model_items_changed ( model : * mut GMenuModel , position : gint , removed : gint , added : gint ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuAttributeIter { pub parent_instance : GObject , pub priv_ : * mut GMenuAttributeIterPrivate , } # [ test ] fn bindgen_test_layout__GMenuAttributeIter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMenuAttributeIter > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GMenuAttributeIter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMenuAttributeIter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMenuAttributeIter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuAttributeIter > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuAttributeIter ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuAttributeIter > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuAttributeIter ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuAttributeIterClass { pub parent_class : GObjectClass , pub get_next : :: std :: option :: Option < unsafe extern "C" fn ( iter : * mut GMenuAttributeIter , out_name : * mut * const gchar , value : * mut * mut GVariant ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GMenuAttributeIterClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMenuAttributeIterClass > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( _GMenuAttributeIterClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMenuAttributeIterClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMenuAttributeIterClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuAttributeIterClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuAttributeIterClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuAttributeIterClass > ( ) ) ) . get_next as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuAttributeIterClass ) , "::" , stringify ! ( get_next ) ) ) ; } extern "C" { pub fn g_menu_attribute_iter_get_type ( ) -> GType ; } extern "C" { pub fn g_menu_attribute_iter_get_next ( iter : * mut GMenuAttributeIter , out_name : * mut * const gchar , value : * mut * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_menu_attribute_iter_next ( iter : * mut GMenuAttributeIter ) -> gboolean ; } extern "C" { pub fn g_menu_attribute_iter_get_name ( iter : * mut GMenuAttributeIter ) -> * const gchar ; } extern "C" { pub fn g_menu_attribute_iter_get_value ( iter : * mut GMenuAttributeIter ) -> * mut GVariant ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuLinkIter { pub parent_instance : GObject , pub priv_ : * mut GMenuLinkIterPrivate , } # [ test ] fn bindgen_test_layout__GMenuLinkIter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMenuLinkIter > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GMenuLinkIter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMenuLinkIter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMenuLinkIter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuLinkIter > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuLinkIter ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuLinkIter > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuLinkIter ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuLinkIterClass { pub parent_class : GObjectClass , pub get_next : :: std :: option :: Option < unsafe extern "C" fn ( iter : * mut GMenuLinkIter , out_link : * mut * const gchar , value : * mut * mut GMenuModel ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GMenuLinkIterClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMenuLinkIterClass > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( _GMenuLinkIterClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMenuLinkIterClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMenuLinkIterClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuLinkIterClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuLinkIterClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMenuLinkIterClass > ( ) ) ) . get_next as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GMenuLinkIterClass ) , "::" , stringify ! ( get_next ) ) ) ; } extern "C" { pub fn g_menu_link_iter_get_type ( ) -> GType ; } extern "C" { pub fn g_menu_link_iter_get_next ( iter : * mut GMenuLinkIter , out_link : * mut * const gchar , value : * mut * mut GMenuModel ) -> gboolean ; } extern "C" { pub fn g_menu_link_iter_next ( iter : * mut GMenuLinkIter ) -> gboolean ; } extern "C" { pub fn g_menu_link_iter_get_name ( iter : * mut GMenuLinkIter ) -> * const gchar ; } extern "C" { pub fn g_menu_link_iter_get_value ( iter : * mut GMenuLinkIter ) -> * mut GMenuModel ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenuItem { _unused : [ u8 ; 0 ] , } pub type GMenuItem = _GMenuItem ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMenu { _unused : [ u8 ; 0 ] , } pub type GMenu = _GMenu ; extern "C" { pub fn g_menu_get_type ( ) -> GType ; } extern "C" { pub fn g_menu_new ( ) -> * mut GMenu ; } extern "C" { pub fn g_menu_freeze ( menu : * mut GMenu ) ; } extern "C" { pub fn g_menu_insert_item ( menu : * mut GMenu , position : gint , item : * mut GMenuItem ) ; } extern "C" { pub fn g_menu_prepend_item ( menu : * mut GMenu , item : * mut GMenuItem ) ; } extern "C" { pub fn g_menu_append_item ( menu : * mut GMenu , item : * mut GMenuItem ) ; } extern "C" { pub fn g_menu_remove ( menu : * mut GMenu , position : gint ) ; } extern "C" { pub fn g_menu_remove_all ( menu : * mut GMenu ) ; } extern "C" { pub fn g_menu_insert ( menu : * mut GMenu , position : gint , label : * const gchar , detailed_action : * const gchar ) ; } extern "C" { pub fn g_menu_prepend ( menu : * mut GMenu , label : * const gchar , detailed_action : * const gchar ) ; } extern "C" { pub fn g_menu_append ( menu : * mut GMenu , label : * const gchar , detailed_action : * const gchar ) ; } extern "C" { pub fn g_menu_insert_section ( menu : * mut GMenu , position : gint , label : * const gchar , section : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_prepend_section ( menu : * mut GMenu , label : * const gchar , section : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_append_section ( menu : * mut GMenu , label : * const gchar , section : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_insert_submenu ( menu : * mut GMenu , position : gint , label : * const gchar , submenu : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_prepend_submenu ( menu : * mut GMenu , label : * const gchar , submenu : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_append_submenu ( menu : * mut GMenu , label : * const gchar , submenu : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_item_get_type ( ) -> GType ; } extern "C" { pub fn g_menu_item_new ( label : * const gchar , detailed_action : * const gchar ) -> * mut GMenuItem ; } extern "C" { pub fn g_menu_item_new_from_model ( model : * mut GMenuModel , item_index : gint ) -> * mut GMenuItem ; } extern "C" { pub fn g_menu_item_new_submenu ( label : * const gchar , submenu : * mut GMenuModel ) -> * mut GMenuItem ; } extern "C" { pub fn g_menu_item_new_section ( label : * const gchar , section : * mut GMenuModel ) -> * mut GMenuItem ; } extern "C" { pub fn g_menu_item_get_attribute_value ( menu_item : * mut GMenuItem , attribute : * const gchar , expected_type : * const GVariantType ) -> * mut GVariant ; } extern "C" { pub fn g_menu_item_get_attribute ( menu_item : * mut GMenuItem , attribute : * const gchar , format_string : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_menu_item_get_link ( menu_item : * mut GMenuItem , link : * const gchar ) -> * mut GMenuModel ; } extern "C" { pub fn g_menu_item_set_attribute_value ( menu_item : * mut GMenuItem , attribute : * const gchar , value : * mut GVariant ) ; } extern "C" { pub fn g_menu_item_set_attribute ( menu_item : * mut GMenuItem , attribute : * const gchar , format_string : * const gchar , ... ) ; } extern "C" { pub fn g_menu_item_set_link ( menu_item : * mut GMenuItem , link : * const gchar , model : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_item_set_label ( menu_item : * mut GMenuItem , label : * const gchar ) ; } extern "C" { pub fn g_menu_item_set_submenu ( menu_item : * mut GMenuItem , submenu : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_item_set_section ( menu_item : * mut GMenuItem , section : * mut GMenuModel ) ; } extern "C" { pub fn g_menu_item_set_action_and_target_value ( menu_item : * mut GMenuItem , action : * const gchar , target_value : * mut GVariant ) ; } extern "C" { pub fn g_menu_item_set_action_and_target ( menu_item : * mut GMenuItem , action : * const gchar , format_string : * const gchar , ... ) ; } extern "C" { pub fn g_menu_item_set_detailed_action ( menu_item : * mut GMenuItem , detailed_action : * const gchar ) ; } extern "C" { pub fn g_menu_item_set_icon ( menu_item : * mut GMenuItem , icon : * mut GIcon ) ; } extern "C" { pub fn g_dbus_connection_export_menu_model ( connection : * mut GDBusConnection , object_path : * const gchar , menu : * mut GMenuModel , error : * mut * mut GError ) -> guint ; } extern "C" { pub fn g_dbus_connection_unexport_menu_model ( connection : * mut GDBusConnection , export_id : guint ) ; } pub type GMountIface = _GMountIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMountIface { pub g_iface : GTypeInterface , pub changed : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) > , pub unmounted : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) > , pub get_root : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut GFile > , pub get_name : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut :: std :: os :: raw :: c_char > , pub get_icon : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut GIcon > , pub get_uuid : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut :: std :: os :: raw :: c_char > , pub get_volume : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut GVolume > , pub get_drive : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut GDrive > , pub can_unmount : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> gboolean > , pub can_eject : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> gboolean > , pub unmount : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub unmount_finish : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub eject : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_finish : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub remount : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub remount_finish : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub guess_content_type : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , force_rescan : gboolean , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub guess_content_type_finish : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut * mut gchar > , pub guess_content_type_sync : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , force_rescan : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut * mut gchar > , pub pre_unmount : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) > , pub unmount_with_operation : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub unmount_with_operation_finish : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub eject_with_operation : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_with_operation_finish : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub get_default_location : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut GFile > , pub get_sort_key : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * const gchar > , pub get_symbolic_icon : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount ) -> * mut GIcon > , } # [ test ] fn bindgen_test_layout__GMountIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMountIface > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( _GMountIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMountIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMountIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . changed as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . unmounted as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( unmounted ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_root as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_root ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_name as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_icon as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_icon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_uuid as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_uuid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_volume as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_volume ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_drive as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_drive ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . can_unmount as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( can_unmount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . can_eject as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( can_eject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . unmount as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( unmount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . unmount_finish as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( unmount_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . eject as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( eject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . eject_finish as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( eject_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . remount as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( remount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . remount_finish as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( remount_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . guess_content_type as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( guess_content_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . guess_content_type_finish as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( guess_content_type_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . guess_content_type_sync as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( guess_content_type_sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . pre_unmount as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( pre_unmount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . unmount_with_operation as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( unmount_with_operation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . unmount_with_operation_finish as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( unmount_with_operation_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . eject_with_operation as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( eject_with_operation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . eject_with_operation_finish as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( eject_with_operation_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_default_location as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_default_location ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_sort_key as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_sort_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountIface > ( ) ) ) . get_symbolic_icon as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GMountIface ) , "::" , stringify ! ( get_symbolic_icon ) ) ) ; } extern "C" { pub fn g_mount_get_type ( ) -> GType ; } extern "C" { pub fn g_mount_get_root ( mount : * mut GMount ) -> * mut GFile ; } extern "C" { pub fn g_mount_get_default_location ( mount : * mut GMount ) -> * mut GFile ; } extern "C" { pub fn g_mount_get_name ( mount : * mut GMount ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_mount_get_icon ( mount : * mut GMount ) -> * mut GIcon ; } extern "C" { pub fn g_mount_get_symbolic_icon ( mount : * mut GMount ) -> * mut GIcon ; } extern "C" { pub fn g_mount_get_uuid ( mount : * mut GMount ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_mount_get_volume ( mount : * mut GMount ) -> * mut GVolume ; } extern "C" { pub fn g_mount_get_drive ( mount : * mut GMount ) -> * mut GDrive ; } extern "C" { pub fn g_mount_can_unmount ( mount : * mut GMount ) -> gboolean ; } extern "C" { pub fn g_mount_can_eject ( mount : * mut GMount ) -> gboolean ; } extern "C" { pub fn g_mount_unmount ( mount : * mut GMount , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_mount_unmount_finish ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_mount_eject ( mount : * mut GMount , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_mount_eject_finish ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_mount_remount ( mount : * mut GMount , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_mount_remount_finish ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_mount_guess_content_type ( mount : * mut GMount , force_rescan : gboolean , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_mount_guess_content_type_finish ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_mount_guess_content_type_sync ( mount : * mut GMount , force_rescan : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_mount_is_shadowed ( mount : * mut GMount ) -> gboolean ; } extern "C" { pub fn g_mount_shadow ( mount : * mut GMount ) ; } extern "C" { pub fn g_mount_unshadow ( mount : * mut GMount ) ; } extern "C" { pub fn g_mount_unmount_with_operation ( mount : * mut GMount , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_mount_unmount_with_operation_finish ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_mount_eject_with_operation ( mount : * mut GMount , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_mount_eject_with_operation_finish ( mount : * mut GMount , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_mount_get_sort_key ( mount : * mut GMount ) -> * const gchar ; } pub type GMountOperationClass = _GMountOperationClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMountOperationPrivate { _unused : [ u8 ; 0 ] , } pub type GMountOperationPrivate = _GMountOperationPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMountOperation { pub parent_instance : GObject , pub priv_ : * mut GMountOperationPrivate , } # [ test ] fn bindgen_test_layout__GMountOperation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMountOperation > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GMountOperation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMountOperation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMountOperation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperation > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperation ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperation > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperation ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GMountOperationClass { pub parent_class : GObjectClass , pub ask_password : :: std :: option :: Option < unsafe extern "C" fn ( op : * mut GMountOperation , message : * const :: std :: os :: raw :: c_char , default_user : * const :: std :: os :: raw :: c_char , default_domain : * const :: std :: os :: raw :: c_char , flags : GAskPasswordFlags ) > , pub ask_question : :: std :: option :: Option < unsafe extern "C" fn ( op : * mut GMountOperation , message : * const :: std :: os :: raw :: c_char , choices : * mut * const :: std :: os :: raw :: c_char ) > , pub reply : :: std :: option :: Option < unsafe extern "C" fn ( op : * mut GMountOperation , result : GMountOperationResult ) > , pub aborted : :: std :: option :: Option < unsafe extern "C" fn ( op : * mut GMountOperation ) > , pub show_processes : :: std :: option :: Option < unsafe extern "C" fn ( op : * mut GMountOperation , message : * const gchar , processes : * mut GArray , choices : * mut * const gchar ) > , pub show_unmount_progress : :: std :: option :: Option < unsafe extern "C" fn ( op : * mut GMountOperation , message : * const gchar , time_left : gint64 , bytes_left : gint64 ) > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved7 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved8 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved9 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GMountOperationClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GMountOperationClass > ( ) , 256usize , concat ! ( "Size of: " , stringify ! ( _GMountOperationClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GMountOperationClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GMountOperationClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . ask_password as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( ask_password ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . ask_question as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( ask_question ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . reply as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( reply ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . aborted as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( aborted ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . show_processes as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( show_processes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . show_unmount_progress as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( show_unmount_progress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved7 as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved7 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved8 as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved8 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GMountOperationClass > ( ) ) ) . _g_reserved9 as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GMountOperationClass ) , "::" , stringify ! ( _g_reserved9 ) ) ) ; } extern "C" { pub fn g_mount_operation_get_type ( ) -> GType ; } extern "C" { pub fn g_mount_operation_new ( ) -> * mut GMountOperation ; } extern "C" { pub fn g_mount_operation_get_username ( op : * mut GMountOperation ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_mount_operation_set_username ( op : * mut GMountOperation , username : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_mount_operation_get_password ( op : * mut GMountOperation ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_mount_operation_set_password ( op : * mut GMountOperation , password : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_mount_operation_get_anonymous ( op : * mut GMountOperation ) -> gboolean ; } extern "C" { pub fn g_mount_operation_set_anonymous ( op : * mut GMountOperation , anonymous : gboolean ) ; } extern "C" { pub fn g_mount_operation_get_domain ( op : * mut GMountOperation ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_mount_operation_set_domain ( op : * mut GMountOperation , domain : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_mount_operation_get_password_save ( op : * mut GMountOperation ) -> GPasswordSave ; } extern "C" { pub fn g_mount_operation_set_password_save ( op : * mut GMountOperation , save : GPasswordSave ) ; } extern "C" { pub fn g_mount_operation_get_choice ( op : * mut GMountOperation ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_mount_operation_set_choice ( op : * mut GMountOperation , choice : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn g_mount_operation_reply ( op : * mut GMountOperation , result : GMountOperationResult ) ; } extern "C" { pub fn g_mount_operation_get_is_tcrypt_hidden_volume ( op : * mut GMountOperation ) -> gboolean ; } extern "C" { pub fn g_mount_operation_set_is_tcrypt_hidden_volume ( op : * mut GMountOperation , hidden_volume : gboolean ) ; } extern "C" { pub fn g_mount_operation_get_is_tcrypt_system_volume ( op : * mut GMountOperation ) -> gboolean ; } extern "C" { pub fn g_mount_operation_set_is_tcrypt_system_volume ( op : * mut GMountOperation , system_volume : gboolean ) ; } extern "C" { pub fn g_mount_operation_get_pim ( op : * mut GMountOperation ) -> guint ; } extern "C" { pub fn g_mount_operation_set_pim ( op : * mut GMountOperation , pim : guint ) ; } pub type GNativeSocketAddressClass = _GNativeSocketAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNativeSocketAddressPrivate { _unused : [ u8 ; 0 ] , } pub type GNativeSocketAddressPrivate = _GNativeSocketAddressPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNativeSocketAddress { pub parent_instance : GSocketAddress , pub priv_ : * mut GNativeSocketAddressPrivate , } # [ test ] fn bindgen_test_layout__GNativeSocketAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNativeSocketAddress > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GNativeSocketAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNativeSocketAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNativeSocketAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNativeSocketAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNativeSocketAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNativeSocketAddress > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GNativeSocketAddress ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNativeSocketAddressClass { pub parent_class : GSocketAddressClass , } # [ test ] fn bindgen_test_layout__GNativeSocketAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNativeSocketAddressClass > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( _GNativeSocketAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNativeSocketAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNativeSocketAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNativeSocketAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNativeSocketAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_native_socket_address_get_type ( ) -> GType ; } extern "C" { pub fn g_native_socket_address_new ( native : gpointer , len : gsize ) -> * mut GSocketAddress ; } pub type GVolumeMonitorClass = _GVolumeMonitorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVolumeMonitor { pub parent_instance : GObject , pub priv_ : gpointer , } # [ test ] fn bindgen_test_layout__GVolumeMonitor ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVolumeMonitor > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GVolumeMonitor ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVolumeMonitor > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVolumeMonitor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitor > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitor ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitor > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitor ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVolumeMonitorClass { pub parent_class : GObjectClass , pub volume_added : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , volume : * mut GVolume ) > , pub volume_removed : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , volume : * mut GVolume ) > , pub volume_changed : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , volume : * mut GVolume ) > , pub mount_added : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , mount : * mut GMount ) > , pub mount_removed : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , mount : * mut GMount ) > , pub mount_pre_unmount : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , mount : * mut GMount ) > , pub mount_changed : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , mount : * mut GMount ) > , pub drive_connected : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , drive : * mut GDrive ) > , pub drive_disconnected : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , drive : * mut GDrive ) > , pub drive_changed : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , drive : * mut GDrive ) > , pub is_supported : :: std :: option :: Option < unsafe extern "C" fn ( ) -> gboolean > , pub get_connected_drives : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor ) -> * mut GList > , pub get_volumes : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor ) -> * mut GList > , pub get_mounts : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor ) -> * mut GList > , pub get_volume_for_uuid : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , uuid : * const :: std :: os :: raw :: c_char ) -> * mut GVolume > , pub get_mount_for_uuid : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , uuid : * const :: std :: os :: raw :: c_char ) -> * mut GMount > , pub adopt_orphan_mount : :: std :: option :: Option < unsafe extern "C" fn ( mount : * mut GMount , volume_monitor : * mut GVolumeMonitor ) -> * mut GVolume > , pub drive_eject_button : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , drive : * mut GDrive ) > , pub drive_stop_button : :: std :: option :: Option < unsafe extern "C" fn ( volume_monitor : * mut GVolumeMonitor , drive : * mut GDrive ) > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GVolumeMonitorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVolumeMonitorClass > ( ) , 336usize , concat ! ( "Size of: " , stringify ! ( _GVolumeMonitorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVolumeMonitorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVolumeMonitorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . volume_added as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( volume_added ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . volume_removed as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( volume_removed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . volume_changed as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( volume_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . mount_added as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( mount_added ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . mount_removed as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( mount_removed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . mount_pre_unmount as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( mount_pre_unmount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . mount_changed as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( mount_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . drive_connected as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( drive_connected ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . drive_disconnected as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( drive_disconnected ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . drive_changed as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( drive_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . is_supported as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( is_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . get_connected_drives as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( get_connected_drives ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . get_volumes as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( get_volumes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . get_mounts as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( get_mounts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . get_volume_for_uuid as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( get_volume_for_uuid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . get_mount_for_uuid as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( get_mount_for_uuid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . adopt_orphan_mount as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( adopt_orphan_mount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . drive_eject_button as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( drive_eject_button ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . drive_stop_button as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( drive_stop_button ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeMonitorClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeMonitorClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; } extern "C" { pub fn g_volume_monitor_get_type ( ) -> GType ; } extern "C" { pub fn g_volume_monitor_get ( ) -> * mut GVolumeMonitor ; } extern "C" { pub fn g_volume_monitor_get_connected_drives ( volume_monitor : * mut GVolumeMonitor ) -> * mut GList ; } extern "C" { pub fn g_volume_monitor_get_volumes ( volume_monitor : * mut GVolumeMonitor ) -> * mut GList ; } extern "C" { pub fn g_volume_monitor_get_mounts ( volume_monitor : * mut GVolumeMonitor ) -> * mut GList ; } extern "C" { pub fn g_volume_monitor_get_volume_for_uuid ( volume_monitor : * mut GVolumeMonitor , uuid : * const :: std :: os :: raw :: c_char ) -> * mut GVolume ; } extern "C" { pub fn g_volume_monitor_get_mount_for_uuid ( volume_monitor : * mut GVolumeMonitor , uuid : * const :: std :: os :: raw :: c_char ) -> * mut GMount ; } extern "C" { pub fn g_volume_monitor_adopt_orphan_mount ( mount : * mut GMount ) -> * mut GVolume ; } pub type GNativeVolumeMonitor = _GNativeVolumeMonitor ; pub type GNativeVolumeMonitorClass = _GNativeVolumeMonitorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNativeVolumeMonitor { pub parent_instance : GVolumeMonitor , } # [ test ] fn bindgen_test_layout__GNativeVolumeMonitor ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNativeVolumeMonitor > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GNativeVolumeMonitor ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNativeVolumeMonitor > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNativeVolumeMonitor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNativeVolumeMonitor > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNativeVolumeMonitor ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNativeVolumeMonitorClass { pub parent_class : GVolumeMonitorClass , pub get_mount_for_mount_path : :: std :: option :: Option < unsafe extern "C" fn ( mount_path : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable ) -> * mut GMount > , } # [ test ] fn bindgen_test_layout__GNativeVolumeMonitorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNativeVolumeMonitorClass > ( ) , 344usize , concat ! ( "Size of: " , stringify ! ( _GNativeVolumeMonitorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNativeVolumeMonitorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNativeVolumeMonitorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNativeVolumeMonitorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNativeVolumeMonitorClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNativeVolumeMonitorClass > ( ) ) ) . get_mount_for_mount_path as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _GNativeVolumeMonitorClass ) , "::" , stringify ! ( get_mount_for_mount_path ) ) ) ; } extern "C" { pub fn g_native_volume_monitor_get_type ( ) -> GType ; } pub type GNetworkAddressClass = _GNetworkAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkAddressPrivate { _unused : [ u8 ; 0 ] , } pub type GNetworkAddressPrivate = _GNetworkAddressPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkAddress { pub parent_instance : GObject , pub priv_ : * mut GNetworkAddressPrivate , } # [ test ] fn bindgen_test_layout__GNetworkAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNetworkAddress > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GNetworkAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNetworkAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNetworkAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkAddress > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkAddress ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkAddressClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GNetworkAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNetworkAddressClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GNetworkAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNetworkAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNetworkAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_network_address_get_type ( ) -> GType ; } extern "C" { pub fn g_network_address_new ( hostname : * const gchar , port : guint16 ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_network_address_new_loopback ( port : guint16 ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_network_address_parse ( host_and_port : * const gchar , default_port : guint16 , error : * mut * mut GError ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_network_address_parse_uri ( uri : * const gchar , default_port : guint16 , error : * mut * mut GError ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_network_address_get_hostname ( addr : * mut GNetworkAddress ) -> * const gchar ; } extern "C" { pub fn g_network_address_get_port ( addr : * mut GNetworkAddress ) -> guint16 ; } extern "C" { pub fn g_network_address_get_scheme ( addr : * mut GNetworkAddress ) -> * const gchar ; } pub type GNetworkMonitorInterface = _GNetworkMonitorInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkMonitorInterface { pub g_iface : GTypeInterface , pub network_changed : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GNetworkMonitor , network_available : gboolean ) > , pub can_reach : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GNetworkMonitor , connectable : * mut GSocketConnectable , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub can_reach_async : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GNetworkMonitor , connectable : * mut GSocketConnectable , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub can_reach_finish : :: std :: option :: Option < unsafe extern "C" fn ( monitor : * mut GNetworkMonitor , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GNetworkMonitorInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNetworkMonitorInterface > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GNetworkMonitorInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNetworkMonitorInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNetworkMonitorInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkMonitorInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkMonitorInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkMonitorInterface > ( ) ) ) . network_changed as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkMonitorInterface ) , "::" , stringify ! ( network_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkMonitorInterface > ( ) ) ) . can_reach as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkMonitorInterface ) , "::" , stringify ! ( can_reach ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkMonitorInterface > ( ) ) ) . can_reach_async as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkMonitorInterface ) , "::" , stringify ! ( can_reach_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkMonitorInterface > ( ) ) ) . can_reach_finish as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkMonitorInterface ) , "::" , stringify ! ( can_reach_finish ) ) ) ; } extern "C" { pub fn g_network_monitor_get_type ( ) -> GType ; } extern "C" { pub fn g_network_monitor_get_default ( ) -> * mut GNetworkMonitor ; } extern "C" { pub fn g_network_monitor_get_network_available ( monitor : * mut GNetworkMonitor ) -> gboolean ; } extern "C" { pub fn g_network_monitor_get_network_metered ( monitor : * mut GNetworkMonitor ) -> gboolean ; } extern "C" { pub fn g_network_monitor_get_connectivity ( monitor : * mut GNetworkMonitor ) -> GNetworkConnectivity ; } extern "C" { pub fn g_network_monitor_can_reach ( monitor : * mut GNetworkMonitor , connectable : * mut GSocketConnectable , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_network_monitor_can_reach_async ( monitor : * mut GNetworkMonitor , connectable : * mut GSocketConnectable , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_network_monitor_can_reach_finish ( monitor : * mut GNetworkMonitor , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } pub type GNetworkServiceClass = _GNetworkServiceClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkServicePrivate { _unused : [ u8 ; 0 ] , } pub type GNetworkServicePrivate = _GNetworkServicePrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkService { pub parent_instance : GObject , pub priv_ : * mut GNetworkServicePrivate , } # [ test ] fn bindgen_test_layout__GNetworkService ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNetworkService > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GNetworkService ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNetworkService > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNetworkService ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkService > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkService ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkService > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkService ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GNetworkServiceClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GNetworkServiceClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GNetworkServiceClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GNetworkServiceClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GNetworkServiceClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GNetworkServiceClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GNetworkServiceClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GNetworkServiceClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_network_service_get_type ( ) -> GType ; } extern "C" { pub fn g_network_service_new ( service : * const gchar , protocol : * const gchar , domain : * const gchar ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_network_service_get_service ( srv : * mut GNetworkService ) -> * const gchar ; } extern "C" { pub fn g_network_service_get_protocol ( srv : * mut GNetworkService ) -> * const gchar ; } extern "C" { pub fn g_network_service_get_domain ( srv : * mut GNetworkService ) -> * const gchar ; } extern "C" { pub fn g_network_service_get_scheme ( srv : * mut GNetworkService ) -> * const gchar ; } extern "C" { pub fn g_network_service_set_scheme ( srv : * mut GNetworkService , scheme : * const gchar ) ; } extern "C" { pub fn g_notification_get_type ( ) -> GType ; } extern "C" { pub fn g_notification_new ( title : * const gchar ) -> * mut GNotification ; } extern "C" { pub fn g_notification_set_title ( notification : * mut GNotification , title : * const gchar ) ; } extern "C" { pub fn g_notification_set_body ( notification : * mut GNotification , body : * const gchar ) ; } extern "C" { pub fn g_notification_set_icon ( notification : * mut GNotification , icon : * mut GIcon ) ; } extern "C" { pub fn g_notification_set_urgent ( notification : * mut GNotification , urgent : gboolean ) ; } extern "C" { pub fn g_notification_set_priority ( notification : * mut GNotification , priority : GNotificationPriority ) ; } extern "C" { pub fn g_notification_set_category ( notification : * mut GNotification , category : * const gchar ) ; } extern "C" { pub fn g_notification_add_button ( notification : * mut GNotification , label : * const gchar , detailed_action : * const gchar ) ; } extern "C" { pub fn g_notification_add_button_with_target ( notification : * mut GNotification , label : * const gchar , action : * const gchar , target_format : * const gchar , ... ) ; } extern "C" { pub fn g_notification_add_button_with_target_value ( notification : * mut GNotification , label : * const gchar , action : * const gchar , target : * mut GVariant ) ; } extern "C" { pub fn g_notification_set_default_action ( notification : * mut GNotification , detailed_action : * const gchar ) ; } extern "C" { pub fn g_notification_set_default_action_and_target ( notification : * mut GNotification , action : * const gchar , target_format : * const gchar , ... ) ; } extern "C" { pub fn g_notification_set_default_action_and_target_value ( notification : * mut GNotification , action : * const gchar , target : * mut GVariant ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPermissionPrivate { _unused : [ u8 ; 0 ] , } pub type GPermissionPrivate = _GPermissionPrivate ; pub type GPermissionClass = _GPermissionClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPermission { pub parent_instance : GObject , pub priv_ : * mut GPermissionPrivate , } # [ test ] fn bindgen_test_layout__GPermission ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPermission > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GPermission ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPermission > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPermission ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermission > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPermission ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermission > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GPermission ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPermissionClass { pub parent_class : GObjectClass , pub acquire : :: std :: option :: Option < unsafe extern "C" fn ( permission : * mut GPermission , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub acquire_async : :: std :: option :: Option < unsafe extern "C" fn ( permission : * mut GPermission , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub acquire_finish : :: std :: option :: Option < unsafe extern "C" fn ( permission : * mut GPermission , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub release : :: std :: option :: Option < unsafe extern "C" fn ( permission : * mut GPermission , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub release_async : :: std :: option :: Option < unsafe extern "C" fn ( permission : * mut GPermission , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub release_finish : :: std :: option :: Option < unsafe extern "C" fn ( permission : * mut GPermission , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub reserved : [ gpointer ; 16usize ] , } # [ test ] fn bindgen_test_layout__GPermissionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPermissionClass > ( ) , 312usize , concat ! ( "Size of: " , stringify ! ( _GPermissionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPermissionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPermissionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . acquire as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( acquire ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . acquire_async as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( acquire_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . acquire_finish as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( acquire_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . release as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( release ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . release_async as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( release_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . release_finish as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( release_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPermissionClass > ( ) ) ) . reserved as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GPermissionClass ) , "::" , stringify ! ( reserved ) ) ) ; } extern "C" { pub fn g_permission_get_type ( ) -> GType ; } extern "C" { pub fn g_permission_acquire ( permission : * mut GPermission , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_permission_acquire_async ( permission : * mut GPermission , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_permission_acquire_finish ( permission : * mut GPermission , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_permission_release ( permission : * mut GPermission , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_permission_release_async ( permission : * mut GPermission , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_permission_release_finish ( permission : * mut GPermission , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_permission_get_allowed ( permission : * mut GPermission ) -> gboolean ; } extern "C" { pub fn g_permission_get_can_acquire ( permission : * mut GPermission ) -> gboolean ; } extern "C" { pub fn g_permission_get_can_release ( permission : * mut GPermission ) -> gboolean ; } extern "C" { pub fn g_permission_impl_update ( permission : * mut GPermission , allowed : gboolean , can_acquire : gboolean , can_release : gboolean ) ; } pub type GPollableInputStreamInterface = _GPollableInputStreamInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPollableInputStreamInterface { pub g_iface : GTypeInterface , pub can_poll : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableInputStream ) -> gboolean > , pub is_readable : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableInputStream ) -> gboolean > , pub create_source : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableInputStream , cancellable : * mut GCancellable ) -> * mut GSource > , pub read_nonblocking : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , error : * mut * mut GError ) -> gssize > , } # [ test ] fn bindgen_test_layout__GPollableInputStreamInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPollableInputStreamInterface > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GPollableInputStreamInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPollableInputStreamInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPollableInputStreamInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableInputStreamInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableInputStreamInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableInputStreamInterface > ( ) ) ) . can_poll as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableInputStreamInterface ) , "::" , stringify ! ( can_poll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableInputStreamInterface > ( ) ) ) . is_readable as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableInputStreamInterface ) , "::" , stringify ! ( is_readable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableInputStreamInterface > ( ) ) ) . create_source as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableInputStreamInterface ) , "::" , stringify ! ( create_source ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableInputStreamInterface > ( ) ) ) . read_nonblocking as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableInputStreamInterface ) , "::" , stringify ! ( read_nonblocking ) ) ) ; } extern "C" { pub fn g_pollable_input_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_pollable_input_stream_can_poll ( stream : * mut GPollableInputStream ) -> gboolean ; } extern "C" { pub fn g_pollable_input_stream_is_readable ( stream : * mut GPollableInputStream ) -> gboolean ; } extern "C" { pub fn g_pollable_input_stream_create_source ( stream : * mut GPollableInputStream , cancellable : * mut GCancellable ) -> * mut GSource ; } extern "C" { pub fn g_pollable_input_stream_read_nonblocking ( stream : * mut GPollableInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } pub type GPollableOutputStreamInterface = _GPollableOutputStreamInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPollableOutputStreamInterface { pub g_iface : GTypeInterface , pub can_poll : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableOutputStream ) -> gboolean > , pub is_writable : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableOutputStream ) -> gboolean > , pub create_source : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableOutputStream , cancellable : * mut GCancellable ) -> * mut GSource > , pub write_nonblocking : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , error : * mut * mut GError ) -> gssize > , pub writev_nonblocking : :: std :: option :: Option < unsafe extern "C" fn ( stream : * mut GPollableOutputStream , vectors : * const GOutputVector , n_vectors : gsize , bytes_written : * mut gsize , error : * mut * mut GError ) -> GPollableReturn > , } # [ test ] fn bindgen_test_layout__GPollableOutputStreamInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPollableOutputStreamInterface > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GPollableOutputStreamInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPollableOutputStreamInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPollableOutputStreamInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableOutputStreamInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableOutputStreamInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableOutputStreamInterface > ( ) ) ) . can_poll as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableOutputStreamInterface ) , "::" , stringify ! ( can_poll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableOutputStreamInterface > ( ) ) ) . is_writable as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableOutputStreamInterface ) , "::" , stringify ! ( is_writable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableOutputStreamInterface > ( ) ) ) . create_source as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableOutputStreamInterface ) , "::" , stringify ! ( create_source ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableOutputStreamInterface > ( ) ) ) . write_nonblocking as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableOutputStreamInterface ) , "::" , stringify ! ( write_nonblocking ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPollableOutputStreamInterface > ( ) ) ) . writev_nonblocking as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GPollableOutputStreamInterface ) , "::" , stringify ! ( writev_nonblocking ) ) ) ; } extern "C" { pub fn g_pollable_output_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_pollable_output_stream_can_poll ( stream : * mut GPollableOutputStream ) -> gboolean ; } extern "C" { pub fn g_pollable_output_stream_is_writable ( stream : * mut GPollableOutputStream ) -> gboolean ; } extern "C" { pub fn g_pollable_output_stream_create_source ( stream : * mut GPollableOutputStream , cancellable : * mut GCancellable ) -> * mut GSource ; } extern "C" { pub fn g_pollable_output_stream_write_nonblocking ( stream : * mut GPollableOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_pollable_output_stream_writev_nonblocking ( stream : * mut GPollableOutputStream , vectors : * const GOutputVector , n_vectors : gsize , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GPollableReturn ; } extern "C" { pub fn g_pollable_source_new ( pollable_stream : * mut GObject ) -> * mut GSource ; } extern "C" { pub fn g_pollable_source_new_full ( pollable_stream : gpointer , child_source : * mut GSource , cancellable : * mut GCancellable ) -> * mut GSource ; } extern "C" { pub fn g_pollable_stream_read ( stream : * mut GInputStream , buffer : * mut :: std :: os :: raw :: c_void , count : gsize , blocking : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_pollable_stream_write ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , blocking : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_pollable_stream_write_all ( stream : * mut GOutputStream , buffer : * const :: std :: os :: raw :: c_void , count : gsize , blocking : gboolean , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_power_profile_monitor_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPowerProfileMonitor { _unused : [ u8 ; 0 ] , } pub type GPowerProfileMonitor = _GPowerProfileMonitor ; pub type GPowerProfileMonitorInterface = _GPowerProfileMonitorInterface ; pub type GPowerProfileMonitor_autoptr = * mut GPowerProfileMonitor ; pub type GPowerProfileMonitor_listautoptr = * mut GList ; pub type GPowerProfileMonitor_slistautoptr = * mut GSList ; pub type GPowerProfileMonitor_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GPowerProfileMonitorInterface { pub g_iface : GTypeInterface , } # [ test ] fn bindgen_test_layout__GPowerProfileMonitorInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GPowerProfileMonitorInterface > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GPowerProfileMonitorInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GPowerProfileMonitorInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GPowerProfileMonitorInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GPowerProfileMonitorInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GPowerProfileMonitorInterface ) , "::" , stringify ! ( g_iface ) ) ) ; } extern "C" { pub fn g_power_profile_monitor_dup_default ( ) -> * mut GPowerProfileMonitor ; } extern "C" { pub fn g_power_profile_monitor_get_power_saver_enabled ( monitor : * mut GPowerProfileMonitor ) -> gboolean ; } extern "C" { pub fn g_property_action_get_type ( ) -> GType ; } extern "C" { pub fn g_property_action_new ( name : * const gchar , object : gpointer , property_name : * const gchar ) -> * mut GPropertyAction ; } pub type GProxyInterface = _GProxyInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyInterface { pub g_iface : GTypeInterface , pub connect : :: std :: option :: Option < unsafe extern "C" fn ( proxy : * mut GProxy , connection : * mut GIOStream , proxy_address : * mut GProxyAddress , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GIOStream > , pub connect_async : :: std :: option :: Option < unsafe extern "C" fn ( proxy : * mut GProxy , connection : * mut GIOStream , proxy_address : * mut GProxyAddress , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub connect_finish : :: std :: option :: Option < unsafe extern "C" fn ( proxy : * mut GProxy , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GIOStream > , pub supports_hostname : :: std :: option :: Option < unsafe extern "C" fn ( proxy : * mut GProxy ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GProxyInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GProxyInterface > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GProxyInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GProxyInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GProxyInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyInterface > ( ) ) ) . connect as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyInterface ) , "::" , stringify ! ( connect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyInterface > ( ) ) ) . connect_async as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyInterface ) , "::" , stringify ! ( connect_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyInterface > ( ) ) ) . connect_finish as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyInterface ) , "::" , stringify ! ( connect_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyInterface > ( ) ) ) . supports_hostname as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyInterface ) , "::" , stringify ! ( supports_hostname ) ) ) ; } extern "C" { pub fn g_proxy_get_type ( ) -> GType ; } extern "C" { pub fn g_proxy_get_default_for_protocol ( protocol : * const gchar ) -> * mut GProxy ; } extern "C" { pub fn g_proxy_connect ( proxy : * mut GProxy , connection : * mut GIOStream , proxy_address : * mut GProxyAddress , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GIOStream ; } extern "C" { pub fn g_proxy_connect_async ( proxy : * mut GProxy , connection : * mut GIOStream , proxy_address : * mut GProxyAddress , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_proxy_connect_finish ( proxy : * mut GProxy , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GIOStream ; } extern "C" { pub fn g_proxy_supports_hostname ( proxy : * mut GProxy ) -> gboolean ; } pub type GProxyAddressClass = _GProxyAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyAddressPrivate { _unused : [ u8 ; 0 ] , } pub type GProxyAddressPrivate = _GProxyAddressPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyAddress { pub parent_instance : GInetSocketAddress , pub priv_ : * mut GProxyAddressPrivate , } # [ test ] fn bindgen_test_layout__GProxyAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GProxyAddress > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GProxyAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GProxyAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GProxyAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddress > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddress ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyAddressClass { pub parent_class : GInetSocketAddressClass , } # [ test ] fn bindgen_test_layout__GProxyAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GProxyAddressClass > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( _GProxyAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GProxyAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GProxyAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_proxy_address_get_type ( ) -> GType ; } extern "C" { pub fn g_proxy_address_new ( inetaddr : * mut GInetAddress , port : guint16 , protocol : * const gchar , dest_hostname : * const gchar , dest_port : guint16 , username : * const gchar , password : * const gchar ) -> * mut GSocketAddress ; } extern "C" { pub fn g_proxy_address_get_protocol ( proxy : * mut GProxyAddress ) -> * const gchar ; } extern "C" { pub fn g_proxy_address_get_destination_protocol ( proxy : * mut GProxyAddress ) -> * const gchar ; } extern "C" { pub fn g_proxy_address_get_destination_hostname ( proxy : * mut GProxyAddress ) -> * const gchar ; } extern "C" { pub fn g_proxy_address_get_destination_port ( proxy : * mut GProxyAddress ) -> guint16 ; } extern "C" { pub fn g_proxy_address_get_username ( proxy : * mut GProxyAddress ) -> * const gchar ; } extern "C" { pub fn g_proxy_address_get_password ( proxy : * mut GProxyAddress ) -> * const gchar ; } extern "C" { pub fn g_proxy_address_get_uri ( proxy : * mut GProxyAddress ) -> * const gchar ; } pub type GSocketAddressEnumeratorClass = _GSocketAddressEnumeratorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketAddressEnumerator { pub parent_instance : GObject , } # [ test ] fn bindgen_test_layout__GSocketAddressEnumerator ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketAddressEnumerator > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GSocketAddressEnumerator ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketAddressEnumerator > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketAddressEnumerator ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressEnumerator > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressEnumerator ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketAddressEnumeratorClass { pub parent_class : GObjectClass , pub next : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GSocketAddressEnumerator , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketAddress > , pub next_async : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GSocketAddressEnumerator , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub next_finish : :: std :: option :: Option < unsafe extern "C" fn ( enumerator : * mut GSocketAddressEnumerator , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GSocketAddress > , } # [ test ] fn bindgen_test_layout__GSocketAddressEnumeratorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketAddressEnumeratorClass > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( _GSocketAddressEnumeratorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketAddressEnumeratorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketAddressEnumeratorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressEnumeratorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressEnumeratorClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressEnumeratorClass > ( ) ) ) . next as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressEnumeratorClass ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressEnumeratorClass > ( ) ) ) . next_async as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressEnumeratorClass ) , "::" , stringify ! ( next_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketAddressEnumeratorClass > ( ) ) ) . next_finish as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketAddressEnumeratorClass ) , "::" , stringify ! ( next_finish ) ) ) ; } extern "C" { pub fn g_socket_address_enumerator_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_address_enumerator_next ( enumerator : * mut GSocketAddressEnumerator , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_address_enumerator_next_async ( enumerator : * mut GSocketAddressEnumerator , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_address_enumerator_next_finish ( enumerator : * mut GSocketAddressEnumerator , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GSocketAddress ; } pub type GProxyAddressEnumeratorClass = _GProxyAddressEnumeratorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyAddressEnumeratorPrivate { _unused : [ u8 ; 0 ] , } pub type GProxyAddressEnumeratorPrivate = _GProxyAddressEnumeratorPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyAddressEnumerator { pub parent_instance : GSocketAddressEnumerator , pub priv_ : * mut GProxyAddressEnumeratorPrivate , } # [ test ] fn bindgen_test_layout__GProxyAddressEnumerator ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GProxyAddressEnumerator > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GProxyAddressEnumerator ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GProxyAddressEnumerator > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GProxyAddressEnumerator ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumerator > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumerator ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumerator > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumerator ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyAddressEnumeratorClass { pub parent_class : GSocketAddressEnumeratorClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved7 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GProxyAddressEnumeratorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GProxyAddressEnumeratorClass > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _GProxyAddressEnumeratorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GProxyAddressEnumeratorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GProxyAddressEnumeratorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyAddressEnumeratorClass > ( ) ) ) . _g_reserved7 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyAddressEnumeratorClass ) , "::" , stringify ! ( _g_reserved7 ) ) ) ; } extern "C" { pub fn g_proxy_address_enumerator_get_type ( ) -> GType ; } pub type GProxyResolverInterface = _GProxyResolverInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GProxyResolverInterface { pub g_iface : GTypeInterface , pub is_supported : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GProxyResolver ) -> gboolean > , pub lookup : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GProxyResolver , uri : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut * mut gchar > , pub lookup_async : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GProxyResolver , uri : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_finish : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GProxyResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut * mut gchar > , } # [ test ] fn bindgen_test_layout__GProxyResolverInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GProxyResolverInterface > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GProxyResolverInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GProxyResolverInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GProxyResolverInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyResolverInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyResolverInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyResolverInterface > ( ) ) ) . is_supported as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyResolverInterface ) , "::" , stringify ! ( is_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyResolverInterface > ( ) ) ) . lookup as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyResolverInterface ) , "::" , stringify ! ( lookup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyResolverInterface > ( ) ) ) . lookup_async as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyResolverInterface ) , "::" , stringify ! ( lookup_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GProxyResolverInterface > ( ) ) ) . lookup_finish as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GProxyResolverInterface ) , "::" , stringify ! ( lookup_finish ) ) ) ; } extern "C" { pub fn g_proxy_resolver_get_type ( ) -> GType ; } extern "C" { pub fn g_proxy_resolver_get_default ( ) -> * mut GProxyResolver ; } extern "C" { pub fn g_proxy_resolver_is_supported ( resolver : * mut GProxyResolver ) -> gboolean ; } extern "C" { pub fn g_proxy_resolver_lookup ( resolver : * mut GProxyResolver , uri : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut * mut gchar ; } extern "C" { pub fn g_proxy_resolver_lookup_async ( resolver : * mut GProxyResolver , uri : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_proxy_resolver_lookup_finish ( resolver : * mut GProxyResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut * mut gchar ; } pub type GRemoteActionGroupInterface = _GRemoteActionGroupInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GRemoteActionGroupInterface { pub g_iface : GTypeInterface , pub activate_action_full : :: std :: option :: Option < unsafe extern "C" fn ( remote : * mut GRemoteActionGroup , action_name : * const gchar , parameter : * mut GVariant , platform_data : * mut GVariant ) > , pub change_action_state_full : :: std :: option :: Option < unsafe extern "C" fn ( remote : * mut GRemoteActionGroup , action_name : * const gchar , value : * mut GVariant , platform_data : * mut GVariant ) > , } # [ test ] fn bindgen_test_layout__GRemoteActionGroupInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GRemoteActionGroupInterface > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GRemoteActionGroupInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GRemoteActionGroupInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GRemoteActionGroupInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRemoteActionGroupInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GRemoteActionGroupInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRemoteActionGroupInterface > ( ) ) ) . activate_action_full as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GRemoteActionGroupInterface ) , "::" , stringify ! ( activate_action_full ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GRemoteActionGroupInterface > ( ) ) ) . change_action_state_full as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GRemoteActionGroupInterface ) , "::" , stringify ! ( change_action_state_full ) ) ) ; } extern "C" { pub fn g_remote_action_group_get_type ( ) -> GType ; } extern "C" { pub fn g_remote_action_group_activate_action_full ( remote : * mut GRemoteActionGroup , action_name : * const gchar , parameter : * mut GVariant , platform_data : * mut GVariant ) ; } extern "C" { pub fn g_remote_action_group_change_action_state_full ( remote : * mut GRemoteActionGroup , action_name : * const gchar , value : * mut GVariant , platform_data : * mut GVariant ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GResolverPrivate { _unused : [ u8 ; 0 ] , } pub type GResolverPrivate = _GResolverPrivate ; pub type GResolverClass = _GResolverClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GResolver { pub parent_instance : GObject , pub priv_ : * mut GResolverPrivate , } # [ test ] fn bindgen_test_layout__GResolver ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GResolver > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GResolver ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GResolver > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GResolver ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolver > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GResolver ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolver > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GResolver ) , "::" , stringify ! ( priv_ ) ) ) ; } pub const GResolverNameLookupFlags_G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT : GResolverNameLookupFlags = 0 ; pub const GResolverNameLookupFlags_G_RESOLVER_NAME_LOOKUP_FLAGS_IPV4_ONLY : GResolverNameLookupFlags = 1 ; pub const GResolverNameLookupFlags_G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY : GResolverNameLookupFlags = 2 ; pub type GResolverNameLookupFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GResolverClass { pub parent_class : GObjectClass , pub reload : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver ) > , pub lookup_by_name : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , hostname : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList > , pub lookup_by_name_async : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , hostname : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_by_name_finish : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList > , pub lookup_by_address : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , address : * mut GInetAddress , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut gchar > , pub lookup_by_address_async : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , address : * mut GInetAddress , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_by_address_finish : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut gchar > , pub lookup_service : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , rrname : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList > , pub lookup_service_async : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , rrname : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_service_finish : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList > , pub lookup_records : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , rrname : * const gchar , record_type : GResolverRecordType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList > , pub lookup_records_async : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , rrname : * const gchar , record_type : GResolverRecordType , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_records_finish : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList > , pub lookup_by_name_with_flags_async : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , hostname : * const gchar , flags : GResolverNameLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_by_name_with_flags_finish : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList > , pub lookup_by_name_with_flags : :: std :: option :: Option < unsafe extern "C" fn ( resolver : * mut GResolver , hostname : * const gchar , flags : GResolverNameLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList > , } # [ test ] fn bindgen_test_layout__GResolverClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GResolverClass > ( ) , 264usize , concat ! ( "Size of: " , stringify ! ( _GResolverClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GResolverClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GResolverClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . reload as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( reload ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_name as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_name_async as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_name_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_name_finish as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_name_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_address as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_address ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_address_async as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_address_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_address_finish as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_address_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_service as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_service ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_service_async as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_service_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_service_finish as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_service_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_records as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_records ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_records_async as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_records_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_records_finish as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_records_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_name_with_flags_async as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_name_with_flags_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_name_with_flags_finish as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_name_with_flags_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GResolverClass > ( ) ) ) . lookup_by_name_with_flags as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GResolverClass ) , "::" , stringify ! ( lookup_by_name_with_flags ) ) ) ; } extern "C" { pub fn g_resolver_get_type ( ) -> GType ; } extern "C" { pub fn g_resolver_get_default ( ) -> * mut GResolver ; } extern "C" { pub fn g_resolver_set_default ( resolver : * mut GResolver ) ; } extern "C" { pub fn g_resolver_lookup_by_name ( resolver : * mut GResolver , hostname : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_lookup_by_name_async ( resolver : * mut GResolver , hostname : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_resolver_lookup_by_name_finish ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_lookup_by_name_with_flags_async ( resolver : * mut GResolver , hostname : * const gchar , flags : GResolverNameLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_resolver_lookup_by_name_with_flags_finish ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_lookup_by_name_with_flags ( resolver : * mut GResolver , hostname : * const gchar , flags : GResolverNameLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_free_addresses ( addresses : * mut GList ) ; } extern "C" { pub fn g_resolver_lookup_by_address ( resolver : * mut GResolver , address : * mut GInetAddress , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_resolver_lookup_by_address_async ( resolver : * mut GResolver , address : * mut GInetAddress , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_resolver_lookup_by_address_finish ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut gchar ; } extern "C" { pub fn g_resolver_lookup_service ( resolver : * mut GResolver , service : * const gchar , protocol : * const gchar , domain : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_lookup_service_async ( resolver : * mut GResolver , service : * const gchar , protocol : * const gchar , domain : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_resolver_lookup_service_finish ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_lookup_records ( resolver : * mut GResolver , rrname : * const gchar , record_type : GResolverRecordType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_lookup_records_async ( resolver : * mut GResolver , rrname : * const gchar , record_type : GResolverRecordType , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_resolver_lookup_records_finish ( resolver : * mut GResolver , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_resolver_free_targets ( targets : * mut GList ) ; } extern "C" { pub fn g_resolver_get_timeout ( resolver : * mut GResolver ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn g_resolver_set_timeout ( resolver : * mut GResolver , timeout_ms : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn g_resolver_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_resource_error_quark ( ) -> GQuark ; } pub type GStaticResource = _GStaticResource ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GStaticResource { pub data : * const guint8 , pub data_len : gsize , pub resource : * mut GResource , pub next : * mut GStaticResource , pub padding : gpointer , } # [ test ] fn bindgen_test_layout__GStaticResource ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GStaticResource > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GStaticResource ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GStaticResource > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GStaticResource ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticResource > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticResource ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticResource > ( ) ) ) . data_len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticResource ) , "::" , stringify ! ( data_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticResource > ( ) ) ) . resource as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticResource ) , "::" , stringify ! ( resource ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticResource > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticResource ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GStaticResource > ( ) ) ) . padding as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GStaticResource ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_resource_get_type ( ) -> GType ; } extern "C" { pub fn g_resource_new_from_data ( data : * mut GBytes , error : * mut * mut GError ) -> * mut GResource ; } extern "C" { pub fn g_resource_ref ( resource : * mut GResource ) -> * mut GResource ; } extern "C" { pub fn g_resource_unref ( resource : * mut GResource ) ; } extern "C" { pub fn g_resource_load ( filename : * const gchar , error : * mut * mut GError ) -> * mut GResource ; } extern "C" { pub fn g_resource_open_stream ( resource : * mut GResource , path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , error : * mut * mut GError ) -> * mut GInputStream ; } extern "C" { pub fn g_resource_lookup_data ( resource : * mut GResource , path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_resource_enumerate_children ( resource : * mut GResource , path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , error : * mut * mut GError ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_resource_get_info ( resource : * mut GResource , path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , size : * mut gsize , flags : * mut guint32 , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_resources_register ( resource : * mut GResource ) ; } extern "C" { pub fn g_resources_unregister ( resource : * mut GResource ) ; } extern "C" { pub fn g_resources_open_stream ( path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , error : * mut * mut GError ) -> * mut GInputStream ; } extern "C" { pub fn g_resources_lookup_data ( path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_resources_enumerate_children ( path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , error : * mut * mut GError ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_resources_get_info ( path : * const :: std :: os :: raw :: c_char , lookup_flags : GResourceLookupFlags , size : * mut gsize , flags : * mut guint32 , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_static_resource_init ( static_resource : * mut GStaticResource ) ; } extern "C" { pub fn g_static_resource_fini ( static_resource : * mut GStaticResource ) ; } extern "C" { pub fn g_static_resource_get_resource ( static_resource : * mut GStaticResource ) -> * mut GResource ; } pub type GSeekableIface = _GSeekableIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSeekableIface { pub g_iface : GTypeInterface , pub tell : :: std :: option :: Option < unsafe extern "C" fn ( seekable : * mut GSeekable ) -> goffset > , pub can_seek : :: std :: option :: Option < unsafe extern "C" fn ( seekable : * mut GSeekable ) -> gboolean > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( seekable : * mut GSeekable , offset : goffset , type_ : GSeekType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub can_truncate : :: std :: option :: Option < unsafe extern "C" fn ( seekable : * mut GSeekable ) -> gboolean > , pub truncate_fn : :: std :: option :: Option < unsafe extern "C" fn ( seekable : * mut GSeekable , offset : goffset , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , } # [ test ] fn bindgen_test_layout__GSeekableIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSeekableIface > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GSeekableIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSeekableIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSeekableIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSeekableIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSeekableIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSeekableIface > ( ) ) ) . tell as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GSeekableIface ) , "::" , stringify ! ( tell ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSeekableIface > ( ) ) ) . can_seek as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSeekableIface ) , "::" , stringify ! ( can_seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSeekableIface > ( ) ) ) . seek as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSeekableIface ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSeekableIface > ( ) ) ) . can_truncate as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GSeekableIface ) , "::" , stringify ! ( can_truncate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSeekableIface > ( ) ) ) . truncate_fn as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GSeekableIface ) , "::" , stringify ! ( truncate_fn ) ) ) ; } extern "C" { pub fn g_seekable_get_type ( ) -> GType ; } extern "C" { pub fn g_seekable_tell ( seekable : * mut GSeekable ) -> goffset ; } extern "C" { pub fn g_seekable_can_seek ( seekable : * mut GSeekable ) -> gboolean ; } extern "C" { pub fn g_seekable_seek ( seekable : * mut GSeekable , offset : goffset , type_ : GSeekType , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_seekable_can_truncate ( seekable : * mut GSeekable ) -> gboolean ; } extern "C" { pub fn g_seekable_truncate ( seekable : * mut GSeekable , offset : goffset , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettingsSchemaSource { _unused : [ u8 ; 0 ] , } pub type GSettingsSchemaSource = _GSettingsSchemaSource ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettingsSchema { _unused : [ u8 ; 0 ] , } pub type GSettingsSchema = _GSettingsSchema ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettingsSchemaKey { _unused : [ u8 ; 0 ] , } pub type GSettingsSchemaKey = _GSettingsSchemaKey ; extern "C" { pub fn g_settings_schema_source_get_type ( ) -> GType ; } extern "C" { pub fn g_settings_schema_source_get_default ( ) -> * mut GSettingsSchemaSource ; } extern "C" { pub fn g_settings_schema_source_ref ( source : * mut GSettingsSchemaSource ) -> * mut GSettingsSchemaSource ; } extern "C" { pub fn g_settings_schema_source_unref ( source : * mut GSettingsSchemaSource ) ; } extern "C" { pub fn g_settings_schema_source_new_from_directory ( directory : * const gchar , parent : * mut GSettingsSchemaSource , trusted : gboolean , error : * mut * mut GError ) -> * mut GSettingsSchemaSource ; } extern "C" { pub fn g_settings_schema_source_lookup ( source : * mut GSettingsSchemaSource , schema_id : * const gchar , recursive : gboolean ) -> * mut GSettingsSchema ; } extern "C" { pub fn g_settings_schema_source_list_schemas ( source : * mut GSettingsSchemaSource , recursive : gboolean , non_relocatable : * mut * mut * mut gchar , relocatable : * mut * mut * mut gchar ) ; } extern "C" { pub fn g_settings_schema_get_type ( ) -> GType ; } extern "C" { pub fn g_settings_schema_ref ( schema : * mut GSettingsSchema ) -> * mut GSettingsSchema ; } extern "C" { pub fn g_settings_schema_unref ( schema : * mut GSettingsSchema ) ; } extern "C" { pub fn g_settings_schema_get_id ( schema : * mut GSettingsSchema ) -> * const gchar ; } extern "C" { pub fn g_settings_schema_get_path ( schema : * mut GSettingsSchema ) -> * const gchar ; } extern "C" { pub fn g_settings_schema_get_key ( schema : * mut GSettingsSchema , name : * const gchar ) -> * mut GSettingsSchemaKey ; } extern "C" { pub fn g_settings_schema_has_key ( schema : * mut GSettingsSchema , name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_settings_schema_list_keys ( schema : * mut GSettingsSchema ) -> * mut * mut gchar ; } extern "C" { pub fn g_settings_schema_list_children ( schema : * mut GSettingsSchema ) -> * mut * mut gchar ; } extern "C" { pub fn g_settings_schema_key_get_type ( ) -> GType ; } extern "C" { pub fn g_settings_schema_key_ref ( key : * mut GSettingsSchemaKey ) -> * mut GSettingsSchemaKey ; } extern "C" { pub fn g_settings_schema_key_unref ( key : * mut GSettingsSchemaKey ) ; } extern "C" { pub fn g_settings_schema_key_get_value_type ( key : * mut GSettingsSchemaKey ) -> * const GVariantType ; } extern "C" { pub fn g_settings_schema_key_get_default_value ( key : * mut GSettingsSchemaKey ) -> * mut GVariant ; } extern "C" { pub fn g_settings_schema_key_get_range ( key : * mut GSettingsSchemaKey ) -> * mut GVariant ; } extern "C" { pub fn g_settings_schema_key_range_check ( key : * mut GSettingsSchemaKey , value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_settings_schema_key_get_name ( key : * mut GSettingsSchemaKey ) -> * const gchar ; } extern "C" { pub fn g_settings_schema_key_get_summary ( key : * mut GSettingsSchemaKey ) -> * const gchar ; } extern "C" { pub fn g_settings_schema_key_get_description ( key : * mut GSettingsSchemaKey ) -> * const gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettingsPrivate { _unused : [ u8 ; 0 ] , } pub type GSettingsPrivate = _GSettingsPrivate ; pub type GSettingsClass = _GSettingsClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettingsClass { pub parent_class : GObjectClass , pub writable_changed : :: std :: option :: Option < unsafe extern "C" fn ( settings : * mut GSettings , key : * const gchar ) > , pub changed : :: std :: option :: Option < unsafe extern "C" fn ( settings : * mut GSettings , key : * const gchar ) > , pub writable_change_event : :: std :: option :: Option < unsafe extern "C" fn ( settings : * mut GSettings , key : GQuark ) -> gboolean > , pub change_event : :: std :: option :: Option < unsafe extern "C" fn ( settings : * mut GSettings , keys : * const GQuark , n_keys : gint ) -> gboolean > , pub padding : [ gpointer ; 20usize ] , } # [ test ] fn bindgen_test_layout__GSettingsClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSettingsClass > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( _GSettingsClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSettingsClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSettingsClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettingsClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSettingsClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettingsClass > ( ) ) ) . writable_changed as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSettingsClass ) , "::" , stringify ! ( writable_changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettingsClass > ( ) ) ) . changed as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSettingsClass ) , "::" , stringify ! ( changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettingsClass > ( ) ) ) . writable_change_event as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSettingsClass ) , "::" , stringify ! ( writable_change_event ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettingsClass > ( ) ) ) . change_event as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GSettingsClass ) , "::" , stringify ! ( change_event ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettingsClass > ( ) ) ) . padding as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GSettingsClass ) , "::" , stringify ! ( padding ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSettings { pub parent_instance : GObject , pub priv_ : * mut GSettingsPrivate , } # [ test ] fn bindgen_test_layout__GSettings ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSettings > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSettings ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSettings > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSettings ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettings > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSettings ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSettings > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSettings ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_settings_get_type ( ) -> GType ; } extern "C" { pub fn g_settings_list_schemas ( ) -> * const * const gchar ; } extern "C" { pub fn g_settings_list_relocatable_schemas ( ) -> * const * const gchar ; } extern "C" { pub fn g_settings_new ( schema_id : * const gchar ) -> * mut GSettings ; } extern "C" { pub fn g_settings_new_with_path ( schema_id : * const gchar , path : * const gchar ) -> * mut GSettings ; } extern "C" { pub fn g_settings_new_with_backend ( schema_id : * const gchar , backend : * mut GSettingsBackend ) -> * mut GSettings ; } extern "C" { pub fn g_settings_new_with_backend_and_path ( schema_id : * const gchar , backend : * mut GSettingsBackend , path : * const gchar ) -> * mut GSettings ; } extern "C" { pub fn g_settings_new_full ( schema : * mut GSettingsSchema , backend : * mut GSettingsBackend , path : * const gchar ) -> * mut GSettings ; } extern "C" { pub fn g_settings_list_children ( settings : * mut GSettings ) -> * mut * mut gchar ; } extern "C" { pub fn g_settings_list_keys ( settings : * mut GSettings ) -> * mut * mut gchar ; } extern "C" { pub fn g_settings_get_range ( settings : * mut GSettings , key : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_settings_range_check ( settings : * mut GSettings , key : * const gchar , value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_settings_set_value ( settings : * mut GSettings , key : * const gchar , value : * mut GVariant ) -> gboolean ; } extern "C" { pub fn g_settings_get_value ( settings : * mut GSettings , key : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_settings_get_user_value ( settings : * mut GSettings , key : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_settings_get_default_value ( settings : * mut GSettings , key : * const gchar ) -> * mut GVariant ; } extern "C" { pub fn g_settings_set ( settings : * mut GSettings , key : * const gchar , format : * const gchar , ... ) -> gboolean ; } extern "C" { pub fn g_settings_get ( settings : * mut GSettings , key : * const gchar , format : * const gchar , ... ) ; } extern "C" { pub fn g_settings_reset ( settings : * mut GSettings , key : * const gchar ) ; } extern "C" { pub fn g_settings_get_int ( settings : * mut GSettings , key : * const gchar ) -> gint ; } extern "C" { pub fn g_settings_set_int ( settings : * mut GSettings , key : * const gchar , value : gint ) -> gboolean ; } extern "C" { pub fn g_settings_get_int64 ( settings : * mut GSettings , key : * const gchar ) -> gint64 ; } extern "C" { pub fn g_settings_set_int64 ( settings : * mut GSettings , key : * const gchar , value : gint64 ) -> gboolean ; } extern "C" { pub fn g_settings_get_uint ( settings : * mut GSettings , key : * const gchar ) -> guint ; } extern "C" { pub fn g_settings_set_uint ( settings : * mut GSettings , key : * const gchar , value : guint ) -> gboolean ; } extern "C" { pub fn g_settings_get_uint64 ( settings : * mut GSettings , key : * const gchar ) -> guint64 ; } extern "C" { pub fn g_settings_set_uint64 ( settings : * mut GSettings , key : * const gchar , value : guint64 ) -> gboolean ; } extern "C" { pub fn g_settings_get_string ( settings : * mut GSettings , key : * const gchar ) -> * mut gchar ; } extern "C" { pub fn g_settings_set_string ( settings : * mut GSettings , key : * const gchar , value : * const gchar ) -> gboolean ; } extern "C" { pub fn g_settings_get_boolean ( settings : * mut GSettings , key : * const gchar ) -> gboolean ; } extern "C" { pub fn g_settings_set_boolean ( settings : * mut GSettings , key : * const gchar , value : gboolean ) -> gboolean ; } extern "C" { pub fn g_settings_get_double ( settings : * mut GSettings , key : * const gchar ) -> gdouble ; } extern "C" { pub fn g_settings_set_double ( settings : * mut GSettings , key : * const gchar , value : gdouble ) -> gboolean ; } extern "C" { pub fn g_settings_get_strv ( settings : * mut GSettings , key : * const gchar ) -> * mut * mut gchar ; } extern "C" { pub fn g_settings_set_strv ( settings : * mut GSettings , key : * const gchar , value : * const * const gchar ) -> gboolean ; } extern "C" { pub fn g_settings_get_enum ( settings : * mut GSettings , key : * const gchar ) -> gint ; } extern "C" { pub fn g_settings_set_enum ( settings : * mut GSettings , key : * const gchar , value : gint ) -> gboolean ; } extern "C" { pub fn g_settings_get_flags ( settings : * mut GSettings , key : * const gchar ) -> guint ; } extern "C" { pub fn g_settings_set_flags ( settings : * mut GSettings , key : * const gchar , value : guint ) -> gboolean ; } extern "C" { pub fn g_settings_get_child ( settings : * mut GSettings , name : * const gchar ) -> * mut GSettings ; } extern "C" { pub fn g_settings_is_writable ( settings : * mut GSettings , name : * const gchar ) -> gboolean ; } extern "C" { pub fn g_settings_delay ( settings : * mut GSettings ) ; } extern "C" { pub fn g_settings_apply ( settings : * mut GSettings ) ; } extern "C" { pub fn g_settings_revert ( settings : * mut GSettings ) ; } extern "C" { pub fn g_settings_get_has_unapplied ( settings : * mut GSettings ) -> gboolean ; } extern "C" { pub fn g_settings_sync ( ) ; } pub type GSettingsBindSetMapping = :: std :: option :: Option < unsafe extern "C" fn ( value : * const GValue , expected_type : * const GVariantType , user_data : gpointer ) -> * mut GVariant > ; pub type GSettingsBindGetMapping = :: std :: option :: Option < unsafe extern "C" fn ( value : * mut GValue , variant : * mut GVariant , user_data : gpointer ) -> gboolean > ; pub type GSettingsGetMapping = :: std :: option :: Option < unsafe extern "C" fn ( value : * mut GVariant , result : * mut gpointer , user_data : gpointer ) -> gboolean > ; pub const GSettingsBindFlags_G_SETTINGS_BIND_DEFAULT : GSettingsBindFlags = 0 ; pub const GSettingsBindFlags_G_SETTINGS_BIND_GET : GSettingsBindFlags = 1 ; pub const GSettingsBindFlags_G_SETTINGS_BIND_SET : GSettingsBindFlags = 2 ; pub const GSettingsBindFlags_G_SETTINGS_BIND_NO_SENSITIVITY : GSettingsBindFlags = 4 ; pub const GSettingsBindFlags_G_SETTINGS_BIND_GET_NO_CHANGES : GSettingsBindFlags = 8 ; pub const GSettingsBindFlags_G_SETTINGS_BIND_INVERT_BOOLEAN : GSettingsBindFlags = 16 ; pub type GSettingsBindFlags = u32 ; extern "C" { pub fn g_settings_bind ( settings : * mut GSettings , key : * const gchar , object : gpointer , property : * const gchar , flags : GSettingsBindFlags ) ; } extern "C" { pub fn g_settings_bind_with_mapping ( settings : * mut GSettings , key : * const gchar , object : gpointer , property : * const gchar , flags : GSettingsBindFlags , get_mapping : GSettingsBindGetMapping , set_mapping : GSettingsBindSetMapping , user_data : gpointer , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_settings_bind_writable ( settings : * mut GSettings , key : * const gchar , object : gpointer , property : * const gchar , inverted : gboolean ) ; } extern "C" { pub fn g_settings_unbind ( object : gpointer , property : * const gchar ) ; } extern "C" { pub fn g_settings_create_action ( settings : * mut GSettings , key : * const gchar ) -> * mut GAction ; } extern "C" { pub fn g_settings_get_mapped ( settings : * mut GSettings , key : * const gchar , mapping : GSettingsGetMapping , user_data : gpointer ) -> gpointer ; } extern "C" { pub fn g_simple_action_get_type ( ) -> GType ; } extern "C" { pub fn g_simple_action_new ( name : * const gchar , parameter_type : * const GVariantType ) -> * mut GSimpleAction ; } extern "C" { pub fn g_simple_action_new_stateful ( name : * const gchar , parameter_type : * const GVariantType , state : * mut GVariant ) -> * mut GSimpleAction ; } extern "C" { pub fn g_simple_action_set_enabled ( simple : * mut GSimpleAction , enabled : gboolean ) ; } extern "C" { pub fn g_simple_action_set_state ( simple : * mut GSimpleAction , value : * mut GVariant ) ; } extern "C" { pub fn g_simple_action_set_state_hint ( simple : * mut GSimpleAction , state_hint : * mut GVariant ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleActionGroupPrivate { _unused : [ u8 ; 0 ] , } pub type GSimpleActionGroupPrivate = _GSimpleActionGroupPrivate ; pub type GSimpleActionGroupClass = _GSimpleActionGroupClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleActionGroup { pub parent_instance : GObject , pub priv_ : * mut GSimpleActionGroupPrivate , } # [ test ] fn bindgen_test_layout__GSimpleActionGroup ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSimpleActionGroup > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSimpleActionGroup ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSimpleActionGroup > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSimpleActionGroup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleActionGroup > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleActionGroup ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleActionGroup > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleActionGroup ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleActionGroupClass { pub parent_class : GObjectClass , pub padding : [ gpointer ; 12usize ] , } # [ test ] fn bindgen_test_layout__GSimpleActionGroupClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSimpleActionGroupClass > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( _GSimpleActionGroupClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSimpleActionGroupClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSimpleActionGroupClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleActionGroupClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleActionGroupClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleActionGroupClass > ( ) ) ) . padding as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleActionGroupClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_simple_action_group_get_type ( ) -> GType ; } extern "C" { pub fn g_simple_action_group_new ( ) -> * mut GSimpleActionGroup ; } extern "C" { pub fn g_simple_action_group_lookup ( simple : * mut GSimpleActionGroup , action_name : * const gchar ) -> * mut GAction ; } extern "C" { pub fn g_simple_action_group_insert ( simple : * mut GSimpleActionGroup , action : * mut GAction ) ; } extern "C" { pub fn g_simple_action_group_remove ( simple : * mut GSimpleActionGroup , action_name : * const gchar ) ; } extern "C" { pub fn g_simple_action_group_add_entries ( simple : * mut GSimpleActionGroup , entries : * const GActionEntry , n_entries : gint , user_data : gpointer ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleAsyncResultClass { _unused : [ u8 ; 0 ] , } pub type GSimpleAsyncResultClass = _GSimpleAsyncResultClass ; extern "C" { pub fn g_simple_async_result_get_type ( ) -> GType ; } extern "C" { pub fn g_simple_async_result_new ( source_object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , source_tag : gpointer ) -> * mut GSimpleAsyncResult ; } extern "C" { pub fn g_simple_async_result_new_error ( source_object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , domain : GQuark , code : gint , format : * const :: std :: os :: raw :: c_char , ... ) -> * mut GSimpleAsyncResult ; } extern "C" { pub fn g_simple_async_result_new_from_error ( source_object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , error : * const GError ) -> * mut GSimpleAsyncResult ; } extern "C" { pub fn g_simple_async_result_new_take_error ( source_object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , error : * mut GError ) -> * mut GSimpleAsyncResult ; } extern "C" { pub fn g_simple_async_result_set_op_res_gpointer ( simple : * mut GSimpleAsyncResult , op_res : gpointer , destroy_op_res : GDestroyNotify ) ; } extern "C" { pub fn g_simple_async_result_get_op_res_gpointer ( simple : * mut GSimpleAsyncResult ) -> gpointer ; } extern "C" { pub fn g_simple_async_result_set_op_res_gssize ( simple : * mut GSimpleAsyncResult , op_res : gssize ) ; } extern "C" { pub fn g_simple_async_result_get_op_res_gssize ( simple : * mut GSimpleAsyncResult ) -> gssize ; } extern "C" { pub fn g_simple_async_result_set_op_res_gboolean ( simple : * mut GSimpleAsyncResult , op_res : gboolean ) ; } extern "C" { pub fn g_simple_async_result_get_op_res_gboolean ( simple : * mut GSimpleAsyncResult ) -> gboolean ; } extern "C" { pub fn g_simple_async_result_set_check_cancellable ( simple : * mut GSimpleAsyncResult , check_cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_simple_async_result_get_source_tag ( simple : * mut GSimpleAsyncResult ) -> gpointer ; } extern "C" { pub fn g_simple_async_result_set_handle_cancellation ( simple : * mut GSimpleAsyncResult , handle_cancellation : gboolean ) ; } extern "C" { pub fn g_simple_async_result_complete ( simple : * mut GSimpleAsyncResult ) ; } extern "C" { pub fn g_simple_async_result_complete_in_idle ( simple : * mut GSimpleAsyncResult ) ; } extern "C" { pub fn g_simple_async_result_run_in_thread ( simple : * mut GSimpleAsyncResult , func : GSimpleAsyncThreadFunc , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable ) ; } extern "C" { pub fn g_simple_async_result_set_from_error ( simple : * mut GSimpleAsyncResult , error : * const GError ) ; } extern "C" { pub fn g_simple_async_result_take_error ( simple : * mut GSimpleAsyncResult , error : * mut GError ) ; } extern "C" { pub fn g_simple_async_result_propagate_error ( simple : * mut GSimpleAsyncResult , dest : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_simple_async_result_set_error ( simple : * mut GSimpleAsyncResult , domain : GQuark , code : gint , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_simple_async_result_set_error_va ( simple : * mut GSimpleAsyncResult , domain : GQuark , code : gint , format : * const :: std :: os :: raw :: c_char , args : * mut __va_list_tag ) ; } extern "C" { pub fn g_simple_async_result_is_valid ( result : * mut GAsyncResult , source : * mut GObject , source_tag : gpointer ) -> gboolean ; } extern "C" { pub fn g_simple_async_report_error_in_idle ( object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , domain : GQuark , code : gint , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_simple_async_report_gerror_in_idle ( object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , error : * const GError ) ; } extern "C" { pub fn g_simple_async_report_take_gerror_in_idle ( object : * mut GObject , callback : GAsyncReadyCallback , user_data : gpointer , error : * mut GError ) ; } extern "C" { pub fn g_simple_io_stream_get_type ( ) -> GType ; } extern "C" { pub fn g_simple_io_stream_new ( input_stream : * mut GInputStream , output_stream : * mut GOutputStream ) -> * mut GIOStream ; } extern "C" { pub fn g_simple_permission_get_type ( ) -> GType ; } extern "C" { pub fn g_simple_permission_new ( allowed : gboolean ) -> * mut GPermission ; } pub type GSimpleProxyResolver = _GSimpleProxyResolver ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleProxyResolverPrivate { _unused : [ u8 ; 0 ] , } pub type GSimpleProxyResolverPrivate = _GSimpleProxyResolverPrivate ; pub type GSimpleProxyResolverClass = _GSimpleProxyResolverClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleProxyResolver { pub parent_instance : GObject , pub priv_ : * mut GSimpleProxyResolverPrivate , } # [ test ] fn bindgen_test_layout__GSimpleProxyResolver ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSimpleProxyResolver > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSimpleProxyResolver ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSimpleProxyResolver > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSimpleProxyResolver ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolver > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolver ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolver > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolver ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSimpleProxyResolverClass { pub parent_class : GObjectClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSimpleProxyResolverClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSimpleProxyResolverClass > ( ) , 176usize , concat ! ( "Size of: " , stringify ! ( _GSimpleProxyResolverClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSimpleProxyResolverClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSimpleProxyResolverClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolverClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolverClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolverClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolverClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolverClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolverClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolverClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolverClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolverClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolverClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSimpleProxyResolverClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GSimpleProxyResolverClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } extern "C" { pub fn g_simple_proxy_resolver_get_type ( ) -> GType ; } extern "C" { pub fn g_simple_proxy_resolver_new ( default_proxy : * const gchar , ignore_hosts : * mut * mut gchar ) -> * mut GProxyResolver ; } extern "C" { pub fn g_simple_proxy_resolver_set_default_proxy ( resolver : * mut GSimpleProxyResolver , default_proxy : * const gchar ) ; } extern "C" { pub fn g_simple_proxy_resolver_set_ignore_hosts ( resolver : * mut GSimpleProxyResolver , ignore_hosts : * mut * mut gchar ) ; } extern "C" { pub fn g_simple_proxy_resolver_set_uri_proxy ( resolver : * mut GSimpleProxyResolver , uri_scheme : * const gchar , proxy : * const gchar ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketPrivate { _unused : [ u8 ; 0 ] , } pub type GSocketPrivate = _GSocketPrivate ; pub type GSocketClass = _GSocketClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketClass { pub parent_class : GObjectClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved7 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved8 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved9 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved10 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSocketClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketClass > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _GSocketClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved7 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved7 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved8 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved8 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved9 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved9 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClass > ( ) ) ) . _g_reserved10 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClass ) , "::" , stringify ! ( _g_reserved10 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocket { pub parent_instance : GObject , pub priv_ : * mut GSocketPrivate , } # [ test ] fn bindgen_test_layout__GSocket ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocket > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSocket ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocket > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocket ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocket > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocket ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocket > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSocket ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_socket_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_new ( family : GSocketFamily , type_ : GSocketType , protocol : GSocketProtocol , error : * mut * mut GError ) -> * mut GSocket ; } extern "C" { pub fn g_socket_new_from_fd ( fd : gint , error : * mut * mut GError ) -> * mut GSocket ; } extern "C" { pub fn g_socket_get_fd ( socket : * mut GSocket ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_socket_get_family ( socket : * mut GSocket ) -> GSocketFamily ; } extern "C" { pub fn g_socket_get_socket_type ( socket : * mut GSocket ) -> GSocketType ; } extern "C" { pub fn g_socket_get_protocol ( socket : * mut GSocket ) -> GSocketProtocol ; } extern "C" { pub fn g_socket_get_local_address ( socket : * mut GSocket , error : * mut * mut GError ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_get_remote_address ( socket : * mut GSocket , error : * mut * mut GError ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_set_blocking ( socket : * mut GSocket , blocking : gboolean ) ; } extern "C" { pub fn g_socket_get_blocking ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_set_keepalive ( socket : * mut GSocket , keepalive : gboolean ) ; } extern "C" { pub fn g_socket_get_keepalive ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_get_listen_backlog ( socket : * mut GSocket ) -> gint ; } extern "C" { pub fn g_socket_set_listen_backlog ( socket : * mut GSocket , backlog : gint ) ; } extern "C" { pub fn g_socket_get_timeout ( socket : * mut GSocket ) -> guint ; } extern "C" { pub fn g_socket_set_timeout ( socket : * mut GSocket , timeout : guint ) ; } extern "C" { pub fn g_socket_get_ttl ( socket : * mut GSocket ) -> guint ; } extern "C" { pub fn g_socket_set_ttl ( socket : * mut GSocket , ttl : guint ) ; } extern "C" { pub fn g_socket_get_broadcast ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_set_broadcast ( socket : * mut GSocket , broadcast : gboolean ) ; } extern "C" { pub fn g_socket_get_multicast_loopback ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_set_multicast_loopback ( socket : * mut GSocket , loopback : gboolean ) ; } extern "C" { pub fn g_socket_get_multicast_ttl ( socket : * mut GSocket ) -> guint ; } extern "C" { pub fn g_socket_set_multicast_ttl ( socket : * mut GSocket , ttl : guint ) ; } extern "C" { pub fn g_socket_is_connected ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_bind ( socket : * mut GSocket , address : * mut GSocketAddress , allow_reuse : gboolean , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_join_multicast_group ( socket : * mut GSocket , group : * mut GInetAddress , source_specific : gboolean , iface : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_leave_multicast_group ( socket : * mut GSocket , group : * mut GInetAddress , source_specific : gboolean , iface : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_join_multicast_group_ssm ( socket : * mut GSocket , group : * mut GInetAddress , source_specific : * mut GInetAddress , iface : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_leave_multicast_group_ssm ( socket : * mut GSocket , group : * mut GInetAddress , source_specific : * mut GInetAddress , iface : * const gchar , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_connect ( socket : * mut GSocket , address : * mut GSocketAddress , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_check_connect_result ( socket : * mut GSocket , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_get_available_bytes ( socket : * mut GSocket ) -> gssize ; } extern "C" { pub fn g_socket_condition_check ( socket : * mut GSocket , condition : GIOCondition ) -> GIOCondition ; } extern "C" { pub fn g_socket_condition_wait ( socket : * mut GSocket , condition : GIOCondition , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_condition_timed_wait ( socket : * mut GSocket , condition : GIOCondition , timeout_us : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_accept ( socket : * mut GSocket , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocket ; } extern "C" { pub fn g_socket_listen ( socket : * mut GSocket , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_receive ( socket : * mut GSocket , buffer : * mut gchar , size : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_receive_bytes ( socket : * mut GSocket , size : gsize , timeout_us : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_socket_receive_from ( socket : * mut GSocket , address : * mut * mut GSocketAddress , buffer : * mut gchar , size : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_receive_bytes_from ( socket : * mut GSocket , address : * mut * mut GSocketAddress , size : gsize , timeout_us : gint64 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GBytes ; } extern "C" { pub fn g_socket_send ( socket : * mut GSocket , buffer : * const gchar , size : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_send_to ( socket : * mut GSocket , address : * mut GSocketAddress , buffer : * const gchar , size : gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_receive_message ( socket : * mut GSocket , address : * mut * mut GSocketAddress , vectors : * mut GInputVector , num_vectors : gint , messages : * mut * mut * mut GSocketControlMessage , num_messages : * mut gint , flags : * mut gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_send_message ( socket : * mut GSocket , address : * mut GSocketAddress , vectors : * mut GOutputVector , num_vectors : gint , messages : * mut * mut GSocketControlMessage , num_messages : gint , flags : gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_receive_messages ( socket : * mut GSocket , messages : * mut GInputMessage , num_messages : guint , flags : gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_socket_send_messages ( socket : * mut GSocket , messages : * mut GOutputMessage , num_messages : guint , flags : gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_socket_close ( socket : * mut GSocket , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_shutdown ( socket : * mut GSocket , shutdown_read : gboolean , shutdown_write : gboolean , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_is_closed ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_create_source ( socket : * mut GSocket , condition : GIOCondition , cancellable : * mut GCancellable ) -> * mut GSource ; } extern "C" { pub fn g_socket_speaks_ipv4 ( socket : * mut GSocket ) -> gboolean ; } extern "C" { pub fn g_socket_get_credentials ( socket : * mut GSocket , error : * mut * mut GError ) -> * mut GCredentials ; } extern "C" { pub fn g_socket_receive_with_blocking ( socket : * mut GSocket , buffer : * mut gchar , size : gsize , blocking : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_send_with_blocking ( socket : * mut GSocket , buffer : * const gchar , size : gsize , blocking : gboolean , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_socket_send_message_with_timeout ( socket : * mut GSocket , address : * mut GSocketAddress , vectors : * const GOutputVector , num_vectors : gint , messages : * mut * mut GSocketControlMessage , num_messages : gint , flags : gint , timeout_us : gint64 , bytes_written : * mut gsize , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GPollableReturn ; } extern "C" { pub fn g_socket_get_option ( socket : * mut GSocket , level : gint , optname : gint , value : * mut gint , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_set_option ( socket : * mut GSocket , level : gint , optname : gint , value : gint , error : * mut * mut GError ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketClientPrivate { _unused : [ u8 ; 0 ] , } pub type GSocketClientPrivate = _GSocketClientPrivate ; pub type GSocketClientClass = _GSocketClientClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketClientClass { pub parent_class : GObjectClass , pub event : :: std :: option :: Option < unsafe extern "C" fn ( client : * mut GSocketClient , event : GSocketClientEvent , connectable : * mut GSocketConnectable , connection : * mut GIOStream ) > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSocketClientClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketClientClass > ( ) , 176usize , concat ! ( "Size of: " , stringify ! ( _GSocketClientClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketClientClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketClientClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClientClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClientClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClientClass > ( ) ) ) . event as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClientClass ) , "::" , stringify ! ( event ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClientClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClientClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClientClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClientClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClientClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClientClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClientClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClientClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketClient { pub parent_instance : GObject , pub priv_ : * mut GSocketClientPrivate , } # [ test ] fn bindgen_test_layout__GSocketClient ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketClient > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSocketClient ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketClient > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketClient ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClient > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClient ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketClient > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketClient ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_socket_client_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_client_new ( ) -> * mut GSocketClient ; } extern "C" { pub fn g_socket_client_get_family ( client : * mut GSocketClient ) -> GSocketFamily ; } extern "C" { pub fn g_socket_client_set_family ( client : * mut GSocketClient , family : GSocketFamily ) ; } extern "C" { pub fn g_socket_client_get_socket_type ( client : * mut GSocketClient ) -> GSocketType ; } extern "C" { pub fn g_socket_client_set_socket_type ( client : * mut GSocketClient , type_ : GSocketType ) ; } extern "C" { pub fn g_socket_client_get_protocol ( client : * mut GSocketClient ) -> GSocketProtocol ; } extern "C" { pub fn g_socket_client_set_protocol ( client : * mut GSocketClient , protocol : GSocketProtocol ) ; } extern "C" { pub fn g_socket_client_get_local_address ( client : * mut GSocketClient ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_client_set_local_address ( client : * mut GSocketClient , address : * mut GSocketAddress ) ; } extern "C" { pub fn g_socket_client_get_timeout ( client : * mut GSocketClient ) -> guint ; } extern "C" { pub fn g_socket_client_set_timeout ( client : * mut GSocketClient , timeout : guint ) ; } extern "C" { pub fn g_socket_client_get_enable_proxy ( client : * mut GSocketClient ) -> gboolean ; } extern "C" { pub fn g_socket_client_set_enable_proxy ( client : * mut GSocketClient , enable : gboolean ) ; } extern "C" { pub fn g_socket_client_get_tls ( client : * mut GSocketClient ) -> gboolean ; } extern "C" { pub fn g_socket_client_set_tls ( client : * mut GSocketClient , tls : gboolean ) ; } extern "C" { pub fn g_socket_client_get_tls_validation_flags ( client : * mut GSocketClient ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_socket_client_set_tls_validation_flags ( client : * mut GSocketClient , flags : GTlsCertificateFlags ) ; } extern "C" { pub fn g_socket_client_get_proxy_resolver ( client : * mut GSocketClient ) -> * mut GProxyResolver ; } extern "C" { pub fn g_socket_client_set_proxy_resolver ( client : * mut GSocketClient , proxy_resolver : * mut GProxyResolver ) ; } extern "C" { pub fn g_socket_client_connect ( client : * mut GSocketClient , connectable : * mut GSocketConnectable , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_to_host ( client : * mut GSocketClient , host_and_port : * const gchar , default_port : guint16 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_to_service ( client : * mut GSocketClient , domain : * const gchar , service : * const gchar , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_to_uri ( client : * mut GSocketClient , uri : * const gchar , default_port : guint16 , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_async ( client : * mut GSocketClient , connectable : * mut GSocketConnectable , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_client_connect_finish ( client : * mut GSocketClient , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_to_host_async ( client : * mut GSocketClient , host_and_port : * const gchar , default_port : guint16 , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_client_connect_to_host_finish ( client : * mut GSocketClient , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_to_service_async ( client : * mut GSocketClient , domain : * const gchar , service : * const gchar , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_client_connect_to_service_finish ( client : * mut GSocketClient , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_connect_to_uri_async ( client : * mut GSocketClient , uri : * const gchar , default_port : guint16 , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_client_connect_to_uri_finish ( client : * mut GSocketClient , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_client_add_application_proxy ( client : * mut GSocketClient , protocol : * const gchar ) ; } pub type GSocketConnectableIface = _GSocketConnectableIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketConnectableIface { pub g_iface : GTypeInterface , pub enumerate : :: std :: option :: Option < unsafe extern "C" fn ( connectable : * mut GSocketConnectable ) -> * mut GSocketAddressEnumerator > , pub proxy_enumerate : :: std :: option :: Option < unsafe extern "C" fn ( connectable : * mut GSocketConnectable ) -> * mut GSocketAddressEnumerator > , pub to_string : :: std :: option :: Option < unsafe extern "C" fn ( connectable : * mut GSocketConnectable ) -> * mut gchar > , } # [ test ] fn bindgen_test_layout__GSocketConnectableIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketConnectableIface > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GSocketConnectableIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketConnectableIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketConnectableIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectableIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectableIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectableIface > ( ) ) ) . enumerate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectableIface ) , "::" , stringify ! ( enumerate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectableIface > ( ) ) ) . proxy_enumerate as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectableIface ) , "::" , stringify ! ( proxy_enumerate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectableIface > ( ) ) ) . to_string as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectableIface ) , "::" , stringify ! ( to_string ) ) ) ; } extern "C" { pub fn g_socket_connectable_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_connectable_enumerate ( connectable : * mut GSocketConnectable ) -> * mut GSocketAddressEnumerator ; } extern "C" { pub fn g_socket_connectable_proxy_enumerate ( connectable : * mut GSocketConnectable ) -> * mut GSocketAddressEnumerator ; } extern "C" { pub fn g_socket_connectable_to_string ( connectable : * mut GSocketConnectable ) -> * mut gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketConnectionPrivate { _unused : [ u8 ; 0 ] , } pub type GSocketConnectionPrivate = _GSocketConnectionPrivate ; pub type GSocketConnectionClass = _GSocketConnectionClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketConnectionClass { pub parent_class : GIOStreamClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSocketConnectionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketConnectionClass > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( _GSocketConnectionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketConnectionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketConnectionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnectionClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnectionClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketConnection { pub parent_instance : GIOStream , pub priv_ : * mut GSocketConnectionPrivate , } # [ test ] fn bindgen_test_layout__GSocketConnection ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketConnection > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GSocketConnection ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketConnection > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketConnection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnection > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnection ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketConnection > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketConnection ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_socket_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_connection_is_connected ( connection : * mut GSocketConnection ) -> gboolean ; } extern "C" { pub fn g_socket_connection_connect ( connection : * mut GSocketConnection , address : * mut GSocketAddress , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_connection_connect_async ( connection : * mut GSocketConnection , address : * mut GSocketAddress , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_connection_connect_finish ( connection : * mut GSocketConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_connection_get_socket ( connection : * mut GSocketConnection ) -> * mut GSocket ; } extern "C" { pub fn g_socket_connection_get_local_address ( connection : * mut GSocketConnection , error : * mut * mut GError ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_connection_get_remote_address ( connection : * mut GSocketConnection , error : * mut * mut GError ) -> * mut GSocketAddress ; } extern "C" { pub fn g_socket_connection_factory_register_type ( g_type : GType , family : GSocketFamily , type_ : GSocketType , protocol : gint ) ; } extern "C" { pub fn g_socket_connection_factory_lookup_type ( family : GSocketFamily , type_ : GSocketType , protocol_id : gint ) -> GType ; } extern "C" { pub fn g_socket_connection_factory_create_connection ( socket : * mut GSocket ) -> * mut GSocketConnection ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketControlMessagePrivate { _unused : [ u8 ; 0 ] , } pub type GSocketControlMessagePrivate = _GSocketControlMessagePrivate ; pub type GSocketControlMessageClass = _GSocketControlMessageClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketControlMessageClass { pub parent_class : GObjectClass , pub get_size : :: std :: option :: Option < unsafe extern "C" fn ( message : * mut GSocketControlMessage ) -> gsize > , pub get_level : :: std :: option :: Option < unsafe extern "C" fn ( message : * mut GSocketControlMessage ) -> :: std :: os :: raw :: c_int > , pub get_type : :: std :: option :: Option < unsafe extern "C" fn ( message : * mut GSocketControlMessage ) -> :: std :: os :: raw :: c_int > , pub serialize : :: std :: option :: Option < unsafe extern "C" fn ( message : * mut GSocketControlMessage , data : gpointer ) > , pub deserialize : :: std :: option :: Option < unsafe extern "C" fn ( level : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int , size : gsize , data : gpointer ) -> * mut GSocketControlMessage > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSocketControlMessageClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketControlMessageClass > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _GSocketControlMessageClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketControlMessageClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketControlMessageClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . get_size as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( get_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . get_level as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( get_level ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . get_type as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( get_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . serialize as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( serialize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . deserialize as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( deserialize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessageClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessageClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketControlMessage { pub parent_instance : GObject , pub priv_ : * mut GSocketControlMessagePrivate , } # [ test ] fn bindgen_test_layout__GSocketControlMessage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketControlMessage > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSocketControlMessage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketControlMessage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketControlMessage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessage > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessage ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketControlMessage > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketControlMessage ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_socket_control_message_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_control_message_get_size ( message : * mut GSocketControlMessage ) -> gsize ; } extern "C" { pub fn g_socket_control_message_get_level ( message : * mut GSocketControlMessage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_socket_control_message_get_msg_type ( message : * mut GSocketControlMessage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn g_socket_control_message_serialize ( message : * mut GSocketControlMessage , data : gpointer ) ; } extern "C" { pub fn g_socket_control_message_deserialize ( level : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int , size : gsize , data : gpointer ) -> * mut GSocketControlMessage ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketListenerPrivate { _unused : [ u8 ; 0 ] , } pub type GSocketListenerPrivate = _GSocketListenerPrivate ; pub type GSocketListenerClass = _GSocketListenerClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketListenerClass { pub parent_class : GObjectClass , pub changed : :: std :: option :: Option < unsafe extern "C" fn ( listener : * mut GSocketListener ) > , pub event : :: std :: option :: Option < unsafe extern "C" fn ( listener : * mut GSocketListener , event : GSocketListenerEvent , socket : * mut GSocket ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSocketListenerClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketListenerClass > ( ) , 192usize , concat ! ( "Size of: " , stringify ! ( _GSocketListenerClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketListenerClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketListenerClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . changed as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . event as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( event ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListenerClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListenerClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketListener { pub parent_instance : GObject , pub priv_ : * mut GSocketListenerPrivate , } # [ test ] fn bindgen_test_layout__GSocketListener ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketListener > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GSocketListener ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketListener > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketListener ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListener > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListener ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketListener > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketListener ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_socket_listener_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_listener_new ( ) -> * mut GSocketListener ; } extern "C" { pub fn g_socket_listener_set_backlog ( listener : * mut GSocketListener , listen_backlog : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn g_socket_listener_add_socket ( listener : * mut GSocketListener , socket : * mut GSocket , source_object : * mut GObject , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_listener_add_address ( listener : * mut GSocketListener , address : * mut GSocketAddress , type_ : GSocketType , protocol : GSocketProtocol , source_object : * mut GObject , effective_address : * mut * mut GSocketAddress , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_listener_add_inet_port ( listener : * mut GSocketListener , port : guint16 , source_object : * mut GObject , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_socket_listener_add_any_inet_port ( listener : * mut GSocketListener , source_object : * mut GObject , error : * mut * mut GError ) -> guint16 ; } extern "C" { pub fn g_socket_listener_accept_socket ( listener : * mut GSocketListener , source_object : * mut * mut GObject , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocket ; } extern "C" { pub fn g_socket_listener_accept_socket_async ( listener : * mut GSocketListener , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_listener_accept_socket_finish ( listener : * mut GSocketListener , result : * mut GAsyncResult , source_object : * mut * mut GObject , error : * mut * mut GError ) -> * mut GSocket ; } extern "C" { pub fn g_socket_listener_accept ( listener : * mut GSocketListener , source_object : * mut * mut GObject , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_listener_accept_async ( listener : * mut GSocketListener , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_socket_listener_accept_finish ( listener : * mut GSocketListener , result : * mut GAsyncResult , source_object : * mut * mut GObject , error : * mut * mut GError ) -> * mut GSocketConnection ; } extern "C" { pub fn g_socket_listener_close ( listener : * mut GSocketListener ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketServicePrivate { _unused : [ u8 ; 0 ] , } pub type GSocketServicePrivate = _GSocketServicePrivate ; pub type GSocketServiceClass = _GSocketServiceClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketServiceClass { pub parent_class : GSocketListenerClass , pub incoming : :: std :: option :: Option < unsafe extern "C" fn ( service : * mut GSocketService , connection : * mut GSocketConnection , source_object : * mut GObject ) -> gboolean > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GSocketServiceClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketServiceClass > ( ) , 248usize , concat ! ( "Size of: " , stringify ! ( _GSocketServiceClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketServiceClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketServiceClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . incoming as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( incoming ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketServiceClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketServiceClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GSocketService { pub parent_instance : GSocketListener , pub priv_ : * mut GSocketServicePrivate , } # [ test ] fn bindgen_test_layout__GSocketService ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GSocketService > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GSocketService ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GSocketService > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GSocketService ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketService > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketService ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GSocketService > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GSocketService ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_socket_service_get_type ( ) -> GType ; } extern "C" { pub fn g_socket_service_new ( ) -> * mut GSocketService ; } extern "C" { pub fn g_socket_service_start ( service : * mut GSocketService ) ; } extern "C" { pub fn g_socket_service_stop ( service : * mut GSocketService ) ; } extern "C" { pub fn g_socket_service_is_active ( service : * mut GSocketService ) -> gboolean ; } extern "C" { pub fn g_srv_target_get_type ( ) -> GType ; } extern "C" { pub fn g_srv_target_new ( hostname : * const gchar , port : guint16 , priority : guint16 , weight : guint16 ) -> * mut GSrvTarget ; } extern "C" { pub fn g_srv_target_copy ( target : * mut GSrvTarget ) -> * mut GSrvTarget ; } extern "C" { pub fn g_srv_target_free ( target : * mut GSrvTarget ) ; } extern "C" { pub fn g_srv_target_get_hostname ( target : * mut GSrvTarget ) -> * const gchar ; } extern "C" { pub fn g_srv_target_get_port ( target : * mut GSrvTarget ) -> guint16 ; } extern "C" { pub fn g_srv_target_get_priority ( target : * mut GSrvTarget ) -> guint16 ; } extern "C" { pub fn g_srv_target_get_weight ( target : * mut GSrvTarget ) -> guint16 ; } extern "C" { pub fn g_srv_target_list_sort ( targets : * mut GList ) -> * mut GList ; } extern "C" { pub fn g_subprocess_get_type ( ) -> GType ; } extern "C" { pub fn g_subprocess_new ( flags : GSubprocessFlags , error : * mut * mut GError , argv0 : * const gchar , ... ) -> * mut GSubprocess ; } extern "C" { pub fn g_subprocess_newv ( argv : * const * const gchar , flags : GSubprocessFlags , error : * mut * mut GError ) -> * mut GSubprocess ; } extern "C" { pub fn g_subprocess_get_stdin_pipe ( subprocess : * mut GSubprocess ) -> * mut GOutputStream ; } extern "C" { pub fn g_subprocess_get_stdout_pipe ( subprocess : * mut GSubprocess ) -> * mut GInputStream ; } extern "C" { pub fn g_subprocess_get_stderr_pipe ( subprocess : * mut GSubprocess ) -> * mut GInputStream ; } extern "C" { pub fn g_subprocess_get_identifier ( subprocess : * mut GSubprocess ) -> * const gchar ; } extern "C" { pub fn g_subprocess_send_signal ( subprocess : * mut GSubprocess , signal_num : gint ) ; } extern "C" { pub fn g_subprocess_force_exit ( subprocess : * mut GSubprocess ) ; } extern "C" { pub fn g_subprocess_wait ( subprocess : * mut GSubprocess , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_wait_async ( subprocess : * mut GSubprocess , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_subprocess_wait_finish ( subprocess : * mut GSubprocess , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_wait_check ( subprocess : * mut GSubprocess , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_wait_check_async ( subprocess : * mut GSubprocess , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_subprocess_wait_check_finish ( subprocess : * mut GSubprocess , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_get_status ( subprocess : * mut GSubprocess ) -> gint ; } extern "C" { pub fn g_subprocess_get_successful ( subprocess : * mut GSubprocess ) -> gboolean ; } extern "C" { pub fn g_subprocess_get_if_exited ( subprocess : * mut GSubprocess ) -> gboolean ; } extern "C" { pub fn g_subprocess_get_exit_status ( subprocess : * mut GSubprocess ) -> gint ; } extern "C" { pub fn g_subprocess_get_if_signaled ( subprocess : * mut GSubprocess ) -> gboolean ; } extern "C" { pub fn g_subprocess_get_term_sig ( subprocess : * mut GSubprocess ) -> gint ; } extern "C" { pub fn g_subprocess_communicate ( subprocess : * mut GSubprocess , stdin_buf : * mut GBytes , cancellable : * mut GCancellable , stdout_buf : * mut * mut GBytes , stderr_buf : * mut * mut GBytes , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_communicate_async ( subprocess : * mut GSubprocess , stdin_buf : * mut GBytes , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_subprocess_communicate_finish ( subprocess : * mut GSubprocess , result : * mut GAsyncResult , stdout_buf : * mut * mut GBytes , stderr_buf : * mut * mut GBytes , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_communicate_utf8 ( subprocess : * mut GSubprocess , stdin_buf : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , stdout_buf : * mut * mut :: std :: os :: raw :: c_char , stderr_buf : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_communicate_utf8_async ( subprocess : * mut GSubprocess , stdin_buf : * const :: std :: os :: raw :: c_char , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_subprocess_communicate_utf8_finish ( subprocess : * mut GSubprocess , result : * mut GAsyncResult , stdout_buf : * mut * mut :: std :: os :: raw :: c_char , stderr_buf : * mut * mut :: std :: os :: raw :: c_char , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_subprocess_launcher_get_type ( ) -> GType ; } extern "C" { pub fn g_subprocess_launcher_new ( flags : GSubprocessFlags ) -> * mut GSubprocessLauncher ; } extern "C" { pub fn g_subprocess_launcher_spawn ( self_ : * mut GSubprocessLauncher , error : * mut * mut GError , argv0 : * const gchar , ... ) -> * mut GSubprocess ; } extern "C" { pub fn g_subprocess_launcher_spawnv ( self_ : * mut GSubprocessLauncher , argv : * const * const gchar , error : * mut * mut GError ) -> * mut GSubprocess ; } extern "C" { pub fn g_subprocess_launcher_set_environ ( self_ : * mut GSubprocessLauncher , env : * mut * mut gchar ) ; } extern "C" { pub fn g_subprocess_launcher_setenv ( self_ : * mut GSubprocessLauncher , variable : * const gchar , value : * const gchar , overwrite : gboolean ) ; } extern "C" { pub fn g_subprocess_launcher_unsetenv ( self_ : * mut GSubprocessLauncher , variable : * const gchar ) ; } extern "C" { pub fn g_subprocess_launcher_getenv ( self_ : * mut GSubprocessLauncher , variable : * const gchar ) -> * const gchar ; } extern "C" { pub fn g_subprocess_launcher_set_cwd ( self_ : * mut GSubprocessLauncher , cwd : * const gchar ) ; } extern "C" { pub fn g_subprocess_launcher_set_flags ( self_ : * mut GSubprocessLauncher , flags : GSubprocessFlags ) ; } extern "C" { pub fn g_subprocess_launcher_set_stdin_file_path ( self_ : * mut GSubprocessLauncher , path : * const gchar ) ; } extern "C" { pub fn g_subprocess_launcher_take_stdin_fd ( self_ : * mut GSubprocessLauncher , fd : gint ) ; } extern "C" { pub fn g_subprocess_launcher_set_stdout_file_path ( self_ : * mut GSubprocessLauncher , path : * const gchar ) ; } extern "C" { pub fn g_subprocess_launcher_take_stdout_fd ( self_ : * mut GSubprocessLauncher , fd : gint ) ; } extern "C" { pub fn g_subprocess_launcher_set_stderr_file_path ( self_ : * mut GSubprocessLauncher , path : * const gchar ) ; } extern "C" { pub fn g_subprocess_launcher_take_stderr_fd ( self_ : * mut GSubprocessLauncher , fd : gint ) ; } extern "C" { pub fn g_subprocess_launcher_take_fd ( self_ : * mut GSubprocessLauncher , source_fd : gint , target_fd : gint ) ; } extern "C" { pub fn g_subprocess_launcher_close ( self_ : * mut GSubprocessLauncher ) ; } extern "C" { pub fn g_subprocess_launcher_set_child_setup ( self_ : * mut GSubprocessLauncher , child_setup : GSpawnChildSetupFunc , user_data : gpointer , destroy_notify : GDestroyNotify ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTaskClass { _unused : [ u8 ; 0 ] , } pub type GTaskClass = _GTaskClass ; extern "C" { pub fn g_task_get_type ( ) -> GType ; } extern "C" { pub fn g_task_new ( source_object : gpointer , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , callback_data : gpointer ) -> * mut GTask ; } extern "C" { pub fn g_task_report_error ( source_object : gpointer , callback : GAsyncReadyCallback , callback_data : gpointer , source_tag : gpointer , error : * mut GError ) ; } extern "C" { pub fn g_task_report_new_error ( source_object : gpointer , callback : GAsyncReadyCallback , callback_data : gpointer , source_tag : gpointer , domain : GQuark , code : gint , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_task_set_task_data ( task : * mut GTask , task_data : gpointer , task_data_destroy : GDestroyNotify ) ; } extern "C" { pub fn g_task_set_priority ( task : * mut GTask , priority : gint ) ; } extern "C" { pub fn g_task_set_check_cancellable ( task : * mut GTask , check_cancellable : gboolean ) ; } extern "C" { pub fn g_task_set_source_tag ( task : * mut GTask , source_tag : gpointer ) ; } extern "C" { pub fn g_task_set_name ( task : * mut GTask , name : * const gchar ) ; } extern "C" { pub fn g_task_set_static_name ( task : * mut GTask , name : * const gchar ) ; } extern "C" { pub fn g_task_get_source_object ( task : * mut GTask ) -> gpointer ; } extern "C" { pub fn g_task_get_task_data ( task : * mut GTask ) -> gpointer ; } extern "C" { pub fn g_task_get_priority ( task : * mut GTask ) -> gint ; } extern "C" { pub fn g_task_get_context ( task : * mut GTask ) -> * mut GMainContext ; } extern "C" { pub fn g_task_get_cancellable ( task : * mut GTask ) -> * mut GCancellable ; } extern "C" { pub fn g_task_get_check_cancellable ( task : * mut GTask ) -> gboolean ; } extern "C" { pub fn g_task_get_source_tag ( task : * mut GTask ) -> gpointer ; } extern "C" { pub fn g_task_get_name ( task : * mut GTask ) -> * const gchar ; } extern "C" { pub fn g_task_is_valid ( result : gpointer , source_object : gpointer ) -> gboolean ; } pub type GTaskThreadFunc = :: std :: option :: Option < unsafe extern "C" fn ( task : * mut GTask , source_object : gpointer , task_data : gpointer , cancellable : * mut GCancellable ) > ; extern "C" { pub fn g_task_run_in_thread ( task : * mut GTask , task_func : GTaskThreadFunc ) ; } extern "C" { pub fn g_task_run_in_thread_sync ( task : * mut GTask , task_func : GTaskThreadFunc ) ; } extern "C" { pub fn g_task_set_return_on_cancel ( task : * mut GTask , return_on_cancel : gboolean ) -> gboolean ; } extern "C" { pub fn g_task_get_return_on_cancel ( task : * mut GTask ) -> gboolean ; } extern "C" { pub fn g_task_attach_source ( task : * mut GTask , source : * mut GSource , callback : GSourceFunc ) ; } extern "C" { pub fn g_task_return_pointer ( task : * mut GTask , result : gpointer , result_destroy : GDestroyNotify ) ; } extern "C" { pub fn g_task_return_boolean ( task : * mut GTask , result : gboolean ) ; } extern "C" { pub fn g_task_return_int ( task : * mut GTask , result : gssize ) ; } extern "C" { pub fn g_task_return_error ( task : * mut GTask , error : * mut GError ) ; } extern "C" { pub fn g_task_return_prefixed_error ( task : * mut GTask , error : * mut GError , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_task_return_new_error ( task : * mut GTask , domain : GQuark , code : gint , format : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn g_task_return_new_error_literal ( task : * mut GTask , domain : GQuark , code : gint , message : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_task_return_value ( task : * mut GTask , result : * mut GValue ) ; } extern "C" { pub fn g_task_return_error_if_cancelled ( task : * mut GTask ) -> gboolean ; } extern "C" { pub fn g_task_propagate_pointer ( task : * mut GTask , error : * mut * mut GError ) -> gpointer ; } extern "C" { pub fn g_task_propagate_boolean ( task : * mut GTask , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_task_propagate_int ( task : * mut GTask , error : * mut * mut GError ) -> gssize ; } extern "C" { pub fn g_task_propagate_value ( task : * mut GTask , value : * mut GValue , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_task_had_error ( task : * mut GTask ) -> gboolean ; } extern "C" { pub fn g_task_get_completed ( task : * mut GTask ) -> gboolean ; } extern "C" { pub fn g_task_print_alive_tasks ( ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTcpConnectionPrivate { _unused : [ u8 ; 0 ] , } pub type GTcpConnectionPrivate = _GTcpConnectionPrivate ; pub type GTcpConnectionClass = _GTcpConnectionClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTcpConnectionClass { pub parent_class : GSocketConnectionClass , } # [ test ] fn bindgen_test_layout__GTcpConnectionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTcpConnectionClass > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( _GTcpConnectionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTcpConnectionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTcpConnectionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTcpConnectionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTcpConnectionClass ) , "::" , stringify ! ( parent_class ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTcpConnection { pub parent_instance : GSocketConnection , pub priv_ : * mut GTcpConnectionPrivate , } # [ test ] fn bindgen_test_layout__GTcpConnection ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTcpConnection > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GTcpConnection ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTcpConnection > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTcpConnection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTcpConnection > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTcpConnection ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTcpConnection > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GTcpConnection ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_tcp_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_tcp_connection_set_graceful_disconnect ( connection : * mut GTcpConnection , graceful_disconnect : gboolean ) ; } extern "C" { pub fn g_tcp_connection_get_graceful_disconnect ( connection : * mut GTcpConnection ) -> gboolean ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTcpWrapperConnectionPrivate { _unused : [ u8 ; 0 ] , } pub type GTcpWrapperConnectionPrivate = _GTcpWrapperConnectionPrivate ; pub type GTcpWrapperConnectionClass = _GTcpWrapperConnectionClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTcpWrapperConnectionClass { pub parent_class : GTcpConnectionClass , } # [ test ] fn bindgen_test_layout__GTcpWrapperConnectionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTcpWrapperConnectionClass > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( _GTcpWrapperConnectionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTcpWrapperConnectionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTcpWrapperConnectionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTcpWrapperConnectionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTcpWrapperConnectionClass ) , "::" , stringify ! ( parent_class ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTcpWrapperConnection { pub parent_instance : GTcpConnection , pub priv_ : * mut GTcpWrapperConnectionPrivate , } # [ test ] fn bindgen_test_layout__GTcpWrapperConnection ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTcpWrapperConnection > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( _GTcpWrapperConnection ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTcpWrapperConnection > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTcpWrapperConnection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTcpWrapperConnection > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTcpWrapperConnection ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTcpWrapperConnection > ( ) ) ) . priv_ as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GTcpWrapperConnection ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_tcp_wrapper_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_tcp_wrapper_connection_new ( base_io_stream : * mut GIOStream , socket : * mut GSocket ) -> * mut GSocketConnection ; } extern "C" { pub fn g_tcp_wrapper_connection_get_base_io_stream ( conn : * mut GTcpWrapperConnection ) -> * mut GIOStream ; } extern "C" { pub fn g_test_dbus_get_type ( ) -> GType ; } extern "C" { pub fn g_test_dbus_new ( flags : GTestDBusFlags ) -> * mut GTestDBus ; } extern "C" { pub fn g_test_dbus_get_flags ( self_ : * mut GTestDBus ) -> GTestDBusFlags ; } extern "C" { pub fn g_test_dbus_get_bus_address ( self_ : * mut GTestDBus ) -> * const gchar ; } extern "C" { pub fn g_test_dbus_add_service_dir ( self_ : * mut GTestDBus , path : * const gchar ) ; } extern "C" { pub fn g_test_dbus_up ( self_ : * mut GTestDBus ) ; } extern "C" { pub fn g_test_dbus_stop ( self_ : * mut GTestDBus ) ; } extern "C" { pub fn g_test_dbus_down ( self_ : * mut GTestDBus ) ; } extern "C" { pub fn g_test_dbus_unset ( ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThemedIconClass { _unused : [ u8 ; 0 ] , } pub type GThemedIconClass = _GThemedIconClass ; extern "C" { pub fn g_themed_icon_get_type ( ) -> GType ; } extern "C" { pub fn g_themed_icon_new ( iconname : * const :: std :: os :: raw :: c_char ) -> * mut GIcon ; } extern "C" { pub fn g_themed_icon_new_with_default_fallbacks ( iconname : * const :: std :: os :: raw :: c_char ) -> * mut GIcon ; } extern "C" { pub fn g_themed_icon_new_from_names ( iconnames : * mut * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int ) -> * mut GIcon ; } extern "C" { pub fn g_themed_icon_prepend_name ( icon : * mut GThemedIcon , iconname : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_themed_icon_append_name ( icon : * mut GThemedIcon , iconname : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn g_themed_icon_get_names ( icon : * mut GThemedIcon ) -> * const * const gchar ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThreadedSocketServicePrivate { _unused : [ u8 ; 0 ] , } pub type GThreadedSocketServicePrivate = _GThreadedSocketServicePrivate ; pub type GThreadedSocketServiceClass = _GThreadedSocketServiceClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThreadedSocketServiceClass { pub parent_class : GSocketServiceClass , pub run : :: std :: option :: Option < unsafe extern "C" fn ( service : * mut GThreadedSocketService , connection : * mut GSocketConnection , source_object : * mut GObject ) -> gboolean > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GThreadedSocketServiceClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GThreadedSocketServiceClass > ( ) , 296usize , concat ! ( "Size of: " , stringify ! ( _GThreadedSocketServiceClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GThreadedSocketServiceClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GThreadedSocketServiceClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . run as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( run ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketServiceClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketServiceClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GThreadedSocketService { pub parent_instance : GSocketService , pub priv_ : * mut GThreadedSocketServicePrivate , } # [ test ] fn bindgen_test_layout__GThreadedSocketService ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GThreadedSocketService > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GThreadedSocketService ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GThreadedSocketService > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GThreadedSocketService ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketService > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketService ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GThreadedSocketService > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GThreadedSocketService ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_threaded_socket_service_get_type ( ) -> GType ; } extern "C" { pub fn g_threaded_socket_service_new ( max_threads : :: std :: os :: raw :: c_int ) -> * mut GSocketService ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsBackend { _unused : [ u8 ; 0 ] , } pub type GTlsBackend = _GTlsBackend ; pub type GTlsBackendInterface = _GTlsBackendInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsBackendInterface { pub g_iface : GTypeInterface , pub supports_tls : :: std :: option :: Option < unsafe extern "C" fn ( backend : * mut GTlsBackend ) -> gboolean > , pub get_certificate_type : :: std :: option :: Option < unsafe extern "C" fn ( ) -> GType > , pub get_client_connection_type : :: std :: option :: Option < unsafe extern "C" fn ( ) -> GType > , pub get_server_connection_type : :: std :: option :: Option < unsafe extern "C" fn ( ) -> GType > , pub get_file_database_type : :: std :: option :: Option < unsafe extern "C" fn ( ) -> GType > , pub get_default_database : :: std :: option :: Option < unsafe extern "C" fn ( backend : * mut GTlsBackend ) -> * mut GTlsDatabase > , pub supports_dtls : :: std :: option :: Option < unsafe extern "C" fn ( backend : * mut GTlsBackend ) -> gboolean > , pub get_dtls_client_connection_type : :: std :: option :: Option < unsafe extern "C" fn ( ) -> GType > , pub get_dtls_server_connection_type : :: std :: option :: Option < unsafe extern "C" fn ( ) -> GType > , } # [ test ] fn bindgen_test_layout__GTlsBackendInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsBackendInterface > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( _GTlsBackendInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsBackendInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsBackendInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . supports_tls as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( supports_tls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_certificate_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_certificate_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_client_connection_type as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_client_connection_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_server_connection_type as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_server_connection_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_file_database_type as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_file_database_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_default_database as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_default_database ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . supports_dtls as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( supports_dtls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_dtls_client_connection_type as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_dtls_client_connection_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsBackendInterface > ( ) ) ) . get_dtls_server_connection_type as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsBackendInterface ) , "::" , stringify ! ( get_dtls_server_connection_type ) ) ) ; } extern "C" { pub fn g_tls_backend_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_backend_get_default ( ) -> * mut GTlsBackend ; } extern "C" { pub fn g_tls_backend_get_default_database ( backend : * mut GTlsBackend ) -> * mut GTlsDatabase ; } extern "C" { pub fn g_tls_backend_set_default_database ( backend : * mut GTlsBackend , database : * mut GTlsDatabase ) ; } extern "C" { pub fn g_tls_backend_supports_tls ( backend : * mut GTlsBackend ) -> gboolean ; } extern "C" { pub fn g_tls_backend_supports_dtls ( backend : * mut GTlsBackend ) -> gboolean ; } extern "C" { pub fn g_tls_backend_get_certificate_type ( backend : * mut GTlsBackend ) -> GType ; } extern "C" { pub fn g_tls_backend_get_client_connection_type ( backend : * mut GTlsBackend ) -> GType ; } extern "C" { pub fn g_tls_backend_get_server_connection_type ( backend : * mut GTlsBackend ) -> GType ; } extern "C" { pub fn g_tls_backend_get_file_database_type ( backend : * mut GTlsBackend ) -> GType ; } extern "C" { pub fn g_tls_backend_get_dtls_client_connection_type ( backend : * mut GTlsBackend ) -> GType ; } extern "C" { pub fn g_tls_backend_get_dtls_server_connection_type ( backend : * mut GTlsBackend ) -> GType ; } pub type GTlsCertificateClass = _GTlsCertificateClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsCertificatePrivate { _unused : [ u8 ; 0 ] , } pub type GTlsCertificatePrivate = _GTlsCertificatePrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsCertificate { pub parent_instance : GObject , pub priv_ : * mut GTlsCertificatePrivate , } # [ test ] fn bindgen_test_layout__GTlsCertificate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsCertificate > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GTlsCertificate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsCertificate > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsCertificate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsCertificate > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsCertificate ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsCertificate > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsCertificate ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsCertificateClass { pub parent_class : GObjectClass , pub verify : :: std :: option :: Option < unsafe extern "C" fn ( cert : * mut GTlsCertificate , identity : * mut GSocketConnectable , trusted_ca : * mut GTlsCertificate ) -> GTlsCertificateFlags > , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GTlsCertificateClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsCertificateClass > ( ) , 208usize , concat ! ( "Size of: " , stringify ! ( _GTlsCertificateClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsCertificateClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsCertificateClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsCertificateClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsCertificateClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsCertificateClass > ( ) ) ) . verify as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsCertificateClass ) , "::" , stringify ! ( verify ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsCertificateClass > ( ) ) ) . padding as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsCertificateClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_tls_certificate_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_certificate_new_from_pem ( data : * const gchar , length : gssize , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_new_from_pkcs12 ( data : * const guint8 , length : gsize , password : * const gchar , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_new_from_file_with_password ( file : * const gchar , password : * const gchar , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_new_from_file ( file : * const gchar , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_new_from_files ( cert_file : * const gchar , key_file : * const gchar , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_new_from_pkcs11_uris ( pkcs11_uri : * const gchar , private_key_pkcs11_uri : * const gchar , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_list_new_from_file ( file : * const gchar , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_tls_certificate_get_issuer ( cert : * mut GTlsCertificate ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_certificate_verify ( cert : * mut GTlsCertificate , identity : * mut GSocketConnectable , trusted_ca : * mut GTlsCertificate ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_tls_certificate_is_same ( cert_one : * mut GTlsCertificate , cert_two : * mut GTlsCertificate ) -> gboolean ; } extern "C" { pub fn g_tls_certificate_get_not_valid_before ( cert : * mut GTlsCertificate ) -> * mut GDateTime ; } extern "C" { pub fn g_tls_certificate_get_not_valid_after ( cert : * mut GTlsCertificate ) -> * mut GDateTime ; } extern "C" { pub fn g_tls_certificate_get_subject_name ( cert : * mut GTlsCertificate ) -> * mut gchar ; } extern "C" { pub fn g_tls_certificate_get_issuer_name ( cert : * mut GTlsCertificate ) -> * mut gchar ; } extern "C" { pub fn g_tls_certificate_get_dns_names ( cert : * mut GTlsCertificate ) -> * mut GPtrArray ; } extern "C" { pub fn g_tls_certificate_get_ip_addresses ( cert : * mut GTlsCertificate ) -> * mut GPtrArray ; } pub type GTlsConnectionClass = _GTlsConnectionClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsConnectionPrivate { _unused : [ u8 ; 0 ] , } pub type GTlsConnectionPrivate = _GTlsConnectionPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsConnection { pub parent_instance : GIOStream , pub priv_ : * mut GTlsConnectionPrivate , } # [ test ] fn bindgen_test_layout__GTlsConnection ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsConnection > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GTlsConnection ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsConnection > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsConnection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnection > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnection ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnection > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnection ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsConnectionClass { pub parent_class : GIOStreamClass , pub accept_certificate : :: std :: option :: Option < unsafe extern "C" fn ( connection : * mut GTlsConnection , peer_cert : * mut GTlsCertificate , errors : GTlsCertificateFlags ) -> gboolean > , pub handshake : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GTlsConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub handshake_async : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GTlsConnection , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub handshake_finish : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GTlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub get_binding_data : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GTlsConnection , type_ : GTlsChannelBindingType , data : * mut GByteArray , error : * mut * mut GError ) -> gboolean > , pub get_negotiated_protocol : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GTlsConnection ) -> * const gchar > , pub padding : [ gpointer ; 6usize ] , } # [ test ] fn bindgen_test_layout__GTlsConnectionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsConnectionClass > ( ) , 352usize , concat ! ( "Size of: " , stringify ! ( _GTlsConnectionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsConnectionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsConnectionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . accept_certificate as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( accept_certificate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . handshake as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( handshake ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . handshake_async as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( handshake_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . handshake_finish as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( handshake_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . get_binding_data as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( get_binding_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . get_negotiated_protocol as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( get_negotiated_protocol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsConnectionClass > ( ) ) ) . padding as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsConnectionClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_tls_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_connection_set_use_system_certdb ( conn : * mut GTlsConnection , use_system_certdb : gboolean ) ; } extern "C" { pub fn g_tls_connection_get_use_system_certdb ( conn : * mut GTlsConnection ) -> gboolean ; } extern "C" { pub fn g_tls_connection_set_database ( conn : * mut GTlsConnection , database : * mut GTlsDatabase ) ; } extern "C" { pub fn g_tls_connection_get_database ( conn : * mut GTlsConnection ) -> * mut GTlsDatabase ; } extern "C" { pub fn g_tls_connection_set_certificate ( conn : * mut GTlsConnection , certificate : * mut GTlsCertificate ) ; } extern "C" { pub fn g_tls_connection_get_certificate ( conn : * mut GTlsConnection ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_connection_set_interaction ( conn : * mut GTlsConnection , interaction : * mut GTlsInteraction ) ; } extern "C" { pub fn g_tls_connection_get_interaction ( conn : * mut GTlsConnection ) -> * mut GTlsInteraction ; } extern "C" { pub fn g_tls_connection_get_peer_certificate ( conn : * mut GTlsConnection ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_connection_get_peer_certificate_errors ( conn : * mut GTlsConnection ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_tls_connection_set_require_close_notify ( conn : * mut GTlsConnection , require_close_notify : gboolean ) ; } extern "C" { pub fn g_tls_connection_get_require_close_notify ( conn : * mut GTlsConnection ) -> gboolean ; } extern "C" { pub fn g_tls_connection_set_rehandshake_mode ( conn : * mut GTlsConnection , mode : GTlsRehandshakeMode ) ; } extern "C" { pub fn g_tls_connection_get_rehandshake_mode ( conn : * mut GTlsConnection ) -> GTlsRehandshakeMode ; } extern "C" { pub fn g_tls_connection_set_advertised_protocols ( conn : * mut GTlsConnection , protocols : * const * const gchar ) ; } extern "C" { pub fn g_tls_connection_get_negotiated_protocol ( conn : * mut GTlsConnection ) -> * const gchar ; } extern "C" { pub fn g_tls_connection_get_channel_binding_data ( conn : * mut GTlsConnection , type_ : GTlsChannelBindingType , data : * mut GByteArray , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_tls_connection_handshake ( conn : * mut GTlsConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_tls_connection_handshake_async ( conn : * mut GTlsConnection , io_priority : :: std :: os :: raw :: c_int , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_connection_handshake_finish ( conn : * mut GTlsConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_tls_connection_get_protocol_version ( conn : * mut GTlsConnection ) -> GTlsProtocolVersion ; } extern "C" { pub fn g_tls_connection_get_ciphersuite_name ( conn : * mut GTlsConnection ) -> * mut gchar ; } extern "C" { pub fn g_tls_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_tls_channel_binding_error_quark ( ) -> GQuark ; } extern "C" { pub fn g_tls_connection_emit_accept_certificate ( conn : * mut GTlsConnection , peer_cert : * mut GTlsCertificate , errors : GTlsCertificateFlags ) -> gboolean ; } pub type GTlsClientConnectionInterface = _GTlsClientConnectionInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsClientConnectionInterface { pub g_iface : GTypeInterface , pub copy_session_state : :: std :: option :: Option < unsafe extern "C" fn ( conn : * mut GTlsClientConnection , source : * mut GTlsClientConnection ) > , } # [ test ] fn bindgen_test_layout__GTlsClientConnectionInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsClientConnectionInterface > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GTlsClientConnectionInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsClientConnectionInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsClientConnectionInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsClientConnectionInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsClientConnectionInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsClientConnectionInterface > ( ) ) ) . copy_session_state as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsClientConnectionInterface ) , "::" , stringify ! ( copy_session_state ) ) ) ; } extern "C" { pub fn g_tls_client_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_client_connection_new ( base_io_stream : * mut GIOStream , server_identity : * mut GSocketConnectable , error : * mut * mut GError ) -> * mut GIOStream ; } extern "C" { pub fn g_tls_client_connection_get_validation_flags ( conn : * mut GTlsClientConnection ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_tls_client_connection_set_validation_flags ( conn : * mut GTlsClientConnection , flags : GTlsCertificateFlags ) ; } extern "C" { pub fn g_tls_client_connection_get_server_identity ( conn : * mut GTlsClientConnection ) -> * mut GSocketConnectable ; } extern "C" { pub fn g_tls_client_connection_set_server_identity ( conn : * mut GTlsClientConnection , identity : * mut GSocketConnectable ) ; } extern "C" { pub fn g_tls_client_connection_get_use_ssl3 ( conn : * mut GTlsClientConnection ) -> gboolean ; } extern "C" { pub fn g_tls_client_connection_set_use_ssl3 ( conn : * mut GTlsClientConnection , use_ssl3 : gboolean ) ; } extern "C" { pub fn g_tls_client_connection_get_accepted_cas ( conn : * mut GTlsClientConnection ) -> * mut GList ; } extern "C" { pub fn g_tls_client_connection_copy_session_state ( conn : * mut GTlsClientConnection , source : * mut GTlsClientConnection ) ; } pub type GTlsDatabaseClass = _GTlsDatabaseClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsDatabasePrivate { _unused : [ u8 ; 0 ] , } pub type GTlsDatabasePrivate = _GTlsDatabasePrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsDatabase { pub parent_instance : GObject , pub priv_ : * mut GTlsDatabasePrivate , } # [ test ] fn bindgen_test_layout__GTlsDatabase ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsDatabase > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GTlsDatabase ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsDatabase > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsDatabase ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabase > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabase ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabase > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabase ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsDatabaseClass { pub parent_class : GObjectClass , pub verify_chain : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , chain : * mut GTlsCertificate , purpose : * const gchar , identity : * mut GSocketConnectable , interaction : * mut GTlsInteraction , flags : GTlsDatabaseVerifyFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsCertificateFlags > , pub verify_chain_async : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , chain : * mut GTlsCertificate , purpose : * const gchar , identity : * mut GSocketConnectable , interaction : * mut GTlsInteraction , flags : GTlsDatabaseVerifyFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub verify_chain_finish : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> GTlsCertificateFlags > , pub create_certificate_handle : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , certificate : * mut GTlsCertificate ) -> * mut gchar > , pub lookup_certificate_for_handle : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , handle : * const gchar , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GTlsCertificate > , pub lookup_certificate_for_handle_async : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , handle : * const gchar , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_certificate_for_handle_finish : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GTlsCertificate > , pub lookup_certificate_issuer : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , certificate : * mut GTlsCertificate , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GTlsCertificate > , pub lookup_certificate_issuer_async : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , certificate : * mut GTlsCertificate , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_certificate_issuer_finish : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GTlsCertificate > , pub lookup_certificates_issued_by : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , issuer_raw_dn : * mut GByteArray , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList > , pub lookup_certificates_issued_by_async : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , issuer_raw_dn : * mut GByteArray , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub lookup_certificates_issued_by_finish : :: std :: option :: Option < unsafe extern "C" fn ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList > , pub padding : [ gpointer ; 16usize ] , } # [ test ] fn bindgen_test_layout__GTlsDatabaseClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsDatabaseClass > ( ) , 368usize , concat ! ( "Size of: " , stringify ! ( _GTlsDatabaseClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsDatabaseClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsDatabaseClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . verify_chain as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( verify_chain ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . verify_chain_async as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( verify_chain_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . verify_chain_finish as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( verify_chain_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . create_certificate_handle as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( create_certificate_handle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificate_for_handle as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificate_for_handle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificate_for_handle_async as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificate_for_handle_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificate_for_handle_finish as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificate_for_handle_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificate_issuer as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificate_issuer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificate_issuer_async as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificate_issuer_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificate_issuer_finish as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificate_issuer_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificates_issued_by as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificates_issued_by ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificates_issued_by_async as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificates_issued_by_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . lookup_certificates_issued_by_finish as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( lookup_certificates_issued_by_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsDatabaseClass > ( ) ) ) . padding as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsDatabaseClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_tls_database_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_database_verify_chain ( self_ : * mut GTlsDatabase , chain : * mut GTlsCertificate , purpose : * const gchar , identity : * mut GSocketConnectable , interaction : * mut GTlsInteraction , flags : GTlsDatabaseVerifyFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_tls_database_verify_chain_async ( self_ : * mut GTlsDatabase , chain : * mut GTlsCertificate , purpose : * const gchar , identity : * mut GSocketConnectable , interaction : * mut GTlsInteraction , flags : GTlsDatabaseVerifyFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_database_verify_chain_finish ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> GTlsCertificateFlags ; } extern "C" { pub fn g_tls_database_create_certificate_handle ( self_ : * mut GTlsDatabase , certificate : * mut GTlsCertificate ) -> * mut gchar ; } extern "C" { pub fn g_tls_database_lookup_certificate_for_handle ( self_ : * mut GTlsDatabase , handle : * const gchar , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_database_lookup_certificate_for_handle_async ( self_ : * mut GTlsDatabase , handle : * const gchar , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_database_lookup_certificate_for_handle_finish ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_database_lookup_certificate_issuer ( self_ : * mut GTlsDatabase , certificate : * mut GTlsCertificate , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_database_lookup_certificate_issuer_async ( self_ : * mut GTlsDatabase , certificate : * mut GTlsCertificate , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_database_lookup_certificate_issuer_finish ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GTlsCertificate ; } extern "C" { pub fn g_tls_database_lookup_certificates_issued_by ( self_ : * mut GTlsDatabase , issuer_raw_dn : * mut GByteArray , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GList ; } extern "C" { pub fn g_tls_database_lookup_certificates_issued_by_async ( self_ : * mut GTlsDatabase , issuer_raw_dn : * mut GByteArray , interaction : * mut GTlsInteraction , flags : GTlsDatabaseLookupFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_database_lookup_certificates_issued_by_finish ( self_ : * mut GTlsDatabase , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GList ; } pub type GTlsFileDatabaseInterface = _GTlsFileDatabaseInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsFileDatabaseInterface { pub g_iface : GTypeInterface , pub padding : [ gpointer ; 8usize ] , } # [ test ] fn bindgen_test_layout__GTlsFileDatabaseInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsFileDatabaseInterface > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _GTlsFileDatabaseInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsFileDatabaseInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsFileDatabaseInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsFileDatabaseInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsFileDatabaseInterface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsFileDatabaseInterface > ( ) ) ) . padding as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsFileDatabaseInterface ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_tls_file_database_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_file_database_new ( anchors : * const gchar , error : * mut * mut GError ) -> * mut GTlsDatabase ; } pub type GTlsInteractionClass = _GTlsInteractionClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsInteractionPrivate { _unused : [ u8 ; 0 ] , } pub type GTlsInteractionPrivate = _GTlsInteractionPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsInteraction { pub parent_instance : GObject , pub priv_ : * mut GTlsInteractionPrivate , } # [ test ] fn bindgen_test_layout__GTlsInteraction ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsInteraction > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GTlsInteraction ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsInteraction > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsInteraction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteraction > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteraction ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteraction > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteraction ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsInteractionClass { pub parent_class : GObjectClass , pub ask_password : :: std :: option :: Option < unsafe extern "C" fn ( interaction : * mut GTlsInteraction , password : * mut GTlsPassword , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsInteractionResult > , pub ask_password_async : :: std :: option :: Option < unsafe extern "C" fn ( interaction : * mut GTlsInteraction , password : * mut GTlsPassword , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub ask_password_finish : :: std :: option :: Option < unsafe extern "C" fn ( interaction : * mut GTlsInteraction , result : * mut GAsyncResult , error : * mut * mut GError ) -> GTlsInteractionResult > , pub request_certificate : :: std :: option :: Option < unsafe extern "C" fn ( interaction : * mut GTlsInteraction , connection : * mut GTlsConnection , flags : GTlsCertificateRequestFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsInteractionResult > , pub request_certificate_async : :: std :: option :: Option < unsafe extern "C" fn ( interaction : * mut GTlsInteraction , connection : * mut GTlsConnection , flags : GTlsCertificateRequestFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub request_certificate_finish : :: std :: option :: Option < unsafe extern "C" fn ( interaction : * mut GTlsInteraction , result : * mut GAsyncResult , error : * mut * mut GError ) -> GTlsInteractionResult > , pub padding : [ gpointer ; 21usize ] , } # [ test ] fn bindgen_test_layout__GTlsInteractionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsInteractionClass > ( ) , 352usize , concat ! ( "Size of: " , stringify ! ( _GTlsInteractionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsInteractionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsInteractionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . ask_password as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( ask_password ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . ask_password_async as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( ask_password_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . ask_password_finish as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( ask_password_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . request_certificate as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( request_certificate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . request_certificate_async as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( request_certificate_async ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . request_certificate_finish as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( request_certificate_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsInteractionClass > ( ) ) ) . padding as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsInteractionClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_tls_interaction_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_interaction_invoke_ask_password ( interaction : * mut GTlsInteraction , password : * mut GTlsPassword , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsInteractionResult ; } extern "C" { pub fn g_tls_interaction_ask_password ( interaction : * mut GTlsInteraction , password : * mut GTlsPassword , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsInteractionResult ; } extern "C" { pub fn g_tls_interaction_ask_password_async ( interaction : * mut GTlsInteraction , password : * mut GTlsPassword , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_interaction_ask_password_finish ( interaction : * mut GTlsInteraction , result : * mut GAsyncResult , error : * mut * mut GError ) -> GTlsInteractionResult ; } extern "C" { pub fn g_tls_interaction_invoke_request_certificate ( interaction : * mut GTlsInteraction , connection : * mut GTlsConnection , flags : GTlsCertificateRequestFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsInteractionResult ; } extern "C" { pub fn g_tls_interaction_request_certificate ( interaction : * mut GTlsInteraction , connection : * mut GTlsConnection , flags : GTlsCertificateRequestFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> GTlsInteractionResult ; } extern "C" { pub fn g_tls_interaction_request_certificate_async ( interaction : * mut GTlsInteraction , connection : * mut GTlsConnection , flags : GTlsCertificateRequestFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_tls_interaction_request_certificate_finish ( interaction : * mut GTlsInteraction , result : * mut GAsyncResult , error : * mut * mut GError ) -> GTlsInteractionResult ; } pub type GTlsPasswordClass = _GTlsPasswordClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsPasswordPrivate { _unused : [ u8 ; 0 ] , } pub type GTlsPasswordPrivate = _GTlsPasswordPrivate ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsPassword { pub parent_instance : GObject , pub priv_ : * mut GTlsPasswordPrivate , } # [ test ] fn bindgen_test_layout__GTlsPassword ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsPassword > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GTlsPassword ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsPassword > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsPassword ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPassword > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPassword ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPassword > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPassword ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsPasswordClass { pub parent_class : GObjectClass , pub get_value : :: std :: option :: Option < unsafe extern "C" fn ( password : * mut GTlsPassword , length : * mut gsize ) -> * const guchar > , pub set_value : :: std :: option :: Option < unsafe extern "C" fn ( password : * mut GTlsPassword , value : * mut guchar , length : gssize , destroy : GDestroyNotify ) > , pub get_default_warning : :: std :: option :: Option < unsafe extern "C" fn ( password : * mut GTlsPassword ) -> * const gchar > , pub padding : [ gpointer ; 4usize ] , } # [ test ] fn bindgen_test_layout__GTlsPasswordClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsPasswordClass > ( ) , 192usize , concat ! ( "Size of: " , stringify ! ( _GTlsPasswordClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsPasswordClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsPasswordClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPasswordClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPasswordClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPasswordClass > ( ) ) ) . get_value as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPasswordClass ) , "::" , stringify ! ( get_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPasswordClass > ( ) ) ) . set_value as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPasswordClass ) , "::" , stringify ! ( set_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPasswordClass > ( ) ) ) . get_default_warning as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPasswordClass ) , "::" , stringify ! ( get_default_warning ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsPasswordClass > ( ) ) ) . padding as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsPasswordClass ) , "::" , stringify ! ( padding ) ) ) ; } extern "C" { pub fn g_tls_password_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_password_new ( flags : GTlsPasswordFlags , description : * const gchar ) -> * mut GTlsPassword ; } extern "C" { pub fn g_tls_password_get_value ( password : * mut GTlsPassword , length : * mut gsize ) -> * const guchar ; } extern "C" { pub fn g_tls_password_set_value ( password : * mut GTlsPassword , value : * const guchar , length : gssize ) ; } extern "C" { pub fn g_tls_password_set_value_full ( password : * mut GTlsPassword , value : * mut guchar , length : gssize , destroy : GDestroyNotify ) ; } extern "C" { pub fn g_tls_password_get_flags ( password : * mut GTlsPassword ) -> GTlsPasswordFlags ; } extern "C" { pub fn g_tls_password_set_flags ( password : * mut GTlsPassword , flags : GTlsPasswordFlags ) ; } extern "C" { pub fn g_tls_password_get_description ( password : * mut GTlsPassword ) -> * const gchar ; } extern "C" { pub fn g_tls_password_set_description ( password : * mut GTlsPassword , description : * const gchar ) ; } extern "C" { pub fn g_tls_password_get_warning ( password : * mut GTlsPassword ) -> * const gchar ; } extern "C" { pub fn g_tls_password_set_warning ( password : * mut GTlsPassword , warning : * const gchar ) ; } pub type GTlsServerConnectionInterface = _GTlsServerConnectionInterface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GTlsServerConnectionInterface { pub g_iface : GTypeInterface , } # [ test ] fn bindgen_test_layout__GTlsServerConnectionInterface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GTlsServerConnectionInterface > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _GTlsServerConnectionInterface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GTlsServerConnectionInterface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GTlsServerConnectionInterface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GTlsServerConnectionInterface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GTlsServerConnectionInterface ) , "::" , stringify ! ( g_iface ) ) ) ; } extern "C" { pub fn g_tls_server_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_tls_server_connection_new ( base_io_stream : * mut GIOStream , certificate : * mut GTlsCertificate , error : * mut * mut GError ) -> * mut GIOStream ; } pub type GUnixConnection = _GUnixConnection ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixConnectionPrivate { _unused : [ u8 ; 0 ] , } pub type GUnixConnectionPrivate = _GUnixConnectionPrivate ; pub type GUnixConnectionClass = _GUnixConnectionClass ; pub type GUnixConnection_autoptr = * mut GUnixConnection ; pub type GUnixConnection_listautoptr = * mut GList ; pub type GUnixConnection_slistautoptr = * mut GSList ; pub type GUnixConnection_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixConnectionClass { pub parent_class : GSocketConnectionClass , } # [ test ] fn bindgen_test_layout__GUnixConnectionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixConnectionClass > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( _GUnixConnectionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixConnectionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixConnectionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixConnectionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixConnectionClass ) , "::" , stringify ! ( parent_class ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixConnection { pub parent_instance : GSocketConnection , pub priv_ : * mut GUnixConnectionPrivate , } # [ test ] fn bindgen_test_layout__GUnixConnection ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixConnection > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _GUnixConnection ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixConnection > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixConnection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixConnection > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixConnection ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixConnection > ( ) ) ) . priv_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixConnection ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_unix_connection_get_type ( ) -> GType ; } extern "C" { pub fn g_unix_connection_send_fd ( connection : * mut GUnixConnection , fd : gint , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_unix_connection_receive_fd ( connection : * mut GUnixConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_unix_connection_send_credentials ( connection : * mut GUnixConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_unix_connection_send_credentials_async ( connection : * mut GUnixConnection , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_unix_connection_send_credentials_finish ( connection : * mut GUnixConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_unix_connection_receive_credentials ( connection : * mut GUnixConnection , cancellable : * mut GCancellable , error : * mut * mut GError ) -> * mut GCredentials ; } extern "C" { pub fn g_unix_connection_receive_credentials_async ( connection : * mut GUnixConnection , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_unix_connection_receive_credentials_finish ( connection : * mut GUnixConnection , result : * mut GAsyncResult , error : * mut * mut GError ) -> * mut GCredentials ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixCredentialsMessagePrivate { _unused : [ u8 ; 0 ] , } pub type GUnixCredentialsMessagePrivate = _GUnixCredentialsMessagePrivate ; pub type GUnixCredentialsMessageClass = _GUnixCredentialsMessageClass ; pub type GUnixCredentialsMessage_autoptr = * mut GUnixCredentialsMessage ; pub type GUnixCredentialsMessage_listautoptr = * mut GList ; pub type GUnixCredentialsMessage_slistautoptr = * mut GSList ; pub type GUnixCredentialsMessage_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixCredentialsMessageClass { pub parent_class : GSocketControlMessageClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GUnixCredentialsMessageClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixCredentialsMessageClass > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( _GUnixCredentialsMessageClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixCredentialsMessageClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixCredentialsMessageClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixCredentialsMessageClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixCredentialsMessageClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixCredentialsMessageClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixCredentialsMessageClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixCredentialsMessageClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixCredentialsMessageClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixCredentialsMessage { pub parent_instance : GSocketControlMessage , pub priv_ : * mut GUnixCredentialsMessagePrivate , } # [ test ] fn bindgen_test_layout__GUnixCredentialsMessage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixCredentialsMessage > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _GUnixCredentialsMessage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixCredentialsMessage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixCredentialsMessage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixCredentialsMessage > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixCredentialsMessage ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixCredentialsMessage > ( ) ) ) . priv_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixCredentialsMessage ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_unix_credentials_message_get_type ( ) -> GType ; } extern "C" { pub fn g_unix_credentials_message_new ( ) -> * mut GSocketControlMessage ; } extern "C" { pub fn g_unix_credentials_message_new_with_credentials ( credentials : * mut GCredentials ) -> * mut GSocketControlMessage ; } extern "C" { pub fn g_unix_credentials_message_get_credentials ( message : * mut GUnixCredentialsMessage ) -> * mut GCredentials ; } extern "C" { pub fn g_unix_credentials_message_is_supported ( ) -> gboolean ; } pub type GUnixFDList_autoptr = * mut GUnixFDList ; pub type GUnixFDList_listautoptr = * mut GList ; pub type GUnixFDList_slistautoptr = * mut GSList ; pub type GUnixFDList_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixFDListPrivate { _unused : [ u8 ; 0 ] , } pub type GUnixFDListPrivate = _GUnixFDListPrivate ; pub type GUnixFDListClass = _GUnixFDListClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixFDListClass { pub parent_class : GObjectClass , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GUnixFDListClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixFDListClass > ( ) , 176usize , concat ! ( "Size of: " , stringify ! ( _GUnixFDListClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixFDListClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixFDListClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDListClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDListClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDListClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDListClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDListClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDListClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDListClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDListClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDListClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDListClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDListClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDListClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixFDList { pub parent_instance : GObject , pub priv_ : * mut GUnixFDListPrivate , } # [ test ] fn bindgen_test_layout__GUnixFDList ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixFDList > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GUnixFDList ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixFDList > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixFDList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDList > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDList ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixFDList > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixFDList ) , "::" , stringify ! ( priv_ ) ) ) ; } extern "C" { pub fn g_unix_fd_list_get_type ( ) -> GType ; } extern "C" { pub fn g_unix_fd_list_new ( ) -> * mut GUnixFDList ; } extern "C" { pub fn g_unix_fd_list_new_from_array ( fds : * const gint , n_fds : gint ) -> * mut GUnixFDList ; } extern "C" { pub fn g_unix_fd_list_append ( list : * mut GUnixFDList , fd : gint , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_unix_fd_list_get_length ( list : * mut GUnixFDList ) -> gint ; } extern "C" { pub fn g_unix_fd_list_get ( list : * mut GUnixFDList , index_ : gint , error : * mut * mut GError ) -> gint ; } extern "C" { pub fn g_unix_fd_list_peek_fds ( list : * mut GUnixFDList , length : * mut gint ) -> * const gint ; } extern "C" { pub fn g_unix_fd_list_steal_fds ( list : * mut GUnixFDList , length : * mut gint ) -> * mut gint ; } pub type GUnixSocketAddress = _GUnixSocketAddress ; pub type GUnixSocketAddressClass = _GUnixSocketAddressClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixSocketAddressPrivate { _unused : [ u8 ; 0 ] , } pub type GUnixSocketAddressPrivate = _GUnixSocketAddressPrivate ; pub type GUnixSocketAddress_autoptr = * mut GUnixSocketAddress ; pub type GUnixSocketAddress_listautoptr = * mut GList ; pub type GUnixSocketAddress_slistautoptr = * mut GSList ; pub type GUnixSocketAddress_queueautoptr = * mut GQueue ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixSocketAddress { pub parent_instance : GSocketAddress , pub priv_ : * mut GUnixSocketAddressPrivate , } # [ test ] fn bindgen_test_layout__GUnixSocketAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixSocketAddress > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _GUnixSocketAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixSocketAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixSocketAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixSocketAddress > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixSocketAddress ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixSocketAddress > ( ) ) ) . priv_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixSocketAddress ) , "::" , stringify ! ( priv_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GUnixSocketAddressClass { pub parent_class : GSocketAddressClass , } # [ test ] fn bindgen_test_layout__GUnixSocketAddressClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GUnixSocketAddressClass > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( _GUnixSocketAddressClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GUnixSocketAddressClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GUnixSocketAddressClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GUnixSocketAddressClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GUnixSocketAddressClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_unix_socket_address_get_type ( ) -> GType ; } extern "C" { pub fn g_unix_socket_address_new ( path : * const gchar ) -> * mut GSocketAddress ; } extern "C" { pub fn g_unix_socket_address_new_abstract ( path : * const gchar , path_len : gint ) -> * mut GSocketAddress ; } extern "C" { pub fn g_unix_socket_address_new_with_type ( path : * const gchar , path_len : gint , type_ : GUnixSocketAddressType ) -> * mut GSocketAddress ; } extern "C" { pub fn g_unix_socket_address_get_path ( address : * mut GUnixSocketAddress ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_unix_socket_address_get_path_len ( address : * mut GUnixSocketAddress ) -> gsize ; } extern "C" { pub fn g_unix_socket_address_get_address_type ( address : * mut GUnixSocketAddress ) -> GUnixSocketAddressType ; } extern "C" { pub fn g_unix_socket_address_get_is_abstract ( address : * mut GUnixSocketAddress ) -> gboolean ; } extern "C" { pub fn g_unix_socket_address_abstract_names_supported ( ) -> gboolean ; } pub type GVfsFileLookupFunc = :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , identifier : * const :: std :: os :: raw :: c_char , user_data : gpointer ) -> * mut GFile > ; pub type GVfsClass = _GVfsClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVfs { pub parent_instance : GObject , } # [ test ] fn bindgen_test_layout__GVfs ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVfs > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _GVfs ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVfs > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVfs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfs > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVfs ) , "::" , stringify ! ( parent_instance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVfsClass { pub parent_class : GObjectClass , pub is_active : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs ) -> gboolean > , pub get_file_for_path : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , path : * const :: std :: os :: raw :: c_char ) -> * mut GFile > , pub get_file_for_uri : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , uri : * const :: std :: os :: raw :: c_char ) -> * mut GFile > , pub get_supported_uri_schemes : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs ) -> * const * const gchar > , pub parse_name : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , parse_name : * const :: std :: os :: raw :: c_char ) -> * mut GFile > , pub local_file_add_info : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , filename : * const :: std :: os :: raw :: c_char , device : guint64 , attribute_matcher : * mut GFileAttributeMatcher , info : * mut GFileInfo , cancellable : * mut GCancellable , extra_data : * mut gpointer , free_extra_data : * mut GDestroyNotify ) > , pub add_writable_namespaces : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , list : * mut GFileAttributeInfoList ) > , pub local_file_set_attributes : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , filename : * const :: std :: os :: raw :: c_char , info : * mut GFileInfo , flags : GFileQueryInfoFlags , cancellable : * mut GCancellable , error : * mut * mut GError ) -> gboolean > , pub local_file_removed : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , filename : * const :: std :: os :: raw :: c_char ) > , pub local_file_moved : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , source : * const :: std :: os :: raw :: c_char , dest : * const :: std :: os :: raw :: c_char ) > , pub deserialize_icon : :: std :: option :: Option < unsafe extern "C" fn ( vfs : * mut GVfs , value : * mut GVariant ) -> * mut GIcon > , pub _g_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved5 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _g_reserved6 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__GVfsClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVfsClass > ( ) , 272usize , concat ! ( "Size of: " , stringify ! ( _GVfsClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVfsClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVfsClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . is_active as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( is_active ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . get_file_for_path as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( get_file_for_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . get_file_for_uri as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( get_file_for_uri ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . get_supported_uri_schemes as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( get_supported_uri_schemes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . parse_name as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( parse_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . local_file_add_info as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( local_file_add_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . add_writable_namespaces as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( add_writable_namespaces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . local_file_set_attributes as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( local_file_set_attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . local_file_removed as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( local_file_removed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . local_file_moved as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( local_file_moved ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . deserialize_icon as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( deserialize_icon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . _g_reserved1 as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( _g_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . _g_reserved2 as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( _g_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . _g_reserved3 as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( _g_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . _g_reserved4 as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( _g_reserved4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . _g_reserved5 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( _g_reserved5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVfsClass > ( ) ) ) . _g_reserved6 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _GVfsClass ) , "::" , stringify ! ( _g_reserved6 ) ) ) ; } extern "C" { pub fn g_vfs_get_type ( ) -> GType ; } extern "C" { pub fn g_vfs_is_active ( vfs : * mut GVfs ) -> gboolean ; } extern "C" { pub fn g_vfs_get_file_for_path ( vfs : * mut GVfs , path : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_vfs_get_file_for_uri ( vfs : * mut GVfs , uri : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_vfs_get_supported_uri_schemes ( vfs : * mut GVfs ) -> * const * const gchar ; } extern "C" { pub fn g_vfs_parse_name ( vfs : * mut GVfs , parse_name : * const :: std :: os :: raw :: c_char ) -> * mut GFile ; } extern "C" { pub fn g_vfs_get_default ( ) -> * mut GVfs ; } extern "C" { pub fn g_vfs_get_local ( ) -> * mut GVfs ; } extern "C" { pub fn g_vfs_register_uri_scheme ( vfs : * mut GVfs , scheme : * const :: std :: os :: raw :: c_char , uri_func : GVfsFileLookupFunc , uri_data : gpointer , uri_destroy : GDestroyNotify , parse_name_func : GVfsFileLookupFunc , parse_name_data : gpointer , parse_name_destroy : GDestroyNotify ) -> gboolean ; } extern "C" { pub fn g_vfs_unregister_uri_scheme ( vfs : * mut GVfs , scheme : * const :: std :: os :: raw :: c_char ) -> gboolean ; } pub type GVolumeIface = _GVolumeIface ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GVolumeIface { pub g_iface : GTypeInterface , pub changed : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) > , pub removed : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) > , pub get_name : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut :: std :: os :: raw :: c_char > , pub get_icon : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut GIcon > , pub get_uuid : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut :: std :: os :: raw :: c_char > , pub get_drive : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut GDrive > , pub get_mount : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut GMount > , pub can_mount : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> gboolean > , pub can_eject : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> gboolean > , pub mount_fn : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub mount_finish : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub eject : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_finish : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub get_identifier : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , kind : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char > , pub enumerate_identifiers : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut * mut :: std :: os :: raw :: c_char > , pub should_automount : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> gboolean > , pub get_activation_root : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut GFile > , pub eject_with_operation : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) > , pub eject_with_operation_finish : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean > , pub get_sort_key : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * const gchar > , pub get_symbolic_icon : :: std :: option :: Option < unsafe extern "C" fn ( volume : * mut GVolume ) -> * mut GIcon > , } # [ test ] fn bindgen_test_layout__GVolumeIface ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GVolumeIface > ( ) , 184usize , concat ! ( "Size of: " , stringify ! ( _GVolumeIface ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GVolumeIface > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GVolumeIface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . g_iface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( g_iface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . changed as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( changed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . removed as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( removed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_name as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_icon as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_icon ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_uuid as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_uuid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_drive as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_drive ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_mount as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_mount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . can_mount as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( can_mount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . can_eject as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( can_eject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . mount_fn as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( mount_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . mount_finish as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( mount_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . eject as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( eject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . eject_finish as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( eject_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_identifier as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_identifier ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . enumerate_identifiers as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( enumerate_identifiers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . should_automount as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( should_automount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_activation_root as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_activation_root ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . eject_with_operation as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( eject_with_operation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . eject_with_operation_finish as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( eject_with_operation_finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_sort_key as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_sort_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GVolumeIface > ( ) ) ) . get_symbolic_icon as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _GVolumeIface ) , "::" , stringify ! ( get_symbolic_icon ) ) ) ; } extern "C" { pub fn g_volume_get_type ( ) -> GType ; } extern "C" { pub fn g_volume_get_name ( volume : * mut GVolume ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_volume_get_icon ( volume : * mut GVolume ) -> * mut GIcon ; } extern "C" { pub fn g_volume_get_symbolic_icon ( volume : * mut GVolume ) -> * mut GIcon ; } extern "C" { pub fn g_volume_get_uuid ( volume : * mut GVolume ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_volume_get_drive ( volume : * mut GVolume ) -> * mut GDrive ; } extern "C" { pub fn g_volume_get_mount ( volume : * mut GVolume ) -> * mut GMount ; } extern "C" { pub fn g_volume_can_mount ( volume : * mut GVolume ) -> gboolean ; } extern "C" { pub fn g_volume_can_eject ( volume : * mut GVolume ) -> gboolean ; } extern "C" { pub fn g_volume_should_automount ( volume : * mut GVolume ) -> gboolean ; } extern "C" { pub fn g_volume_mount ( volume : * mut GVolume , flags : GMountMountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_volume_mount_finish ( volume : * mut GVolume , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_volume_eject ( volume : * mut GVolume , flags : GMountUnmountFlags , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_volume_eject_finish ( volume : * mut GVolume , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_volume_get_identifier ( volume : * mut GVolume , kind : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_volume_enumerate_identifiers ( volume : * mut GVolume ) -> * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn g_volume_get_activation_root ( volume : * mut GVolume ) -> * mut GFile ; } extern "C" { pub fn g_volume_eject_with_operation ( volume : * mut GVolume , flags : GMountUnmountFlags , mount_operation : * mut GMountOperation , cancellable : * mut GCancellable , callback : GAsyncReadyCallback , user_data : gpointer ) ; } extern "C" { pub fn g_volume_eject_with_operation_finish ( volume : * mut GVolume , result : * mut GAsyncResult , error : * mut * mut GError ) -> gboolean ; } extern "C" { pub fn g_volume_get_sort_key ( volume : * mut GVolume ) -> * const gchar ; } pub type GZlibCompressorClass = _GZlibCompressorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GZlibCompressorClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GZlibCompressorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GZlibCompressorClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GZlibCompressorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GZlibCompressorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GZlibCompressorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GZlibCompressorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GZlibCompressorClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_zlib_compressor_get_type ( ) -> GType ; } extern "C" { pub fn g_zlib_compressor_new ( format : GZlibCompressorFormat , level : :: std :: os :: raw :: c_int ) -> * mut GZlibCompressor ; } extern "C" { pub fn g_zlib_compressor_get_file_info ( compressor : * mut GZlibCompressor ) -> * mut GFileInfo ; } extern "C" { pub fn g_zlib_compressor_set_file_info ( compressor : * mut GZlibCompressor , file_info : * mut GFileInfo ) ; } pub type GZlibDecompressorClass = _GZlibDecompressorClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _GZlibDecompressorClass { pub parent_class : GObjectClass , } # [ test ] fn bindgen_test_layout__GZlibDecompressorClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _GZlibDecompressorClass > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( _GZlibDecompressorClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _GZlibDecompressorClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _GZlibDecompressorClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _GZlibDecompressorClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _GZlibDecompressorClass ) , "::" , stringify ! ( parent_class ) ) ) ; } extern "C" { pub fn g_zlib_decompressor_get_type ( ) -> GType ; } extern "C" { pub fn g_zlib_decompressor_new ( format : GZlibCompressorFormat ) -> * mut GZlibDecompressor ; } extern "C" { pub fn g_zlib_decompressor_get_file_info ( decompressor : * mut GZlibDecompressor ) -> * mut GFileInfo ; } pub type GAction_autoptr = * mut GAction ; pub type GAction_listautoptr = * mut GList ; pub type GAction_slistautoptr = * mut GSList ; pub type GAction_queueautoptr = * mut GQueue ; pub type GActionMap_autoptr = * mut GActionMap ; pub type GActionMap_listautoptr = * mut GList ; pub type GActionMap_slistautoptr = * mut GSList ; pub type GActionMap_queueautoptr = * mut GQueue ; pub type GAppInfo_autoptr = * mut GAppInfo ; pub type GAppInfo_listautoptr = * mut GList ; pub type GAppInfo_slistautoptr = * mut GSList ; pub type GAppInfo_queueautoptr = * mut GQueue ; pub type GAppLaunchContext_autoptr = * mut GAppLaunchContext ; pub type GAppLaunchContext_listautoptr = * mut GList ; pub type GAppLaunchContext_slistautoptr = * mut GSList ; pub type GAppLaunchContext_queueautoptr = * mut GQueue ; pub type GAppInfoMonitor_autoptr = * mut GAppInfoMonitor ; pub type GAppInfoMonitor_listautoptr = * mut GList ; pub type GAppInfoMonitor_slistautoptr = * mut GSList ; pub type GAppInfoMonitor_queueautoptr = * mut GQueue ; pub type GApplicationCommandLine_autoptr = * mut GApplicationCommandLine ; pub type GApplicationCommandLine_listautoptr = * mut GList ; pub type GApplicationCommandLine_slistautoptr = * mut GSList ; pub type GApplicationCommandLine_queueautoptr = * mut GQueue ; pub type GApplication_autoptr = * mut GApplication ; pub type GApplication_listautoptr = * mut GList ; pub type GApplication_slistautoptr = * mut GSList ; pub type GApplication_queueautoptr = * mut GQueue ; pub type GAsyncInitable_autoptr = * mut GAsyncInitable ; pub type GAsyncInitable_listautoptr = * mut GList ; pub type GAsyncInitable_slistautoptr = * mut GSList ; pub type GAsyncInitable_queueautoptr = * mut GQueue ; pub type GAsyncResult_autoptr = * mut GAsyncResult ; pub type GAsyncResult_listautoptr = * mut GList ; pub type GAsyncResult_slistautoptr = * mut GSList ; pub type GAsyncResult_queueautoptr = * mut GQueue ; pub type GBufferedInputStream_autoptr = * mut GBufferedInputStream ; pub type GBufferedInputStream_listautoptr = * mut GList ; pub type GBufferedInputStream_slistautoptr = * mut GSList ; pub type GBufferedInputStream_queueautoptr = * mut GQueue ; pub type GBufferedOutputStream_autoptr = * mut GBufferedOutputStream ; pub type GBufferedOutputStream_listautoptr = * mut GList ; pub type GBufferedOutputStream_slistautoptr = * mut GSList ; pub type GBufferedOutputStream_queueautoptr = * mut GQueue ; pub type GBytesIcon_autoptr = * mut GBytesIcon ; pub type GBytesIcon_listautoptr = * mut GList ; pub type GBytesIcon_slistautoptr = * mut GSList ; pub type GBytesIcon_queueautoptr = * mut GQueue ; pub type GCancellable_autoptr = * mut GCancellable ; pub type GCancellable_listautoptr = * mut GList ; pub type GCancellable_slistautoptr = * mut GSList ; pub type GCancellable_queueautoptr = * mut GQueue ; pub type GCharsetConverter_autoptr = * mut GCharsetConverter ; pub type GCharsetConverter_listautoptr = * mut GList ; pub type GCharsetConverter_slistautoptr = * mut GSList ; pub type GCharsetConverter_queueautoptr = * mut GQueue ; pub type GConverter_autoptr = * mut GConverter ; pub type GConverter_listautoptr = * mut GList ; pub type GConverter_slistautoptr = * mut GSList ; pub type GConverter_queueautoptr = * mut GQueue ; pub type GConverterInputStream_autoptr = * mut GConverterInputStream ; pub type GConverterInputStream_listautoptr = * mut GList ; pub type GConverterInputStream_slistautoptr = * mut GSList ; pub type GConverterInputStream_queueautoptr = * mut GQueue ; pub type GConverterOutputStream_autoptr = * mut GConverterOutputStream ; pub type GConverterOutputStream_listautoptr = * mut GList ; pub type GConverterOutputStream_slistautoptr = * mut GSList ; pub type GConverterOutputStream_queueautoptr = * mut GQueue ; pub type GCredentials_autoptr = * mut GCredentials ; pub type GCredentials_listautoptr = * mut GList ; pub type GCredentials_slistautoptr = * mut GSList ; pub type GCredentials_queueautoptr = * mut GQueue ; pub type GDatagramBased_autoptr = * mut GDatagramBased ; pub type GDatagramBased_listautoptr = * mut GList ; pub type GDatagramBased_slistautoptr = * mut GSList ; pub type GDatagramBased_queueautoptr = * mut GQueue ; pub type GDataInputStream_autoptr = * mut GDataInputStream ; pub type GDataInputStream_listautoptr = * mut GList ; pub type GDataInputStream_slistautoptr = * mut GSList ; pub type GDataInputStream_queueautoptr = * mut GQueue ; pub type GDataOutputStream_autoptr = * mut GDataOutputStream ; pub type GDataOutputStream_listautoptr = * mut GList ; pub type GDataOutputStream_slistautoptr = * mut GSList ; pub type GDataOutputStream_queueautoptr = * mut GQueue ; pub type GDBusActionGroup_autoptr = * mut GDBusActionGroup ; pub type GDBusActionGroup_listautoptr = * mut GList ; pub type GDBusActionGroup_slistautoptr = * mut GSList ; pub type GDBusActionGroup_queueautoptr = * mut GQueue ; pub type GDBusAuthObserver_autoptr = * mut GDBusAuthObserver ; pub type GDBusAuthObserver_listautoptr = * mut GList ; pub type GDBusAuthObserver_slistautoptr = * mut GSList ; pub type GDBusAuthObserver_queueautoptr = * mut GQueue ; pub type GDBusConnection_autoptr = * mut GDBusConnection ; pub type GDBusConnection_listautoptr = * mut GList ; pub type GDBusConnection_slistautoptr = * mut GSList ; pub type GDBusConnection_queueautoptr = * mut GQueue ; pub type GDBusInterface_autoptr = * mut GDBusInterface ; pub type GDBusInterface_listautoptr = * mut GList ; pub type GDBusInterface_slistautoptr = * mut GSList ; pub type GDBusInterface_queueautoptr = * mut GQueue ; pub type GDBusInterfaceSkeleton_autoptr = * mut GDBusInterfaceSkeleton ; pub type GDBusInterfaceSkeleton_listautoptr = * mut GList ; pub type GDBusInterfaceSkeleton_slistautoptr = * mut GSList ; pub type GDBusInterfaceSkeleton_queueautoptr = * mut GQueue ; pub type GDBusMenuModel_autoptr = * mut GDBusMenuModel ; pub type GDBusMenuModel_listautoptr = * mut GList ; pub type GDBusMenuModel_slistautoptr = * mut GSList ; pub type GDBusMenuModel_queueautoptr = * mut GQueue ; pub type GDBusMessage_autoptr = * mut GDBusMessage ; pub type GDBusMessage_listautoptr = * mut GList ; pub type GDBusMessage_slistautoptr = * mut GSList ; pub type GDBusMessage_queueautoptr = * mut GQueue ; pub type GDBusMethodInvocation_autoptr = * mut GDBusMethodInvocation ; pub type GDBusMethodInvocation_listautoptr = * mut GList ; pub type GDBusMethodInvocation_slistautoptr = * mut GSList ; pub type GDBusMethodInvocation_queueautoptr = * mut GQueue ; pub type GDBusNodeInfo_autoptr = * mut GDBusNodeInfo ; pub type GDBusNodeInfo_listautoptr = * mut GList ; pub type GDBusNodeInfo_slistautoptr = * mut GSList ; pub type GDBusNodeInfo_queueautoptr = * mut GQueue ; pub type GDBusObject_autoptr = * mut GDBusObject ; pub type GDBusObject_listautoptr = * mut GList ; pub type GDBusObject_slistautoptr = * mut GSList ; pub type GDBusObject_queueautoptr = * mut GQueue ; pub type GDBusObjectManagerClient_autoptr = * mut GDBusObjectManagerClient ; pub type GDBusObjectManagerClient_listautoptr = * mut GList ; pub type GDBusObjectManagerClient_slistautoptr = * mut GSList ; pub type GDBusObjectManagerClient_queueautoptr = * mut GQueue ; pub type GDBusObjectManager_autoptr = * mut GDBusObjectManager ; pub type GDBusObjectManager_listautoptr = * mut GList ; pub type GDBusObjectManager_slistautoptr = * mut GSList ; pub type GDBusObjectManager_queueautoptr = * mut GQueue ; pub type GDBusObjectManagerServer_autoptr = * mut GDBusObjectManagerServer ; pub type GDBusObjectManagerServer_listautoptr = * mut GList ; pub type GDBusObjectManagerServer_slistautoptr = * mut GSList ; pub type GDBusObjectManagerServer_queueautoptr = * mut GQueue ; pub type GDBusObjectProxy_autoptr = * mut GDBusObjectProxy ; pub type GDBusObjectProxy_listautoptr = * mut GList ; pub type GDBusObjectProxy_slistautoptr = * mut GSList ; pub type GDBusObjectProxy_queueautoptr = * mut GQueue ; pub type GDBusObjectSkeleton_autoptr = * mut GDBusObjectSkeleton ; pub type GDBusObjectSkeleton_listautoptr = * mut GList ; pub type GDBusObjectSkeleton_slistautoptr = * mut GSList ; pub type GDBusObjectSkeleton_queueautoptr = * mut GQueue ; pub type GDBusProxy_autoptr = * mut GDBusProxy ; pub type GDBusProxy_listautoptr = * mut GList ; pub type GDBusProxy_slistautoptr = * mut GSList ; pub type GDBusProxy_queueautoptr = * mut GQueue ; pub type GDBusServer_autoptr = * mut GDBusServer ; pub type GDBusServer_listautoptr = * mut GList ; pub type GDBusServer_slistautoptr = * mut GSList ; pub type GDBusServer_queueautoptr = * mut GQueue ; pub type GDrive_autoptr = * mut GDrive ; pub type GDrive_listautoptr = * mut GList ; pub type GDrive_slistautoptr = * mut GSList ; pub type GDrive_queueautoptr = * mut GQueue ; pub type GEmblemedIcon_autoptr = * mut GEmblemedIcon ; pub type GEmblemedIcon_listautoptr = * mut GList ; pub type GEmblemedIcon_slistautoptr = * mut GSList ; pub type GEmblemedIcon_queueautoptr = * mut GQueue ; pub type GEmblem_autoptr = * mut GEmblem ; pub type GEmblem_listautoptr = * mut GList ; pub type GEmblem_slistautoptr = * mut GSList ; pub type GEmblem_queueautoptr = * mut GQueue ; pub type GFileEnumerator_autoptr = * mut GFileEnumerator ; pub type GFileEnumerator_listautoptr = * mut GList ; pub type GFileEnumerator_slistautoptr = * mut GSList ; pub type GFileEnumerator_queueautoptr = * mut GQueue ; pub type GFile_autoptr = * mut GFile ; pub type GFile_listautoptr = * mut GList ; pub type GFile_slistautoptr = * mut GSList ; pub type GFile_queueautoptr = * mut GQueue ; pub type GFileAttributeInfoList_autoptr = * mut GFileAttributeInfoList ; pub type GFileAttributeInfoList_listautoptr = * mut GList ; pub type GFileAttributeInfoList_slistautoptr = * mut GSList ; pub type GFileAttributeInfoList_queueautoptr = * mut GQueue ; pub type GFileIcon_autoptr = * mut GFileIcon ; pub type GFileIcon_listautoptr = * mut GList ; pub type GFileIcon_slistautoptr = * mut GSList ; pub type GFileIcon_queueautoptr = * mut GQueue ; pub type GFileInfo_autoptr = * mut GFileInfo ; pub type GFileInfo_listautoptr = * mut GList ; pub type GFileInfo_slistautoptr = * mut GSList ; pub type GFileInfo_queueautoptr = * mut GQueue ; pub type GFileInputStream_autoptr = * mut GFileInputStream ; pub type GFileInputStream_listautoptr = * mut GList ; pub type GFileInputStream_slistautoptr = * mut GSList ; pub type GFileInputStream_queueautoptr = * mut GQueue ; pub type GFileIOStream_autoptr = * mut GFileIOStream ; pub type GFileIOStream_listautoptr = * mut GList ; pub type GFileIOStream_slistautoptr = * mut GSList ; pub type GFileIOStream_queueautoptr = * mut GQueue ; pub type GFileMonitor_autoptr = * mut GFileMonitor ; pub type GFileMonitor_listautoptr = * mut GList ; pub type GFileMonitor_slistautoptr = * mut GSList ; pub type GFileMonitor_queueautoptr = * mut GQueue ; pub type GFilenameCompleter_autoptr = * mut GFilenameCompleter ; pub type GFilenameCompleter_listautoptr = * mut GList ; pub type GFilenameCompleter_slistautoptr = * mut GSList ; pub type GFilenameCompleter_queueautoptr = * mut GQueue ; pub type GFileOutputStream_autoptr = * mut GFileOutputStream ; pub type GFileOutputStream_listautoptr = * mut GList ; pub type GFileOutputStream_slistautoptr = * mut GSList ; pub type GFileOutputStream_queueautoptr = * mut GQueue ; pub type GFilterInputStream_autoptr = * mut GFilterInputStream ; pub type GFilterInputStream_listautoptr = * mut GList ; pub type GFilterInputStream_slistautoptr = * mut GSList ; pub type GFilterInputStream_queueautoptr = * mut GQueue ; pub type GFilterOutputStream_autoptr = * mut GFilterOutputStream ; pub type GFilterOutputStream_listautoptr = * mut GList ; pub type GFilterOutputStream_slistautoptr = * mut GSList ; pub type GFilterOutputStream_queueautoptr = * mut GQueue ; pub type GIcon_autoptr = * mut GIcon ; pub type GIcon_listautoptr = * mut GList ; pub type GIcon_slistautoptr = * mut GSList ; pub type GIcon_queueautoptr = * mut GQueue ; pub type GInetAddress_autoptr = * mut GInetAddress ; pub type GInetAddress_listautoptr = * mut GList ; pub type GInetAddress_slistautoptr = * mut GSList ; pub type GInetAddress_queueautoptr = * mut GQueue ; pub type GInetAddressMask_autoptr = * mut GInetAddressMask ; pub type GInetAddressMask_listautoptr = * mut GList ; pub type GInetAddressMask_slistautoptr = * mut GSList ; pub type GInetAddressMask_queueautoptr = * mut GQueue ; pub type GInetSocketAddress_autoptr = * mut GInetSocketAddress ; pub type GInetSocketAddress_listautoptr = * mut GList ; pub type GInetSocketAddress_slistautoptr = * mut GSList ; pub type GInetSocketAddress_queueautoptr = * mut GQueue ; pub type GInitable_autoptr = * mut GInitable ; pub type GInitable_listautoptr = * mut GList ; pub type GInitable_slistautoptr = * mut GSList ; pub type GInitable_queueautoptr = * mut GQueue ; pub type GInputStream_autoptr = * mut GInputStream ; pub type GInputStream_listautoptr = * mut GList ; pub type GInputStream_slistautoptr = * mut GSList ; pub type GInputStream_queueautoptr = * mut GQueue ; pub type GIOModule_autoptr = * mut GIOModule ; pub type GIOModule_listautoptr = * mut GList ; pub type GIOModule_slistautoptr = * mut GSList ; pub type GIOModule_queueautoptr = * mut GQueue ; pub type GIOStream_autoptr = * mut GIOStream ; pub type GIOStream_listautoptr = * mut GList ; pub type GIOStream_slistautoptr = * mut GSList ; pub type GIOStream_queueautoptr = * mut GQueue ; pub type GLoadableIcon_autoptr = * mut GLoadableIcon ; pub type GLoadableIcon_listautoptr = * mut GList ; pub type GLoadableIcon_slistautoptr = * mut GSList ; pub type GLoadableIcon_queueautoptr = * mut GQueue ; pub type GMemoryInputStream_autoptr = * mut GMemoryInputStream ; pub type GMemoryInputStream_listautoptr = * mut GList ; pub type GMemoryInputStream_slistautoptr = * mut GSList ; pub type GMemoryInputStream_queueautoptr = * mut GQueue ; pub type GMemoryOutputStream_autoptr = * mut GMemoryOutputStream ; pub type GMemoryOutputStream_listautoptr = * mut GList ; pub type GMemoryOutputStream_slistautoptr = * mut GSList ; pub type GMemoryOutputStream_queueautoptr = * mut GQueue ; pub type GMenu_autoptr = * mut GMenu ; pub type GMenu_listautoptr = * mut GList ; pub type GMenu_slistautoptr = * mut GSList ; pub type GMenu_queueautoptr = * mut GQueue ; pub type GMenuItem_autoptr = * mut GMenuItem ; pub type GMenuItem_listautoptr = * mut GList ; pub type GMenuItem_slistautoptr = * mut GSList ; pub type GMenuItem_queueautoptr = * mut GQueue ; pub type GMenuModel_autoptr = * mut GMenuModel ; pub type GMenuModel_listautoptr = * mut GList ; pub type GMenuModel_slistautoptr = * mut GSList ; pub type GMenuModel_queueautoptr = * mut GQueue ; pub type GMenuAttributeIter_autoptr = * mut GMenuAttributeIter ; pub type GMenuAttributeIter_listautoptr = * mut GList ; pub type GMenuAttributeIter_slistautoptr = * mut GSList ; pub type GMenuAttributeIter_queueautoptr = * mut GQueue ; pub type GMenuLinkIter_autoptr = * mut GMenuLinkIter ; pub type GMenuLinkIter_listautoptr = * mut GList ; pub type GMenuLinkIter_slistautoptr = * mut GSList ; pub type GMenuLinkIter_queueautoptr = * mut GQueue ; pub type GMount_autoptr = * mut GMount ; pub type GMount_listautoptr = * mut GList ; pub type GMount_slistautoptr = * mut GSList ; pub type GMount_queueautoptr = * mut GQueue ; pub type GMountOperation_autoptr = * mut GMountOperation ; pub type GMountOperation_listautoptr = * mut GList ; pub type GMountOperation_slistautoptr = * mut GSList ; pub type GMountOperation_queueautoptr = * mut GQueue ; pub type GNativeVolumeMonitor_autoptr = * mut GNativeVolumeMonitor ; pub type GNativeVolumeMonitor_listautoptr = * mut GList ; pub type GNativeVolumeMonitor_slistautoptr = * mut GSList ; pub type GNativeVolumeMonitor_queueautoptr = * mut GQueue ; pub type GNetworkAddress_autoptr = * mut GNetworkAddress ; pub type GNetworkAddress_listautoptr = * mut GList ; pub type GNetworkAddress_slistautoptr = * mut GSList ; pub type GNetworkAddress_queueautoptr = * mut GQueue ; pub type GNetworkMonitor_autoptr = * mut GNetworkMonitor ; pub type GNetworkMonitor_listautoptr = * mut GList ; pub type GNetworkMonitor_slistautoptr = * mut GSList ; pub type GNetworkMonitor_queueautoptr = * mut GQueue ; pub type GNetworkService_autoptr = * mut GNetworkService ; pub type GNetworkService_listautoptr = * mut GList ; pub type GNetworkService_slistautoptr = * mut GSList ; pub type GNetworkService_queueautoptr = * mut GQueue ; pub type GNotification_autoptr = * mut GNotification ; pub type GNotification_listautoptr = * mut GList ; pub type GNotification_slistautoptr = * mut GSList ; pub type GNotification_queueautoptr = * mut GQueue ; pub type GOutputStream_autoptr = * mut GOutputStream ; pub type GOutputStream_listautoptr = * mut GList ; pub type GOutputStream_slistautoptr = * mut GSList ; pub type GOutputStream_queueautoptr = * mut GQueue ; pub type GPermission_autoptr = * mut GPermission ; pub type GPermission_listautoptr = * mut GList ; pub type GPermission_slistautoptr = * mut GSList ; pub type GPermission_queueautoptr = * mut GQueue ; pub type GPollableInputStream_autoptr = * mut GPollableInputStream ; pub type GPollableInputStream_listautoptr = * mut GList ; pub type GPollableInputStream_slistautoptr = * mut GSList ; pub type GPollableInputStream_queueautoptr = * mut GQueue ; pub type GPollableOutputStream_autoptr = * mut GPollableOutputStream ; pub type GPollableOutputStream_listautoptr = * mut GList ; pub type GPollableOutputStream_slistautoptr = * mut GSList ; pub type GPollableOutputStream_queueautoptr = * mut GQueue ; pub type GPropertyAction_autoptr = * mut GPropertyAction ; pub type GPropertyAction_listautoptr = * mut GList ; pub type GPropertyAction_slistautoptr = * mut GSList ; pub type GPropertyAction_queueautoptr = * mut GQueue ; pub type GProxyAddressEnumerator_autoptr = * mut GProxyAddressEnumerator ; pub type GProxyAddressEnumerator_listautoptr = * mut GList ; pub type GProxyAddressEnumerator_slistautoptr = * mut GSList ; pub type GProxyAddressEnumerator_queueautoptr = * mut GQueue ; pub type GProxyAddress_autoptr = * mut GProxyAddress ; pub type GProxyAddress_listautoptr = * mut GList ; pub type GProxyAddress_slistautoptr = * mut GSList ; pub type GProxyAddress_queueautoptr = * mut GQueue ; pub type GProxy_autoptr = * mut GProxy ; pub type GProxy_listautoptr = * mut GList ; pub type GProxy_slistautoptr = * mut GSList ; pub type GProxy_queueautoptr = * mut GQueue ; pub type GProxyResolver_autoptr = * mut GProxyResolver ; pub type GProxyResolver_listautoptr = * mut GList ; pub type GProxyResolver_slistautoptr = * mut GSList ; pub type GProxyResolver_queueautoptr = * mut GQueue ; pub type GRemoteActionGroup_autoptr = * mut GRemoteActionGroup ; pub type GRemoteActionGroup_listautoptr = * mut GList ; pub type GRemoteActionGroup_slistautoptr = * mut GSList ; pub type GRemoteActionGroup_queueautoptr = * mut GQueue ; pub type GResolver_autoptr = * mut GResolver ; pub type GResolver_listautoptr = * mut GList ; pub type GResolver_slistautoptr = * mut GSList ; pub type GResolver_queueautoptr = * mut GQueue ; pub type GResource_autoptr = * mut GResource ; pub type GResource_listautoptr = * mut GList ; pub type GResource_slistautoptr = * mut GSList ; pub type GResource_queueautoptr = * mut GQueue ; pub type GSeekable_autoptr = * mut GSeekable ; pub type GSeekable_listautoptr = * mut GList ; pub type GSeekable_slistautoptr = * mut GSList ; pub type GSeekable_queueautoptr = * mut GQueue ; pub type GSettingsBackend_autoptr = * mut GSettingsBackend ; pub type GSettingsBackend_listautoptr = * mut GList ; pub type GSettingsBackend_slistautoptr = * mut GSList ; pub type GSettingsBackend_queueautoptr = * mut GQueue ; pub type GSettingsSchema_autoptr = * mut GSettingsSchema ; pub type GSettingsSchema_listautoptr = * mut GList ; pub type GSettingsSchema_slistautoptr = * mut GSList ; pub type GSettingsSchema_queueautoptr = * mut GQueue ; pub type GSettingsSchemaKey_autoptr = * mut GSettingsSchemaKey ; pub type GSettingsSchemaKey_listautoptr = * mut GList ; pub type GSettingsSchemaKey_slistautoptr = * mut GSList ; pub type GSettingsSchemaKey_queueautoptr = * mut GQueue ; pub type GSettingsSchemaSource_autoptr = * mut GSettingsSchemaSource ; pub type GSettingsSchemaSource_listautoptr = * mut GList ; pub type GSettingsSchemaSource_slistautoptr = * mut GSList ; pub type GSettingsSchemaSource_queueautoptr = * mut GQueue ; pub type GSettings_autoptr = * mut GSettings ; pub type GSettings_listautoptr = * mut GList ; pub type GSettings_slistautoptr = * mut GSList ; pub type GSettings_queueautoptr = * mut GQueue ; pub type GSimpleActionGroup_autoptr = * mut GSimpleActionGroup ; pub type GSimpleActionGroup_listautoptr = * mut GList ; pub type GSimpleActionGroup_slistautoptr = * mut GSList ; pub type GSimpleActionGroup_queueautoptr = * mut GQueue ; pub type GSimpleAction_autoptr = * mut GSimpleAction ; pub type GSimpleAction_listautoptr = * mut GList ; pub type GSimpleAction_slistautoptr = * mut GSList ; pub type GSimpleAction_queueautoptr = * mut GQueue ; pub type GSimpleAsyncResult_autoptr = * mut GSimpleAsyncResult ; pub type GSimpleAsyncResult_listautoptr = * mut GList ; pub type GSimpleAsyncResult_slistautoptr = * mut GSList ; pub type GSimpleAsyncResult_queueautoptr = * mut GQueue ; pub type GSimplePermission_autoptr = * mut GSimplePermission ; pub type GSimplePermission_listautoptr = * mut GList ; pub type GSimplePermission_slistautoptr = * mut GSList ; pub type GSimplePermission_queueautoptr = * mut GQueue ; pub type GSimpleProxyResolver_autoptr = * mut GSimpleProxyResolver ; pub type GSimpleProxyResolver_listautoptr = * mut GList ; pub type GSimpleProxyResolver_slistautoptr = * mut GSList ; pub type GSimpleProxyResolver_queueautoptr = * mut GQueue ; pub type GSocketAddressEnumerator_autoptr = * mut GSocketAddressEnumerator ; pub type GSocketAddressEnumerator_listautoptr = * mut GList ; pub type GSocketAddressEnumerator_slistautoptr = * mut GSList ; pub type GSocketAddressEnumerator_queueautoptr = * mut GQueue ; pub type GSocketAddress_autoptr = * mut GSocketAddress ; pub type GSocketAddress_listautoptr = * mut GList ; pub type GSocketAddress_slistautoptr = * mut GSList ; pub type GSocketAddress_queueautoptr = * mut GQueue ; pub type GSocketClient_autoptr = * mut GSocketClient ; pub type GSocketClient_listautoptr = * mut GList ; pub type GSocketClient_slistautoptr = * mut GSList ; pub type GSocketClient_queueautoptr = * mut GQueue ; pub type GSocketConnectable_autoptr = * mut GSocketConnectable ; pub type GSocketConnectable_listautoptr = * mut GList ; pub type GSocketConnectable_slistautoptr = * mut GSList ; pub type GSocketConnectable_queueautoptr = * mut GQueue ; pub type GSocketConnection_autoptr = * mut GSocketConnection ; pub type GSocketConnection_listautoptr = * mut GList ; pub type GSocketConnection_slistautoptr = * mut GSList ; pub type GSocketConnection_queueautoptr = * mut GQueue ; pub type GSocketControlMessage_autoptr = * mut GSocketControlMessage ; pub type GSocketControlMessage_listautoptr = * mut GList ; pub type GSocketControlMessage_slistautoptr = * mut GSList ; pub type GSocketControlMessage_queueautoptr = * mut GQueue ; pub type GSocket_autoptr = * mut GSocket ; pub type GSocket_listautoptr = * mut GList ; pub type GSocket_slistautoptr = * mut GSList ; pub type GSocket_queueautoptr = * mut GQueue ; pub type GSocketListener_autoptr = * mut GSocketListener ; pub type GSocketListener_listautoptr = * mut GList ; pub type GSocketListener_slistautoptr = * mut GSList ; pub type GSocketListener_queueautoptr = * mut GQueue ; pub type GSocketService_autoptr = * mut GSocketService ; pub type GSocketService_listautoptr = * mut GList ; pub type GSocketService_slistautoptr = * mut GSList ; pub type GSocketService_queueautoptr = * mut GQueue ; pub type GSubprocess_autoptr = * mut GSubprocess ; pub type GSubprocess_listautoptr = * mut GList ; pub type GSubprocess_slistautoptr = * mut GSList ; pub type GSubprocess_queueautoptr = * mut GQueue ; pub type GSubprocessLauncher_autoptr = * mut GSubprocessLauncher ; pub type GSubprocessLauncher_listautoptr = * mut GList ; pub type GSubprocessLauncher_slistautoptr = * mut GSList ; pub type GSubprocessLauncher_queueautoptr = * mut GQueue ; pub type GTask_autoptr = * mut GTask ; pub type GTask_listautoptr = * mut GList ; pub type GTask_slistautoptr = * mut GSList ; pub type GTask_queueautoptr = * mut GQueue ; pub type GTcpConnection_autoptr = * mut GTcpConnection ; pub type GTcpConnection_listautoptr = * mut GList ; pub type GTcpConnection_slistautoptr = * mut GSList ; pub type GTcpConnection_queueautoptr = * mut GQueue ; pub type GTcpWrapperConnection_autoptr = * mut GTcpWrapperConnection ; pub type GTcpWrapperConnection_listautoptr = * mut GList ; pub type GTcpWrapperConnection_slistautoptr = * mut GSList ; pub type GTcpWrapperConnection_queueautoptr = * mut GQueue ; pub type GTestDBus_autoptr = * mut GTestDBus ; pub type GTestDBus_listautoptr = * mut GList ; pub type GTestDBus_slistautoptr = * mut GSList ; pub type GTestDBus_queueautoptr = * mut GQueue ; pub type GThemedIcon_autoptr = * mut GThemedIcon ; pub type GThemedIcon_listautoptr = * mut GList ; pub type GThemedIcon_slistautoptr = * mut GSList ; pub type GThemedIcon_queueautoptr = * mut GQueue ; pub type GThreadedSocketService_autoptr = * mut GThreadedSocketService ; pub type GThreadedSocketService_listautoptr = * mut GList ; pub type GThreadedSocketService_slistautoptr = * mut GSList ; pub type GThreadedSocketService_queueautoptr = * mut GQueue ; pub type GTlsBackend_autoptr = * mut GTlsBackend ; pub type GTlsBackend_listautoptr = * mut GList ; pub type GTlsBackend_slistautoptr = * mut GSList ; pub type GTlsBackend_queueautoptr = * mut GQueue ; pub type GTlsCertificate_autoptr = * mut GTlsCertificate ; pub type GTlsCertificate_listautoptr = * mut GList ; pub type GTlsCertificate_slistautoptr = * mut GSList ; pub type GTlsCertificate_queueautoptr = * mut GQueue ; pub type GTlsClientConnection_autoptr = * mut GTlsClientConnection ; pub type GTlsClientConnection_listautoptr = * mut GList ; pub type GTlsClientConnection_slistautoptr = * mut GSList ; pub type GTlsClientConnection_queueautoptr = * mut GQueue ; pub type GTlsConnection_autoptr = * mut GTlsConnection ; pub type GTlsConnection_listautoptr = * mut GList ; pub type GTlsConnection_slistautoptr = * mut GSList ; pub type GTlsConnection_queueautoptr = * mut GQueue ; pub type GTlsDatabase_autoptr = * mut GTlsDatabase ; pub type GTlsDatabase_listautoptr = * mut GList ; pub type GTlsDatabase_slistautoptr = * mut GSList ; pub type GTlsDatabase_queueautoptr = * mut GQueue ; pub type GTlsFileDatabase_autoptr = * mut GTlsFileDatabase ; pub type GTlsFileDatabase_listautoptr = * mut GList ; pub type GTlsFileDatabase_slistautoptr = * mut GSList ; pub type GTlsFileDatabase_queueautoptr = * mut GQueue ; pub type GTlsInteraction_autoptr = * mut GTlsInteraction ; pub type GTlsInteraction_listautoptr = * mut GList ; pub type GTlsInteraction_slistautoptr = * mut GSList ; pub type GTlsInteraction_queueautoptr = * mut GQueue ; pub type GTlsPassword_autoptr = * mut GTlsPassword ; pub type GTlsPassword_listautoptr = * mut GList ; pub type GTlsPassword_slistautoptr = * mut GSList ; pub type GTlsPassword_queueautoptr = * mut GQueue ; pub type GTlsServerConnection_autoptr = * mut GTlsServerConnection ; pub type GTlsServerConnection_listautoptr = * mut GList ; pub type GTlsServerConnection_slistautoptr = * mut GSList ; pub type GTlsServerConnection_queueautoptr = * mut GQueue ; pub type GVfs_autoptr = * mut GVfs ; pub type GVfs_listautoptr = * mut GList ; pub type GVfs_slistautoptr = * mut GSList ; pub type GVfs_queueautoptr = * mut GQueue ; pub type GVolume_autoptr = * mut GVolume ; pub type GVolume_listautoptr = * mut GList ; pub type GVolume_slistautoptr = * mut GSList ; pub type GVolume_queueautoptr = * mut GQueue ; pub type GVolumeMonitor_autoptr = * mut GVolumeMonitor ; pub type GVolumeMonitor_listautoptr = * mut GList ; pub type GVolumeMonitor_slistautoptr = * mut GSList ; pub type GVolumeMonitor_queueautoptr = * mut GQueue ; pub type GZlibCompressor_autoptr = * mut GZlibCompressor ; pub type GZlibCompressor_listautoptr = * mut GList ; pub type GZlibCompressor_slistautoptr = * mut GSList ; pub type GZlibCompressor_queueautoptr = * mut GQueue ; pub type GZlibDecompressor_autoptr = * mut GZlibDecompressor ; pub type GZlibDecompressor_listautoptr = * mut GList ; pub type GZlibDecompressor_slistautoptr = * mut GSList ; pub type GZlibDecompressor_queueautoptr = * mut GQueue ; pub type VipsPel = :: std :: os :: raw :: c_uchar ; pub type VipsCallbackFn = :: std :: option :: Option < unsafe extern "C" fn ( a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type VipsSListMap2Fn = :: std :: option :: Option < unsafe extern "C" fn ( item : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; pub type VipsSListMap4Fn = :: std :: option :: Option < unsafe extern "C" fn ( item : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void , c : * mut :: std :: os :: raw :: c_void , d : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; pub type VipsSListFold2Fn = :: std :: option :: Option < unsafe extern "C" fn ( item : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void , c : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; pub const VipsPrecision_VIPS_PRECISION_INTEGER : VipsPrecision = 0 ; pub const VipsPrecision_VIPS_PRECISION_FLOAT : VipsPrecision = 1 ; pub const VipsPrecision_VIPS_PRECISION_APPROXIMATE : VipsPrecision = 2 ; pub const VipsPrecision_VIPS_PRECISION_LAST : VipsPrecision = 3 ; pub type VipsPrecision = u32 ; extern "C" { pub fn vips_path_filename7 ( path : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_path_mode7 ( path : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } pub type VipsImage = _VipsImage ; pub type VipsRegion = _VipsRegion ; pub type VipsBuf = _VipsBuf ; pub type VipsSource = _VipsSource ; pub type VipsTarget = _VipsTarget ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsBuf { pub base : * mut :: std :: os :: raw :: c_char , pub mx : :: std :: os :: raw :: c_int , pub i : :: std :: os :: raw :: c_int , pub full : gboolean , pub lasti : :: std :: os :: raw :: c_int , pub dynamic : gboolean , } # [ test ] fn bindgen_test_layout__VipsBuf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsBuf > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _VipsBuf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsBuf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsBuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuf > ( ) ) ) . base as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuf ) , "::" , stringify ! ( base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuf > ( ) ) ) . mx as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuf ) , "::" , stringify ! ( mx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuf > ( ) ) ) . i as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuf ) , "::" , stringify ! ( i ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuf > ( ) ) ) . full as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuf ) , "::" , stringify ! ( full ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuf > ( ) ) ) . lasti as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuf ) , "::" , stringify ! ( lasti ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuf > ( ) ) ) . dynamic as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuf ) , "::" , stringify ! ( dynamic ) ) ) ; } extern "C" { pub fn vips_buf_rewind ( buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_buf_destroy ( buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_buf_init ( buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_buf_set_static ( buf : * mut VipsBuf , base : * mut :: std :: os :: raw :: c_char , mx : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_buf_set_dynamic ( buf : * mut VipsBuf , mx : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_buf_init_static ( buf : * mut VipsBuf , base : * mut :: std :: os :: raw :: c_char , mx : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_buf_init_dynamic ( buf : * mut VipsBuf , mx : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_buf_appendns ( buf : * mut VipsBuf , str : * const :: std :: os :: raw :: c_char , sz : :: std :: os :: raw :: c_int ) -> gboolean ; } extern "C" { pub fn vips_buf_appends ( buf : * mut VipsBuf , str : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_buf_appendf ( buf : * mut VipsBuf , fmt : * const :: std :: os :: raw :: c_char , ... ) -> gboolean ; } extern "C" { pub fn vips_buf_vappendf ( buf : * mut VipsBuf , fmt : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag ) -> gboolean ; } extern "C" { pub fn vips_buf_appendc ( buf : * mut VipsBuf , ch : :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_buf_appendsc ( buf : * mut VipsBuf , quote : gboolean , str : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_buf_appendgv ( buf : * mut VipsBuf , value : * mut GValue ) -> gboolean ; } extern "C" { pub fn vips_buf_append_size ( buf : * mut VipsBuf , n : usize ) -> gboolean ; } extern "C" { pub fn vips_buf_removec ( buf : * mut VipsBuf , ch : :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_buf_change ( buf : * mut VipsBuf , o : * const :: std :: os :: raw :: c_char , n : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_buf_is_empty ( buf : * mut VipsBuf ) -> gboolean ; } extern "C" { pub fn vips_buf_is_full ( buf : * mut VipsBuf ) -> gboolean ; } extern "C" { pub fn vips_buf_all ( buf : * mut VipsBuf ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_buf_firstline ( buf : * mut VipsBuf ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_buf_appendg ( buf : * mut VipsBuf , g : f64 ) -> gboolean ; } extern "C" { pub fn vips_buf_appendd ( buf : * mut VipsBuf , d : :: std :: os :: raw :: c_int ) -> gboolean ; } extern "C" { pub fn vips_buf_len ( buf : * mut VipsBuf ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsDbuf { pub data : * mut :: std :: os :: raw :: c_uchar , pub allocated_size : usize , pub data_size : usize , pub write_point : usize , } # [ test ] fn bindgen_test_layout__VipsDbuf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsDbuf > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _VipsDbuf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsDbuf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsDbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsDbuf > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsDbuf ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsDbuf > ( ) ) ) . allocated_size as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsDbuf ) , "::" , stringify ! ( allocated_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsDbuf > ( ) ) ) . data_size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsDbuf ) , "::" , stringify ! ( data_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsDbuf > ( ) ) ) . write_point as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsDbuf ) , "::" , stringify ! ( write_point ) ) ) ; } pub type VipsDbuf = _VipsDbuf ; extern "C" { pub fn vips_dbuf_init ( dbuf : * mut VipsDbuf ) ; } extern "C" { pub fn vips_dbuf_minimum_size ( dbuf : * mut VipsDbuf , size : usize ) -> gboolean ; } extern "C" { pub fn vips_dbuf_allocate ( dbuf : * mut VipsDbuf , size : usize ) -> gboolean ; } extern "C" { pub fn vips_dbuf_read ( dbuf : * mut VipsDbuf , data : * mut :: std :: os :: raw :: c_uchar , size : usize ) -> usize ; } extern "C" { pub fn vips_dbuf_get_write ( dbuf : * mut VipsDbuf , size : * mut usize ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn vips_dbuf_write ( dbuf : * mut VipsDbuf , data : * const :: std :: os :: raw :: c_uchar , size : usize ) -> gboolean ; } extern "C" { pub fn vips_dbuf_writef ( dbuf : * mut VipsDbuf , fmt : * const :: std :: os :: raw :: c_char , ... ) -> gboolean ; } extern "C" { pub fn vips_dbuf_write_amp ( dbuf : * mut VipsDbuf , str : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_dbuf_reset ( dbuf : * mut VipsDbuf ) ; } extern "C" { pub fn vips_dbuf_destroy ( dbuf : * mut VipsDbuf ) ; } extern "C" { pub fn vips_dbuf_seek ( dbuf : * mut VipsDbuf , offset : off_t , whence : :: std :: os :: raw :: c_int ) -> gboolean ; } extern "C" { pub fn vips_dbuf_truncate ( dbuf : * mut VipsDbuf ) ; } extern "C" { pub fn vips_dbuf_tell ( dbuf : * mut VipsDbuf ) -> off_t ; } extern "C" { pub fn vips_dbuf_string ( dbuf : * mut VipsDbuf , size : * mut usize ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn vips_dbuf_steal ( dbuf : * mut VipsDbuf , size : * mut usize ) -> * mut :: std :: os :: raw :: c_uchar ; } pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig ( __x : f64 , __y : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acos ( __x : f64 ) -> f64 ; } extern "C" { pub fn asin ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asin ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atan ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan2 ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn __atan2 ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn cos ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cos ( __x : f64 ) -> f64 ; } extern "C" { pub fn sin ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sin ( __x : f64 ) -> f64 ; } extern "C" { pub fn tan ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tan ( __x : f64 ) -> f64 ; } extern "C" { pub fn cosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn sinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn tanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn acosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn asinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn atanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp ( __x : f64 ) -> f64 ; } extern "C" { pub fn frexp ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __frexp ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ldexp ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __ldexp ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn log ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log ( __x : f64 ) -> f64 ; } extern "C" { pub fn log10 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log10 ( __x : f64 ) -> f64 ; } extern "C" { pub fn modf ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn __modf ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn expm1 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __expm1 ( __x : f64 ) -> f64 ; } extern "C" { pub fn log1p ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log1p ( __x : f64 ) -> f64 ; } extern "C" { pub fn logb ( __x : f64 ) -> f64 ; } extern "C" { pub fn __logb ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn log2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn pow ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __pow ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn sqrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sqrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn hypot ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __hypot ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn cbrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cbrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn ceil ( __x : f64 ) -> f64 ; } extern "C" { pub fn __ceil ( __x : f64 ) -> f64 ; } extern "C" { pub fn fabs ( __x : f64 ) -> f64 ; } extern "C" { pub fn __fabs ( __x : f64 ) -> f64 ; } extern "C" { pub fn floor ( __x : f64 ) -> f64 ; } extern "C" { pub fn __floor ( __x : f64 ) -> f64 ; } extern "C" { pub fn fmod ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmod ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn isinf ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __drem ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn significand ( __x : f64 ) -> f64 ; } extern "C" { pub fn __significand ( __x : f64 ) -> f64 ; } extern "C" { pub fn copysign ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __copysign ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nan ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn __nan ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn isnan ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn j1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn jn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __jn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn y0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn y1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn yn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __yn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn erf ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erf ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn erfc ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erfc ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __lgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn tgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __tgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn gamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __gamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgamma_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __lgamma_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn rint ( __x : f64 ) -> f64 ; } extern "C" { pub fn __rint ( __x : f64 ) -> f64 ; } extern "C" { pub fn nextafter ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __nextafter ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nexttoward ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __nexttoward ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn remainder ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __remainder ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn scalbn ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __scalbn ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ilogb ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn __scalbln ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn nearbyint ( __x : f64 ) -> f64 ; } extern "C" { pub fn __nearbyint ( __x : f64 ) -> f64 ; } extern "C" { pub fn round ( __x : f64 ) -> f64 ; } extern "C" { pub fn __round ( __x : f64 ) -> f64 ; } extern "C" { pub fn trunc ( __x : f64 ) -> f64 ; } extern "C" { pub fn __trunc ( __x : f64 ) -> f64 ; } extern "C" { pub fn remquo ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __remquo ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn lrint ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fdim ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmax ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmax ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmin ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmin ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fma ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn __fma ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn scalb ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __scalb ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __fpclassifyf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf ( __x : f32 , __y : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __acosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn asinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __asinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __atanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atan2f ( __y : f32 , __x : f32 ) -> f32 ; } extern "C" { pub fn __atan2f ( __y : f32 , __x : f32 ) -> f32 ; } extern "C" { pub fn cosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __cosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn sinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn tanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __tanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn coshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __coshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn sinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn tanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __tanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn acoshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __acoshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn asinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __asinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __atanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn expf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __expf ( __x : f32 ) -> f32 ; } extern "C" { pub fn frexpf ( __x : f32 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __frexpf ( __x : f32 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn ldexpf ( __x : f32 , __exponent : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __ldexpf ( __x : f32 , __exponent : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn logf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __logf ( __x : f32 ) -> f32 ; } extern "C" { pub fn log10f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log10f ( __x : f32 ) -> f32 ; } extern "C" { pub fn modff ( __x : f32 , __iptr : * mut f32 ) -> f32 ; } extern "C" { pub fn __modff ( __x : f32 , __iptr : * mut f32 ) -> f32 ; } extern "C" { pub fn expm1f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __expm1f ( __x : f32 ) -> f32 ; } extern "C" { pub fn log1pf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log1pf ( __x : f32 ) -> f32 ; } extern "C" { pub fn logbf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __logbf ( __x : f32 ) -> f32 ; } extern "C" { pub fn exp2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __exp2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn log2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn powf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __powf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn sqrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sqrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn hypotf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __hypotf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn cbrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __cbrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn ceilf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __ceilf ( __x : f32 ) -> f32 ; } extern "C" { pub fn fabsf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __fabsf ( __x : f32 ) -> f32 ; } extern "C" { pub fn floorf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __floorf ( __x : f32 ) -> f32 ; } extern "C" { pub fn fmodf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fmodf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn isinff ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __dremf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn significandf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __significandf ( __x : f32 ) -> f32 ; } extern "C" { pub fn copysignf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __copysignf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn nanf ( __tagb : * const :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn __nanf ( __tagb : * const :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn isnanf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __j0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn j1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __j1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn jnf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn __jnf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn y0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __y0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn y1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __y1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn ynf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn __ynf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn erff ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __erff ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn erfcf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __erfcf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn lgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __lgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn tgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __tgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn gammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __gammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn lgammaf_r ( arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __lgammaf_r ( arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn rintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __rintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn nextafterf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __nextafterf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn nexttowardf ( __x : f32 , __y : f64 ) -> f32 ; } extern "C" { pub fn __nexttowardf ( __x : f32 , __y : f64 ) -> f32 ; } extern "C" { pub fn remainderf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __remainderf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn scalbnf ( __x : f32 , __n : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __scalbnf ( __x : f32 , __n : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn ilogbf ( __x : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf ( __x : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf ( __x : f32 , __n : :: std :: os :: raw :: c_long ) -> f32 ; } extern "C" { pub fn __scalblnf ( __x : f32 , __n : :: std :: os :: raw :: c_long ) -> f32 ; } extern "C" { pub fn nearbyintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __nearbyintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn roundf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __roundf ( __x : f32 ) -> f32 ; } extern "C" { pub fn truncf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __truncf ( __x : f32 ) -> f32 ; } extern "C" { pub fn remquof ( __x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __remquof ( __x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn lrintf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fdimf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fmaxf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fmaxf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fminf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fminf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fmaf ( __x : f32 , __y : f32 , __z : f32 ) -> f32 ; } extern "C" { pub fn __fmaf ( __x : f32 , __y : f32 , __z : f32 ) -> f32 ; } extern "C" { pub fn scalbf ( __x : f32 , __n : f32 ) -> f32 ; } extern "C" { pub fn __scalbf ( __x : f32 , __n : f32 ) -> f32 ; } extern "C" { pub fn __fpclassifyl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl ( __x : f64 , __y : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acosl ( __x : f64 ) -> f64 ; } extern "C" { pub fn asinl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asinl ( __x : f64 ) -> f64 ; } extern "C" { pub fn atanl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atanl ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan2l ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn __atan2l ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn cosl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cosl ( __x : f64 ) -> f64 ; } extern "C" { pub fn sinl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sinl ( __x : f64 ) -> f64 ; } extern "C" { pub fn tanl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tanl ( __x : f64 ) -> f64 ; } extern "C" { pub fn coshl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __coshl ( __x : f64 ) -> f64 ; } extern "C" { pub fn sinhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sinhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn tanhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tanhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn acoshl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acoshl ( __x : f64 ) -> f64 ; } extern "C" { pub fn asinhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asinhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn atanhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atanhl ( __x : f64 ) -> f64 ; } extern "C" { pub fn expl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __expl ( __x : f64 ) -> f64 ; } extern "C" { pub fn frexpl ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __frexpl ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ldexpl ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __ldexpl ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn logl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __logl ( __x : f64 ) -> f64 ; } extern "C" { pub fn log10l ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log10l ( __x : f64 ) -> f64 ; } extern "C" { pub fn modfl ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn __modfl ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn expm1l ( __x : f64 ) -> f64 ; } extern "C" { pub fn __expm1l ( __x : f64 ) -> f64 ; } extern "C" { pub fn log1pl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log1pl ( __x : f64 ) -> f64 ; } extern "C" { pub fn logbl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __logbl ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp2l ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp2l ( __x : f64 ) -> f64 ; } extern "C" { pub fn log2l ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log2l ( __x : f64 ) -> f64 ; } extern "C" { pub fn powl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __powl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn sqrtl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sqrtl ( __x : f64 ) -> f64 ; } extern "C" { pub fn hypotl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __hypotl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn cbrtl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cbrtl ( __x : f64 ) -> f64 ; } extern "C" { pub fn ceill ( __x : f64 ) -> f64 ; } extern "C" { pub fn __ceill ( __x : f64 ) -> f64 ; } extern "C" { pub fn fabsl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __fabsl ( __x : f64 ) -> f64 ; } extern "C" { pub fn floorl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __floorl ( __x : f64 ) -> f64 ; } extern "C" { pub fn fmodl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmodl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn isinfl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __dreml ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn significandl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __significandl ( __x : f64 ) -> f64 ; } extern "C" { pub fn copysignl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __copysignl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nanl ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn __nanl ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn isnanl ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j0l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn j1l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j1l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn jnl ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __jnl ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn y0l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y0l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn y1l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y1l ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn ynl ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __ynl ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn erfl ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erfl ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn erfcl ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erfcl ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgammal ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __lgammal ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn tgammal ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __tgammal ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn gammal ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __gammal ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgammal_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __lgammal_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn rintl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __rintl ( __x : f64 ) -> f64 ; } extern "C" { pub fn nextafterl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __nextafterl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nexttowardl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __nexttowardl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn remainderl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __remainderl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn scalbnl ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __scalbnl ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ilogbl ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn __scalblnl ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn nearbyintl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __nearbyintl ( __x : f64 ) -> f64 ; } extern "C" { pub fn roundl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __roundl ( __x : f64 ) -> f64 ; } extern "C" { pub fn truncl ( __x : f64 ) -> f64 ; } extern "C" { pub fn __truncl ( __x : f64 ) -> f64 ; } extern "C" { pub fn remquol ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __remquol ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn lrintl ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fdiml ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmaxl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmaxl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fminl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fminl ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmal ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn __fmal ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn scalbl ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __scalbl ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { # [ link_name = "\u{1}signgam" ] pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const enum_(unnamed_at_/usr/include/math_h_934_1)_FP_NAN : enum_(unnamed_at_/usr/include/math_h_934_1) = 0 ; pub const enum_(unnamed_at_/usr/include/math_h_934_1)_FP_INFINITE : enum_(unnamed_at_/usr/include/math_h_934_1) = 1 ; pub const enum_(unnamed_at_/usr/include/math_h_934_1)_FP_ZERO : enum_(unnamed_at_/usr/include/math_h_934_1) = 2 ; pub const enum_(unnamed_at_/usr/include/math_h_934_1)_FP_SUBNORMAL : enum_(unnamed_at_/usr/include/math_h_934_1) = 3 ; pub const enum_(unnamed_at_/usr/include/math_h_934_1)_FP_NORMAL : enum_(unnamed_at_/usr/include/math_h_934_1) = 4 ; pub type enum_(unnamed_at_/usr/include/math_h_934_1) = u32 ; extern "C" { pub fn vips_enum_string ( enm : GType , value : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_enum_nick ( enm : GType , value : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_enum_from_nick ( domain : * const :: std :: os :: raw :: c_char , type_ : GType , str : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_flags_from_nick ( domain : * const :: std :: os :: raw :: c_char , type_ : GType , nick : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_slist_equal ( l1 : * mut GSList , l2 : * mut GSList ) -> gboolean ; } extern "C" { pub fn vips_slist_map2 ( list : * mut GSList , fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_slist_map2_rev ( list : * mut GSList , fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_slist_map4 ( list : * mut GSList , fn_ : VipsSListMap4Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void , c : * mut :: std :: os :: raw :: c_void , d : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_slist_fold2 ( list : * mut GSList , start : * mut :: std :: os :: raw :: c_void , fn_ : VipsSListFold2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_slist_filter ( list : * mut GSList , fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut GSList ; } extern "C" { pub fn vips_slist_free_all ( list : * mut GSList ) ; } extern "C" { pub fn vips_map_equal ( a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_hash_table_map ( hash : * mut GHashTable , fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_strncpy ( dest : * mut :: std :: os :: raw :: c_char , src : * const :: std :: os :: raw :: c_char , n : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_strrstr ( haystack : * const :: std :: os :: raw :: c_char , needle : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_ispostfix ( a : * const :: std :: os :: raw :: c_char , b : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_iscasepostfix ( a : * const :: std :: os :: raw :: c_char , b : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_isprefix ( a : * const :: std :: os :: raw :: c_char , b : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_break_token ( str : * mut :: std :: os :: raw :: c_char , brk : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__chomp ( str : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_vsnprintf ( str : * mut :: std :: os :: raw :: c_char , size : usize , format : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_snprintf ( str : * mut :: std :: os :: raw :: c_char , size : usize , format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_filename_suffix_match ( path : * const :: std :: os :: raw :: c_char , suffixes : * mut * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_file_length ( fd : :: std :: os :: raw :: c_int ) -> gint64 ; } extern "C" { pub fn vips__write ( fd : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_void , count : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__open ( filename : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__open_read ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__fopen ( filename : * const :: std :: os :: raw :: c_char , mode : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn vips__file_open_read ( filename : * const :: std :: os :: raw :: c_char , fallback_dir : * const :: std :: os :: raw :: c_char , text_mode : gboolean ) -> * mut FILE ; } extern "C" { pub fn vips__file_open_write ( filename : * const :: std :: os :: raw :: c_char , text_mode : gboolean ) -> * mut FILE ; } extern "C" { pub fn vips__file_read ( fp : * mut FILE , name : * const :: std :: os :: raw :: c_char , length_out : * mut usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__file_read_name ( name : * const :: std :: os :: raw :: c_char , fallback_dir : * const :: std :: os :: raw :: c_char , length_out : * mut usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__file_write ( data : * mut :: std :: os :: raw :: c_void , size : usize , nmemb : usize , stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__get_bytes ( filename : * const :: std :: os :: raw :: c_char , buf : * mut :: std :: os :: raw :: c_uchar , len : gint64 ) -> gint64 ; } extern "C" { pub fn vips__fgetc ( fp : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__gvalue_ref_string_new ( text : * const :: std :: os :: raw :: c_char ) -> * mut GValue ; } extern "C" { pub fn vips__gslist_gvalue_free ( list : * mut GSList ) ; } extern "C" { pub fn vips__gslist_gvalue_copy ( list : * const GSList ) -> * mut GSList ; } extern "C" { pub fn vips__gslist_gvalue_merge ( a : * mut GSList , b : * const GSList ) -> * mut GSList ; } extern "C" { pub fn vips__gslist_gvalue_get ( list : * const GSList ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__seek_no_error ( fd : :: std :: os :: raw :: c_int , pos : gint64 , whence : :: std :: os :: raw :: c_int ) -> gint64 ; } extern "C" { pub fn vips__seek ( fd : :: std :: os :: raw :: c_int , pos : gint64 , whence : :: std :: os :: raw :: c_int ) -> gint64 ; } extern "C" { pub fn vips__ftruncate ( fd : :: std :: os :: raw :: c_int , pos : gint64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_existsf ( name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_isdirf ( name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mkdirf ( name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rmdirf ( name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rename ( old_name : * const :: std :: os :: raw :: c_char , new_name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } pub const VipsToken_VIPS_TOKEN_LEFT : VipsToken = 1 ; pub const VipsToken_VIPS_TOKEN_RIGHT : VipsToken = 2 ; pub const VipsToken_VIPS_TOKEN_STRING : VipsToken = 3 ; pub const VipsToken_VIPS_TOKEN_EQUALS : VipsToken = 4 ; pub const VipsToken_VIPS_TOKEN_COMMA : VipsToken = 5 ; pub type VipsToken = u32 ; extern "C" { pub fn vips__token_get ( buffer : * const :: std :: os :: raw :: c_char , token : * mut VipsToken , string : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__token_must ( buffer : * const :: std :: os :: raw :: c_char , token : * mut VipsToken , string : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__token_need ( buffer : * const :: std :: os :: raw :: c_char , need_token : VipsToken , string : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__token_segment ( p : * const :: std :: os :: raw :: c_char , token : * mut VipsToken , string : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__token_segment_need ( p : * const :: std :: os :: raw :: c_char , need_token : VipsToken , string : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__find_rightmost_brackets ( p : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__filename_split8 ( name : * const :: std :: os :: raw :: c_char , filename : * mut :: std :: os :: raw :: c_char , option_string : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_ispoweroftwo ( p : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_amiMSBfirst ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__temp_name ( format : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__change_suffix ( name : * const :: std :: os :: raw :: c_char , out : * mut :: std :: os :: raw :: c_char , mx : :: std :: os :: raw :: c_int , new_suff : * const :: std :: os :: raw :: c_char , olds : * mut * const :: std :: os :: raw :: c_char , nolds : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_realpath ( path : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__random ( seed : guint32 ) -> guint32 ; } extern "C" { pub fn vips__random_add ( seed : guint32 , value : :: std :: os :: raw :: c_int ) -> guint32 ; } extern "C" { pub fn vips__icc_dir ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__windows_prefix ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips__get_iso8601 ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_strtod ( str : * const :: std :: os :: raw :: c_char , out : * mut f64 ) -> :: std :: os :: raw :: c_int ; } pub type VipsObject = _VipsObject ; pub type VipsObjectClass = _VipsObjectClass ; pub const VipsArgumentFlags_VIPS_ARGUMENT_NONE : VipsArgumentFlags = 0 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_REQUIRED : VipsArgumentFlags = 1 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_CONSTRUCT : VipsArgumentFlags = 2 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_SET_ONCE : VipsArgumentFlags = 4 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_SET_ALWAYS : VipsArgumentFlags = 8 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_INPUT : VipsArgumentFlags = 16 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_OUTPUT : VipsArgumentFlags = 32 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_DEPRECATED : VipsArgumentFlags = 64 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_MODIFY : VipsArgumentFlags = 128 ; pub const VipsArgumentFlags_VIPS_ARGUMENT_NON_HASHABLE : VipsArgumentFlags = 256 ; pub type VipsArgumentFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArgument { pub pspec : * mut GParamSpec , } # [ test ] fn bindgen_test_layout__VipsArgument ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArgument > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _VipsArgument ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArgument > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArgument ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgument > ( ) ) ) . pspec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgument ) , "::" , stringify ! ( pspec ) ) ) ; } pub type VipsArgument = _VipsArgument ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArgumentClass { pub parent : VipsArgument , pub object_class : * mut VipsObjectClass , pub flags : VipsArgumentFlags , pub priority : :: std :: os :: raw :: c_int , pub offset : guint , } # [ test ] fn bindgen_test_layout__VipsArgumentClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArgumentClass > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _VipsArgumentClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArgumentClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArgumentClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentClass > ( ) ) ) . parent as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentClass ) , "::" , stringify ! ( parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentClass > ( ) ) ) . object_class as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentClass ) , "::" , stringify ! ( object_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentClass > ( ) ) ) . flags as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentClass ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentClass > ( ) ) ) . priority as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentClass ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentClass > ( ) ) ) . offset as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentClass ) , "::" , stringify ! ( offset ) ) ) ; } pub type VipsArgumentClass = _VipsArgumentClass ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArgumentInstance { pub parent : VipsArgument , pub argument_class : * mut VipsArgumentClass , pub object : * mut VipsObject , pub assigned : gboolean , pub close_id : gulong , pub invalidate_id : gulong , } # [ test ] fn bindgen_test_layout__VipsArgumentInstance ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArgumentInstance > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _VipsArgumentInstance ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArgumentInstance > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArgumentInstance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentInstance > ( ) ) ) . parent as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentInstance ) , "::" , stringify ! ( parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentInstance > ( ) ) ) . argument_class as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentInstance ) , "::" , stringify ! ( argument_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentInstance > ( ) ) ) . object as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentInstance ) , "::" , stringify ! ( object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentInstance > ( ) ) ) . assigned as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentInstance ) , "::" , stringify ! ( assigned ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentInstance > ( ) ) ) . close_id as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentInstance ) , "::" , stringify ! ( close_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArgumentInstance > ( ) ) ) . invalidate_id as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArgumentInstance ) , "::" , stringify ! ( invalidate_id ) ) ) ; } pub type VipsArgumentInstance = _VipsArgumentInstance ; pub type VipsArgumentTable = GHashTable ; extern "C" { pub fn vips_argument_get_id ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__object_set_member ( object : * mut VipsObject , pspec : * mut GParamSpec , member : * mut * mut GObject , argument : * mut GObject ) ; } pub type VipsArgumentMapFn = :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , pspec : * mut GParamSpec , argument_class : * mut VipsArgumentClass , argument_instance : * mut VipsArgumentInstance , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub fn vips_argument_map ( object : * mut VipsObject , fn_ : VipsArgumentMapFn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_object_get_args ( object : * mut VipsObject , names : * mut * mut * const :: std :: os :: raw :: c_char , flags : * mut * mut :: std :: os :: raw :: c_int , n_args : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type VipsArgumentClassMapFn = :: std :: option :: Option < unsafe extern "C" fn ( object_class : * mut VipsObjectClass , pspec : * mut GParamSpec , argument_class : * mut VipsArgumentClass , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub fn vips_argument_class_map ( object_class : * mut VipsObjectClass , fn_ : VipsArgumentClassMapFn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_argument_class_needsstring ( argument_class : * mut VipsArgumentClass ) -> gboolean ; } extern "C" { pub fn vips_object_get_argument ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char , pspec : * mut * mut GParamSpec , argument_class : * mut * mut VipsArgumentClass , argument_instance : * mut * mut VipsArgumentInstance ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_argument_isset ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_object_get_argument_flags ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char ) -> VipsArgumentFlags ; } extern "C" { pub fn vips_object_get_argument_priority ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsObject { pub parent_instance : GObject , pub constructed : gboolean , pub static_object : gboolean , pub argument_table : * mut VipsArgumentTable , pub nickname : * mut :: std :: os :: raw :: c_char , pub description : * mut :: std :: os :: raw :: c_char , pub preclose : gboolean , pub close : gboolean , pub postclose : gboolean , pub local_memory : usize , } # [ test ] fn bindgen_test_layout__VipsObject ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsObject > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _VipsObject ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsObject > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsObject ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . constructed as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( constructed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . static_object as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( static_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . argument_table as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( argument_table ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . nickname as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( nickname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . description as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . preclose as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( preclose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . close as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( close ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . postclose as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( postclose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObject > ( ) ) ) . local_memory as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObject ) , "::" , stringify ! ( local_memory ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsObjectClass { pub parent_class : GObjectClass , pub build : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject ) -> :: std :: os :: raw :: c_int > , pub postbuild : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , data : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > , pub summary_class : :: std :: option :: Option < unsafe extern "C" fn ( cls : * mut _VipsObjectClass , buf : * mut VipsBuf ) > , pub summary : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , buf : * mut VipsBuf ) > , pub dump : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , buf : * mut VipsBuf ) > , pub sanity : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , buf : * mut VipsBuf ) > , pub rewind : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject ) > , pub preclose : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject ) > , pub close : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject ) > , pub postclose : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject ) > , pub new_from_string : :: std :: option :: Option < unsafe extern "C" fn ( string : * const :: std :: os :: raw :: c_char ) -> * mut VipsObject > , pub to_string : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , buf : * mut VipsBuf ) > , pub output_needs_arg : gboolean , pub output_to_arg : :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , string : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int > , pub nickname : * const :: std :: os :: raw :: c_char , pub description : * const :: std :: os :: raw :: c_char , pub argument_table : * mut VipsArgumentTable , pub argument_table_traverse : * mut GSList , pub argument_table_traverse_gtype : GType , pub deprecated : gboolean , pub _vips_reserved1 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _vips_reserved2 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _vips_reserved3 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub _vips_reserved4 : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__VipsObjectClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsObjectClass > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( _VipsObjectClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsObjectClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsObjectClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . build as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( build ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . postbuild as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( postbuild ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . summary_class as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( summary_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . summary as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( summary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . dump as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( dump ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . sanity as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( sanity ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . rewind as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( rewind ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . preclose as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( preclose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . close as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( close ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . postclose as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( postclose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . new_from_string as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( new_from_string ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . to_string as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( to_string ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . output_needs_arg as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( output_needs_arg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . output_to_arg as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( output_to_arg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . nickname as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( nickname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . description as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . argument_table as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( argument_table ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . argument_table_traverse as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( argument_table_traverse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . argument_table_traverse_gtype as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( argument_table_traverse_gtype ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . deprecated as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( deprecated ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . _vips_reserved1 as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( _vips_reserved1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . _vips_reserved2 as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( _vips_reserved2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . _vips_reserved3 as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( _vips_reserved3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsObjectClass > ( ) ) ) . _vips_reserved4 as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _VipsObjectClass ) , "::" , stringify ! ( _vips_reserved4 ) ) ) ; } extern "C" { pub fn vips_value_is_null ( psoec : * mut GParamSpec , value : * const GValue ) -> gboolean ; } extern "C" { pub fn vips_object_set_property ( gobject : * mut GObject , property_id : guint , value : * const GValue , pspec : * mut GParamSpec ) ; } extern "C" { pub fn vips_object_get_property ( gobject : * mut GObject , property_id : guint , value : * mut GValue , pspec : * mut GParamSpec ) ; } extern "C" { pub fn vips_object_preclose ( object : * mut VipsObject ) ; } extern "C" { pub fn vips_object_build ( object : * mut VipsObject ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_summary_class ( klass : * mut VipsObjectClass , buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_object_summary ( object : * mut VipsObject , buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_object_dump ( object : * mut VipsObject , buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_object_print_summary_class ( klass : * mut VipsObjectClass ) ; } extern "C" { pub fn vips_object_print_summary ( object : * mut VipsObject ) ; } extern "C" { pub fn vips_object_print_dump ( object : * mut VipsObject ) ; } extern "C" { pub fn vips_object_print_name ( object : * mut VipsObject ) ; } extern "C" { pub fn vips_object_sanity ( object : * mut VipsObject ) -> gboolean ; } extern "C" { pub fn vips_object_get_type ( ) -> GType ; } extern "C" { pub fn vips_object_class_install_argument ( cls : * mut VipsObjectClass , pspec : * mut GParamSpec , flags : VipsArgumentFlags , priority : :: std :: os :: raw :: c_int , offset : guint ) ; } extern "C" { pub fn vips_object_set_argument_from_string ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_argument_needsstring ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_object_get_argument_to_string ( object : * mut VipsObject , name : * const :: std :: os :: raw :: c_char , arg : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_set_required ( object : * mut VipsObject , value : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } pub type VipsObjectSetArguments = :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub fn vips_object_new ( type_ : GType , set : VipsObjectSetArguments , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut VipsObject ; } extern "C" { pub fn vips_object_set_valist ( object : * mut VipsObject , ap : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_set ( object : * mut VipsObject , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_set_from_string ( object : * mut VipsObject , string : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_object_new_from_string ( object_class : * mut VipsObjectClass , p : * const :: std :: os :: raw :: c_char ) -> * mut VipsObject ; } extern "C" { pub fn vips_object_to_string ( object : * mut VipsObject , buf : * mut VipsBuf ) ; } extern "C" { pub fn vips_object_map ( fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } pub type VipsTypeMapFn = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GType , a : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; pub type VipsTypeMap2Fn = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GType , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; pub type VipsClassMapFn = :: std :: option :: Option < unsafe extern "C" fn ( cls : * mut VipsObjectClass , a : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub fn vips_type_map ( base : GType , fn_ : VipsTypeMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_type_map_all ( base : GType , fn_ : VipsTypeMapFn , a : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_type_depth ( type_ : GType ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_type_find ( basename : * const :: std :: os :: raw :: c_char , nickname : * const :: std :: os :: raw :: c_char ) -> GType ; } extern "C" { pub fn vips_nickname_find ( type_ : GType ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_class_map_all ( type_ : GType , fn_ : VipsClassMapFn , a : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_class_find ( basename : * const :: std :: os :: raw :: c_char , nickname : * const :: std :: os :: raw :: c_char ) -> * const VipsObjectClass ; } extern "C" { pub fn vips_object_local_array ( parent : * mut VipsObject , n : :: std :: os :: raw :: c_int ) -> * mut * mut VipsObject ; } extern "C" { pub fn vips_object_local_cb ( vobject : * mut VipsObject , gobject : * mut GObject ) ; } extern "C" { pub fn vips_object_set_static ( object : * mut VipsObject , static_object : gboolean ) ; } extern "C" { pub fn vips_object_print_all ( ) ; } extern "C" { pub fn vips_object_sanity_all ( ) ; } extern "C" { pub fn vips_object_rewind ( object : * mut VipsObject ) ; } extern "C" { pub fn vips_object_unref_outputs ( object : * mut VipsObject ) ; } extern "C" { pub fn vips_object_get_description ( object : * mut VipsObject ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsThing { pub i : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__VipsThing ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsThing > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _VipsThing ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsThing > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _VipsThing ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThing > ( ) ) ) . i as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThing ) , "::" , stringify ! ( i ) ) ) ; } pub type VipsThing = _VipsThing ; extern "C" { pub fn vips_thing_get_type ( ) -> GType ; } extern "C" { pub fn vips_thing_new ( i : :: std :: os :: raw :: c_int ) -> * mut VipsThing ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArea { pub data : * mut :: std :: os :: raw :: c_void , pub length : usize , pub n : :: std :: os :: raw :: c_int , pub count : :: std :: os :: raw :: c_int , pub lock : * mut GMutex , pub free_fn : VipsCallbackFn , pub client : * mut :: std :: os :: raw :: c_void , pub type_ : GType , pub sizeof_type : usize , } # [ test ] fn bindgen_test_layout__VipsArea ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArea > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsArea ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArea > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArea ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . n as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . count as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . lock as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . free_fn as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( free_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . client as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( client ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . type_ as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArea > ( ) ) ) . sizeof_type as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArea ) , "::" , stringify ! ( sizeof_type ) ) ) ; } pub type VipsArea = _VipsArea ; extern "C" { pub fn vips_area_copy ( area : * mut VipsArea ) -> * mut VipsArea ; } extern "C" { pub fn vips_area_free_cb ( mem : * mut :: std :: os :: raw :: c_void , area : * mut VipsArea ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_area_unref ( area : * mut VipsArea ) ; } extern "C" { pub fn vips_area_new ( free_fn : VipsCallbackFn , data : * mut :: std :: os :: raw :: c_void ) -> * mut VipsArea ; } extern "C" { pub fn vips_area_new_array ( type_ : GType , sizeof_type : usize , n : :: std :: os :: raw :: c_int ) -> * mut VipsArea ; } extern "C" { pub fn vips_area_new_array_object ( n : :: std :: os :: raw :: c_int ) -> * mut VipsArea ; } extern "C" { pub fn vips_area_get_data ( area : * mut VipsArea , length : * mut usize , n : * mut :: std :: os :: raw :: c_int , type_ : * mut GType , sizeof_type : * mut usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_area_get_type ( ) -> GType ; } extern "C" { pub fn vips_save_string_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSaveString { pub s : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout__VipsSaveString ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSaveString > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _VipsSaveString ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSaveString > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSaveString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSaveString > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSaveString ) , "::" , stringify ! ( s ) ) ) ; } pub type VipsSaveString = _VipsSaveString ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsRefString { pub area : VipsArea , } # [ test ] fn bindgen_test_layout__VipsRefString ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsRefString > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsRefString ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsRefString > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsRefString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRefString > ( ) ) ) . area as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRefString ) , "::" , stringify ! ( area ) ) ) ; } pub type VipsRefString = _VipsRefString ; extern "C" { pub fn vips_ref_string_new ( str : * const :: std :: os :: raw :: c_char ) -> * mut VipsRefString ; } extern "C" { pub fn vips_ref_string_get ( refstr : * mut VipsRefString , length : * mut usize ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_ref_string_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsBlob { pub area : VipsArea , } # [ test ] fn bindgen_test_layout__VipsBlob ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsBlob > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsBlob ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsBlob > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsBlob ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBlob > ( ) ) ) . area as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBlob ) , "::" , stringify ! ( area ) ) ) ; } pub type VipsBlob = _VipsBlob ; extern "C" { pub fn vips_blob_new ( free_fn : VipsCallbackFn , data : * const :: std :: os :: raw :: c_void , length : usize ) -> * mut VipsBlob ; } extern "C" { pub fn vips_blob_copy ( data : * const :: std :: os :: raw :: c_void , length : usize ) -> * mut VipsBlob ; } extern "C" { pub fn vips_blob_get ( blob : * mut VipsBlob , length : * mut usize ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_blob_set ( blob : * mut VipsBlob , free_fn : VipsCallbackFn , data : * const :: std :: os :: raw :: c_void , length : usize ) ; } extern "C" { pub fn vips_blob_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArrayDouble { pub area : VipsArea , } # [ test ] fn bindgen_test_layout__VipsArrayDouble ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArrayDouble > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsArrayDouble ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArrayDouble > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArrayDouble ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArrayDouble > ( ) ) ) . area as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArrayDouble ) , "::" , stringify ! ( area ) ) ) ; } pub type VipsArrayDouble = _VipsArrayDouble ; extern "C" { pub fn vips_array_double_new ( array : * const f64 , n : :: std :: os :: raw :: c_int ) -> * mut VipsArrayDouble ; } extern "C" { pub fn vips_array_double_newv ( n : :: std :: os :: raw :: c_int , ... ) -> * mut VipsArrayDouble ; } extern "C" { pub fn vips_array_double_get ( array : * mut VipsArrayDouble , n : * mut :: std :: os :: raw :: c_int ) -> * mut f64 ; } extern "C" { pub fn vips_array_double_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArrayInt { pub area : VipsArea , } # [ test ] fn bindgen_test_layout__VipsArrayInt ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArrayInt > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsArrayInt ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArrayInt > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArrayInt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArrayInt > ( ) ) ) . area as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArrayInt ) , "::" , stringify ! ( area ) ) ) ; } pub type VipsArrayInt = _VipsArrayInt ; extern "C" { pub fn vips_array_int_new ( array : * const :: std :: os :: raw :: c_int , n : :: std :: os :: raw :: c_int ) -> * mut VipsArrayInt ; } extern "C" { pub fn vips_array_int_newv ( n : :: std :: os :: raw :: c_int , ... ) -> * mut VipsArrayInt ; } extern "C" { pub fn vips_array_int_get ( array : * mut VipsArrayInt , n : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_array_int_get_type ( ) -> GType ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsArrayImage { pub area : VipsArea , } # [ test ] fn bindgen_test_layout__VipsArrayImage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsArrayImage > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsArrayImage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsArrayImage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsArrayImage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsArrayImage > ( ) ) ) . area as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsArrayImage ) , "::" , stringify ! ( area ) ) ) ; } pub type VipsArrayImage = _VipsArrayImage ; extern "C" { pub fn vips_array_image_get_type ( ) -> GType ; } extern "C" { pub fn vips_value_set_area ( value : * mut GValue , free_fn : VipsCallbackFn , data : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn vips_value_get_area ( value : * const GValue , length : * mut usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_value_get_save_string ( value : * const GValue ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_value_set_save_string ( value : * mut GValue , str : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_value_set_save_stringf ( value : * mut GValue , fmt : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn vips_value_get_ref_string ( value : * const GValue , length : * mut usize ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_value_set_ref_string ( value : * mut GValue , str : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_value_get_blob ( value : * const GValue , length : * mut usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_value_set_blob ( value : * mut GValue , free_fn : VipsCallbackFn , data : * const :: std :: os :: raw :: c_void , length : usize ) ; } extern "C" { pub fn vips_value_set_blob_free ( value : * mut GValue , data : * mut :: std :: os :: raw :: c_void , length : usize ) ; } extern "C" { pub fn vips_value_set_array ( value : * mut GValue , n : :: std :: os :: raw :: c_int , type_ : GType , sizeof_type : usize ) ; } extern "C" { pub fn vips_value_get_array ( value : * const GValue , n : * mut :: std :: os :: raw :: c_int , type_ : * mut GType , sizeof_type : * mut usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_value_get_array_double ( value : * const GValue , n : * mut :: std :: os :: raw :: c_int ) -> * mut f64 ; } extern "C" { pub fn vips_value_set_array_double ( value : * mut GValue , array : * const f64 , n : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_value_get_array_int ( value : * const GValue , n : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_value_set_array_int ( value : * mut GValue , array : * const :: std :: os :: raw :: c_int , n : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_value_get_array_object ( value : * const GValue , n : * mut :: std :: os :: raw :: c_int ) -> * mut * mut GObject ; } extern "C" { pub fn vips_value_set_array_object ( value : * mut GValue , n : :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}vips__thread_profile" ] pub static mut vips__thread_profile : gboolean ; } extern "C" { pub fn vips_profile_set ( profile : gboolean ) ; } extern "C" { pub fn vips__thread_profile_attach ( thread_name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips__thread_profile_detach ( ) ; } extern "C" { pub fn vips__thread_profile_stop ( ) ; } extern "C" { pub fn vips__thread_gate_start ( gate_name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips__thread_gate_stop ( gate_name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips__thread_malloc_free ( size : gint64 ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsConnection { pub parent_object : VipsObject , pub descriptor : :: std :: os :: raw :: c_int , pub tracked_descriptor : :: std :: os :: raw :: c_int , pub close_descriptor : :: std :: os :: raw :: c_int , pub filename : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout__VipsConnection ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsConnection > ( ) , 104usize , concat ! ( "Size of: " , stringify ! ( _VipsConnection ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsConnection > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsConnection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsConnection > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsConnection ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsConnection > ( ) ) ) . descriptor as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _VipsConnection ) , "::" , stringify ! ( descriptor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsConnection > ( ) ) ) . tracked_descriptor as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( _VipsConnection ) , "::" , stringify ! ( tracked_descriptor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsConnection > ( ) ) ) . close_descriptor as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _VipsConnection ) , "::" , stringify ! ( close_descriptor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsConnection > ( ) ) ) . filename as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _VipsConnection ) , "::" , stringify ! ( filename ) ) ) ; } pub type VipsConnection = _VipsConnection ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsConnectionClass { pub parent_class : VipsObjectClass , } # [ test ] fn bindgen_test_layout__VipsConnectionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsConnectionClass > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( _VipsConnectionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsConnectionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsConnectionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsConnectionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsConnectionClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type VipsConnectionClass = _VipsConnectionClass ; extern "C" { pub fn vips_connection_get_type ( ) -> GType ; } extern "C" { pub fn vips_connection_filename ( connection : * mut VipsConnection ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_connection_nick ( connection : * mut VipsConnection ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_pipe_read_limit_set ( limit : gint64 ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSource { pub parent_object : VipsConnection , pub decode : gboolean , pub have_tested_seek : gboolean , pub is_pipe : gboolean , pub read_position : gint64 , pub length : gint64 , pub data : * const :: std :: os :: raw :: c_void , pub header_bytes : * mut GByteArray , pub sniff : * mut GByteArray , pub blob : * mut VipsBlob , pub mmap_baseaddr : * mut :: std :: os :: raw :: c_void , pub mmap_length : usize , } # [ test ] fn bindgen_test_layout__VipsSource ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSource > ( ) , 184usize , concat ! ( "Size of: " , stringify ! ( _VipsSource ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSource > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSource ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . decode as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( decode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . have_tested_seek as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( have_tested_seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . is_pipe as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( is_pipe ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . read_position as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( read_position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . length as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . data as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . header_bytes as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( header_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . sniff as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( sniff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . blob as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( blob ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . mmap_baseaddr as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( mmap_baseaddr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSource > ( ) ) ) . mmap_length as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSource ) , "::" , stringify ! ( mmap_length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSourceClass { pub parent_class : VipsConnectionClass , pub read : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsSource , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> gint64 > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsSource , arg2 : gint64 , arg3 : :: std :: os :: raw :: c_int ) -> gint64 > , } # [ test ] fn bindgen_test_layout__VipsSourceClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSourceClass > ( ) , 344usize , concat ! ( "Size of: " , stringify ! ( _VipsSourceClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSourceClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSourceClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceClass > ( ) ) ) . read as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceClass ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceClass > ( ) ) ) . seek as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceClass ) , "::" , stringify ! ( seek ) ) ) ; } pub type VipsSourceClass = _VipsSourceClass ; extern "C" { pub fn vips_source_get_type ( ) -> GType ; } extern "C" { pub fn vips_source_new_from_descriptor ( descriptor : :: std :: os :: raw :: c_int ) -> * mut VipsSource ; } extern "C" { pub fn vips_source_new_from_file ( filename : * const :: std :: os :: raw :: c_char ) -> * mut VipsSource ; } extern "C" { pub fn vips_source_new_from_blob ( blob : * mut VipsBlob ) -> * mut VipsSource ; } extern "C" { pub fn vips_source_new_from_target ( target : * mut VipsTarget ) -> * mut VipsSource ; } extern "C" { pub fn vips_source_new_from_memory ( data : * const :: std :: os :: raw :: c_void , size : usize ) -> * mut VipsSource ; } extern "C" { pub fn vips_source_new_from_options ( options : * const :: std :: os :: raw :: c_char ) -> * mut VipsSource ; } extern "C" { pub fn vips_source_minimise ( source : * mut VipsSource ) ; } extern "C" { pub fn vips_source_unminimise ( source : * mut VipsSource ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_source_decode ( source : * mut VipsSource ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_source_read ( source : * mut VipsSource , data : * mut :: std :: os :: raw :: c_void , length : usize ) -> gint64 ; } extern "C" { pub fn vips_source_is_mappable ( source : * mut VipsSource ) -> gboolean ; } extern "C" { pub fn vips_source_is_file ( source : * mut VipsSource ) -> gboolean ; } extern "C" { pub fn vips_source_map ( source : * mut VipsSource , length : * mut usize ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_source_map_blob ( source : * mut VipsSource ) -> * mut VipsBlob ; } extern "C" { pub fn vips_source_seek ( source : * mut VipsSource , offset : gint64 , whence : :: std :: os :: raw :: c_int ) -> gint64 ; } extern "C" { pub fn vips_source_rewind ( source : * mut VipsSource ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_source_sniff_at_most ( source : * mut VipsSource , data : * mut * mut :: std :: os :: raw :: c_uchar , length : usize ) -> gint64 ; } extern "C" { pub fn vips_source_sniff ( source : * mut VipsSource , length : usize ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn vips_source_length ( source : * mut VipsSource ) -> gint64 ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSourceCustom { pub parent_object : VipsSource , } # [ test ] fn bindgen_test_layout__VipsSourceCustom ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSourceCustom > ( ) , 184usize , concat ! ( "Size of: " , stringify ! ( _VipsSourceCustom ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSourceCustom > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSourceCustom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceCustom > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceCustom ) , "::" , stringify ! ( parent_object ) ) ) ; } pub type VipsSourceCustom = _VipsSourceCustom ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSourceCustomClass { pub parent_class : VipsSourceClass , pub read : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsSourceCustom , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : gint64 ) -> gint64 > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsSourceCustom , arg2 : gint64 , arg3 : :: std :: os :: raw :: c_int ) -> gint64 > , } # [ test ] fn bindgen_test_layout__VipsSourceCustomClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSourceCustomClass > ( ) , 360usize , concat ! ( "Size of: " , stringify ! ( _VipsSourceCustomClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSourceCustomClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSourceCustomClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceCustomClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceCustomClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceCustomClass > ( ) ) ) . read as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceCustomClass ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceCustomClass > ( ) ) ) . seek as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceCustomClass ) , "::" , stringify ! ( seek ) ) ) ; } pub type VipsSourceCustomClass = _VipsSourceCustomClass ; extern "C" { pub fn vips_source_custom_get_type ( ) -> GType ; } extern "C" { pub fn vips_source_custom_new ( ) -> * mut VipsSourceCustom ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsGInputStream { pub parent_instance : GInputStream , pub source : * mut VipsSource , } # [ test ] fn bindgen_test_layout__VipsGInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsGInputStream > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( _VipsGInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsGInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsGInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsGInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsGInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsGInputStream > ( ) ) ) . source as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsGInputStream ) , "::" , stringify ! ( source ) ) ) ; } pub type VipsGInputStream = _VipsGInputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsGInputStreamClass { pub parent_class : GInputStreamClass , } # [ test ] fn bindgen_test_layout__VipsGInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsGInputStreamClass > ( ) , 248usize , concat ! ( "Size of: " , stringify ! ( _VipsGInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsGInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsGInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsGInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsGInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type VipsGInputStreamClass = _VipsGInputStreamClass ; extern "C" { pub fn vips_g_input_stream_new_from_source ( source : * mut VipsSource ) -> * mut GInputStream ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSourceGInputStream { pub parent_instance : VipsSource , pub stream : * mut GInputStream , pub seekable : * mut GSeekable , pub info : * mut GFileInfo , } # [ test ] fn bindgen_test_layout__VipsSourceGInputStream ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSourceGInputStream > ( ) , 208usize , concat ! ( "Size of: " , stringify ! ( _VipsSourceGInputStream ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSourceGInputStream > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSourceGInputStream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceGInputStream > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceGInputStream ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceGInputStream > ( ) ) ) . stream as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceGInputStream ) , "::" , stringify ! ( stream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceGInputStream > ( ) ) ) . seekable as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceGInputStream ) , "::" , stringify ! ( seekable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceGInputStream > ( ) ) ) . info as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceGInputStream ) , "::" , stringify ! ( info ) ) ) ; } pub type VipsSourceGInputStream = _VipsSourceGInputStream ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSourceGInputStreamClass { pub parent_class : VipsSourceClass , } # [ test ] fn bindgen_test_layout__VipsSourceGInputStreamClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSourceGInputStreamClass > ( ) , 344usize , concat ! ( "Size of: " , stringify ! ( _VipsSourceGInputStreamClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSourceGInputStreamClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSourceGInputStreamClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSourceGInputStreamClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSourceGInputStreamClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type VipsSourceGInputStreamClass = _VipsSourceGInputStreamClass ; extern "C" { pub fn vips_source_g_input_stream_new ( stream : * mut GInputStream ) -> * mut VipsSourceGInputStream ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _VipsTarget { pub parent_object : VipsConnection , pub memory : gboolean , pub ended : gboolean , pub memory_buffer : * mut GString , pub blob : * mut VipsBlob , pub output_buffer : [ :: std :: os :: raw :: c_uchar ; 8500usize ] , pub write_point : :: std :: os :: raw :: c_int , pub position : off_t , pub delete_on_close : gboolean , pub delete_on_close_filename : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout__VipsTarget ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsTarget > ( ) , 8656usize , concat ! ( "Size of: " , stringify ! ( _VipsTarget ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsTarget > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsTarget ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . memory as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( memory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . ended as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( ended ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . memory_buffer as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( memory_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . blob as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( blob ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . output_buffer as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( output_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . write_point as * const _ as usize } , 8628usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( write_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . position as * const _ as usize } , 8632usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . delete_on_close as * const _ as usize } , 8640usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( delete_on_close ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTarget > ( ) ) ) . delete_on_close_filename as * const _ as usize } , 8648usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTarget ) , "::" , stringify ! ( delete_on_close_filename ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsTargetClass { pub parent_class : VipsConnectionClass , pub write : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTarget , arg2 : * const :: std :: os :: raw :: c_void , arg3 : usize ) -> gint64 > , pub finish : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTarget ) > , pub read : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTarget , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> gint64 > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTarget , offset : off_t , whence : :: std :: os :: raw :: c_int ) -> off_t > , pub end : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTarget ) -> :: std :: os :: raw :: c_int > , } # [ test ] fn bindgen_test_layout__VipsTargetClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsTargetClass > ( ) , 368usize , concat ! ( "Size of: " , stringify ! ( _VipsTargetClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsTargetClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsTargetClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetClass > ( ) ) ) . write as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetClass ) , "::" , stringify ! ( write ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetClass > ( ) ) ) . finish as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetClass ) , "::" , stringify ! ( finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetClass > ( ) ) ) . read as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetClass ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetClass > ( ) ) ) . seek as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetClass ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetClass > ( ) ) ) . end as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetClass ) , "::" , stringify ! ( end ) ) ) ; } pub type VipsTargetClass = _VipsTargetClass ; extern "C" { pub fn vips_target_get_type ( ) -> GType ; } extern "C" { pub fn vips_target_new_to_descriptor ( descriptor : :: std :: os :: raw :: c_int ) -> * mut VipsTarget ; } extern "C" { pub fn vips_target_new_to_file ( filename : * const :: std :: os :: raw :: c_char ) -> * mut VipsTarget ; } extern "C" { pub fn vips_target_new_to_memory ( ) -> * mut VipsTarget ; } extern "C" { pub fn vips_target_new_temp ( target : * mut VipsTarget ) -> * mut VipsTarget ; } extern "C" { pub fn vips_target_write ( target : * mut VipsTarget , data : * const :: std :: os :: raw :: c_void , length : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_target_read ( target : * mut VipsTarget , buffer : * mut :: std :: os :: raw :: c_void , length : usize ) -> gint64 ; } extern "C" { pub fn vips_target_seek ( target : * mut VipsTarget , offset : off_t , whence : :: std :: os :: raw :: c_int ) -> off_t ; } extern "C" { pub fn vips_target_end ( target : * mut VipsTarget ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_target_finish ( target : * mut VipsTarget ) ; } extern "C" { pub fn vips_target_steal ( target : * mut VipsTarget , length : * mut usize ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn vips_target_steal_text ( target : * mut VipsTarget ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_target_putc ( target : * mut VipsTarget , ch : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_target_writes ( target : * mut VipsTarget , str : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_target_writef ( target : * mut VipsTarget , fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_target_write_amp ( target : * mut VipsTarget , str : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _VipsTargetCustom { pub parent_object : VipsTarget , } # [ test ] fn bindgen_test_layout__VipsTargetCustom ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsTargetCustom > ( ) , 8656usize , concat ! ( "Size of: " , stringify ! ( _VipsTargetCustom ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsTargetCustom > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsTargetCustom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustom > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustom ) , "::" , stringify ! ( parent_object ) ) ) ; } pub type VipsTargetCustom = _VipsTargetCustom ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsTargetCustomClass { pub parent_class : VipsTargetClass , pub write : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTargetCustom , arg2 : * const :: std :: os :: raw :: c_void , arg3 : gint64 ) -> gint64 > , pub finish : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTargetCustom ) > , pub read : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTargetCustom , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : gint64 ) -> gint64 > , pub seek : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTargetCustom , arg2 : gint64 , arg3 : :: std :: os :: raw :: c_int ) -> gint64 > , pub end : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsTargetCustom ) -> :: std :: os :: raw :: c_int > , } # [ test ] fn bindgen_test_layout__VipsTargetCustomClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsTargetCustomClass > ( ) , 408usize , concat ! ( "Size of: " , stringify ! ( _VipsTargetCustomClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsTargetCustomClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsTargetCustomClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustomClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustomClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustomClass > ( ) ) ) . write as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustomClass ) , "::" , stringify ! ( write ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustomClass > ( ) ) ) . finish as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustomClass ) , "::" , stringify ! ( finish ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustomClass > ( ) ) ) . read as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustomClass ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustomClass > ( ) ) ) . seek as * const _ as usize } , 392usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustomClass ) , "::" , stringify ! ( seek ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsTargetCustomClass > ( ) ) ) . end as * const _ as usize } , 400usize , concat ! ( "Offset of field: " , stringify ! ( _VipsTargetCustomClass ) , "::" , stringify ! ( end ) ) ) ; } pub type VipsTargetCustomClass = _VipsTargetCustomClass ; extern "C" { pub fn vips_target_custom_get_type ( ) -> GType ; } extern "C" { pub fn vips_target_custom_new ( ) -> * mut VipsTargetCustom ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _VipsSbuf { pub parent_object : VipsObject , pub source : * mut VipsSource , pub input_buffer : [ :: std :: os :: raw :: c_uchar ; 4097usize ] , pub chars_in_buffer : :: std :: os :: raw :: c_int , pub read_point : :: std :: os :: raw :: c_int , pub line : [ :: std :: os :: raw :: c_uchar ; 4097usize ] , } # [ test ] fn bindgen_test_layout__VipsSbuf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSbuf > ( ) , 8296usize , concat ! ( "Size of: " , stringify ! ( _VipsSbuf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSbuf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbuf > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbuf ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbuf > ( ) ) ) . source as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbuf ) , "::" , stringify ! ( source ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbuf > ( ) ) ) . input_buffer as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbuf ) , "::" , stringify ! ( input_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbuf > ( ) ) ) . chars_in_buffer as * const _ as usize } , 4188usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbuf ) , "::" , stringify ! ( chars_in_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbuf > ( ) ) ) . read_point as * const _ as usize } , 4192usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbuf ) , "::" , stringify ! ( read_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbuf > ( ) ) ) . line as * const _ as usize } , 4196usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbuf ) , "::" , stringify ! ( line ) ) ) ; } pub type VipsSbuf = _VipsSbuf ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsSbufClass { pub parent_class : VipsObjectClass , } # [ test ] fn bindgen_test_layout__VipsSbufClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsSbufClass > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( _VipsSbufClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsSbufClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsSbufClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsSbufClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsSbufClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type VipsSbufClass = _VipsSbufClass ; extern "C" { pub fn vips_sbuf_get_type ( ) -> GType ; } extern "C" { pub fn vips_sbuf_new_from_source ( source : * mut VipsSource ) -> * mut VipsSbuf ; } extern "C" { pub fn vips_sbuf_unbuffer ( sbuf : * mut VipsSbuf ) ; } extern "C" { pub fn vips_sbuf_getc ( sbuf : * mut VipsSbuf ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sbuf_ungetc ( sbuf : * mut VipsSbuf ) ; } extern "C" { pub fn vips_sbuf_require ( sbuf : * mut VipsSbuf , require : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sbuf_get_line ( sbuf : * mut VipsSbuf ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_sbuf_get_line_copy ( sbuf : * mut VipsSbuf ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_sbuf_get_non_whitespace ( sbuf : * mut VipsSbuf ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_sbuf_skip_whitespace ( sbuf : * mut VipsSbuf ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsRect { pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__VipsRect ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsRect > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _VipsRect ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsRect > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _VipsRect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRect > ( ) ) ) . left as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRect ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRect > ( ) ) ) . top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRect ) , "::" , stringify ! ( top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRect > ( ) ) ) . width as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRect ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRect > ( ) ) ) . height as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRect ) , "::" , stringify ! ( height ) ) ) ; } pub type VipsRect = _VipsRect ; extern "C" { pub fn vips_rect_isempty ( r : * const VipsRect ) -> gboolean ; } extern "C" { pub fn vips_rect_includespoint ( r : * const VipsRect , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) -> gboolean ; } extern "C" { pub fn vips_rect_includesrect ( r1 : * const VipsRect , r2 : * const VipsRect ) -> gboolean ; } extern "C" { pub fn vips_rect_equalsrect ( r1 : * const VipsRect , r2 : * const VipsRect ) -> gboolean ; } extern "C" { pub fn vips_rect_overlapsrect ( r1 : * const VipsRect , r2 : * const VipsRect ) -> gboolean ; } extern "C" { pub fn vips_rect_marginadjust ( r : * mut VipsRect , n : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_rect_intersectrect ( r1 : * const VipsRect , r2 : * const VipsRect , out : * mut VipsRect ) ; } extern "C" { pub fn vips_rect_unionrect ( r1 : * const VipsRect , r2 : * const VipsRect , out : * mut VipsRect ) ; } extern "C" { pub fn vips_rect_dup ( r : * const VipsRect ) -> * mut VipsRect ; } extern "C" { pub fn vips_rect_normalise ( r : * mut VipsRect ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct VipsWindow { pub ref_count : :: std :: os :: raw :: c_int , pub im : * mut _VipsImage , pub top : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub data : * mut VipsPel , pub baseaddr : * mut :: std :: os :: raw :: c_void , pub length : usize , } # [ test ] fn bindgen_test_layout_VipsWindow ( ) { assert_eq ! ( :: std :: mem :: size_of :: < VipsWindow > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( VipsWindow ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < VipsWindow > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( VipsWindow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . im as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( im ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . top as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . height as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . data as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . baseaddr as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( baseaddr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsWindow > ( ) ) ) . length as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( VipsWindow ) , "::" , stringify ! ( length ) ) ) ; } extern "C" { pub fn vips_window_unref ( window : * mut VipsWindow ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_window_print ( window : * mut VipsWindow ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct VipsBufferThread { pub hash : * mut GHashTable , pub thread : * mut GThread , } # [ test ] fn bindgen_test_layout_VipsBufferThread ( ) { assert_eq ! ( :: std :: mem :: size_of :: < VipsBufferThread > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( VipsBufferThread ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < VipsBufferThread > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( VipsBufferThread ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsBufferThread > ( ) ) ) . hash as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( VipsBufferThread ) , "::" , stringify ! ( hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsBufferThread > ( ) ) ) . thread as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( VipsBufferThread ) , "::" , stringify ! ( thread ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsBufferCache { pub buffers : * mut GSList , pub thread : * mut GThread , pub im : * mut _VipsImage , pub buffer_thread : * mut VipsBufferThread , pub reserve : * mut GSList , pub n_reserve : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__VipsBufferCache ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsBufferCache > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _VipsBufferCache ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsBufferCache > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsBufferCache ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBufferCache > ( ) ) ) . buffers as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBufferCache ) , "::" , stringify ! ( buffers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBufferCache > ( ) ) ) . thread as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBufferCache ) , "::" , stringify ! ( thread ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBufferCache > ( ) ) ) . im as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBufferCache ) , "::" , stringify ! ( im ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBufferCache > ( ) ) ) . buffer_thread as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBufferCache ) , "::" , stringify ! ( buffer_thread ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBufferCache > ( ) ) ) . reserve as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBufferCache ) , "::" , stringify ! ( reserve ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBufferCache > ( ) ) ) . n_reserve as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBufferCache ) , "::" , stringify ! ( n_reserve ) ) ) ; } pub type VipsBufferCache = _VipsBufferCache ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsBuffer { pub ref_count : :: std :: os :: raw :: c_int , pub im : * mut _VipsImage , pub area : VipsRect , pub done : gboolean , pub cache : * mut VipsBufferCache , pub buf : * mut VipsPel , pub bsize : usize , } # [ test ] fn bindgen_test_layout__VipsBuffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsBuffer > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( _VipsBuffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsBuffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsBuffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . ref_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( ref_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . im as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( im ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . area as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( area ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . done as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( done ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . cache as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( cache ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . buf as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsBuffer > ( ) ) ) . bsize as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _VipsBuffer ) , "::" , stringify ! ( bsize ) ) ) ; } pub type VipsBuffer = _VipsBuffer ; extern "C" { pub fn vips_buffer_dump_all ( ) ; } extern "C" { pub fn vips_buffer_done ( buffer : * mut VipsBuffer ) ; } extern "C" { pub fn vips_buffer_undone ( buffer : * mut VipsBuffer ) ; } extern "C" { pub fn vips_buffer_unref ( buffer : * mut VipsBuffer ) ; } extern "C" { pub fn vips_buffer_new ( im : * mut _VipsImage , area : * mut VipsRect ) -> * mut VipsBuffer ; } extern "C" { pub fn vips_buffer_ref ( im : * mut _VipsImage , area : * mut VipsRect ) -> * mut VipsBuffer ; } extern "C" { pub fn vips_buffer_unref_ref ( buffer : * mut VipsBuffer , im : * mut _VipsImage , area : * mut VipsRect ) -> * mut VipsBuffer ; } extern "C" { pub fn vips_buffer_print ( buffer : * mut VipsBuffer ) ; } extern "C" { pub fn vips__render_shutdown ( ) ; } pub const _RegionType_VIPS_REGION_NONE : _RegionType = 0 ; pub const _RegionType_VIPS_REGION_BUFFER : _RegionType = 1 ; pub const _RegionType_VIPS_REGION_OTHER_REGION : _RegionType = 2 ; pub const _RegionType_VIPS_REGION_OTHER_IMAGE : _RegionType = 3 ; pub const _RegionType_VIPS_REGION_WINDOW : _RegionType = 4 ; pub type _RegionType = u32 ; pub use self :: _RegionType as RegionType ; extern "C" { pub fn vips__region_take_ownership ( reg : * mut _VipsRegion ) ; } extern "C" { pub fn vips__region_check_ownership ( reg : * mut _VipsRegion ) ; } extern "C" { pub fn vips__region_no_ownership ( reg : * mut _VipsRegion ) ; } pub type VipsRegionFillFn = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut _VipsRegion , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn vips_region_fill ( reg : * mut _VipsRegion , r : * const VipsRect , fn_ : VipsRegionFillFn , a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__image_wio_output ( image : * mut _VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__image_pio_output ( image : * mut _VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__argument_get_instance ( argument_class : * mut VipsArgumentClass , object : * mut VipsObject ) -> * mut VipsArgumentInstance ; } extern "C" { pub fn vips__argument_table_lookup ( table : * mut VipsArgumentTable , pspec : * mut GParamSpec ) -> * mut VipsArgument ; } extern "C" { pub fn vips__demand_hint_array ( image : * mut _VipsImage , hint : :: std :: os :: raw :: c_int , in_ : * mut * mut _VipsImage ) ; } extern "C" { pub fn vips__image_copy_fields_array ( out : * mut _VipsImage , in_ : * mut * mut _VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__region_count_pixels ( region : * mut _VipsRegion , nickname : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_region_dump_all ( ) ; } extern "C" { pub fn vips_region_prepare_many ( reg : * mut * mut _VipsRegion , r : * const VipsRect ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__view_image ( image : * mut _VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_vips__argument_id" ] pub static mut _vips__argument_id : :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips__meta_init ( ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct im__INTMASK { pub xsize : :: std :: os :: raw :: c_int , pub ysize : :: std :: os :: raw :: c_int , pub scale : :: std :: os :: raw :: c_int , pub offset : :: std :: os :: raw :: c_int , pub coeff : * mut :: std :: os :: raw :: c_int , pub filename : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_im__INTMASK ( ) { assert_eq ! ( :: std :: mem :: size_of :: < im__INTMASK > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( im__INTMASK ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < im__INTMASK > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( im__INTMASK ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__INTMASK > ( ) ) ) . xsize as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( im__INTMASK ) , "::" , stringify ! ( xsize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__INTMASK > ( ) ) ) . ysize as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( im__INTMASK ) , "::" , stringify ! ( ysize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__INTMASK > ( ) ) ) . scale as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( im__INTMASK ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__INTMASK > ( ) ) ) . offset as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( im__INTMASK ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__INTMASK > ( ) ) ) . coeff as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( im__INTMASK ) , "::" , stringify ! ( coeff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__INTMASK > ( ) ) ) . filename as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( im__INTMASK ) , "::" , stringify ! ( filename ) ) ) ; } pub type INTMASK = im__INTMASK ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct im__DOUBLEMASK { pub xsize : :: std :: os :: raw :: c_int , pub ysize : :: std :: os :: raw :: c_int , pub scale : f64 , pub offset : f64 , pub coeff : * mut f64 , pub filename : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_im__DOUBLEMASK ( ) { assert_eq ! ( :: std :: mem :: size_of :: < im__DOUBLEMASK > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( im__DOUBLEMASK ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < im__DOUBLEMASK > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( im__DOUBLEMASK ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__DOUBLEMASK > ( ) ) ) . xsize as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( im__DOUBLEMASK ) , "::" , stringify ! ( xsize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__DOUBLEMASK > ( ) ) ) . ysize as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( im__DOUBLEMASK ) , "::" , stringify ! ( ysize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__DOUBLEMASK > ( ) ) ) . scale as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( im__DOUBLEMASK ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__DOUBLEMASK > ( ) ) ) . offset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( im__DOUBLEMASK ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__DOUBLEMASK > ( ) ) ) . coeff as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( im__DOUBLEMASK ) , "::" , stringify ! ( coeff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < im__DOUBLEMASK > ( ) ) ) . filename as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( im__DOUBLEMASK ) , "::" , stringify ! ( filename ) ) ) ; } pub type DOUBLEMASK = im__DOUBLEMASK ; extern "C" { pub fn im_create_imask ( filename : * const :: std :: os :: raw :: c_char , xsize : :: std :: os :: raw :: c_int , ysize : :: std :: os :: raw :: c_int ) -> * mut INTMASK ; } extern "C" { pub fn im_create_imaskv ( filename : * const :: std :: os :: raw :: c_char , xsize : :: std :: os :: raw :: c_int , ysize : :: std :: os :: raw :: c_int , ... ) -> * mut INTMASK ; } extern "C" { pub fn im_create_dmask ( filename : * const :: std :: os :: raw :: c_char , xsize : :: std :: os :: raw :: c_int , ysize : :: std :: os :: raw :: c_int ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_create_dmaskv ( filename : * const :: std :: os :: raw :: c_char , xsize : :: std :: os :: raw :: c_int , ysize : :: std :: os :: raw :: c_int , ... ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_read_imask ( filename : * const :: std :: os :: raw :: c_char ) -> * mut INTMASK ; } extern "C" { pub fn im_read_dmask ( filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_print_imask ( in_ : * mut INTMASK ) ; } extern "C" { pub fn im_print_dmask ( in_ : * mut DOUBLEMASK ) ; } extern "C" { pub fn im_write_imask ( in_ : * mut INTMASK ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_write_dmask ( in_ : * mut DOUBLEMASK ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_write_imask_name ( in_ : * mut INTMASK , filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_write_dmask_name ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_free_imask ( in_ : * mut INTMASK ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_free_dmask ( in_ : * mut DOUBLEMASK ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_log_imask ( filename : * const :: std :: os :: raw :: c_char , sigma : f64 , min_ampl : f64 ) -> * mut INTMASK ; } extern "C" { pub fn im_log_dmask ( filename : * const :: std :: os :: raw :: c_char , sigma : f64 , min_ampl : f64 ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_gauss_imask ( filename : * const :: std :: os :: raw :: c_char , sigma : f64 , min_ampl : f64 ) -> * mut INTMASK ; } extern "C" { pub fn im_gauss_imask_sep ( filename : * const :: std :: os :: raw :: c_char , sigma : f64 , min_ampl : f64 ) -> * mut INTMASK ; } extern "C" { pub fn im_gauss_dmask ( filename : * const :: std :: os :: raw :: c_char , sigma : f64 , min_ampl : f64 ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_gauss_dmask_sep ( filename : * const :: std :: os :: raw :: c_char , sigma : f64 , min_ampl : f64 ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_dup_imask ( in_ : * mut INTMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut INTMASK ; } extern "C" { pub fn im_dup_dmask ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_scale_dmask ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut INTMASK ; } extern "C" { pub fn im_norm_dmask ( mask : * mut DOUBLEMASK ) ; } extern "C" { pub fn im_imask2dmask ( in_ : * mut INTMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_dmask2imask ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut INTMASK ; } extern "C" { pub fn im_rotate_imask90 ( in_ : * mut INTMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut INTMASK ; } extern "C" { pub fn im_rotate_imask45 ( in_ : * mut INTMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut INTMASK ; } extern "C" { pub fn im_rotate_dmask90 ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_rotate_dmask45 ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_mattrn ( in_ : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_matcat ( top : * mut DOUBLEMASK , bottom : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_matmul ( in1 : * mut DOUBLEMASK , in2 : * mut DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_lu_decomp ( mat : * const DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_lu_solve ( lu : * const DOUBLEMASK , vec : * mut f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_matinv ( mat : * const DOUBLEMASK , filename : * const :: std :: os :: raw :: c_char ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_matinv_inplace ( mat : * mut DOUBLEMASK ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_local_dmask ( out : * mut _VipsImage , mask : * mut DOUBLEMASK ) -> * mut DOUBLEMASK ; } extern "C" { pub fn im_local_imask ( out : * mut _VipsImage , mask : * mut INTMASK ) -> * mut INTMASK ; } pub const VipsRegionShrink_VIPS_REGION_SHRINK_MEAN : VipsRegionShrink = 0 ; pub const VipsRegionShrink_VIPS_REGION_SHRINK_MEDIAN : VipsRegionShrink = 1 ; pub const VipsRegionShrink_VIPS_REGION_SHRINK_MODE : VipsRegionShrink = 2 ; pub const VipsRegionShrink_VIPS_REGION_SHRINK_MAX : VipsRegionShrink = 3 ; pub const VipsRegionShrink_VIPS_REGION_SHRINK_MIN : VipsRegionShrink = 4 ; pub const VipsRegionShrink_VIPS_REGION_SHRINK_NEAREST : VipsRegionShrink = 5 ; pub const VipsRegionShrink_VIPS_REGION_SHRINK_LAST : VipsRegionShrink = 6 ; pub type VipsRegionShrink = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsRegion { pub parent_object : VipsObject , pub im : * mut VipsImage , pub valid : VipsRect , pub type_ : RegionType , pub data : * mut VipsPel , pub bpl : :: std :: os :: raw :: c_int , pub seq : * mut :: std :: os :: raw :: c_void , pub thread : * mut GThread , pub window : * mut VipsWindow , pub buffer : * mut VipsBuffer , pub invalid : gboolean , } # [ test ] fn bindgen_test_layout__VipsRegion ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsRegion > ( ) , 168usize , concat ! ( "Size of: " , stringify ! ( _VipsRegion ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsRegion > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsRegion ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . im as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( im ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . valid as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( valid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . type_ as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . data as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . bpl as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( bpl ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . seq as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( seq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . thread as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( thread ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . window as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( window ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . buffer as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegion > ( ) ) ) . invalid as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegion ) , "::" , stringify ! ( invalid ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsRegionClass { pub parent_class : VipsObjectClass , } # [ test ] fn bindgen_test_layout__VipsRegionClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsRegionClass > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( _VipsRegionClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsRegionClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsRegionClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsRegionClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsRegionClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type VipsRegionClass = _VipsRegionClass ; extern "C" { pub fn vips_region_get_type ( ) -> GType ; } extern "C" { pub fn vips_region_new ( image : * mut VipsImage ) -> * mut VipsRegion ; } extern "C" { pub fn vips_region_buffer ( reg : * mut VipsRegion , r : * const VipsRect ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_image ( reg : * mut VipsRegion , r : * const VipsRect ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_region ( reg : * mut VipsRegion , dest : * mut VipsRegion , r : * const VipsRect , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_equalsregion ( reg1 : * mut VipsRegion , reg2 : * mut VipsRegion ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_position ( reg : * mut VipsRegion , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_paint ( reg : * mut VipsRegion , r : * const VipsRect , value : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_region_paint_pel ( reg : * mut VipsRegion , r : * const VipsRect , ink : * const VipsPel ) ; } extern "C" { pub fn vips_region_black ( reg : * mut VipsRegion ) ; } extern "C" { pub fn vips_region_copy ( reg : * mut VipsRegion , dest : * mut VipsRegion , r : * const VipsRect , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_region_shrink_method ( from : * mut VipsRegion , to : * mut VipsRegion , target : * const VipsRect , method : VipsRegionShrink ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_shrink ( from : * mut VipsRegion , to : * mut VipsRegion , target : * const VipsRect ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_prepare ( reg : * mut VipsRegion , r : * const VipsRect ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_prepare_to ( reg : * mut VipsRegion , dest : * mut VipsRegion , r : * const VipsRect , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_fetch ( region : * mut VipsRegion , left : :: std :: os :: raw :: c_int , top : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , len : * mut usize ) -> * mut VipsPel ; } extern "C" { pub fn vips_region_width ( region : * mut VipsRegion ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_height ( region : * mut VipsRegion ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_region_invalidate ( reg : * mut VipsRegion ) ; } pub const VipsDemandStyle_VIPS_DEMAND_STYLE_ERROR : VipsDemandStyle = -1 ; pub const VipsDemandStyle_VIPS_DEMAND_STYLE_SMALLTILE : VipsDemandStyle = 0 ; pub const VipsDemandStyle_VIPS_DEMAND_STYLE_FATSTRIP : VipsDemandStyle = 1 ; pub const VipsDemandStyle_VIPS_DEMAND_STYLE_THINSTRIP : VipsDemandStyle = 2 ; pub const VipsDemandStyle_VIPS_DEMAND_STYLE_ANY : VipsDemandStyle = 3 ; pub type VipsDemandStyle = i32 ; pub const VipsImageType_VIPS_IMAGE_ERROR : VipsImageType = -1 ; pub const VipsImageType_VIPS_IMAGE_NONE : VipsImageType = 0 ; pub const VipsImageType_VIPS_IMAGE_SETBUF : VipsImageType = 1 ; pub const VipsImageType_VIPS_IMAGE_SETBUF_FOREIGN : VipsImageType = 2 ; pub const VipsImageType_VIPS_IMAGE_OPENIN : VipsImageType = 3 ; pub const VipsImageType_VIPS_IMAGE_MMAPIN : VipsImageType = 4 ; pub const VipsImageType_VIPS_IMAGE_MMAPINRW : VipsImageType = 5 ; pub const VipsImageType_VIPS_IMAGE_OPENOUT : VipsImageType = 6 ; pub const VipsImageType_VIPS_IMAGE_PARTIAL : VipsImageType = 7 ; pub type VipsImageType = i32 ; pub const VipsInterpretation_VIPS_INTERPRETATION_ERROR : VipsInterpretation = -1 ; pub const VipsInterpretation_VIPS_INTERPRETATION_MULTIBAND : VipsInterpretation = 0 ; pub const VipsInterpretation_VIPS_INTERPRETATION_B_W : VipsInterpretation = 1 ; pub const VipsInterpretation_VIPS_INTERPRETATION_HISTOGRAM : VipsInterpretation = 10 ; pub const VipsInterpretation_VIPS_INTERPRETATION_XYZ : VipsInterpretation = 12 ; pub const VipsInterpretation_VIPS_INTERPRETATION_LAB : VipsInterpretation = 13 ; pub const VipsInterpretation_VIPS_INTERPRETATION_CMYK : VipsInterpretation = 15 ; pub const VipsInterpretation_VIPS_INTERPRETATION_LABQ : VipsInterpretation = 16 ; pub const VipsInterpretation_VIPS_INTERPRETATION_RGB : VipsInterpretation = 17 ; pub const VipsInterpretation_VIPS_INTERPRETATION_CMC : VipsInterpretation = 18 ; pub const VipsInterpretation_VIPS_INTERPRETATION_LCH : VipsInterpretation = 19 ; pub const VipsInterpretation_VIPS_INTERPRETATION_LABS : VipsInterpretation = 21 ; pub const VipsInterpretation_VIPS_INTERPRETATION_sRGB : VipsInterpretation = 22 ; pub const VipsInterpretation_VIPS_INTERPRETATION_YXY : VipsInterpretation = 23 ; pub const VipsInterpretation_VIPS_INTERPRETATION_FOURIER : VipsInterpretation = 24 ; pub const VipsInterpretation_VIPS_INTERPRETATION_RGB16 : VipsInterpretation = 25 ; pub const VipsInterpretation_VIPS_INTERPRETATION_GREY16 : VipsInterpretation = 26 ; pub const VipsInterpretation_VIPS_INTERPRETATION_MATRIX : VipsInterpretation = 27 ; pub const VipsInterpretation_VIPS_INTERPRETATION_scRGB : VipsInterpretation = 28 ; pub const VipsInterpretation_VIPS_INTERPRETATION_HSV : VipsInterpretation = 29 ; pub const VipsInterpretation_VIPS_INTERPRETATION_LAST : VipsInterpretation = 30 ; pub type VipsInterpretation = i32 ; pub const VipsBandFormat_VIPS_FORMAT_NOTSET : VipsBandFormat = -1 ; pub const VipsBandFormat_VIPS_FORMAT_UCHAR : VipsBandFormat = 0 ; pub const VipsBandFormat_VIPS_FORMAT_CHAR : VipsBandFormat = 1 ; pub const VipsBandFormat_VIPS_FORMAT_USHORT : VipsBandFormat = 2 ; pub const VipsBandFormat_VIPS_FORMAT_SHORT : VipsBandFormat = 3 ; pub const VipsBandFormat_VIPS_FORMAT_UINT : VipsBandFormat = 4 ; pub const VipsBandFormat_VIPS_FORMAT_INT : VipsBandFormat = 5 ; pub const VipsBandFormat_VIPS_FORMAT_FLOAT : VipsBandFormat = 6 ; pub const VipsBandFormat_VIPS_FORMAT_COMPLEX : VipsBandFormat = 7 ; pub const VipsBandFormat_VIPS_FORMAT_DOUBLE : VipsBandFormat = 8 ; pub const VipsBandFormat_VIPS_FORMAT_DPCOMPLEX : VipsBandFormat = 9 ; pub const VipsBandFormat_VIPS_FORMAT_LAST : VipsBandFormat = 10 ; pub type VipsBandFormat = i32 ; pub const VipsCoding_VIPS_CODING_ERROR : VipsCoding = -1 ; pub const VipsCoding_VIPS_CODING_NONE : VipsCoding = 0 ; pub const VipsCoding_VIPS_CODING_LABQ : VipsCoding = 2 ; pub const VipsCoding_VIPS_CODING_RAD : VipsCoding = 6 ; pub const VipsCoding_VIPS_CODING_LAST : VipsCoding = 7 ; pub type VipsCoding = i32 ; pub const VipsAccess_VIPS_ACCESS_RANDOM : VipsAccess = 0 ; pub const VipsAccess_VIPS_ACCESS_SEQUENTIAL : VipsAccess = 1 ; pub const VipsAccess_VIPS_ACCESS_SEQUENTIAL_UNBUFFERED : VipsAccess = 2 ; pub const VipsAccess_VIPS_ACCESS_LAST : VipsAccess = 3 ; pub type VipsAccess = u32 ; pub type VipsStartFn = :: std :: option :: Option < unsafe extern "C" fn ( out : * mut VipsImage , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; pub type VipsGenerateFn = :: std :: option :: Option < unsafe extern "C" fn ( out : * mut VipsRegion , seq : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void , stop : * mut gboolean ) -> :: std :: os :: raw :: c_int > ; pub type VipsStopFn = :: std :: option :: Option < unsafe extern "C" fn ( seq : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsProgress { pub im : * mut VipsImage , pub run : :: std :: os :: raw :: c_int , pub eta : :: std :: os :: raw :: c_int , pub tpels : gint64 , pub npels : gint64 , pub percent : :: std :: os :: raw :: c_int , pub start : * mut GTimer , } # [ test ] fn bindgen_test_layout__VipsProgress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsProgress > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _VipsProgress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsProgress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsProgress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . im as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( im ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . run as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( run ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . eta as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( eta ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . tpels as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( tpels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . npels as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( npels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . percent as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( percent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsProgress > ( ) ) ) . start as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _VipsProgress ) , "::" , stringify ! ( start ) ) ) ; } pub type VipsProgress = _VipsProgress ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsImage { pub parent_instance : VipsObject , pub Xsize : :: std :: os :: raw :: c_int , pub Ysize : :: std :: os :: raw :: c_int , pub Bands : :: std :: os :: raw :: c_int , pub BandFmt : VipsBandFormat , pub Coding : VipsCoding , pub Type : VipsInterpretation , pub Xres : f64 , pub Yres : f64 , pub Xoffset : :: std :: os :: raw :: c_int , pub Yoffset : :: std :: os :: raw :: c_int , pub Length : :: std :: os :: raw :: c_int , pub Compression : :: std :: os :: raw :: c_short , pub Level : :: std :: os :: raw :: c_short , pub Bbits : :: std :: os :: raw :: c_int , pub time : * mut VipsProgress , pub Hist : * mut :: std :: os :: raw :: c_char , pub filename : * mut :: std :: os :: raw :: c_char , pub data : * mut VipsPel , pub kill : :: std :: os :: raw :: c_int , pub Xres_float : f32 , pub Yres_float : f32 , pub mode : * mut :: std :: os :: raw :: c_char , pub dtype : VipsImageType , pub fd : :: std :: os :: raw :: c_int , pub baseaddr : * mut :: std :: os :: raw :: c_void , pub length : usize , pub magic : guint32 , pub start_fn : VipsStartFn , pub generate_fn : VipsGenerateFn , pub stop_fn : VipsStopFn , pub client1 : * mut :: std :: os :: raw :: c_void , pub client2 : * mut :: std :: os :: raw :: c_void , pub sslock : * mut GMutex , pub regions : * mut GSList , pub dhint : VipsDemandStyle , pub meta : * mut GHashTable , pub meta_traverse : * mut GSList , pub sizeof_header : gint64 , pub windows : * mut GSList , pub upstream : * mut GSList , pub downstream : * mut GSList , pub serial : :: std :: os :: raw :: c_int , pub history_list : * mut GSList , pub progress_signal : * mut VipsImage , pub file_length : gint64 , pub hint_set : gboolean , pub delete_on_close : gboolean , pub delete_on_close_filename : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout__VipsImage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsImage > ( ) , 392usize , concat ! ( "Size of: " , stringify ! ( _VipsImage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsImage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsImage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Xsize as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Xsize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Ysize as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Ysize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Bands as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Bands ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . BandFmt as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( BandFmt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Coding as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Coding ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Type as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Xres as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Xres ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Yres as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Yres ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Xoffset as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Xoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Yoffset as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Length as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Compression as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Compression ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Level as * const _ as usize } , 134usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Level ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Bbits as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Bbits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . time as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Hist as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Hist ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . filename as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( filename ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . data as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . kill as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( kill ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Xres_float as * const _ as usize } , 180usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Xres_float ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . Yres_float as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( Yres_float ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . mode as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . dtype as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( dtype ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . fd as * const _ as usize } , 204usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( fd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . baseaddr as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( baseaddr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . length as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . magic as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( magic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . start_fn as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( start_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . generate_fn as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( generate_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . stop_fn as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( stop_fn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . client1 as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( client1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . client2 as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( client2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . sslock as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( sslock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . regions as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( regions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . dhint as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( dhint ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . meta as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( meta ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . meta_traverse as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( meta_traverse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . sizeof_header as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( sizeof_header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . windows as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( windows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . upstream as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( upstream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . downstream as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( downstream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . serial as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( serial ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . history_list as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( history_list ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . progress_signal as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( progress_signal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . file_length as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( file_length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . hint_set as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( hint_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . delete_on_close as * const _ as usize } , 380usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( delete_on_close ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImage > ( ) ) ) . delete_on_close_filename as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImage ) , "::" , stringify ! ( delete_on_close_filename ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsImageClass { pub parent_class : VipsObjectClass , pub preeval : :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , progress : * mut VipsProgress , data : * mut :: std :: os :: raw :: c_void ) > , pub eval : :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , progress : * mut VipsProgress , data : * mut :: std :: os :: raw :: c_void ) > , pub posteval : :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , progress : * mut VipsProgress , data : * mut :: std :: os :: raw :: c_void ) > , pub written : :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , result : * mut :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void ) > , pub invalidate : :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , data : * mut :: std :: os :: raw :: c_void ) > , pub minimise : :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , data : * mut :: std :: os :: raw :: c_void ) > , } # [ test ] fn bindgen_test_layout__VipsImageClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsImageClass > ( ) , 376usize , concat ! ( "Size of: " , stringify ! ( _VipsImageClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsImageClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsImageClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . preeval as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( preeval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . eval as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( eval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . posteval as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( posteval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . written as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( written ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . invalidate as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( invalidate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsImageClass > ( ) ) ) . minimise as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _VipsImageClass ) , "::" , stringify ! ( minimise ) ) ) ; } pub type VipsImageClass = _VipsImageClass ; extern "C" { pub fn vips_image_get_type ( ) -> GType ; } extern "C" { pub fn vips_progress_set ( progress : gboolean ) ; } extern "C" { pub fn vips_image_invalidate_all ( image : * mut VipsImage ) ; } extern "C" { pub fn vips_image_minimise_all ( image : * mut VipsImage ) ; } extern "C" { pub fn vips_image_is_sequential ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_set_progress ( image : * mut VipsImage , progress : gboolean ) ; } extern "C" { pub fn vips_image_iskilled ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_set_kill ( image : * mut VipsImage , kill : gboolean ) ; } extern "C" { pub fn vips_filename_get_filename ( vips_filename : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_filename_get_options ( vips_filename : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_image_new ( ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_memory ( ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_memory ( ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_file ( name : * const :: std :: os :: raw :: c_char , ... ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_file_RW ( filename : * const :: std :: os :: raw :: c_char ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_file_raw ( filename : * const :: std :: os :: raw :: c_char , xsize : :: std :: os :: raw :: c_int , ysize : :: std :: os :: raw :: c_int , bands : :: std :: os :: raw :: c_int , offset : guint64 ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_memory ( data : * const :: std :: os :: raw :: c_void , size : usize , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bands : :: std :: os :: raw :: c_int , format : VipsBandFormat ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_memory_copy ( data : * const :: std :: os :: raw :: c_void , size : usize , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bands : :: std :: os :: raw :: c_int , format : VipsBandFormat ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_buffer ( buf : * const :: std :: os :: raw :: c_void , len : usize , option_string : * const :: std :: os :: raw :: c_char , ... ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_source ( source : * mut VipsSource , option_string : * const :: std :: os :: raw :: c_char , ... ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_matrix ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_matrixv ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_matrix_from_array ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , array : * const f64 , size : :: std :: os :: raw :: c_int ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_matrix_from_array ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , array : * const f64 , size : :: std :: os :: raw :: c_int ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_image ( image : * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_new_from_image1 ( image : * mut VipsImage , c : f64 ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_set_delete_on_close ( image : * mut VipsImage , delete_on_close : gboolean ) ; } extern "C" { pub fn vips_get_disc_threshold ( ) -> guint64 ; } extern "C" { pub fn vips_image_new_temp_file ( format : * const :: std :: os :: raw :: c_char ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_write ( image : * mut VipsImage , out : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_write_to_file ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_write_to_buffer ( in_ : * mut VipsImage , suffix : * const :: std :: os :: raw :: c_char , buf : * mut * mut :: std :: os :: raw :: c_void , size : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_write_to_target ( in_ : * mut VipsImage , suffix : * const :: std :: os :: raw :: c_char , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_write_to_memory ( in_ : * mut VipsImage , size : * mut usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_image_decode_predict ( in_ : * mut VipsImage , bands : * mut :: std :: os :: raw :: c_int , format : * mut VipsBandFormat ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_decode ( in_ : * mut VipsImage , out : * mut * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_encode ( in_ : * mut VipsImage , out : * mut * mut VipsImage , coding : VipsCoding ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_isMSBfirst ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_isfile ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_ispartial ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_hasalpha ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_copy_memory ( image : * mut VipsImage ) -> * mut VipsImage ; } extern "C" { pub fn vips_image_wio_input ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_pio_input ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_pio_output ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_inplace ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_write_prepare ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_write_line ( image : * mut VipsImage , ypos : :: std :: os :: raw :: c_int , linebuffer : * mut VipsPel ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_band_format_isint ( format : VipsBandFormat ) -> gboolean ; } extern "C" { pub fn vips_band_format_isuint ( format : VipsBandFormat ) -> gboolean ; } extern "C" { pub fn vips_band_format_is8bit ( format : VipsBandFormat ) -> gboolean ; } extern "C" { pub fn vips_band_format_isfloat ( format : VipsBandFormat ) -> gboolean ; } extern "C" { pub fn vips_band_format_iscomplex ( format : VipsBandFormat ) -> gboolean ; } extern "C" { pub fn vips_system ( cmd_format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_array_image_new ( array : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int ) -> * mut VipsArrayImage ; } extern "C" { pub fn vips_array_image_newv ( n : :: std :: os :: raw :: c_int , ... ) -> * mut VipsArrayImage ; } extern "C" { pub fn vips_array_image_new_from_string ( string : * const :: std :: os :: raw :: c_char , flags : VipsAccess ) -> * mut VipsArrayImage ; } extern "C" { pub fn vips_array_image_empty ( ) -> * mut VipsArrayImage ; } extern "C" { pub fn vips_array_image_append ( array : * mut VipsArrayImage , image : * mut VipsImage ) -> * mut VipsArrayImage ; } extern "C" { pub fn vips_array_image_get ( array : * mut VipsArrayImage , n : * mut :: std :: os :: raw :: c_int ) -> * mut * mut VipsImage ; } extern "C" { pub fn vips_value_get_array_image ( value : * const GValue , n : * mut :: std :: os :: raw :: c_int ) -> * mut * mut VipsImage ; } extern "C" { pub fn vips_value_set_array_image ( value : * mut GValue , n : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_reorder_prepare_many ( image : * mut VipsImage , regions : * mut * mut VipsRegion , r : * mut VipsRect ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_reorder_margin_hint ( image : * mut VipsImage , margin : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_image_free_buffer ( image : * mut VipsImage , buffer : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn vips_malloc ( object : * mut VipsObject , size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_strdup ( object : * mut VipsObject , str : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_tracked_free ( s : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn vips_tracked_aligned_free ( s : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn vips_tracked_malloc ( size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_tracked_aligned_alloc ( size : usize , align : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_tracked_get_mem ( ) -> usize ; } extern "C" { pub fn vips_tracked_get_mem_highwater ( ) -> usize ; } extern "C" { pub fn vips_tracked_get_allocs ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tracked_open ( pathname : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tracked_close ( fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tracked_get_files ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_error_buffer ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_error_buffer_copy ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_error_clear ( ) ; } extern "C" { pub fn vips_error_freeze ( ) ; } extern "C" { pub fn vips_error_thaw ( ) ; } extern "C" { pub fn vips_error ( domain : * const :: std :: os :: raw :: c_char , fmt : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn vips_verror ( domain : * const :: std :: os :: raw :: c_char , fmt : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag ) ; } extern "C" { pub fn vips_error_system ( err : :: std :: os :: raw :: c_int , domain : * const :: std :: os :: raw :: c_char , fmt : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn vips_verror_system ( err : :: std :: os :: raw :: c_int , domain : * const :: std :: os :: raw :: c_char , fmt : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag ) ; } extern "C" { pub fn vips_error_g ( error : * mut * mut GError ) ; } extern "C" { pub fn vips_g_error ( error : * mut * mut GError ) ; } extern "C" { pub fn vips_error_exit ( fmt : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn vips_check_uncoded ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_coding ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , coding : VipsCoding ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_coding_known ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_coding_noneorlabq ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_coding_same ( domain : * const :: std :: os :: raw :: c_char , im1 : * mut VipsImage , im2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_mono ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bands ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , bands : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bands_1or3 ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bands_atleast ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , bands : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bands_1orn ( domain : * const :: std :: os :: raw :: c_char , im1 : * mut VipsImage , im2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bands_1orn_unary ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , n : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bands_same ( domain : * const :: std :: os :: raw :: c_char , im1 : * mut VipsImage , im2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_bandno ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , bandno : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_int ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_uint ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_uintorf ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_noncomplex ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_complex ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_twocomponents ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_format ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , fmt : VipsBandFormat ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_u8or16 ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_8or16 ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_u8or16orf ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_format_same ( domain : * const :: std :: os :: raw :: c_char , im1 : * mut VipsImage , im2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_size_same ( domain : * const :: std :: os :: raw :: c_char , im1 : * mut VipsImage , im2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_oddsquare ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_vector_length ( domain : * const :: std :: os :: raw :: c_char , n : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_vector ( domain : * const :: std :: os :: raw :: c_char , n : :: std :: os :: raw :: c_int , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_hist ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_matrix ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage , out : * mut * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_separable ( domain : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_check_precision_intfloat ( domain : * const :: std :: os :: raw :: c_char , precision : VipsPrecision ) -> :: std :: os :: raw :: c_int ; } pub const VipsFormatFlags_VIPS_FORMAT_NONE : VipsFormatFlags = 0 ; pub const VipsFormatFlags_VIPS_FORMAT_PARTIAL : VipsFormatFlags = 1 ; pub const VipsFormatFlags_VIPS_FORMAT_BIGENDIAN : VipsFormatFlags = 2 ; pub type VipsFormatFlags = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsFormat { pub parent_object : VipsObject , } # [ test ] fn bindgen_test_layout__VipsFormat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsFormat > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _VipsFormat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsFormat > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsFormat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormat > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormat ) , "::" , stringify ! ( parent_object ) ) ) ; } pub type VipsFormat = _VipsFormat ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsFormatClass { pub parent_class : VipsObjectClass , pub is_a : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const :: std :: os :: raw :: c_char ) -> gboolean > , pub header : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int > , pub load : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut VipsImage ) -> :: std :: os :: raw :: c_int > , pub save : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut VipsImage , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int > , pub get_flags : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const :: std :: os :: raw :: c_char ) -> VipsFormatFlags > , pub priority : :: std :: os :: raw :: c_int , pub suffs : * mut * const :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout__VipsFormatClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsFormatClass > ( ) , 384usize , concat ! ( "Size of: " , stringify ! ( _VipsFormatClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsFormatClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsFormatClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . is_a as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( is_a ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . header as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . load as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( load ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . save as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( save ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . get_flags as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( get_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . priority as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsFormatClass > ( ) ) ) . suffs as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _VipsFormatClass ) , "::" , stringify ! ( suffs ) ) ) ; } pub type VipsFormatClass = _VipsFormatClass ; extern "C" { pub fn vips_format_get_type ( ) -> GType ; } extern "C" { pub fn vips_format_map ( fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_format_for_file ( filename : * const :: std :: os :: raw :: c_char ) -> * mut VipsFormatClass ; } extern "C" { pub fn vips_format_for_name ( filename : * const :: std :: os :: raw :: c_char ) -> * mut VipsFormatClass ; } extern "C" { pub fn vips_format_get_flags ( format : * mut VipsFormatClass , filename : * const :: std :: os :: raw :: c_char ) -> VipsFormatFlags ; } extern "C" { pub fn vips_format_read ( filename : * const :: std :: os :: raw :: c_char , out : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_format_write ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } pub type VipsRegionWrite = :: std :: option :: Option < unsafe extern "C" fn ( region : * mut VipsRegion , area : * mut VipsRect , a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn vips_sink_disc ( im : * mut VipsImage , write_fn : VipsRegionWrite , a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sink ( im : * mut VipsImage , start_fn : VipsStartFn , generate_fn : VipsGenerateFn , stop_fn : VipsStopFn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sink_tile ( im : * mut VipsImage , tile_width : :: std :: os :: raw :: c_int , tile_height : :: std :: os :: raw :: c_int , start_fn : VipsStartFn , generate_fn : VipsGenerateFn , stop_fn : VipsStopFn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } pub type VipsSinkNotify = :: std :: option :: Option < unsafe extern "C" fn ( im : * mut VipsImage , rect : * mut VipsRect , a : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub fn vips_sink_screen ( in_ : * mut VipsImage , out : * mut VipsImage , mask : * mut VipsImage , tile_width : :: std :: os :: raw :: c_int , tile_height : :: std :: os :: raw :: c_int , max_tiles : :: std :: os :: raw :: c_int , priority : :: std :: os :: raw :: c_int , notify_fn : VipsSinkNotify , a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sink_memory ( im : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_start_one ( out : * mut VipsImage , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_stop_one ( seq : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_start_many ( out : * mut VipsImage , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_stop_many ( seq : * mut :: std :: os :: raw :: c_void , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_allocate_input_array ( out : * mut VipsImage , ... ) -> * mut * mut VipsImage ; } extern "C" { pub fn vips_image_generate ( image : * mut VipsImage , start_fn : VipsStartFn , generate_fn : VipsGenerateFn , stop_fn : VipsStopFn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_pipeline_array ( image : * mut VipsImage , hint : VipsDemandStyle , in_ : * mut * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_pipelinev ( image : * mut VipsImage , hint : VipsDemandStyle , ... ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsInterpolate { pub parent_object : VipsObject , } # [ test ] fn bindgen_test_layout__VipsInterpolate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsInterpolate > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _VipsInterpolate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsInterpolate > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsInterpolate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolate > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolate ) , "::" , stringify ! ( parent_object ) ) ) ; } pub type VipsInterpolate = _VipsInterpolate ; pub type VipsInterpolateMethod = :: std :: option :: Option < unsafe extern "C" fn ( interpolate : * mut VipsInterpolate , out : * mut :: std :: os :: raw :: c_void , in_ : * mut VipsRegion , x : f64 , y : f64 ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsInterpolateClass { pub parent_class : VipsObjectClass , pub interpolate : VipsInterpolateMethod , pub get_window_size : :: std :: option :: Option < unsafe extern "C" fn ( interpolate : * mut VipsInterpolate ) -> :: std :: os :: raw :: c_int > , pub window_size : :: std :: os :: raw :: c_int , pub get_window_offset : :: std :: option :: Option < unsafe extern "C" fn ( interpolate : * mut VipsInterpolate ) -> :: std :: os :: raw :: c_int > , pub window_offset : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__VipsInterpolateClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsInterpolateClass > ( ) , 368usize , concat ! ( "Size of: " , stringify ! ( _VipsInterpolateClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsInterpolateClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsInterpolateClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolateClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolateClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolateClass > ( ) ) ) . interpolate as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolateClass ) , "::" , stringify ! ( interpolate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolateClass > ( ) ) ) . get_window_size as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolateClass ) , "::" , stringify ! ( get_window_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolateClass > ( ) ) ) . window_size as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolateClass ) , "::" , stringify ! ( window_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolateClass > ( ) ) ) . get_window_offset as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolateClass ) , "::" , stringify ! ( get_window_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsInterpolateClass > ( ) ) ) . window_offset as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _VipsInterpolateClass ) , "::" , stringify ! ( window_offset ) ) ) ; } pub type VipsInterpolateClass = _VipsInterpolateClass ; extern "C" { pub fn vips_interpolate_get_type ( ) -> GType ; } extern "C" { pub fn vips_interpolate ( interpolate : * mut VipsInterpolate , out : * mut :: std :: os :: raw :: c_void , in_ : * mut VipsRegion , x : f64 , y : f64 ) ; } extern "C" { pub fn vips_interpolate_get_method ( interpolate : * mut VipsInterpolate ) -> VipsInterpolateMethod ; } extern "C" { pub fn vips_interpolate_get_window_size ( interpolate : * mut VipsInterpolate ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_interpolate_get_window_offset ( interpolate : * mut VipsInterpolate ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_interpolate_nearest_static ( ) -> * mut VipsInterpolate ; } extern "C" { pub fn vips_interpolate_bilinear_static ( ) -> * mut VipsInterpolate ; } extern "C" { pub fn vips_interpolate_new ( nickname : * const :: std :: os :: raw :: c_char ) -> * mut VipsInterpolate ; } extern "C" { pub fn vips_g_mutex_new ( ) -> * mut GMutex ; } extern "C" { pub fn vips_g_mutex_free ( arg1 : * mut GMutex ) ; } extern "C" { pub fn vips_g_cond_new ( ) -> * mut GCond ; } extern "C" { pub fn vips_g_cond_free ( arg1 : * mut GCond ) ; } extern "C" { pub fn vips_g_thread_new ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : GThreadFunc , arg3 : gpointer ) -> * mut GThread ; } extern "C" { pub fn vips_thread_isvips ( ) -> gboolean ; } extern "C" { pub fn vips_thread_execute ( domain : * const :: std :: os :: raw :: c_char , func : GFunc , data : gpointer ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsThreadset { _unused : [ u8 ; 0 ] , } pub type VipsThreadset = _VipsThreadset ; extern "C" { pub fn vips_threadset_new ( max_threads : :: std :: os :: raw :: c_int ) -> * mut VipsThreadset ; } extern "C" { pub fn vips_threadset_run ( set : * mut VipsThreadset , domain : * const :: std :: os :: raw :: c_char , func : GFunc , data : gpointer ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_threadset_free ( set : * mut VipsThreadset ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct VipsSemaphore { pub name : * mut :: std :: os :: raw :: c_char , pub v : :: std :: os :: raw :: c_int , pub mutex : * mut GMutex , pub cond : * mut GCond , } # [ test ] fn bindgen_test_layout_VipsSemaphore ( ) { assert_eq ! ( :: std :: mem :: size_of :: < VipsSemaphore > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( VipsSemaphore ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < VipsSemaphore > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( VipsSemaphore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsSemaphore > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( VipsSemaphore ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsSemaphore > ( ) ) ) . v as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( VipsSemaphore ) , "::" , stringify ! ( v ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsSemaphore > ( ) ) ) . mutex as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( VipsSemaphore ) , "::" , stringify ! ( mutex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < VipsSemaphore > ( ) ) ) . cond as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( VipsSemaphore ) , "::" , stringify ! ( cond ) ) ) ; } extern "C" { pub fn vips_semaphore_up ( s : * mut VipsSemaphore ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_semaphore_upn ( s : * mut VipsSemaphore , n : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_semaphore_down ( s : * mut VipsSemaphore ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_semaphore_downn ( s : * mut VipsSemaphore , n : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_semaphore_down_timeout ( s : * mut VipsSemaphore , timeout : gint64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_semaphore_destroy ( s : * mut VipsSemaphore ) ; } extern "C" { pub fn vips_semaphore_init ( s : * mut VipsSemaphore , v : :: std :: os :: raw :: c_int , name : * mut :: std :: os :: raw :: c_char ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsThreadState { pub parent_object : VipsObject , pub im : * mut VipsImage , pub reg : * mut VipsRegion , pub pos : VipsRect , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub stop : gboolean , pub a : * mut :: std :: os :: raw :: c_void , pub stall : gboolean , } # [ test ] fn bindgen_test_layout__VipsThreadState ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsThreadState > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( _VipsThreadState ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsThreadState > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsThreadState ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . im as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( im ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . reg as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( reg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . pos as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . x as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . y as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . stop as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( stop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . a as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( a ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadState > ( ) ) ) . stall as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadState ) , "::" , stringify ! ( stall ) ) ) ; } pub type VipsThreadState = _VipsThreadState ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsThreadStateClass { pub parent_class : VipsObjectClass , } # [ test ] fn bindgen_test_layout__VipsThreadStateClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsThreadStateClass > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( _VipsThreadStateClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsThreadStateClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsThreadStateClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsThreadStateClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsThreadStateClass ) , "::" , stringify ! ( parent_class ) ) ) ; } pub type VipsThreadStateClass = _VipsThreadStateClass ; extern "C" { pub fn vips_thread_state_set ( object : * mut VipsObject , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_thread_state_get_type ( ) -> GType ; } extern "C" { pub fn vips_thread_state_new ( im : * mut VipsImage , a : * mut :: std :: os :: raw :: c_void ) -> * mut VipsThreadState ; } pub type VipsThreadStartFn = :: std :: option :: Option < unsafe extern "C" fn ( im : * mut VipsImage , a : * mut :: std :: os :: raw :: c_void ) -> * mut VipsThreadState > ; pub type VipsThreadpoolAllocateFn = :: std :: option :: Option < unsafe extern "C" fn ( state : * mut VipsThreadState , a : * mut :: std :: os :: raw :: c_void , stop : * mut gboolean ) -> :: std :: os :: raw :: c_int > ; pub type VipsThreadpoolWorkFn = :: std :: option :: Option < unsafe extern "C" fn ( state : * mut VipsThreadState , a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type VipsThreadpoolProgressFn = :: std :: option :: Option < unsafe extern "C" fn ( a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn vips_threadpool_run ( im : * mut VipsImage , start : VipsThreadStartFn , allocate : VipsThreadpoolAllocateFn , work : VipsThreadpoolWorkFn , progress : VipsThreadpoolProgressFn , a : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_get_tile_size ( im : * mut VipsImage , tile_width : * mut :: std :: os :: raw :: c_int , tile_height : * mut :: std :: os :: raw :: c_int , n_lines : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_format_sizeof ( format : VipsBandFormat ) -> guint64 ; } extern "C" { pub fn vips_format_sizeof_unsafe ( format : VipsBandFormat ) -> guint64 ; } extern "C" { pub fn vips_interpretation_max_alpha ( interpretation : VipsInterpretation ) -> f64 ; } extern "C" { pub fn vips_image_get_width ( image : * const VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_height ( image : * const VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_bands ( image : * const VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_format ( image : * const VipsImage ) -> VipsBandFormat ; } extern "C" { pub fn vips_image_get_format_max ( format : VipsBandFormat ) -> f64 ; } extern "C" { pub fn vips_image_guess_format ( image : * const VipsImage ) -> VipsBandFormat ; } extern "C" { pub fn vips_image_get_coding ( image : * const VipsImage ) -> VipsCoding ; } extern "C" { pub fn vips_image_get_interpretation ( image : * const VipsImage ) -> VipsInterpretation ; } extern "C" { pub fn vips_image_guess_interpretation ( image : * const VipsImage ) -> VipsInterpretation ; } extern "C" { pub fn vips_image_get_xres ( image : * const VipsImage ) -> f64 ; } extern "C" { pub fn vips_image_get_yres ( image : * const VipsImage ) -> f64 ; } extern "C" { pub fn vips_image_get_xoffset ( image : * const VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_yoffset ( image : * const VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_filename ( image : * const VipsImage ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_image_get_mode ( image : * const VipsImage ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_image_get_scale ( image : * const VipsImage ) -> f64 ; } extern "C" { pub fn vips_image_get_offset ( image : * const VipsImage ) -> f64 ; } extern "C" { pub fn vips_image_get_page_height ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_n_pages ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_n_subifds ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_orientation ( image : * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_orientation_swap ( image : * mut VipsImage ) -> gboolean ; } extern "C" { pub fn vips_image_get_concurrency ( image : * mut VipsImage , default_concurrency : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_data ( image : * mut VipsImage ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_image_init_fields ( image : * mut VipsImage , xsize : :: std :: os :: raw :: c_int , ysize : :: std :: os :: raw :: c_int , bands : :: std :: os :: raw :: c_int , format : VipsBandFormat , coding : VipsCoding , interpretation : VipsInterpretation , xres : f64 , yres : f64 ) ; } extern "C" { pub fn vips_image_set ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , value : * mut GValue ) ; } extern "C" { pub fn vips_image_get ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , value_copy : * mut GValue ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_as_string ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_typeof ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char ) -> GType ; } extern "C" { pub fn vips_image_remove ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char ) -> gboolean ; } pub type VipsImageMapFn = :: std :: option :: Option < unsafe extern "C" fn ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , value : * mut GValue , a : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub fn vips_image_map ( image : * mut VipsImage , fn_ : VipsImageMapFn , a : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn vips_image_get_fields ( image : * mut VipsImage ) -> * mut * mut gchar ; } extern "C" { pub fn vips_image_set_area ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , free_fn : VipsCallbackFn , data : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn vips_image_get_area ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , data : * mut * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_set_blob ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , free_fn : VipsCallbackFn , data : * const :: std :: os :: raw :: c_void , length : usize ) ; } extern "C" { pub fn vips_image_set_blob_copy ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , data : * const :: std :: os :: raw :: c_void , length : usize ) ; } extern "C" { pub fn vips_image_get_blob ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , data : * mut * const :: std :: os :: raw :: c_void , length : * mut usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_int ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_set_int ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , i : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_image_get_double ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_set_double ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , d : f64 ) ; } extern "C" { pub fn vips_image_get_string ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_set_string ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , str : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_image_print_field ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn vips_image_get_image ( image : * const VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_set_image ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , im : * mut VipsImage ) ; } extern "C" { pub fn vips_image_set_array_int ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , array : * const :: std :: os :: raw :: c_int , n : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_image_get_array_int ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut * mut :: std :: os :: raw :: c_int , n : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_array_double ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , out : * mut * mut f64 , n : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_set_array_double ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , array : * const f64 , n : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_image_history_printf ( image : * mut VipsImage , format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_history_args ( image : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , argc : :: std :: os :: raw :: c_int , argv : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_image_get_history ( image : * mut VipsImage ) -> * const :: std :: os :: raw :: c_char ; } pub const VipsOperationFlags_VIPS_OPERATION_NONE : VipsOperationFlags = 0 ; pub const VipsOperationFlags_VIPS_OPERATION_SEQUENTIAL : VipsOperationFlags = 1 ; pub const VipsOperationFlags_VIPS_OPERATION_SEQUENTIAL_UNBUFFERED : VipsOperationFlags = 2 ; pub const VipsOperationFlags_VIPS_OPERATION_NOCACHE : VipsOperationFlags = 4 ; pub const VipsOperationFlags_VIPS_OPERATION_DEPRECATED : VipsOperationFlags = 8 ; pub const VipsOperationFlags_VIPS_OPERATION_UNTRUSTED : VipsOperationFlags = 16 ; pub const VipsOperationFlags_VIPS_OPERATION_BLOCKED : VipsOperationFlags = 32 ; pub const VipsOperationFlags_VIPS_OPERATION_REVALIDATE : VipsOperationFlags = 64 ; pub type VipsOperationFlags = u32 ; pub type VipsOperationBuildFn = :: std :: option :: Option < unsafe extern "C" fn ( object : * mut VipsObject ) -> gboolean > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsOperation { pub parent_instance : VipsObject , pub hash : guint , pub found_hash : gboolean , pub pixels : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__VipsOperation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsOperation > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _VipsOperation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsOperation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsOperation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperation > ( ) ) ) . parent_instance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperation ) , "::" , stringify ! ( parent_instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperation > ( ) ) ) . hash as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperation ) , "::" , stringify ! ( hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperation > ( ) ) ) . found_hash as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperation ) , "::" , stringify ! ( found_hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperation > ( ) ) ) . pixels as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperation ) , "::" , stringify ! ( pixels ) ) ) ; } pub type VipsOperation = _VipsOperation ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsOperationClass { pub parent_class : VipsObjectClass , pub usage : :: std :: option :: Option < unsafe extern "C" fn ( cls : * mut _VipsOperationClass , buf : * mut VipsBuf ) > , pub get_flags : :: std :: option :: Option < unsafe extern "C" fn ( operation : * mut VipsOperation ) -> VipsOperationFlags > , pub flags : VipsOperationFlags , pub invalidate : :: std :: option :: Option < unsafe extern "C" fn ( operation : * mut VipsOperation ) > , } # [ test ] fn bindgen_test_layout__VipsOperationClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsOperationClass > ( ) , 360usize , concat ! ( "Size of: " , stringify ! ( _VipsOperationClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsOperationClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsOperationClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperationClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperationClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperationClass > ( ) ) ) . usage as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperationClass ) , "::" , stringify ! ( usage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperationClass > ( ) ) ) . get_flags as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperationClass ) , "::" , stringify ! ( get_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperationClass > ( ) ) ) . flags as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperationClass ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsOperationClass > ( ) ) ) . invalidate as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( _VipsOperationClass ) , "::" , stringify ! ( invalidate ) ) ) ; } pub type VipsOperationClass = _VipsOperationClass ; extern "C" { pub fn vips_operation_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_get_flags ( operation : * mut VipsOperation ) -> VipsOperationFlags ; } extern "C" { pub fn vips_operation_class_print_usage ( operation_class : * mut VipsOperationClass ) ; } extern "C" { pub fn vips_operation_invalidate ( operation : * mut VipsOperation ) ; } extern "C" { pub fn vips_operation_call_valist ( operation : * mut VipsOperation , ap : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_operation_new ( name : * const :: std :: os :: raw :: c_char ) -> * mut VipsOperation ; } extern "C" { pub fn vips_call_required_optional ( operation : * mut * mut VipsOperation , required : * mut __va_list_tag , optional : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_call ( operation_name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_call_split ( operation_name : * const :: std :: os :: raw :: c_char , optional : * mut __va_list_tag , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_call_split_option_string ( operation_name : * const :: std :: os :: raw :: c_char , option_string : * const :: std :: os :: raw :: c_char , optional : * mut __va_list_tag , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_call_options ( group : * mut GOptionGroup , operation : * mut VipsOperation ) ; } extern "C" { pub fn vips_call_argv ( operation : * mut VipsOperation , argc : :: std :: os :: raw :: c_int , argv : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cache_drop_all ( ) ; } extern "C" { pub fn vips_cache_operation_lookup ( operation : * mut VipsOperation ) -> * mut VipsOperation ; } extern "C" { pub fn vips_cache_operation_add ( operation : * mut VipsOperation ) ; } extern "C" { pub fn vips_cache_operation_buildp ( operation : * mut * mut VipsOperation ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cache_operation_build ( operation : * mut VipsOperation ) -> * mut VipsOperation ; } extern "C" { pub fn vips_cache_print ( ) ; } extern "C" { pub fn vips_cache_set_max ( max : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_cache_set_max_mem ( max_mem : usize ) ; } extern "C" { pub fn vips_cache_get_max ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cache_get_size ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cache_get_max_mem ( ) -> usize ; } extern "C" { pub fn vips_cache_get_max_files ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cache_set_max_files ( max_files : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_cache_set_dump ( dump : gboolean ) ; } extern "C" { pub fn vips_cache_set_trace ( trace : gboolean ) ; } extern "C" { pub fn vips_concurrency_set ( concurrency : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn vips_concurrency_get ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_operation_block_set ( name : * const :: std :: os :: raw :: c_char , state : gboolean ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsForeign { pub parent_object : VipsOperation , } # [ test ] fn bindgen_test_layout__VipsForeign ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsForeign > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _VipsForeign ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsForeign > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsForeign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeign > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeign ) , "::" , stringify ! ( parent_object ) ) ) ; } pub type VipsForeign = _VipsForeign ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsForeignClass { pub parent_class : VipsOperationClass , pub priority : :: std :: os :: raw :: c_int , pub suffs : * mut * const :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout__VipsForeignClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsForeignClass > ( ) , 376usize , concat ! ( "Size of: " , stringify ! ( _VipsForeignClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsForeignClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsForeignClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignClass > ( ) ) ) . priority as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignClass ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignClass > ( ) ) ) . suffs as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignClass ) , "::" , stringify ! ( suffs ) ) ) ; } pub type VipsForeignClass = _VipsForeignClass ; extern "C" { pub fn vips_foreign_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_map ( base : * const :: std :: os :: raw :: c_char , fn_ : VipsSListMap2Fn , a : * mut :: std :: os :: raw :: c_void , b : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } pub const VipsForeignFlags_VIPS_FOREIGN_NONE : VipsForeignFlags = 0 ; pub const VipsForeignFlags_VIPS_FOREIGN_PARTIAL : VipsForeignFlags = 1 ; pub const VipsForeignFlags_VIPS_FOREIGN_BIGENDIAN : VipsForeignFlags = 2 ; pub const VipsForeignFlags_VIPS_FOREIGN_SEQUENTIAL : VipsForeignFlags = 4 ; pub const VipsForeignFlags_VIPS_FOREIGN_ALL : VipsForeignFlags = 7 ; pub type VipsForeignFlags = u32 ; pub const VipsFailOn_VIPS_FAIL_ON_NONE : VipsFailOn = 0 ; pub const VipsFailOn_VIPS_FAIL_ON_TRUNCATED : VipsFailOn = 1 ; pub const VipsFailOn_VIPS_FAIL_ON_ERROR : VipsFailOn = 2 ; pub const VipsFailOn_VIPS_FAIL_ON_WARNING : VipsFailOn = 3 ; pub const VipsFailOn_VIPS_FAIL_ON_LAST : VipsFailOn = 4 ; pub type VipsFailOn = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsForeignLoad { pub parent_object : VipsForeign , pub memory : gboolean , pub access : VipsAccess , pub flags : VipsForeignFlags , pub fail_on : VipsFailOn , pub fail : gboolean , pub sequential : gboolean , pub out : * mut VipsImage , pub real : * mut VipsImage , pub nocache : gboolean , pub disc : gboolean , pub error : gboolean , pub revalidate : gboolean , } # [ test ] fn bindgen_test_layout__VipsForeignLoad ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsForeignLoad > ( ) , 152usize , concat ! ( "Size of: " , stringify ! ( _VipsForeignLoad ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsForeignLoad > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsForeignLoad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . memory as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( memory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . access as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( access ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . flags as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . fail_on as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( fail_on ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . fail as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( fail ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . sequential as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( sequential ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . out as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( out ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . real as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( real ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . nocache as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( nocache ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . disc as * const _ as usize } , 140usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( disc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . error as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( error ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoad > ( ) ) ) . revalidate as * const _ as usize } , 148usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoad ) , "::" , stringify ! ( revalidate ) ) ) ; } pub type VipsForeignLoad = _VipsForeignLoad ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsForeignLoadClass { pub parent_class : VipsForeignClass , pub is_a : :: std :: option :: Option < unsafe extern "C" fn ( filename : * const :: std :: os :: raw :: c_char ) -> gboolean > , pub is_a_buffer : :: std :: option :: Option < unsafe extern "C" fn ( data : * const :: std :: os :: raw :: c_void , size : usize ) -> gboolean > , pub is_a_source : :: std :: option :: Option < unsafe extern "C" fn ( source : * mut VipsSource ) -> gboolean > , pub get_flags_filename : :: std :: option :: Option < unsafe extern "C" fn ( filename : * const :: std :: os :: raw :: c_char ) -> VipsForeignFlags > , pub get_flags : :: std :: option :: Option < unsafe extern "C" fn ( load : * mut VipsForeignLoad ) -> VipsForeignFlags > , pub header : :: std :: option :: Option < unsafe extern "C" fn ( load : * mut VipsForeignLoad ) -> :: std :: os :: raw :: c_int > , pub load : :: std :: option :: Option < unsafe extern "C" fn ( load : * mut VipsForeignLoad ) -> :: std :: os :: raw :: c_int > , } # [ test ] fn bindgen_test_layout__VipsForeignLoadClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsForeignLoadClass > ( ) , 432usize , concat ! ( "Size of: " , stringify ! ( _VipsForeignLoadClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsForeignLoadClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsForeignLoadClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . is_a as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( is_a ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . is_a_buffer as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( is_a_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . is_a_source as * const _ as usize } , 392usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( is_a_source ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . get_flags_filename as * const _ as usize } , 400usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( get_flags_filename ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . get_flags as * const _ as usize } , 408usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( get_flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . header as * const _ as usize } , 416usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignLoadClass > ( ) ) ) . load as * const _ as usize } , 424usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignLoadClass ) , "::" , stringify ! ( load ) ) ) ; } pub type VipsForeignLoadClass = _VipsForeignLoadClass ; extern "C" { pub fn vips_foreign_load_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_find_load ( filename : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_foreign_find_load_buffer ( data : * const :: std :: os :: raw :: c_void , size : usize ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_foreign_find_load_source ( source : * mut VipsSource ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_foreign_flags ( loader : * const :: std :: os :: raw :: c_char , filename : * const :: std :: os :: raw :: c_char ) -> VipsForeignFlags ; } extern "C" { pub fn vips_foreign_is_a ( loader : * const :: std :: os :: raw :: c_char , filename : * const :: std :: os :: raw :: c_char ) -> gboolean ; } extern "C" { pub fn vips_foreign_is_a_buffer ( loader : * const :: std :: os :: raw :: c_char , data : * const :: std :: os :: raw :: c_void , size : usize ) -> gboolean ; } extern "C" { pub fn vips_foreign_is_a_source ( loader : * const :: std :: os :: raw :: c_char , source : * mut VipsSource ) -> gboolean ; } extern "C" { pub fn vips_foreign_load_invalidate ( image : * mut VipsImage ) ; } pub const VipsSaveable_VIPS_SAVEABLE_MONO : VipsSaveable = 0 ; pub const VipsSaveable_VIPS_SAVEABLE_RGB : VipsSaveable = 1 ; pub const VipsSaveable_VIPS_SAVEABLE_RGBA : VipsSaveable = 2 ; pub const VipsSaveable_VIPS_SAVEABLE_RGBA_ONLY : VipsSaveable = 3 ; pub const VipsSaveable_VIPS_SAVEABLE_RGB_CMYK : VipsSaveable = 4 ; pub const VipsSaveable_VIPS_SAVEABLE_ANY : VipsSaveable = 5 ; pub const VipsSaveable_VIPS_SAVEABLE_LAST : VipsSaveable = 6 ; pub type VipsSaveable = u32 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_NONE : VipsForeignKeep = 0 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_EXIF : VipsForeignKeep = 1 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_XMP : VipsForeignKeep = 2 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_IPTC : VipsForeignKeep = 4 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_ICC : VipsForeignKeep = 8 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_OTHER : VipsForeignKeep = 16 ; pub const VipsForeignKeep_VIPS_FOREIGN_KEEP_ALL : VipsForeignKeep = 31 ; pub type VipsForeignKeep = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsForeignSave { pub parent_object : VipsForeign , pub strip : gboolean , pub keep : VipsForeignKeep , pub profile : * mut :: std :: os :: raw :: c_char , pub background : * mut VipsArrayDouble , pub page_height : :: std :: os :: raw :: c_int , pub in_ : * mut VipsImage , pub ready : * mut VipsImage , } # [ test ] fn bindgen_test_layout__VipsForeignSave ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsForeignSave > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( _VipsForeignSave ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsForeignSave > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsForeignSave ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . parent_object as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( parent_object ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . strip as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( strip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . keep as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( keep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . profile as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( profile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . background as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( background ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . page_height as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( page_height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . in_ as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( in_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSave > ( ) ) ) . ready as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSave ) , "::" , stringify ! ( ready ) ) ) ; } pub type VipsForeignSave = _VipsForeignSave ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _VipsForeignSaveClass { pub parent_class : VipsForeignClass , pub saveable : VipsSaveable , pub format_table : * mut VipsBandFormat , pub coding : [ gboolean ; 7usize ] , } # [ test ] fn bindgen_test_layout__VipsForeignSaveClass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _VipsForeignSaveClass > ( ) , 424usize , concat ! ( "Size of: " , stringify ! ( _VipsForeignSaveClass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _VipsForeignSaveClass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _VipsForeignSaveClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSaveClass > ( ) ) ) . parent_class as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSaveClass ) , "::" , stringify ! ( parent_class ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSaveClass > ( ) ) ) . saveable as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSaveClass ) , "::" , stringify ! ( saveable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSaveClass > ( ) ) ) . format_table as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSaveClass ) , "::" , stringify ! ( format_table ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _VipsForeignSaveClass > ( ) ) ) . coding as * const _ as usize } , 392usize , concat ! ( "Offset of field: " , stringify ! ( _VipsForeignSaveClass ) , "::" , stringify ! ( coding ) ) ) ; } pub type VipsForeignSaveClass = _VipsForeignSaveClass ; extern "C" { pub fn vips_foreign_save_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_find_save ( filename : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_foreign_get_suffixes ( ) -> * mut * mut gchar ; } extern "C" { pub fn vips_foreign_find_save_buffer ( suffix : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_foreign_find_save_target ( suffix : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_vipsload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_vipsload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_vipssave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_vipssave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_openslideload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_openslideload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignSubsample_VIPS_FOREIGN_SUBSAMPLE_AUTO : VipsForeignSubsample = 0 ; pub const VipsForeignSubsample_VIPS_FOREIGN_SUBSAMPLE_ON : VipsForeignSubsample = 1 ; pub const VipsForeignSubsample_VIPS_FOREIGN_SUBSAMPLE_OFF : VipsForeignSubsample = 2 ; pub const VipsForeignSubsample_VIPS_FOREIGN_SUBSAMPLE_LAST : VipsForeignSubsample = 3 ; pub type VipsForeignSubsample = u32 ; pub const VipsForeignJpegSubsample_VIPS_FOREIGN_JPEG_SUBSAMPLE_AUTO : VipsForeignJpegSubsample = 0 ; pub const VipsForeignJpegSubsample_VIPS_FOREIGN_JPEG_SUBSAMPLE_ON : VipsForeignJpegSubsample = 1 ; pub const VipsForeignJpegSubsample_VIPS_FOREIGN_JPEG_SUBSAMPLE_OFF : VipsForeignJpegSubsample = 2 ; pub const VipsForeignJpegSubsample_VIPS_FOREIGN_JPEG_SUBSAMPLE_LAST : VipsForeignJpegSubsample = 3 ; pub type VipsForeignJpegSubsample = u32 ; extern "C" { pub fn vips_jpegload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jpegload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jpegload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jpegsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jpegsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jpegsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jpegsave_mime ( in_ : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_DEFAULT : VipsForeignWebpPreset = 0 ; pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_PICTURE : VipsForeignWebpPreset = 1 ; pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_PHOTO : VipsForeignWebpPreset = 2 ; pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_DRAWING : VipsForeignWebpPreset = 3 ; pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_ICON : VipsForeignWebpPreset = 4 ; pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_TEXT : VipsForeignWebpPreset = 5 ; pub const VipsForeignWebpPreset_VIPS_FOREIGN_WEBP_PRESET_LAST : VipsForeignWebpPreset = 6 ; pub type VipsForeignWebpPreset = u32 ; extern "C" { pub fn vips_webpload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_webpload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_webpload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_webpsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_webpsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_webpsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_webpsave_mime ( in_ : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_NONE : VipsForeignTiffCompression = 0 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_JPEG : VipsForeignTiffCompression = 1 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_DEFLATE : VipsForeignTiffCompression = 2 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_PACKBITS : VipsForeignTiffCompression = 3 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_CCITTFAX4 : VipsForeignTiffCompression = 4 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_LZW : VipsForeignTiffCompression = 5 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_WEBP : VipsForeignTiffCompression = 6 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_ZSTD : VipsForeignTiffCompression = 7 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_JP2K : VipsForeignTiffCompression = 8 ; pub const VipsForeignTiffCompression_VIPS_FOREIGN_TIFF_COMPRESSION_LAST : VipsForeignTiffCompression = 9 ; pub type VipsForeignTiffCompression = u32 ; pub const VipsForeignTiffPredictor_VIPS_FOREIGN_TIFF_PREDICTOR_NONE : VipsForeignTiffPredictor = 1 ; pub const VipsForeignTiffPredictor_VIPS_FOREIGN_TIFF_PREDICTOR_HORIZONTAL : VipsForeignTiffPredictor = 2 ; pub const VipsForeignTiffPredictor_VIPS_FOREIGN_TIFF_PREDICTOR_FLOAT : VipsForeignTiffPredictor = 3 ; pub const VipsForeignTiffPredictor_VIPS_FOREIGN_TIFF_PREDICTOR_LAST : VipsForeignTiffPredictor = 4 ; pub type VipsForeignTiffPredictor = u32 ; pub const VipsForeignTiffResunit_VIPS_FOREIGN_TIFF_RESUNIT_CM : VipsForeignTiffResunit = 0 ; pub const VipsForeignTiffResunit_VIPS_FOREIGN_TIFF_RESUNIT_INCH : VipsForeignTiffResunit = 1 ; pub const VipsForeignTiffResunit_VIPS_FOREIGN_TIFF_RESUNIT_LAST : VipsForeignTiffResunit = 2 ; pub type VipsForeignTiffResunit = u32 ; extern "C" { pub fn vips_tiffload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tiffload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tiffload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tiffsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tiffsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tiffsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_openexrload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_fitsload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_fitssave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_analyzeload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rawload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bands : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rawsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rawsave_fd ( in_ : * mut VipsImage , fd : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_csvload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_csvload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_csvsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_csvsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matrixload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matrixload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matrixsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matrixsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matrixprint ( in_ : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_magickload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_magickload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_magicksave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_magicksave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignPngFilter_VIPS_FOREIGN_PNG_FILTER_NONE : VipsForeignPngFilter = 8 ; pub const VipsForeignPngFilter_VIPS_FOREIGN_PNG_FILTER_SUB : VipsForeignPngFilter = 16 ; pub const VipsForeignPngFilter_VIPS_FOREIGN_PNG_FILTER_UP : VipsForeignPngFilter = 32 ; pub const VipsForeignPngFilter_VIPS_FOREIGN_PNG_FILTER_AVG : VipsForeignPngFilter = 64 ; pub const VipsForeignPngFilter_VIPS_FOREIGN_PNG_FILTER_PAETH : VipsForeignPngFilter = 128 ; pub const VipsForeignPngFilter_VIPS_FOREIGN_PNG_FILTER_ALL : VipsForeignPngFilter = 248 ; pub type VipsForeignPngFilter = u32 ; extern "C" { pub fn vips_pngload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pngload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pngload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pngsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pngsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pngsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignPpmFormat_VIPS_FOREIGN_PPM_FORMAT_PBM : VipsForeignPpmFormat = 0 ; pub const VipsForeignPpmFormat_VIPS_FOREIGN_PPM_FORMAT_PGM : VipsForeignPpmFormat = 1 ; pub const VipsForeignPpmFormat_VIPS_FOREIGN_PPM_FORMAT_PPM : VipsForeignPpmFormat = 2 ; pub const VipsForeignPpmFormat_VIPS_FOREIGN_PPM_FORMAT_PFM : VipsForeignPpmFormat = 3 ; pub const VipsForeignPpmFormat_VIPS_FOREIGN_PPM_FORMAT_PNM : VipsForeignPpmFormat = 4 ; pub const VipsForeignPpmFormat_VIPS_FOREIGN_PPM_FORMAT_LAST : VipsForeignPpmFormat = 5 ; pub type VipsForeignPpmFormat = u32 ; extern "C" { pub fn vips_ppmload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_ppmload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_ppmsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_ppmsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_radload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_radload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_radload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_radsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_radsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_radsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pdfload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pdfload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pdfload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_svgload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_svgload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_svgload_string ( str : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_svgload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gifload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gifload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gifload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gifsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gifsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gifsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_heifload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_heifload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_heifload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_heifsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_heifsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_heifsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_niftiload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_niftiload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_niftisave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jp2kload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jp2kload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jp2kload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jp2ksave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jp2ksave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jp2ksave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jxlload_source ( source : * mut VipsSource , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jxlload_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jxlload ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jxlsave ( in_ : * mut VipsImage , filename : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jxlsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_jxlsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignDzLayout_VIPS_FOREIGN_DZ_LAYOUT_DZ : VipsForeignDzLayout = 0 ; pub const VipsForeignDzLayout_VIPS_FOREIGN_DZ_LAYOUT_ZOOMIFY : VipsForeignDzLayout = 1 ; pub const VipsForeignDzLayout_VIPS_FOREIGN_DZ_LAYOUT_GOOGLE : VipsForeignDzLayout = 2 ; pub const VipsForeignDzLayout_VIPS_FOREIGN_DZ_LAYOUT_IIIF : VipsForeignDzLayout = 3 ; pub const VipsForeignDzLayout_VIPS_FOREIGN_DZ_LAYOUT_IIIF3 : VipsForeignDzLayout = 4 ; pub const VipsForeignDzLayout_VIPS_FOREIGN_DZ_LAYOUT_LAST : VipsForeignDzLayout = 5 ; pub type VipsForeignDzLayout = u32 ; pub const VipsForeignDzDepth_VIPS_FOREIGN_DZ_DEPTH_ONEPIXEL : VipsForeignDzDepth = 0 ; pub const VipsForeignDzDepth_VIPS_FOREIGN_DZ_DEPTH_ONETILE : VipsForeignDzDepth = 1 ; pub const VipsForeignDzDepth_VIPS_FOREIGN_DZ_DEPTH_ONE : VipsForeignDzDepth = 2 ; pub const VipsForeignDzDepth_VIPS_FOREIGN_DZ_DEPTH_LAST : VipsForeignDzDepth = 3 ; pub type VipsForeignDzDepth = u32 ; pub const VipsForeignDzContainer_VIPS_FOREIGN_DZ_CONTAINER_FS : VipsForeignDzContainer = 0 ; pub const VipsForeignDzContainer_VIPS_FOREIGN_DZ_CONTAINER_ZIP : VipsForeignDzContainer = 1 ; pub const VipsForeignDzContainer_VIPS_FOREIGN_DZ_CONTAINER_SZI : VipsForeignDzContainer = 2 ; pub const VipsForeignDzContainer_VIPS_FOREIGN_DZ_CONTAINER_LAST : VipsForeignDzContainer = 3 ; pub type VipsForeignDzContainer = u32 ; extern "C" { pub fn vips_dzsave ( in_ : * mut VipsImage , name : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_dzsave_buffer ( in_ : * mut VipsImage , buf : * mut * mut :: std :: os :: raw :: c_void , len : * mut usize , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_dzsave_target ( in_ : * mut VipsImage , target : * mut VipsTarget , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsForeignHeifCompression_VIPS_FOREIGN_HEIF_COMPRESSION_HEVC : VipsForeignHeifCompression = 1 ; pub const VipsForeignHeifCompression_VIPS_FOREIGN_HEIF_COMPRESSION_AVC : VipsForeignHeifCompression = 2 ; pub const VipsForeignHeifCompression_VIPS_FOREIGN_HEIF_COMPRESSION_JPEG : VipsForeignHeifCompression = 3 ; pub const VipsForeignHeifCompression_VIPS_FOREIGN_HEIF_COMPRESSION_AV1 : VipsForeignHeifCompression = 4 ; pub const VipsForeignHeifCompression_VIPS_FOREIGN_HEIF_COMPRESSION_LAST : VipsForeignHeifCompression = 5 ; pub type VipsForeignHeifCompression = u32 ; pub const VipsForeignHeifEncoder_VIPS_FOREIGN_HEIF_ENCODER_AUTO : VipsForeignHeifEncoder = 0 ; pub const VipsForeignHeifEncoder_VIPS_FOREIGN_HEIF_ENCODER_AOM : VipsForeignHeifEncoder = 1 ; pub const VipsForeignHeifEncoder_VIPS_FOREIGN_HEIF_ENCODER_RAV1E : VipsForeignHeifEncoder = 2 ; pub const VipsForeignHeifEncoder_VIPS_FOREIGN_HEIF_ENCODER_SVT : VipsForeignHeifEncoder = 3 ; pub const VipsForeignHeifEncoder_VIPS_FOREIGN_HEIF_ENCODER_X265 : VipsForeignHeifEncoder = 4 ; pub const VipsForeignHeifEncoder_VIPS_FOREIGN_HEIF_ENCODER_LAST : VipsForeignHeifEncoder = 5 ; pub type VipsForeignHeifEncoder = u32 ; extern "C" { pub fn vips_operation_math_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_math2_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_round_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_relational_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_boolean_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_complex_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_complex2_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_complexget_get_type ( ) -> GType ; } extern "C" { pub fn vips_precision_get_type ( ) -> GType ; } extern "C" { pub fn vips_intent_get_type ( ) -> GType ; } extern "C" { pub fn vips_pcs_get_type ( ) -> GType ; } extern "C" { pub fn vips_extend_get_type ( ) -> GType ; } extern "C" { pub fn vips_compass_direction_get_type ( ) -> GType ; } extern "C" { pub fn vips_direction_get_type ( ) -> GType ; } extern "C" { pub fn vips_align_get_type ( ) -> GType ; } extern "C" { pub fn vips_angle_get_type ( ) -> GType ; } extern "C" { pub fn vips_angle45_get_type ( ) -> GType ; } extern "C" { pub fn vips_interesting_get_type ( ) -> GType ; } extern "C" { pub fn vips_blend_mode_get_type ( ) -> GType ; } extern "C" { pub fn vips_combine_get_type ( ) -> GType ; } extern "C" { pub fn vips_text_wrap_get_type ( ) -> GType ; } extern "C" { pub fn vips_combine_mode_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_flags_get_type ( ) -> GType ; } extern "C" { pub fn vips_fail_on_get_type ( ) -> GType ; } extern "C" { pub fn vips_saveable_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_keep_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_subsample_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_jpeg_subsample_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_webp_preset_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_tiff_compression_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_tiff_predictor_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_tiff_resunit_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_png_filter_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_ppm_format_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_dz_layout_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_dz_depth_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_dz_container_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_heif_compression_get_type ( ) -> GType ; } extern "C" { pub fn vips_foreign_heif_encoder_get_type ( ) -> GType ; } extern "C" { pub fn vips_demand_style_get_type ( ) -> GType ; } extern "C" { pub fn vips_image_type_get_type ( ) -> GType ; } extern "C" { pub fn vips_interpretation_get_type ( ) -> GType ; } extern "C" { pub fn vips_band_format_get_type ( ) -> GType ; } extern "C" { pub fn vips_coding_get_type ( ) -> GType ; } extern "C" { pub fn vips_access_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_morphology_get_type ( ) -> GType ; } extern "C" { pub fn vips_argument_flags_get_type ( ) -> GType ; } extern "C" { pub fn vips_operation_flags_get_type ( ) -> GType ; } extern "C" { pub fn vips_region_shrink_get_type ( ) -> GType ; } extern "C" { pub fn vips_kernel_get_type ( ) -> GType ; } extern "C" { pub fn vips_size_get_type ( ) -> GType ; } extern "C" { pub fn vips_token_get_type ( ) -> GType ; } pub const VipsOperationMath_VIPS_OPERATION_MATH_SIN : VipsOperationMath = 0 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_COS : VipsOperationMath = 1 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_TAN : VipsOperationMath = 2 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_ASIN : VipsOperationMath = 3 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_ACOS : VipsOperationMath = 4 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_ATAN : VipsOperationMath = 5 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_LOG : VipsOperationMath = 6 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_LOG10 : VipsOperationMath = 7 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_EXP : VipsOperationMath = 8 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_EXP10 : VipsOperationMath = 9 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_SINH : VipsOperationMath = 10 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_COSH : VipsOperationMath = 11 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_TANH : VipsOperationMath = 12 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_ASINH : VipsOperationMath = 13 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_ACOSH : VipsOperationMath = 14 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_ATANH : VipsOperationMath = 15 ; pub const VipsOperationMath_VIPS_OPERATION_MATH_LAST : VipsOperationMath = 16 ; pub type VipsOperationMath = u32 ; pub const VipsOperationMath2_VIPS_OPERATION_MATH2_POW : VipsOperationMath2 = 0 ; pub const VipsOperationMath2_VIPS_OPERATION_MATH2_WOP : VipsOperationMath2 = 1 ; pub const VipsOperationMath2_VIPS_OPERATION_MATH2_ATAN2 : VipsOperationMath2 = 2 ; pub const VipsOperationMath2_VIPS_OPERATION_MATH2_LAST : VipsOperationMath2 = 3 ; pub type VipsOperationMath2 = u32 ; pub const VipsOperationRound_VIPS_OPERATION_ROUND_RINT : VipsOperationRound = 0 ; pub const VipsOperationRound_VIPS_OPERATION_ROUND_CEIL : VipsOperationRound = 1 ; pub const VipsOperationRound_VIPS_OPERATION_ROUND_FLOOR : VipsOperationRound = 2 ; pub const VipsOperationRound_VIPS_OPERATION_ROUND_LAST : VipsOperationRound = 3 ; pub type VipsOperationRound = u32 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_EQUAL : VipsOperationRelational = 0 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_NOTEQ : VipsOperationRelational = 1 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_LESS : VipsOperationRelational = 2 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_LESSEQ : VipsOperationRelational = 3 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_MORE : VipsOperationRelational = 4 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_MOREEQ : VipsOperationRelational = 5 ; pub const VipsOperationRelational_VIPS_OPERATION_RELATIONAL_LAST : VipsOperationRelational = 6 ; pub type VipsOperationRelational = u32 ; pub const VipsOperationBoolean_VIPS_OPERATION_BOOLEAN_AND : VipsOperationBoolean = 0 ; pub const VipsOperationBoolean_VIPS_OPERATION_BOOLEAN_OR : VipsOperationBoolean = 1 ; pub const VipsOperationBoolean_VIPS_OPERATION_BOOLEAN_EOR : VipsOperationBoolean = 2 ; pub const VipsOperationBoolean_VIPS_OPERATION_BOOLEAN_LSHIFT : VipsOperationBoolean = 3 ; pub const VipsOperationBoolean_VIPS_OPERATION_BOOLEAN_RSHIFT : VipsOperationBoolean = 4 ; pub const VipsOperationBoolean_VIPS_OPERATION_BOOLEAN_LAST : VipsOperationBoolean = 5 ; pub type VipsOperationBoolean = u32 ; pub const VipsOperationComplex_VIPS_OPERATION_COMPLEX_POLAR : VipsOperationComplex = 0 ; pub const VipsOperationComplex_VIPS_OPERATION_COMPLEX_RECT : VipsOperationComplex = 1 ; pub const VipsOperationComplex_VIPS_OPERATION_COMPLEX_CONJ : VipsOperationComplex = 2 ; pub const VipsOperationComplex_VIPS_OPERATION_COMPLEX_LAST : VipsOperationComplex = 3 ; pub type VipsOperationComplex = u32 ; pub const VipsOperationComplex2_VIPS_OPERATION_COMPLEX2_CROSS_PHASE : VipsOperationComplex2 = 0 ; pub const VipsOperationComplex2_VIPS_OPERATION_COMPLEX2_LAST : VipsOperationComplex2 = 1 ; pub type VipsOperationComplex2 = u32 ; pub const VipsOperationComplexget_VIPS_OPERATION_COMPLEXGET_REAL : VipsOperationComplexget = 0 ; pub const VipsOperationComplexget_VIPS_OPERATION_COMPLEXGET_IMAG : VipsOperationComplexget = 1 ; pub const VipsOperationComplexget_VIPS_OPERATION_COMPLEXGET_LAST : VipsOperationComplexget = 2 ; pub type VipsOperationComplexget = u32 ; extern "C" { pub fn vips_add ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sum ( in_ : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_subtract ( in1 : * mut VipsImage , in2 : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_multiply ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_divide ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_linear ( in_ : * mut VipsImage , out : * mut * mut VipsImage , a : * const f64 , b : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_linear1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , a : f64 , b : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_remainder ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_remainder_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_remainder_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_invert ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_abs ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sign ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_round ( in_ : * mut VipsImage , out : * mut * mut VipsImage , round : VipsOperationRound , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_floor ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_ceil ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rint ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_math ( in_ : * mut VipsImage , out : * mut * mut VipsImage , math : VipsOperationMath , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sin ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cos ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tan ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_asin ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_acos ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_atan ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_exp ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_exp10 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_log ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_log10 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sinh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cosh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tanh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_asinh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_acosh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_atanh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_complex ( in_ : * mut VipsImage , out : * mut * mut VipsImage , cmplx : VipsOperationComplex , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_polar ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rect ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_conj ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_complex2 ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , cmplx : VipsOperationComplex2 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cross_phase ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_complexget ( in_ : * mut VipsImage , out : * mut * mut VipsImage , get : VipsOperationComplexget , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_real ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_imag ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_complexform ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_relational ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , relational : VipsOperationRelational , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_equal ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_notequal ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_less ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_lesseq ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_more ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_moreeq ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_relational_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , relational : VipsOperationRelational , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_equal_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_notequal_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_less_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_lesseq_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_more_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_moreeq_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_relational_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , relational : VipsOperationRelational , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_equal_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_notequal_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_less_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_lesseq_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_more_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_moreeq_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_boolean ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , boolean : VipsOperationBoolean , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_andimage ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_orimage ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_eorimage ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_lshift ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rshift ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_boolean_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , boolean : VipsOperationBoolean , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_andimage_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_orimage_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_eorimage_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_lshift_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rshift_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_boolean_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , boolean : VipsOperationBoolean , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_andimage_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_orimage_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_eorimage_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_lshift_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rshift_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_math2 ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , math2 : VipsOperationMath2 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pow ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_wop ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_atan2 ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_math2_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , math2 : VipsOperationMath2 , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pow_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_wop_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_atan2_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * const f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_math2_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , math2 : VipsOperationMath2 , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pow_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_wop_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_atan2_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_avg ( in_ : * mut VipsImage , out : * mut f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_deviate ( in_ : * mut VipsImage , out : * mut f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_min ( in_ : * mut VipsImage , out : * mut f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_max ( in_ : * mut VipsImage , out : * mut f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_stats ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_measure ( in_ : * mut VipsImage , out : * mut * mut VipsImage , h : :: std :: os :: raw :: c_int , v : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_find_trim ( in_ : * mut VipsImage , left : * mut :: std :: os :: raw :: c_int , top : * mut :: std :: os :: raw :: c_int , width : * mut :: std :: os :: raw :: c_int , height : * mut :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_getpoint ( in_ : * mut VipsImage , vector : * mut * mut f64 , n : * mut :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_find ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_find_ndim ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_find_indexed ( in_ : * mut VipsImage , index : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hough_line ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hough_circle ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_project ( in_ : * mut VipsImage , columns : * mut * mut VipsImage , rows : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_profile ( in_ : * mut VipsImage , columns : * mut * mut VipsImage , rows : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsExtend_VIPS_EXTEND_BLACK : VipsExtend = 0 ; pub const VipsExtend_VIPS_EXTEND_COPY : VipsExtend = 1 ; pub const VipsExtend_VIPS_EXTEND_REPEAT : VipsExtend = 2 ; pub const VipsExtend_VIPS_EXTEND_MIRROR : VipsExtend = 3 ; pub const VipsExtend_VIPS_EXTEND_WHITE : VipsExtend = 4 ; pub const VipsExtend_VIPS_EXTEND_BACKGROUND : VipsExtend = 5 ; pub const VipsExtend_VIPS_EXTEND_LAST : VipsExtend = 6 ; pub type VipsExtend = u32 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_CENTRE : VipsCompassDirection = 0 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_NORTH : VipsCompassDirection = 1 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_EAST : VipsCompassDirection = 2 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_SOUTH : VipsCompassDirection = 3 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_WEST : VipsCompassDirection = 4 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_NORTH_EAST : VipsCompassDirection = 5 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_SOUTH_EAST : VipsCompassDirection = 6 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_SOUTH_WEST : VipsCompassDirection = 7 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_NORTH_WEST : VipsCompassDirection = 8 ; pub const VipsCompassDirection_VIPS_COMPASS_DIRECTION_LAST : VipsCompassDirection = 9 ; pub type VipsCompassDirection = u32 ; pub const VipsDirection_VIPS_DIRECTION_HORIZONTAL : VipsDirection = 0 ; pub const VipsDirection_VIPS_DIRECTION_VERTICAL : VipsDirection = 1 ; pub const VipsDirection_VIPS_DIRECTION_LAST : VipsDirection = 2 ; pub type VipsDirection = u32 ; pub const VipsAlign_VIPS_ALIGN_LOW : VipsAlign = 0 ; pub const VipsAlign_VIPS_ALIGN_CENTRE : VipsAlign = 1 ; pub const VipsAlign_VIPS_ALIGN_HIGH : VipsAlign = 2 ; pub const VipsAlign_VIPS_ALIGN_LAST : VipsAlign = 3 ; pub type VipsAlign = u32 ; pub const VipsAngle_VIPS_ANGLE_D0 : VipsAngle = 0 ; pub const VipsAngle_VIPS_ANGLE_D90 : VipsAngle = 1 ; pub const VipsAngle_VIPS_ANGLE_D180 : VipsAngle = 2 ; pub const VipsAngle_VIPS_ANGLE_D270 : VipsAngle = 3 ; pub const VipsAngle_VIPS_ANGLE_LAST : VipsAngle = 4 ; pub type VipsAngle = u32 ; pub const VipsAngle45_VIPS_ANGLE45_D0 : VipsAngle45 = 0 ; pub const VipsAngle45_VIPS_ANGLE45_D45 : VipsAngle45 = 1 ; pub const VipsAngle45_VIPS_ANGLE45_D90 : VipsAngle45 = 2 ; pub const VipsAngle45_VIPS_ANGLE45_D135 : VipsAngle45 = 3 ; pub const VipsAngle45_VIPS_ANGLE45_D180 : VipsAngle45 = 4 ; pub const VipsAngle45_VIPS_ANGLE45_D225 : VipsAngle45 = 5 ; pub const VipsAngle45_VIPS_ANGLE45_D270 : VipsAngle45 = 6 ; pub const VipsAngle45_VIPS_ANGLE45_D315 : VipsAngle45 = 7 ; pub const VipsAngle45_VIPS_ANGLE45_LAST : VipsAngle45 = 8 ; pub type VipsAngle45 = u32 ; pub const VipsInteresting_VIPS_INTERESTING_NONE : VipsInteresting = 0 ; pub const VipsInteresting_VIPS_INTERESTING_CENTRE : VipsInteresting = 1 ; pub const VipsInteresting_VIPS_INTERESTING_ENTROPY : VipsInteresting = 2 ; pub const VipsInteresting_VIPS_INTERESTING_ATTENTION : VipsInteresting = 3 ; pub const VipsInteresting_VIPS_INTERESTING_LOW : VipsInteresting = 4 ; pub const VipsInteresting_VIPS_INTERESTING_HIGH : VipsInteresting = 5 ; pub const VipsInteresting_VIPS_INTERESTING_ALL : VipsInteresting = 6 ; pub const VipsInteresting_VIPS_INTERESTING_LAST : VipsInteresting = 7 ; pub type VipsInteresting = u32 ; pub const VipsBlendMode_VIPS_BLEND_MODE_CLEAR : VipsBlendMode = 0 ; pub const VipsBlendMode_VIPS_BLEND_MODE_SOURCE : VipsBlendMode = 1 ; pub const VipsBlendMode_VIPS_BLEND_MODE_OVER : VipsBlendMode = 2 ; pub const VipsBlendMode_VIPS_BLEND_MODE_IN : VipsBlendMode = 3 ; pub const VipsBlendMode_VIPS_BLEND_MODE_OUT : VipsBlendMode = 4 ; pub const VipsBlendMode_VIPS_BLEND_MODE_ATOP : VipsBlendMode = 5 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DEST : VipsBlendMode = 6 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DEST_OVER : VipsBlendMode = 7 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DEST_IN : VipsBlendMode = 8 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DEST_OUT : VipsBlendMode = 9 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DEST_ATOP : VipsBlendMode = 10 ; pub const VipsBlendMode_VIPS_BLEND_MODE_XOR : VipsBlendMode = 11 ; pub const VipsBlendMode_VIPS_BLEND_MODE_ADD : VipsBlendMode = 12 ; pub const VipsBlendMode_VIPS_BLEND_MODE_SATURATE : VipsBlendMode = 13 ; pub const VipsBlendMode_VIPS_BLEND_MODE_MULTIPLY : VipsBlendMode = 14 ; pub const VipsBlendMode_VIPS_BLEND_MODE_SCREEN : VipsBlendMode = 15 ; pub const VipsBlendMode_VIPS_BLEND_MODE_OVERLAY : VipsBlendMode = 16 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DARKEN : VipsBlendMode = 17 ; pub const VipsBlendMode_VIPS_BLEND_MODE_LIGHTEN : VipsBlendMode = 18 ; pub const VipsBlendMode_VIPS_BLEND_MODE_COLOUR_DODGE : VipsBlendMode = 19 ; pub const VipsBlendMode_VIPS_BLEND_MODE_COLOUR_BURN : VipsBlendMode = 20 ; pub const VipsBlendMode_VIPS_BLEND_MODE_HARD_LIGHT : VipsBlendMode = 21 ; pub const VipsBlendMode_VIPS_BLEND_MODE_SOFT_LIGHT : VipsBlendMode = 22 ; pub const VipsBlendMode_VIPS_BLEND_MODE_DIFFERENCE : VipsBlendMode = 23 ; pub const VipsBlendMode_VIPS_BLEND_MODE_EXCLUSION : VipsBlendMode = 24 ; pub const VipsBlendMode_VIPS_BLEND_MODE_LAST : VipsBlendMode = 25 ; pub type VipsBlendMode = u32 ; extern "C" { pub fn vips_copy ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tilecache ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_linecache ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sequential ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cache ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_copy_file ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_embed ( in_ : * mut VipsImage , out : * mut * mut VipsImage , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gravity ( in_ : * mut VipsImage , out : * mut * mut VipsImage , direction : VipsCompassDirection , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_flip ( in_ : * mut VipsImage , out : * mut * mut VipsImage , direction : VipsDirection , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_insert ( main : * mut VipsImage , sub : * mut VipsImage , out : * mut * mut VipsImage , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_join ( in1 : * mut VipsImage , in2 : * mut VipsImage , out : * mut * mut VipsImage , direction : VipsDirection , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_arrayjoin ( in_ : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_extract_area ( in_ : * mut VipsImage , out : * mut * mut VipsImage , left : :: std :: os :: raw :: c_int , top : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_crop ( in_ : * mut VipsImage , out : * mut * mut VipsImage , left : :: std :: os :: raw :: c_int , top : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_smartcrop ( in_ : * mut VipsImage , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_extract_band ( in_ : * mut VipsImage , out : * mut * mut VipsImage , band : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_replicate ( in_ : * mut VipsImage , out : * mut * mut VipsImage , across : :: std :: os :: raw :: c_int , down : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_grid ( in_ : * mut VipsImage , out : * mut * mut VipsImage , tile_height : :: std :: os :: raw :: c_int , across : :: std :: os :: raw :: c_int , down : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_transpose3d ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_wrap ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rot ( in_ : * mut VipsImage , out : * mut * mut VipsImage , angle : VipsAngle , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rot90 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rot180 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rot270 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rot45 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_autorot_remove_angle ( image : * mut VipsImage ) ; } extern "C" { pub fn vips_autorot ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_zoom ( in_ : * mut VipsImage , out : * mut * mut VipsImage , xfac : :: std :: os :: raw :: c_int , yfac : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_subsample ( in_ : * mut VipsImage , out : * mut * mut VipsImage , xfac : :: std :: os :: raw :: c_int , yfac : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast ( in_ : * mut VipsImage , out : * mut * mut VipsImage , format : VipsBandFormat , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_uchar ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_char ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_ushort ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_short ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_uint ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_int ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_float ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_double ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_complex ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_cast_dpcomplex ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_scale ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_msb ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_byteswap ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandjoin ( in_ : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandjoin2 ( in1 : * mut VipsImage , in2 : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandjoin_const ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : * mut f64 , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandjoin_const1 ( in_ : * mut VipsImage , out : * mut * mut VipsImage , c : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandrank ( in_ : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandfold ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandunfold ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandbool ( in_ : * mut VipsImage , out : * mut * mut VipsImage , boolean : VipsOperationBoolean , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandand ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandor ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandeor ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_bandmean ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_recomb ( in_ : * mut VipsImage , out : * mut * mut VipsImage , m : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_ifthenelse ( cond : * mut VipsImage , in1 : * mut VipsImage , in2 : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_switch ( tests : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_flatten ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_addalpha ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_premultiply ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_unpremultiply ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_composite ( in_ : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , mode : * mut :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_composite2 ( base : * mut VipsImage , overlay : * mut VipsImage , out : * mut * mut VipsImage , mode : VipsBlendMode , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_falsecolour ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gamma ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsCombine_VIPS_COMBINE_MAX : VipsCombine = 0 ; pub const VipsCombine_VIPS_COMBINE_SUM : VipsCombine = 1 ; pub const VipsCombine_VIPS_COMBINE_MIN : VipsCombine = 2 ; pub const VipsCombine_VIPS_COMBINE_LAST : VipsCombine = 3 ; pub type VipsCombine = u32 ; extern "C" { pub fn vips_conv ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_convf ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_convi ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_conva ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_convsep ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_convasep ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_compass ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gaussblur ( in_ : * mut VipsImage , out : * mut * mut VipsImage , sigma : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sharpen ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_spcor ( in_ : * mut VipsImage , ref_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_fastcor ( in_ : * mut VipsImage , ref_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sobel ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_scharr ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_prewitt ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_canny ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsOperationMorphology_VIPS_OPERATION_MORPHOLOGY_ERODE : VipsOperationMorphology = 0 ; pub const VipsOperationMorphology_VIPS_OPERATION_MORPHOLOGY_DILATE : VipsOperationMorphology = 1 ; pub const VipsOperationMorphology_VIPS_OPERATION_MORPHOLOGY_LAST : VipsOperationMorphology = 2 ; pub type VipsOperationMorphology = u32 ; extern "C" { pub fn vips_morph ( in_ : * mut VipsImage , out : * mut * mut VipsImage , mask : * mut VipsImage , morph : VipsOperationMorphology , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rank ( in_ : * mut VipsImage , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_median ( in_ : * mut VipsImage , out : * mut * mut VipsImage , size : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_countlines ( in_ : * mut VipsImage , nolines : * mut f64 , direction : VipsDirection , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_labelregions ( in_ : * mut VipsImage , mask : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_fill_nearest ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_merge ( ref_ : * mut VipsImage , sec : * mut VipsImage , out : * mut * mut VipsImage , direction : VipsDirection , dx : :: std :: os :: raw :: c_int , dy : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mosaic ( ref_ : * mut VipsImage , sec : * mut VipsImage , out : * mut * mut VipsImage , direction : VipsDirection , xref : :: std :: os :: raw :: c_int , yref : :: std :: os :: raw :: c_int , xsec : :: std :: os :: raw :: c_int , ysec : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mosaic1 ( ref_ : * mut VipsImage , sec : * mut VipsImage , out : * mut * mut VipsImage , direction : VipsDirection , xr1 : :: std :: os :: raw :: c_int , yr1 : :: std :: os :: raw :: c_int , xs1 : :: std :: os :: raw :: c_int , ys1 : :: std :: os :: raw :: c_int , xr2 : :: std :: os :: raw :: c_int , yr2 : :: std :: os :: raw :: c_int , xs2 : :: std :: os :: raw :: c_int , ys2 : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_match ( ref_ : * mut VipsImage , sec : * mut VipsImage , out : * mut * mut VipsImage , xr1 : :: std :: os :: raw :: c_int , yr1 : :: std :: os :: raw :: c_int , xs1 : :: std :: os :: raw :: c_int , ys1 : :: std :: os :: raw :: c_int , xr2 : :: std :: os :: raw :: c_int , yr2 : :: std :: os :: raw :: c_int , xs2 : :: std :: os :: raw :: c_int , ys2 : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_globalbalance ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_remosaic ( in_ : * mut VipsImage , out : * mut * mut VipsImage , old_str : * const :: std :: os :: raw :: c_char , new_str : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_matrixinvert ( m : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_maplut ( in_ : * mut VipsImage , out : * mut * mut VipsImage , lut : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_percent ( in_ : * mut VipsImage , percent : f64 , threshold : * mut :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_stdif ( in_ : * mut VipsImage , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_cum ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_norm ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_equal ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_plot ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_match ( in_ : * mut VipsImage , ref_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_local ( in_ : * mut VipsImage , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_ismonotonic ( in_ : * mut VipsImage , out : * mut gboolean , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_hist_entropy ( in_ : * mut VipsImage , out : * mut f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_case ( index : * mut VipsImage , cases : * mut * mut VipsImage , out : * mut * mut VipsImage , n : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_fwfft ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_invfft ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_freqmult ( in_ : * mut VipsImage , mask : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_spectrum ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_phasecor ( in1 : * mut VipsImage , in2 : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsKernel_VIPS_KERNEL_NEAREST : VipsKernel = 0 ; pub const VipsKernel_VIPS_KERNEL_LINEAR : VipsKernel = 1 ; pub const VipsKernel_VIPS_KERNEL_CUBIC : VipsKernel = 2 ; pub const VipsKernel_VIPS_KERNEL_MITCHELL : VipsKernel = 3 ; pub const VipsKernel_VIPS_KERNEL_LANCZOS2 : VipsKernel = 4 ; pub const VipsKernel_VIPS_KERNEL_LANCZOS3 : VipsKernel = 5 ; pub const VipsKernel_VIPS_KERNEL_LAST : VipsKernel = 6 ; pub type VipsKernel = u32 ; pub const VipsSize_VIPS_SIZE_BOTH : VipsSize = 0 ; pub const VipsSize_VIPS_SIZE_UP : VipsSize = 1 ; pub const VipsSize_VIPS_SIZE_DOWN : VipsSize = 2 ; pub const VipsSize_VIPS_SIZE_FORCE : VipsSize = 3 ; pub const VipsSize_VIPS_SIZE_LAST : VipsSize = 4 ; pub type VipsSize = u32 ; extern "C" { pub fn vips_shrink ( in_ : * mut VipsImage , out : * mut * mut VipsImage , hshrink : f64 , vshrink : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_shrinkh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , hshrink : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_shrinkv ( in_ : * mut VipsImage , out : * mut * mut VipsImage , vshrink : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_reduce ( in_ : * mut VipsImage , out : * mut * mut VipsImage , hshrink : f64 , vshrink : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_reduceh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , hshrink : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_reducev ( in_ : * mut VipsImage , out : * mut * mut VipsImage , vshrink : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_thumbnail ( filename : * const :: std :: os :: raw :: c_char , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_thumbnail_buffer ( buf : * mut :: std :: os :: raw :: c_void , len : usize , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_thumbnail_image ( in_ : * mut VipsImage , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_thumbnail_source ( source : * mut VipsSource , out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_similarity ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rotate ( in_ : * mut VipsImage , out : * mut * mut VipsImage , angle : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_affine ( in_ : * mut VipsImage , out : * mut * mut VipsImage , a : f64 , b : f64 , c : f64 , d : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_resize ( in_ : * mut VipsImage , out : * mut * mut VipsImage , scale : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mapim ( in_ : * mut VipsImage , out : * mut * mut VipsImage , index : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_quadratic ( in_ : * mut VipsImage , out : * mut * mut VipsImage , coeff : * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsIntent_VIPS_INTENT_PERCEPTUAL : VipsIntent = 0 ; pub const VipsIntent_VIPS_INTENT_RELATIVE : VipsIntent = 1 ; pub const VipsIntent_VIPS_INTENT_SATURATION : VipsIntent = 2 ; pub const VipsIntent_VIPS_INTENT_ABSOLUTE : VipsIntent = 3 ; pub const VipsIntent_VIPS_INTENT_LAST : VipsIntent = 4 ; pub type VipsIntent = u32 ; pub const VipsPCS_VIPS_PCS_LAB : VipsPCS = 0 ; pub const VipsPCS_VIPS_PCS_XYZ : VipsPCS = 1 ; pub const VipsPCS_VIPS_PCS_LAST : VipsPCS = 2 ; pub type VipsPCS = u32 ; extern "C" { pub fn vips_colourspace_issupported ( image : * const VipsImage ) -> gboolean ; } extern "C" { pub fn vips_colourspace ( in_ : * mut VipsImage , out : * mut * mut VipsImage , space : VipsInterpretation , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LabQ2sRGB ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_rad2float ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_float2rad ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LabS2LabQ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LabQ2LabS ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LabQ2Lab ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_Lab2LabQ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LCh2Lab ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_Lab2LCh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_Yxy2Lab ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_CMC2XYZ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_Lab2XYZ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_XYZ2Lab ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_XYZ2scRGB ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_scRGB2sRGB ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_scRGB2BW ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sRGB2scRGB ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_scRGB2XYZ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_HSV2sRGB ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sRGB2HSV ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LCh2CMC ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_CMC2LCh ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_XYZ2Yxy ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_Yxy2XYZ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_LabS2Lab ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_Lab2LabS ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_CMYK2XYZ ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_XYZ2CMYK ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_profile_load ( name : * const :: std :: os :: raw :: c_char , profile : * mut * mut VipsBlob , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_icc_present ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_icc_transform ( in_ : * mut VipsImage , out : * mut * mut VipsImage , output_profile : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_icc_import ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_icc_export ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_icc_ac2rc ( in_ : * mut VipsImage , out : * mut * mut VipsImage , profile_filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_icc_is_compatible_profile ( image : * mut VipsImage , data : * const :: std :: os :: raw :: c_void , data_length : usize ) -> gboolean ; } extern "C" { pub fn vips_dE76 ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_dE00 ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_dECMC ( left : * mut VipsImage , right : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_Lab2XYZ ( L : f32 , a : f32 , b : f32 , X : * mut f32 , Y : * mut f32 , Z : * mut f32 ) ; } extern "C" { pub fn vips_col_XYZ2Lab ( X : f32 , Y : f32 , Z : f32 , L : * mut f32 , a : * mut f32 , b : * mut f32 ) ; } extern "C" { pub fn vips_col_ab2h ( a : f64 , b : f64 ) -> f64 ; } extern "C" { pub fn vips_col_ab2Ch ( a : f32 , b : f32 , C : * mut f32 , h : * mut f32 ) ; } extern "C" { pub fn vips_col_Ch2ab ( C : f32 , h : f32 , a : * mut f32 , b : * mut f32 ) ; } extern "C" { pub fn vips_col_L2Lcmc ( L : f32 ) -> f32 ; } extern "C" { pub fn vips_col_C2Ccmc ( C : f32 ) -> f32 ; } extern "C" { pub fn vips_col_Ch2hcmc ( C : f32 , h : f32 ) -> f32 ; } extern "C" { pub fn vips_col_make_tables_CMC ( ) ; } extern "C" { pub fn vips_col_Lcmc2L ( Lcmc : f32 ) -> f32 ; } extern "C" { pub fn vips_col_Ccmc2C ( Ccmc : f32 ) -> f32 ; } extern "C" { pub fn vips_col_Chcmc2h ( C : f32 , hcmc : f32 ) -> f32 ; } extern "C" { pub fn vips_col_sRGB2scRGB_8 ( r : :: std :: os :: raw :: c_int , g : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int , R : * mut f32 , G : * mut f32 , B : * mut f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_sRGB2scRGB_16 ( r : :: std :: os :: raw :: c_int , g : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int , R : * mut f32 , G : * mut f32 , B : * mut f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_sRGB2scRGB_8_noclip ( r : :: std :: os :: raw :: c_int , g : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int , R : * mut f32 , G : * mut f32 , B : * mut f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_sRGB2scRGB_16_noclip ( r : :: std :: os :: raw :: c_int , g : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int , R : * mut f32 , G : * mut f32 , B : * mut f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_scRGB2XYZ ( R : f32 , G : f32 , B : f32 , X : * mut f32 , Y : * mut f32 , Z : * mut f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_XYZ2scRGB ( X : f32 , Y : f32 , Z : f32 , R : * mut f32 , G : * mut f32 , B : * mut f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_scRGB2sRGB_8 ( R : f32 , G : f32 , B : f32 , r : * mut :: std :: os :: raw :: c_int , g : * mut :: std :: os :: raw :: c_int , b : * mut :: std :: os :: raw :: c_int , og : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_scRGB2sRGB_16 ( R : f32 , G : f32 , B : f32 , r : * mut :: std :: os :: raw :: c_int , g : * mut :: std :: os :: raw :: c_int , b : * mut :: std :: os :: raw :: c_int , og : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_scRGB2BW_16 ( R : f32 , G : f32 , B : f32 , g : * mut :: std :: os :: raw :: c_int , og : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_col_scRGB2BW_8 ( R : f32 , G : f32 , B : f32 , g : * mut :: std :: os :: raw :: c_int , og : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_pythagoras ( L1 : f32 , a1 : f32 , b1 : f32 , L2 : f32 , a2 : f32 , b2 : f32 ) -> f32 ; } extern "C" { pub fn vips_col_dE00 ( L1 : f32 , a1 : f32 , b1 : f32 , L2 : f32 , a2 : f32 , b2 : f32 ) -> f32 ; } pub const VipsCombineMode_VIPS_COMBINE_MODE_SET : VipsCombineMode = 0 ; pub const VipsCombineMode_VIPS_COMBINE_MODE_ADD : VipsCombineMode = 1 ; pub const VipsCombineMode_VIPS_COMBINE_MODE_LAST : VipsCombineMode = 2 ; pub type VipsCombineMode = u32 ; extern "C" { pub fn vips_draw_rect ( image : * mut VipsImage , ink : * mut f64 , n : :: std :: os :: raw :: c_int , left : :: std :: os :: raw :: c_int , top : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_rect1 ( image : * mut VipsImage , ink : f64 , left : :: std :: os :: raw :: c_int , top : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_point ( image : * mut VipsImage , ink : * mut f64 , n : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_point1 ( image : * mut VipsImage , ink : f64 , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_image ( image : * mut VipsImage , sub : * mut VipsImage , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_mask ( image : * mut VipsImage , ink : * mut f64 , n : :: std :: os :: raw :: c_int , mask : * mut VipsImage , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_mask1 ( image : * mut VipsImage , ink : f64 , mask : * mut VipsImage , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_line ( image : * mut VipsImage , ink : * mut f64 , n : :: std :: os :: raw :: c_int , x1 : :: std :: os :: raw :: c_int , y1 : :: std :: os :: raw :: c_int , x2 : :: std :: os :: raw :: c_int , y2 : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_line1 ( image : * mut VipsImage , ink : f64 , x1 : :: std :: os :: raw :: c_int , y1 : :: std :: os :: raw :: c_int , x2 : :: std :: os :: raw :: c_int , y2 : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_circle ( image : * mut VipsImage , ink : * mut f64 , n : :: std :: os :: raw :: c_int , cx : :: std :: os :: raw :: c_int , cy : :: std :: os :: raw :: c_int , radius : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_circle1 ( image : * mut VipsImage , ink : f64 , cx : :: std :: os :: raw :: c_int , cy : :: std :: os :: raw :: c_int , radius : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_flood ( image : * mut VipsImage , ink : * mut f64 , n : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_flood1 ( image : * mut VipsImage , ink : f64 , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_draw_smudge ( image : * mut VipsImage , left : :: std :: os :: raw :: c_int , top : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } pub const VipsTextWrap_VIPS_TEXT_WRAP_WORD : VipsTextWrap = 0 ; pub const VipsTextWrap_VIPS_TEXT_WRAP_CHAR : VipsTextWrap = 1 ; pub const VipsTextWrap_VIPS_TEXT_WRAP_WORD_CHAR : VipsTextWrap = 2 ; pub const VipsTextWrap_VIPS_TEXT_WRAP_NONE : VipsTextWrap = 3 ; pub const VipsTextWrap_VIPS_TEXT_WRAP_LAST : VipsTextWrap = 4 ; pub type VipsTextWrap = u32 ; extern "C" { pub fn vips_black ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_xyz ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_grey ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gaussmat ( out : * mut * mut VipsImage , sigma : f64 , min_ampl : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_logmat ( out : * mut * mut VipsImage , sigma : f64 , min_ampl : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_text ( out : * mut * mut VipsImage , text : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_gaussnoise ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_eye ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_sines ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_zone ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_identity ( out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_buildlut ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_invertlut ( in_ : * mut VipsImage , out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_tonelut ( out : * mut * mut VipsImage , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_ideal ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , frequency_cutoff : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_ideal_ring ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , frequency_cutoff : f64 , ringwidth : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_ideal_band ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , frequency_cutoff_x : f64 , frequency_cutoff_y : f64 , radius : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_butterworth ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , order : f64 , frequency_cutoff : f64 , amplitude_cutoff : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_butterworth_ring ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , order : f64 , frequency_cutoff : f64 , amplitude_cutoff : f64 , ringwidth : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_butterworth_band ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , order : f64 , frequency_cutoff_x : f64 , frequency_cutoff_y : f64 , radius : f64 , amplitude_cutoff : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_gaussian ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , frequency_cutoff : f64 , amplitude_cutoff : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_gaussian_ring ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , frequency_cutoff : f64 , amplitude_cutoff : f64 , ringwidth : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_gaussian_band ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , frequency_cutoff_x : f64 , frequency_cutoff_y : f64 , radius : f64 , amplitude_cutoff : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_mask_fractal ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , fractal_dimension : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_fractsurf ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , fractal_dimension : f64 , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_worley ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_perlin ( out : * mut * mut VipsImage , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_video_v4l1 ( im : * mut VipsImage , device : * const :: std :: os :: raw :: c_char , channel : :: std :: os :: raw :: c_int , brightness : :: std :: os :: raw :: c_int , colour : :: std :: os :: raw :: c_int , contrast : :: std :: os :: raw :: c_int , hue : :: std :: os :: raw :: c_int , ngrabs : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn im_video_test ( im : * mut VipsImage , brightness : :: std :: os :: raw :: c_int , error : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_init ( argv0 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_get_argv0 ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_get_prgname ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_shutdown ( ) ; } extern "C" { pub fn vips_thread_shutdown ( ) ; } extern "C" { pub fn vips_add_option_entries ( option_group : * mut GOptionGroup ) ; } extern "C" { pub fn vips_leak_set ( leak : gboolean ) ; } extern "C" { pub fn vips_block_untrusted_set ( state : gboolean ) ; } extern "C" { pub fn vips_version_string ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_version ( flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vips_guess_prefix ( argv0 : * const :: std :: os :: raw :: c_char , env_name : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn vips_guess_libdir ( argv0 : * const :: std :: os :: raw :: c_char , env_name : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } # [ 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] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [WARN] too much data in the log, truncating it