[INFO] fetching crate rayfork-sys 0.0.1... [INFO] checking rayfork-sys-0.0.1 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate rayfork-sys 0.0.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate rayfork-sys 0.0.1 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate rayfork-sys 0.0.1 [INFO] finished tweaking crates.io crate rayfork-sys 0.0.1 [INFO] tweaked toml for crates.io crate rayfork-sys 0.0.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b8396499d5c08a0a396f8e12e406d6b70bf41f6960c8ac4838c816922e57a249 [INFO] running `"docker" "start" "-a" "b8396499d5c08a0a396f8e12e406d6b70bf41f6960c8ac4838c816922e57a249"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rayfork-sys v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0428]: the name `FP_NAN` is defined multiple times [INFO] [stderr] --> /opt/rustwide/target/debug/build/rayfork-sys-ea336cab987eacc3/out/bindings.rs:3:414659 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = -128 ; pub const INT16_MIN : i32 = -32768 ; pub const INT32_MIN : i32 = -2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = -128 ; pub const INT_LEAST16_MIN : i32 = -32768 ; pub const INT_LEAST32_MIN : i32 = -2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = -128 ; pub const INT_FAST16_MIN : i64 = -9223372036854775808 ; pub const INT_FAST32_MIN : i64 = -9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = -1 ; pub const UINT_FAST32_MAX : i32 = -1 ; pub const INTPTR_MIN : i64 = -9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = -1 ; pub const PTRDIFF_MIN : i64 = -9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = -2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = -1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub const KHRONOS_SUPPORT_INT64 : u32 = 1 ; pub const KHRONOS_SUPPORT_FLOAT : u32 = 1 ; pub const KHRONOS_MAX_ENUM : u32 = 2147483647 ; pub const GL_DEPTH_BUFFER_BIT : u32 = 256 ; pub const GL_STENCIL_BUFFER_BIT : u32 = 1024 ; pub const GL_COLOR_BUFFER_BIT : u32 = 16384 ; pub const GL_FALSE : u32 = 0 ; pub const GL_TRUE : u32 = 1 ; pub const GL_POINTS : u32 = 0 ; pub const GL_LINES : u32 = 1 ; pub const GL_LINE_LOOP : u32 = 2 ; pub const GL_LINE_STRIP : u32 = 3 ; pub const GL_TRIANGLES : u32 = 4 ; pub const GL_TRIANGLE_STRIP : u32 = 5 ; pub const GL_TRIANGLE_FAN : u32 = 6 ; pub const GL_QUADS : u32 = 7 ; pub const GL_NEVER : u32 = 512 ; pub const GL_LESS : u32 = 513 ; pub const GL_EQUAL : u32 = 514 ; pub const GL_LEQUAL : u32 = 515 ; pub const GL_GREATER : u32 = 516 ; pub const GL_NOTEQUAL : u32 = 517 ; pub const GL_GEQUAL : u32 = 518 ; pub const GL_ALWAYS : u32 = 519 ; pub const GL_ZERO : u32 = 0 ; pub const GL_ONE : u32 = 1 ; pub const GL_SRC_COLOR : u32 = 768 ; pub const GL_ONE_MINUS_SRC_COLOR : u32 = 769 ; pub const GL_SRC_ALPHA : u32 = 770 ; pub const GL_ONE_MINUS_SRC_ALPHA : u32 = 771 ; pub const GL_DST_ALPHA : u32 = 772 ; pub const GL_ONE_MINUS_DST_ALPHA : u32 = 773 ; pub const GL_DST_COLOR : u32 = 774 ; pub const GL_ONE_MINUS_DST_COLOR : u32 = 775 ; pub const GL_SRC_ALPHA_SATURATE : u32 = 776 ; pub const GL_NONE : u32 = 0 ; pub const GL_FRONT_LEFT : u32 = 1024 ; pub const GL_FRONT_RIGHT : u32 = 1025 ; pub const GL_BACK_LEFT : u32 = 1026 ; pub const GL_BACK_RIGHT : u32 = 1027 ; pub const GL_FRONT : u32 = 1028 ; pub const GL_BACK : u32 = 1029 ; pub const GL_LEFT : u32 = 1030 ; pub const GL_RIGHT : u32 = 1031 ; pub const GL_FRONT_AND_BACK : u32 = 1032 ; pub const GL_NO_ERROR : u32 = 0 ; pub const GL_INVALID_ENUM : u32 = 1280 ; pub const GL_INVALID_VALUE : u32 = 1281 ; pub const GL_INVALID_OPERATION : u32 = 1282 ; pub const GL_OUT_OF_MEMORY : u32 = 1285 ; pub const GL_CW : u32 = 2304 ; pub const GL_CCW : u32 = 2305 ; pub const GL_POINT_SIZE : u32 = 2833 ; pub const GL_POINT_SIZE_RANGE : u32 = 2834 ; pub const GL_POINT_SIZE_GRANULARITY : u32 = 2835 ; pub const GL_LINE_SMOOTH : u32 = 2848 ; pub const GL_LINE_WIDTH : u32 = 2849 ; pub const GL_LINE_WIDTH_RANGE : u32 = 2850 ; pub const GL_LINE_WIDTH_GRANULARITY : u32 = 2851 ; pub const GL_POLYGON_MODE : u32 = 2880 ; pub const GL_POLYGON_SMOOTH : u32 = 2881 ; pub const GL_CULL_FACE : u32 = 2884 ; pub const GL_CULL_FACE_MODE : u32 = 2885 ; pub const GL_FRONT_FACE : u32 = 2886 ; pub const GL_DEPTH_RANGE : u32 = 2928 ; pub const GL_DEPTH_TEST : u32 = 2929 ; pub const GL_DEPTH_WRITEMASK : u32 = 2930 ; pub const GL_DEPTH_CLEAR_VALUE : u32 = 2931 ; pub const GL_DEPTH_FUNC : u32 = 2932 ; pub const GL_STENCIL_TEST : u32 = 2960 ; pub const GL_STENCIL_CLEAR_VALUE : u32 = 2961 ; pub const GL_STENCIL_FUNC : u32 = 2962 ; pub const GL_STENCIL_VALUE_MASK : u32 = 2963 ; pub const GL_STENCIL_FAIL : u32 = 2964 ; pub const GL_STENCIL_PASS_DEPTH_FAIL : u32 = 2965 ; pub const GL_STENCIL_PASS_DEPTH_PASS : u32 = 2966 ; pub const GL_STENCIL_REF : u32 = 2967 ; pub const GL_STENCIL_WRITEMASK : u32 = 2968 ; pub const GL_VIEWPORT : u32 = 2978 ; pub const GL_DITHER : u32 = 3024 ; pub const GL_BLEND_DST : u32 = 3040 ; pub const GL_BLEND_SRC : u32 = 3041 ; pub const GL_BLEND : u32 = 3042 ; pub const GL_LOGIC_OP_MODE : u32 = 3056 ; pub const GL_DRAW_BUFFER : u32 = 3073 ; pub const GL_READ_BUFFER : u32 = 3074 ; pub const GL_SCISSOR_BOX : u32 = 3088 ; pub const GL_SCISSOR_TEST : u32 = 3089 ; pub const GL_COLOR_CLEAR_VALUE : u32 = 3106 ; pub const GL_COLOR_WRITEMASK : u32 = 3107 ; pub const GL_DOUBLEBUFFER : u32 = 3122 ; pub const GL_STEREO : u32 = 3123 ; pub const GL_LINE_SMOOTH_HINT : u32 = 3154 ; pub const GL_POLYGON_SMOOTH_HINT : u32 = 3155 ; pub const GL_UNPACK_SWAP_BYTES : u32 = 3312 ; pub const GL_UNPACK_LSB_FIRST : u32 = 3313 ; pub const GL_UNPACK_ROW_LENGTH : u32 = 3314 ; pub const GL_UNPACK_SKIP_ROWS : u32 = 3315 ; pub const GL_UNPACK_SKIP_PIXELS : u32 = 3316 ; pub const GL_UNPACK_ALIGNMENT : u32 = 3317 ; pub const GL_PACK_SWAP_BYTES : u32 = 3328 ; pub const GL_PACK_LSB_FIRST : u32 = 3329 ; pub const GL_PACK_ROW_LENGTH : u32 = 3330 ; pub const GL_PACK_SKIP_ROWS : u32 = 3331 ; pub const GL_PACK_SKIP_PIXELS : u32 = 3332 ; pub const GL_PACK_ALIGNMENT : u32 = 3333 ; pub const GL_MAX_TEXTURE_SIZE : u32 = 3379 ; pub const GL_MAX_VIEWPORT_DIMS : u32 = 3386 ; pub const GL_SUBPIXEL_BITS : u32 = 3408 ; pub const GL_TEXTURE_1D : u32 = 3552 ; pub const GL_TEXTURE_2D : u32 = 3553 ; pub const GL_TEXTURE_WIDTH : u32 = 4096 ; pub const GL_TEXTURE_HEIGHT : u32 = 4097 ; pub const GL_TEXTURE_BORDER_COLOR : u32 = 4100 ; pub const GL_DONT_CARE : u32 = 4352 ; pub const GL_FASTEST : u32 = 4353 ; pub const GL_NICEST : u32 = 4354 ; pub const GL_BYTE : u32 = 5120 ; pub const GL_UNSIGNED_BYTE : u32 = 5121 ; pub const GL_SHORT : u32 = 5122 ; pub const GL_UNSIGNED_SHORT : u32 = 5123 ; pub const GL_INT : u32 = 5124 ; pub const GL_UNSIGNED_INT : u32 = 5125 ; pub const GL_FLOAT : u32 = 5126 ; pub const GL_STACK_OVERFLOW : u32 = 1283 ; pub const GL_STACK_UNDERFLOW : u32 = 1284 ; pub const GL_CLEAR : u32 = 5376 ; pub const GL_AND : u32 = 5377 ; pub const GL_AND_REVERSE : u32 = 5378 ; pub const GL_COPY : u32 = 5379 ; pub const GL_AND_INVERTED : u32 = 5380 ; pub const GL_NOOP : u32 = 5381 ; pub const GL_XOR : u32 = 5382 ; pub const GL_OR : u32 = 5383 ; pub const GL_NOR : u32 = 5384 ; pub const GL_EQUIV : u32 = 5385 ; pub const GL_INVERT : u32 = 5386 ; pub const GL_OR_REVERSE : u32 = 5387 ; pub const GL_COPY_INVERTED : u32 = 5388 ; pub const GL_OR_INVERTED : u32 = 5389 ; pub const GL_NAND : u32 = 5390 ; pub const GL_SET : u32 = 5391 ; pub const GL_TEXTURE : u32 = 5890 ; pub const GL_COLOR : u32 = 6144 ; pub const GL_DEPTH : u32 = 6145 ; pub const GL_STENCIL : u32 = 6146 ; pub const GL_STENCIL_INDEX : u32 = 6401 ; pub const GL_DEPTH_COMPONENT : u32 = 6402 ; pub const GL_RED : u32 = 6403 ; pub const GL_GREEN : u32 = 6404 ; pub const GL_BLUE : u32 = 6405 ; pub const GL_ALPHA : u32 = 6406 ; pub const GL_RGB : u32 = 6407 ; pub const GL_RGBA : u32 = 6408 ; pub const GL_POINT : u32 = 6912 ; pub const GL_LINE : u32 = 6913 ; pub const GL_FILL : u32 = 6914 ; pub const GL_KEEP : u32 = 7680 ; pub const GL_REPLACE : u32 = 7681 ; pub const GL_INCR : u32 = 7682 ; pub const GL_DECR : u32 = 7683 ; pub const GL_VENDOR : u32 = 7936 ; pub const GL_RENDERER : u32 = 7937 ; pub const GL_VERSION : u32 = 7938 ; pub const GL_EXTENSIONS : u32 = 7939 ; pub const GL_NEAREST : u32 = 9728 ; pub const GL_LINEAR : u32 = 9729 ; pub const GL_NEAREST_MIPMAP_NEAREST : u32 = 9984 ; pub const GL_LINEAR_MIPMAP_NEAREST : u32 = 9985 ; pub const GL_NEAREST_MIPMAP_LINEAR : u32 = 9986 ; pub const GL_LINEAR_MIPMAP_LINEAR : u32 = 9987 ; pub const GL_TEXTURE_MAG_FILTER : u32 = 10240 ; pub const GL_TEXTURE_MIN_FILTER : u32 = 10241 ; pub const GL_TEXTURE_WRAP_S : u32 = 10242 ; pub const GL_TEXTURE_WRAP_T : u32 = 10243 ; pub const GL_REPEAT : u32 = 10497 ; pub const GL_CURRENT_BIT : u32 = 1 ; pub const GL_POINT_BIT : u32 = 2 ; pub const GL_LINE_BIT : u32 = 4 ; pub const GL_POLYGON_BIT : u32 = 8 ; pub const GL_POLYGON_STIPPLE_BIT : u32 = 16 ; pub const GL_PIXEL_MODE_BIT : u32 = 32 ; pub const GL_LIGHTING_BIT : u32 = 64 ; pub const GL_FOG_BIT : u32 = 128 ; pub const GL_ACCUM_BUFFER_BIT : u32 = 512 ; pub const GL_VIEWPORT_BIT : u32 = 2048 ; pub const GL_TRANSFORM_BIT : u32 = 4096 ; pub const GL_ENABLE_BIT : u32 = 8192 ; pub const GL_HINT_BIT : u32 = 32768 ; pub const GL_EVAL_BIT : u32 = 65536 ; pub const GL_LIST_BIT : u32 = 131072 ; pub const GL_TEXTURE_BIT : u32 = 262144 ; pub const GL_SCISSOR_BIT : u32 = 524288 ; pub const GL_ALL_ATTRIB_BITS : u32 = 4294967295 ; pub const GL_QUAD_STRIP : u32 = 8 ; pub const GL_POLYGON : u32 = 9 ; pub const GL_ACCUM : u32 = 256 ; pub const GL_LOAD : u32 = 257 ; pub const GL_RETURN : u32 = 258 ; pub const GL_MULT : u32 = 259 ; pub const GL_ADD : u32 = 260 ; pub const GL_AUX0 : u32 = 1033 ; pub const GL_AUX1 : u32 = 1034 ; pub const GL_AUX2 : u32 = 1035 ; pub const GL_AUX3 : u32 = 1036 ; pub const GL_2D : u32 = 1536 ; pub const GL_3D : u32 = 1537 ; pub const GL_3D_COLOR : u32 = 1538 ; pub const GL_3D_COLOR_TEXTURE : u32 = 1539 ; pub const GL_4D_COLOR_TEXTURE : u32 = 1540 ; pub const GL_PASS_THROUGH_TOKEN : u32 = 1792 ; pub const GL_POINT_TOKEN : u32 = 1793 ; pub const GL_LINE_TOKEN : u32 = 1794 ; pub const GL_POLYGON_TOKEN : u32 = 1795 ; pub const GL_BITMAP_TOKEN : u32 = 1796 ; pub const GL_DRAW_PIXEL_TOKEN : u32 = 1797 ; pub const GL_COPY_PIXEL_TOKEN : u32 = 1798 ; pub const GL_LINE_RESET_TOKEN : u32 = 1799 ; pub const GL_EXP : u32 = 2048 ; pub const GL_EXP2 : u32 = 2049 ; pub const GL_COEFF : u32 = 2560 ; pub const GL_ORDER : u32 = 2561 ; pub const GL_DOMAIN : u32 = 2562 ; pub const GL_PIXEL_MAP_I_TO_I : u32 = 3184 ; pub const GL_PIXEL_MAP_S_TO_S : u32 = 3185 ; pub const GL_PIXEL_MAP_I_TO_R : u32 = 3186 ; pub const GL_PIXEL_MAP_I_TO_G : u32 = 3187 ; pub const GL_PIXEL_MAP_I_TO_B : u32 = 3188 ; pub const GL_PIXEL_MAP_I_TO_A : u32 = 3189 ; pub const GL_PIXEL_MAP_R_TO_R : u32 = 3190 ; pub const GL_PIXEL_MAP_G_TO_G : u32 = 3191 ; pub const GL_PIXEL_MAP_B_TO_B : u32 = 3192 ; pub const GL_PIXEL_MAP_A_TO_A : u32 = 3193 ; pub const GL_CURRENT_COLOR : u32 = 2816 ; pub const GL_CURRENT_INDEX : u32 = 2817 ; pub const GL_CURRENT_NORMAL : u32 = 2818 ; pub const GL_CURRENT_TEXTURE_COORDS : u32 = 2819 ; pub const GL_CURRENT_RASTER_COLOR : u32 = 2820 ; pub const GL_CURRENT_RASTER_INDEX : u32 = 2821 ; pub const GL_CURRENT_RASTER_TEXTURE_COORDS : u32 = 2822 ; pub const GL_CURRENT_RASTER_POSITION : u32 = 2823 ; pub const GL_CURRENT_RASTER_POSITION_VALID : u32 = 2824 ; pub const GL_CURRENT_RASTER_DISTANCE : u32 = 2825 ; pub const GL_POINT_SMOOTH : u32 = 2832 ; pub const GL_LINE_STIPPLE : u32 = 2852 ; pub const GL_LINE_STIPPLE_PATTERN : u32 = 2853 ; pub const GL_LINE_STIPPLE_REPEAT : u32 = 2854 ; pub const GL_LIST_MODE : u32 = 2864 ; pub const GL_MAX_LIST_NESTING : u32 = 2865 ; pub const GL_LIST_BASE : u32 = 2866 ; pub const GL_LIST_INDEX : u32 = 2867 ; pub const GL_POLYGON_STIPPLE : u32 = 2882 ; pub const GL_EDGE_FLAG : u32 = 2883 ; pub const GL_LIGHTING : u32 = 2896 ; pub const GL_LIGHT_MODEL_LOCAL_VIEWER : u32 = 2897 ; pub const GL_LIGHT_MODEL_TWO_SIDE : u32 = 2898 ; pub const GL_LIGHT_MODEL_AMBIENT : u32 = 2899 ; pub const GL_SHADE_MODEL : u32 = 2900 ; pub const GL_COLOR_MATERIAL_FACE : u32 = 2901 ; pub const GL_COLOR_MATERIAL_PARAMETER : u32 = 2902 ; pub const GL_COLOR_MATERIAL : u32 = 2903 ; pub const GL_FOG : u32 = 2912 ; pub const GL_FOG_INDEX : u32 = 2913 ; pub const GL_FOG_DENSITY : u32 = 2914 ; pub const GL_FOG_START : u32 = 2915 ; pub const GL_FOG_END : u32 = 2916 ; pub const GL_FOG_MODE : u32 = 2917 ; pub const GL_FOG_COLOR : u32 = 2918 ; pub const GL_ACCUM_CLEAR_VALUE : u32 = 2944 ; pub const GL_MATRIX_MODE : u32 = 2976 ; pub const GL_NORMALIZE : u32 = 2977 ; pub const GL_MODELVIEW_STACK_DEPTH : u32 = 2979 ; pub const GL_PROJECTION_STACK_DEPTH : u32 = 2980 ; pub const GL_TEXTURE_STACK_DEPTH : u32 = 2981 ; pub const GL_MODELVIEW_MATRIX : u32 = 2982 ; pub const GL_PROJECTION_MATRIX : u32 = 2983 ; pub const GL_TEXTURE_MATRIX : u32 = 2984 ; pub const GL_ATTRIB_STACK_DEPTH : u32 = 2992 ; pub const GL_ALPHA_TEST : u32 = 3008 ; pub const GL_ALPHA_TEST_FUNC : u32 = 3009 ; pub const GL_ALPHA_TEST_REF : u32 = 3010 ; pub const GL_LOGIC_OP : u32 = 3057 ; pub const GL_AUX_BUFFERS : u32 = 3072 ; pub const GL_INDEX_CLEAR_VALUE : u32 = 3104 ; pub const GL_INDEX_WRITEMASK : u32 = 3105 ; pub const GL_INDEX_MODE : u32 = 3120 ; pub const GL_RGBA_MODE : u32 = 3121 ; pub const GL_RENDER_MODE : u32 = 3136 ; pub const GL_PERSPECTIVE_CORRECTION_HINT : u32 = 3152 ; pub const GL_POINT_SMOOTH_HINT : u32 = 3153 ; pub const GL_FOG_HINT : u32 = 3156 ; pub const GL_TEXTURE_GEN_S : u32 = 3168 ; pub const GL_TEXTURE_GEN_T : u32 = 3169 ; pub const GL_TEXTURE_GEN_R : u32 = 3170 ; pub const GL_TEXTURE_GEN_Q : u32 = 3171 ; pub const GL_PIXEL_MAP_I_TO_I_SIZE : u32 = 3248 ; pub const GL_PIXEL_MAP_S_TO_S_SIZE : u32 = 3249 ; pub const GL_PIXEL_MAP_I_TO_R_SIZE : u32 = 3250 ; pub const GL_PIXEL_MAP_I_TO_G_SIZE : u32 = 3251 ; pub const GL_PIXEL_MAP_I_TO_B_SIZE : u32 = 3252 ; pub const GL_PIXEL_MAP_I_TO_A_SIZE : u32 = 3253 ; pub const GL_PIXEL_MAP_R_TO_R_SIZE : u32 = 3254 ; pub const GL_PIXEL_MAP_G_TO_G_SIZE : u32 = 3255 ; pub const GL_PIXEL_MAP_B_TO_B_SIZE : u32 = 3256 ; pub const GL_PIXEL_MAP_A_TO_A_SIZE : u32 = 3257 ; pub const GL_MAP_COLOR : u32 = 3344 ; pub const GL_MAP_STENCIL : u32 = 3345 ; pub const GL_INDEX_SHIFT : u32 = 3346 ; pub const GL_INDEX_OFFSET : u32 = 3347 ; pub const GL_RED_SCALE : u32 = 3348 ; pub const GL_RED_BIAS : u32 = 3349 ; pub const GL_ZOOM_X : u32 = 3350 ; pub const GL_ZOOM_Y : u32 = 3351 ; pub const GL_GREEN_SCALE : u32 = 3352 ; pub const GL_GREEN_BIAS : u32 = 3353 ; pub const GL_BLUE_SCALE : u32 = 3354 ; pub const GL_BLUE_BIAS : u32 = 3355 ; pub const GL_ALPHA_SCALE : u32 = 3356 ; pub const GL_ALPHA_BIAS : u32 = 3357 ; pub const GL_DEPTH_SCALE : u32 = 3358 ; pub const GL_DEPTH_BIAS : u32 = 3359 ; pub const GL_MAX_EVAL_ORDER : u32 = 3376 ; pub const GL_MAX_LIGHTS : u32 = 3377 ; pub const GL_MAX_CLIP_PLANES : u32 = 3378 ; pub const GL_MAX_PIXEL_MAP_TABLE : u32 = 3380 ; pub const GL_MAX_ATTRIB_STACK_DEPTH : u32 = 3381 ; pub const GL_MAX_MODELVIEW_STACK_DEPTH : u32 = 3382 ; pub const GL_MAX_NAME_STACK_DEPTH : u32 = 3383 ; pub const GL_MAX_PROJECTION_STACK_DEPTH : u32 = 3384 ; pub const GL_MAX_TEXTURE_STACK_DEPTH : u32 = 3385 ; pub const GL_INDEX_BITS : u32 = 3409 ; pub const GL_RED_BITS : u32 = 3410 ; pub const GL_GREEN_BITS : u32 = 3411 ; pub const GL_BLUE_BITS : u32 = 3412 ; pub const GL_ALPHA_BITS : u32 = 3413 ; pub const GL_DEPTH_BITS : u32 = 3414 ; pub const GL_STENCIL_BITS : u32 = 3415 ; pub const GL_ACCUM_RED_BITS : u32 = 3416 ; pub const GL_ACCUM_GREEN_BITS : u32 = 3417 ; pub const GL_ACCUM_BLUE_BITS : u32 = 3418 ; pub const GL_ACCUM_ALPHA_BITS : u32 = 3419 ; pub const GL_NAME_STACK_DEPTH : u32 = 3440 ; pub const GL_AUTO_NORMAL : u32 = 3456 ; pub const GL_MAP1_COLOR_4 : u32 = 3472 ; pub const GL_MAP1_INDEX : u32 = 3473 ; pub const GL_MAP1_NORMAL : u32 = 3474 ; pub const GL_MAP1_TEXTURE_COORD_1 : u32 = 3475 ; pub const GL_MAP1_TEXTURE_COORD_2 : u32 = 3476 ; pub const GL_MAP1_TEXTURE_COORD_3 : u32 = 3477 ; pub const GL_MAP1_TEXTURE_COORD_4 : u32 = 3478 ; pub const GL_MAP1_VERTEX_3 : u32 = 3479 ; pub const GL_MAP1_VERTEX_4 : u32 = 3480 ; pub const GL_MAP2_COLOR_4 : u32 = 3504 ; pub const GL_MAP2_INDEX : u32 = 3505 ; pub const GL_MAP2_NORMAL : u32 = 3506 ; pub const GL_MAP2_TEXTURE_COORD_1 : u32 = 3507 ; pub const GL_MAP2_TEXTURE_COORD_2 : u32 = 3508 ; pub const GL_MAP2_TEXTURE_COORD_3 : u32 = 3509 ; pub const GL_MAP2_TEXTURE_COORD_4 : u32 = 3510 ; pub const GL_MAP2_VERTEX_3 : u32 = 3511 ; pub const GL_MAP2_VERTEX_4 : u32 = 3512 ; pub const GL_MAP1_GRID_DOMAIN : u32 = 3536 ; pub const GL_MAP1_GRID_SEGMENTS : u32 = 3537 ; pub const GL_MAP2_GRID_DOMAIN : u32 = 3538 ; pub const GL_MAP2_GRID_SEGMENTS : u32 = 3539 ; pub const GL_TEXTURE_COMPONENTS : u32 = 4099 ; pub const GL_TEXTURE_BORDER : u32 = 4101 ; pub const GL_AMBIENT : u32 = 4608 ; pub const GL_DIFFUSE : u32 = 4609 ; pub const GL_SPECULAR : u32 = 4610 ; pub const GL_POSITION : u32 = 4611 ; pub const GL_SPOT_DIRECTION : u32 = 4612 ; pub const GL_SPOT_EXPONENT : u32 = 4613 ; pub const GL_SPOT_CUTOFF : u32 = 4614 ; pub const GL_CONSTANT_ATTENUATION : u32 = 4615 ; pub const GL_LINEAR_ATTENUATION : u32 = 4616 ; pub const GL_QUADRATIC_ATTENUATION : u32 = 4617 ; pub const GL_COMPILE : u32 = 4864 ; pub const GL_COMPILE_AND_EXECUTE : u32 = 4865 ; pub const GL_2_BYTES : u32 = 5127 ; pub const GL_3_BYTES : u32 = 5128 ; pub const GL_4_BYTES : u32 = 5129 ; pub const GL_EMISSION : u32 = 5632 ; pub const GL_SHININESS : u32 = 5633 ; pub const GL_AMBIENT_AND_DIFFUSE : u32 = 5634 ; pub const GL_COLOR_INDEXES : u32 = 5635 ; pub const GL_MODELVIEW : u32 = 5888 ; pub const GL_PROJECTION : u32 = 5889 ; pub const GL_COLOR_INDEX : u32 = 6400 ; pub const GL_LUMINANCE : u32 = 6409 ; pub const GL_LUMINANCE_ALPHA : u32 = 6410 ; pub const GL_BITMAP : u32 = 6656 ; pub const GL_RENDER : u32 = 7168 ; pub const GL_FEEDBACK : u32 = 7169 ; pub const GL_SELECT : u32 = 7170 ; pub const GL_FLAT : u32 = 7424 ; pub const GL_SMOOTH : u32 = 7425 ; pub const GL_S : u32 = 8192 ; pub const GL_T : u32 = 8193 ; pub const GL_R : u32 = 8194 ; pub const GL_Q : u32 = 8195 ; pub const GL_MODULATE : u32 = 8448 ; pub const GL_DECAL : u32 = 8449 ; pub const GL_TEXTURE_ENV_MODE : u32 = 8704 ; pub const GL_TEXTURE_ENV_COLOR : u32 = 8705 ; pub const GL_TEXTURE_ENV : u32 = 8960 ; pub const GL_EYE_LINEAR : u32 = 9216 ; pub const GL_OBJECT_LINEAR : u32 = 9217 ; pub const GL_SPHERE_MAP : u32 = 9218 ; pub const GL_TEXTURE_GEN_MODE : u32 = 9472 ; pub const GL_OBJECT_PLANE : u32 = 9473 ; pub const GL_EYE_PLANE : u32 = 9474 ; pub const GL_CLAMP : u32 = 10496 ; pub const GL_CLIP_PLANE0 : u32 = 12288 ; pub const GL_CLIP_PLANE1 : u32 = 12289 ; pub const GL_CLIP_PLANE2 : u32 = 12290 ; pub const GL_CLIP_PLANE3 : u32 = 12291 ; pub const GL_CLIP_PLANE4 : u32 = 12292 ; pub const GL_CLIP_PLANE5 : u32 = 12293 ; pub const GL_LIGHT0 : u32 = 16384 ; pub const GL_LIGHT1 : u32 = 16385 ; pub const GL_LIGHT2 : u32 = 16386 ; pub const GL_LIGHT3 : u32 = 16387 ; pub const GL_LIGHT4 : u32 = 16388 ; pub const GL_LIGHT5 : u32 = 16389 ; pub const GL_LIGHT6 : u32 = 16390 ; pub const GL_LIGHT7 : u32 = 16391 ; pub const GL_COLOR_LOGIC_OP : u32 = 3058 ; pub const GL_POLYGON_OFFSET_UNITS : u32 = 10752 ; pub const GL_POLYGON_OFFSET_POINT : u32 = 10753 ; pub const GL_POLYGON_OFFSET_LINE : u32 = 10754 ; pub const GL_POLYGON_OFFSET_FILL : u32 = 32823 ; pub const GL_POLYGON_OFFSET_FACTOR : u32 = 32824 ; pub const GL_TEXTURE_BINDING_1D : u32 = 32872 ; pub const GL_TEXTURE_BINDING_2D : u32 = 32873 ; pub const GL_TEXTURE_INTERNAL_FORMAT : u32 = 4099 ; pub const GL_TEXTURE_RED_SIZE : u32 = 32860 ; pub const GL_TEXTURE_GREEN_SIZE : u32 = 32861 ; pub const GL_TEXTURE_BLUE_SIZE : u32 = 32862 ; pub const GL_TEXTURE_ALPHA_SIZE : u32 = 32863 ; pub const GL_DOUBLE : u32 = 5130 ; pub const GL_PROXY_TEXTURE_1D : u32 = 32867 ; pub const GL_PROXY_TEXTURE_2D : u32 = 32868 ; pub const GL_R3_G3_B2 : u32 = 10768 ; pub const GL_RGB4 : u32 = 32847 ; pub const GL_RGB5 : u32 = 32848 ; pub const GL_RGB8 : u32 = 32849 ; pub const GL_RGB10 : u32 = 32850 ; pub const GL_RGB12 : u32 = 32851 ; pub const GL_RGB16 : u32 = 32852 ; pub const GL_RGBA2 : u32 = 32853 ; pub const GL_RGBA4 : u32 = 32854 ; pub const GL_RGB5_A1 : u32 = 32855 ; pub const GL_RGBA8 : u32 = 32856 ; pub const GL_RGB10_A2 : u32 = 32857 ; pub const GL_RGBA12 : u32 = 32858 ; pub const GL_RGBA16 : u32 = 32859 ; pub const GL_CLIENT_PIXEL_STORE_BIT : u32 = 1 ; pub const GL_CLIENT_VERTEX_ARRAY_BIT : u32 = 2 ; pub const GL_CLIENT_ALL_ATTRIB_BITS : u32 = 4294967295 ; pub const GL_VERTEX_ARRAY_POINTER : u32 = 32910 ; pub const GL_NORMAL_ARRAY_POINTER : u32 = 32911 ; pub const GL_COLOR_ARRAY_POINTER : u32 = 32912 ; pub const GL_INDEX_ARRAY_POINTER : u32 = 32913 ; pub const GL_TEXTURE_COORD_ARRAY_POINTER : u32 = 32914 ; pub const GL_EDGE_FLAG_ARRAY_POINTER : u32 = 32915 ; pub const GL_FEEDBACK_BUFFER_POINTER : u32 = 3568 ; pub const GL_SELECTION_BUFFER_POINTER : u32 = 3571 ; pub const GL_CLIENT_ATTRIB_STACK_DEPTH : u32 = 2993 ; pub const GL_INDEX_LOGIC_OP : u32 = 3057 ; pub const GL_MAX_CLIENT_ATTRIB_STACK_DEPTH : u32 = 3387 ; pub const GL_FEEDBACK_BUFFER_SIZE : u32 = 3569 ; pub const GL_FEEDBACK_BUFFER_TYPE : u32 = 3570 ; pub const GL_SELECTION_BUFFER_SIZE : u32 = 3572 ; pub const GL_VERTEX_ARRAY : u32 = 32884 ; pub const GL_NORMAL_ARRAY : u32 = 32885 ; pub const GL_COLOR_ARRAY : u32 = 32886 ; pub const GL_INDEX_ARRAY : u32 = 32887 ; pub const GL_TEXTURE_COORD_ARRAY : u32 = 32888 ; pub const GL_EDGE_FLAG_ARRAY : u32 = 32889 ; pub const GL_VERTEX_ARRAY_SIZE : u32 = 32890 ; pub const GL_VERTEX_ARRAY_TYPE : u32 = 32891 ; pub const GL_VERTEX_ARRAY_STRIDE : u32 = 32892 ; pub const GL_NORMAL_ARRAY_TYPE : u32 = 32894 ; pub const GL_NORMAL_ARRAY_STRIDE : u32 = 32895 ; pub const GL_COLOR_ARRAY_SIZE : u32 = 32897 ; pub const GL_COLOR_ARRAY_TYPE : u32 = 32898 ; pub const GL_COLOR_ARRAY_STRIDE : u32 = 32899 ; pub const GL_INDEX_ARRAY_TYPE : u32 = 32901 ; pub const GL_INDEX_ARRAY_STRIDE : u32 = 32902 ; pub const GL_TEXTURE_COORD_ARRAY_SIZE : u32 = 32904 ; pub const GL_TEXTURE_COORD_ARRAY_TYPE : u32 = 32905 ; pub const GL_TEXTURE_COORD_ARRAY_STRIDE : u32 = 32906 ; pub const GL_EDGE_FLAG_ARRAY_STRIDE : u32 = 32908 ; pub const GL_TEXTURE_LUMINANCE_SIZE : u32 = 32864 ; pub const GL_TEXTURE_INTENSITY_SIZE : u32 = 32865 ; pub const GL_TEXTURE_PRIORITY : u32 = 32870 ; pub const GL_TEXTURE_RESIDENT : u32 = 32871 ; pub const GL_ALPHA4 : u32 = 32827 ; pub const GL_ALPHA8 : u32 = 32828 ; pub const GL_ALPHA12 : u32 = 32829 ; pub const GL_ALPHA16 : u32 = 32830 ; pub const GL_LUMINANCE4 : u32 = 32831 ; pub const GL_LUMINANCE8 : u32 = 32832 ; pub const GL_LUMINANCE12 : u32 = 32833 ; pub const GL_LUMINANCE16 : u32 = 32834 ; pub const GL_LUMINANCE4_ALPHA4 : u32 = 32835 ; pub const GL_LUMINANCE6_ALPHA2 : u32 = 32836 ; pub const GL_LUMINANCE8_ALPHA8 : u32 = 32837 ; pub const GL_LUMINANCE12_ALPHA4 : u32 = 32838 ; pub const GL_LUMINANCE12_ALPHA12 : u32 = 32839 ; pub const GL_LUMINANCE16_ALPHA16 : u32 = 32840 ; pub const GL_INTENSITY : u32 = 32841 ; pub const GL_INTENSITY4 : u32 = 32842 ; pub const GL_INTENSITY8 : u32 = 32843 ; pub const GL_INTENSITY12 : u32 = 32844 ; pub const GL_INTENSITY16 : u32 = 32845 ; pub const GL_V2F : u32 = 10784 ; pub const GL_V3F : u32 = 10785 ; pub const GL_C4UB_V2F : u32 = 10786 ; pub const GL_C4UB_V3F : u32 = 10787 ; pub const GL_C3F_V3F : u32 = 10788 ; pub const GL_N3F_V3F : u32 = 10789 ; pub const GL_C4F_N3F_V3F : u32 = 10790 ; pub const GL_T2F_V3F : u32 = 10791 ; pub const GL_T4F_V4F : u32 = 10792 ; pub const GL_T2F_C4UB_V3F : u32 = 10793 ; pub const GL_T2F_C3F_V3F : u32 = 10794 ; pub const GL_T2F_N3F_V3F : u32 = 10795 ; pub const GL_T2F_C4F_N3F_V3F : u32 = 10796 ; pub const GL_T4F_C4F_N3F_V4F : u32 = 10797 ; pub const GL_UNSIGNED_BYTE_3_3_2 : u32 = 32818 ; pub const GL_UNSIGNED_SHORT_4_4_4_4 : u32 = 32819 ; pub const GL_UNSIGNED_SHORT_5_5_5_1 : u32 = 32820 ; pub const GL_UNSIGNED_INT_8_8_8_8 : u32 = 32821 ; pub const GL_UNSIGNED_INT_10_10_10_2 : u32 = 32822 ; pub const GL_TEXTURE_BINDING_3D : u32 = 32874 ; pub const GL_PACK_SKIP_IMAGES : u32 = 32875 ; pub const GL_PACK_IMAGE_HEIGHT : u32 = 32876 ; pub const GL_UNPACK_SKIP_IMAGES : u32 = 32877 ; pub const GL_UNPACK_IMAGE_HEIGHT : u32 = 32878 ; pub const GL_TEXTURE_3D : u32 = 32879 ; pub const GL_PROXY_TEXTURE_3D : u32 = 32880 ; pub const GL_TEXTURE_DEPTH : u32 = 32881 ; pub const GL_TEXTURE_WRAP_R : u32 = 32882 ; pub const GL_MAX_3D_TEXTURE_SIZE : u32 = 32883 ; pub const GL_UNSIGNED_BYTE_2_3_3_REV : u32 = 33634 ; pub const GL_UNSIGNED_SHORT_5_6_5 : u32 = 33635 ; pub const GL_UNSIGNED_SHORT_5_6_5_REV : u32 = 33636 ; pub const GL_UNSIGNED_SHORT_4_4_4_4_REV : u32 = 33637 ; pub const GL_UNSIGNED_SHORT_1_5_5_5_REV : u32 = 33638 ; pub const GL_UNSIGNED_INT_8_8_8_8_REV : u32 = 33639 ; pub const GL_UNSIGNED_INT_2_10_10_10_REV : u32 = 33640 ; pub const GL_BGR : u32 = 32992 ; pub const GL_BGRA : u32 = 32993 ; pub const GL_MAX_ELEMENTS_VERTICES : u32 = 33000 ; pub const GL_MAX_ELEMENTS_INDICES : u32 = 33001 ; pub const GL_CLAMP_TO_EDGE : u32 = 33071 ; pub const GL_TEXTURE_MIN_LOD : u32 = 33082 ; pub const GL_TEXTURE_MAX_LOD : u32 = 33083 ; pub const GL_TEXTURE_BASE_LEVEL : u32 = 33084 ; pub const GL_TEXTURE_MAX_LEVEL : u32 = 33085 ; pub const GL_SMOOTH_POINT_SIZE_RANGE : u32 = 2834 ; pub const GL_SMOOTH_POINT_SIZE_GRANULARITY : u32 = 2835 ; pub const GL_SMOOTH_LINE_WIDTH_RANGE : u32 = 2850 ; pub const GL_SMOOTH_LINE_WIDTH_GRANULARITY : u32 = 2851 ; pub const GL_ALIASED_LINE_WIDTH_RANGE : u32 = 33902 ; pub const GL_RESCALE_NORMAL : u32 = 32826 ; pub const GL_LIGHT_MODEL_COLOR_CONTROL : u32 = 33272 ; pub const GL_SINGLE_COLOR : u32 = 33273 ; pub const GL_SEPARATE_SPECULAR_COLOR : u32 = 33274 ; pub const GL_ALIASED_POINT_SIZE_RANGE : u32 = 33901 ; pub const GL_TEXTURE0 : u32 = 33984 ; pub const GL_TEXTURE1 : u32 = 33985 ; pub const GL_TEXTURE2 : u32 = 33986 ; pub const GL_TEXTURE3 : u32 = 33987 ; pub const GL_TEXTURE4 : u32 = 33988 ; pub const GL_TEXTURE5 : u32 = 33989 ; pub const GL_TEXTURE6 : u32 = 33990 ; pub const GL_TEXTURE7 : u32 = 33991 ; pub const GL_TEXTURE8 : u32 = 33992 ; pub const GL_TEXTURE9 : u32 = 33993 ; pub const GL_TEXTURE10 : u32 = 33994 ; pub const GL_TEXTURE11 : u32 = 33995 ; pub const GL_TEXTURE12 : u32 = 33996 ; pub const GL_TEXTURE13 : u32 = 33997 ; pub const GL_TEXTURE14 : u32 = 33998 ; pub const GL_TEXTURE15 : u32 = 33999 ; pub const GL_TEXTURE16 : u32 = 34000 ; pub const GL_TEXTURE17 : u32 = 34001 ; pub const GL_TEXTURE18 : u32 = 34002 ; pub const GL_TEXTURE19 : u32 = 34003 ; pub const GL_TEXTURE20 : u32 = 34004 ; pub const GL_TEXTURE21 : u32 = 34005 ; pub const GL_TEXTURE22 : u32 = 34006 ; pub const GL_TEXTURE23 : u32 = 34007 ; pub const GL_TEXTURE24 : u32 = 34008 ; pub const GL_TEXTURE25 : u32 = 34009 ; pub const GL_TEXTURE26 : u32 = 34010 ; pub const GL_TEXTURE27 : u32 = 34011 ; pub const GL_TEXTURE28 : u32 = 34012 ; pub const GL_TEXTURE29 : u32 = 34013 ; pub const GL_TEXTURE30 : u32 = 34014 ; pub const GL_TEXTURE31 : u32 = 34015 ; pub const GL_ACTIVE_TEXTURE : u32 = 34016 ; pub const GL_MULTISAMPLE : u32 = 32925 ; pub const GL_SAMPLE_ALPHA_TO_COVERAGE : u32 = 32926 ; pub const GL_SAMPLE_ALPHA_TO_ONE : u32 = 32927 ; pub const GL_SAMPLE_COVERAGE : u32 = 32928 ; pub const GL_SAMPLE_BUFFERS : u32 = 32936 ; pub const GL_SAMPLES : u32 = 32937 ; pub const GL_SAMPLE_COVERAGE_VALUE : u32 = 32938 ; pub const GL_SAMPLE_COVERAGE_INVERT : u32 = 32939 ; pub const GL_TEXTURE_CUBE_MAP : u32 = 34067 ; pub const GL_TEXTURE_BINDING_CUBE_MAP : u32 = 34068 ; pub const GL_TEXTURE_CUBE_MAP_POSITIVE_X : u32 = 34069 ; pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_X : u32 = 34070 ; pub const GL_TEXTURE_CUBE_MAP_POSITIVE_Y : u32 = 34071 ; pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_Y : u32 = 34072 ; pub const GL_TEXTURE_CUBE_MAP_POSITIVE_Z : u32 = 34073 ; pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_Z : u32 = 34074 ; pub const GL_PROXY_TEXTURE_CUBE_MAP : u32 = 34075 ; pub const GL_MAX_CUBE_MAP_TEXTURE_SIZE : u32 = 34076 ; pub const GL_COMPRESSED_RGB : u32 = 34029 ; pub const GL_COMPRESSED_RGBA : u32 = 34030 ; pub const GL_TEXTURE_COMPRESSION_HINT : u32 = 34031 ; pub const GL_TEXTURE_COMPRESSED_IMAGE_SIZE : u32 = 34464 ; pub const GL_TEXTURE_COMPRESSED : u32 = 34465 ; pub const GL_NUM_COMPRESSED_TEXTURE_FORMATS : u32 = 34466 ; pub const GL_COMPRESSED_TEXTURE_FORMATS : u32 = 34467 ; pub const GL_CLAMP_TO_BORDER : u32 = 33069 ; pub const GL_CLIENT_ACTIVE_TEXTURE : u32 = 34017 ; pub const GL_MAX_TEXTURE_UNITS : u32 = 34018 ; pub const GL_TRANSPOSE_MODELVIEW_MATRIX : u32 = 34019 ; pub const GL_TRANSPOSE_PROJECTION_MATRIX : u32 = 34020 ; pub const GL_TRANSPOSE_TEXTURE_MATRIX : u32 = 34021 ; pub const GL_TRANSPOSE_COLOR_MATRIX : u32 = 34022 ; pub const GL_MULTISAMPLE_BIT : u32 = 536870912 ; pub const GL_NORMAL_MAP : u32 = 34065 ; pub const GL_REFLECTION_MAP : u32 = 34066 ; pub const GL_COMPRESSED_ALPHA : u32 = 34025 ; pub const GL_COMPRESSED_LUMINANCE : u32 = 34026 ; pub const GL_COMPRESSED_LUMINANCE_ALPHA : u32 = 34027 ; pub const GL_COMPRESSED_INTENSITY : u32 = 34028 ; pub const GL_COMBINE : u32 = 34160 ; pub const GL_COMBINE_RGB : u32 = 34161 ; pub const GL_COMBINE_ALPHA : u32 = 34162 ; pub const GL_SOURCE0_RGB : u32 = 34176 ; pub const GL_SOURCE1_RGB : u32 = 34177 ; pub const GL_SOURCE2_RGB : u32 = 34178 ; pub const GL_SOURCE0_ALPHA : u32 = 34184 ; pub const GL_SOURCE1_ALPHA : u32 = 34185 ; pub const GL_SOURCE2_ALPHA : u32 = 34186 ; pub const GL_OPERAND0_RGB : u32 = 34192 ; pub const GL_OPERAND1_RGB : u32 = 34193 ; pub const GL_OPERAND2_RGB : u32 = 34194 ; pub const GL_OPERAND0_ALPHA : u32 = 34200 ; pub const GL_OPERAND1_ALPHA : u32 = 34201 ; pub const GL_OPERAND2_ALPHA : u32 = 34202 ; pub const GL_RGB_SCALE : u32 = 34163 ; pub const GL_ADD_SIGNED : u32 = 34164 ; pub const GL_INTERPOLATE : u32 = 34165 ; pub const GL_SUBTRACT : u32 = 34023 ; pub const GL_CONSTANT : u32 = 34166 ; pub const GL_PRIMARY_COLOR : u32 = 34167 ; pub const GL_PREVIOUS : u32 = 34168 ; pub const GL_DOT3_RGB : u32 = 34478 ; pub const GL_DOT3_RGBA : u32 = 34479 ; pub const GL_BLEND_DST_RGB : u32 = 32968 ; pub const GL_BLEND_SRC_RGB : u32 = 32969 ; pub const GL_BLEND_DST_ALPHA : u32 = 32970 ; pub const GL_BLEND_SRC_ALPHA : u32 = 32971 ; pub const GL_POINT_FADE_THRESHOLD_SIZE : u32 = 33064 ; pub const GL_DEPTH_COMPONENT16 : u32 = 33189 ; pub const GL_DEPTH_COMPONENT24 : u32 = 33190 ; pub const GL_DEPTH_COMPONENT32 : u32 = 33191 ; pub const GL_MIRRORED_REPEAT : u32 = 33648 ; pub const GL_MAX_TEXTURE_LOD_BIAS : u32 = 34045 ; pub const GL_TEXTURE_LOD_BIAS : u32 = 34049 ; pub const GL_INCR_WRAP : u32 = 34055 ; pub const GL_DECR_WRAP : u32 = 34056 ; pub const GL_TEXTURE_DEPTH_SIZE : u32 = 34890 ; pub const GL_TEXTURE_COMPARE_MODE : u32 = 34892 ; pub const GL_TEXTURE_COMPARE_FUNC : u32 = 34893 ; pub const GL_POINT_SIZE_MIN : u32 = 33062 ; pub const GL_POINT_SIZE_MAX : u32 = 33063 ; pub const GL_POINT_DISTANCE_ATTENUATION : u32 = 33065 ; pub const GL_GENERATE_MIPMAP : u32 = 33169 ; pub const GL_GENERATE_MIPMAP_HINT : u32 = 33170 ; pub const GL_FOG_COORDINATE_SOURCE : u32 = 33872 ; pub const GL_FOG_COORDINATE : u32 = 33873 ; pub const GL_FRAGMENT_DEPTH : u32 = 33874 ; pub const GL_CURRENT_FOG_COORDINATE : u32 = 33875 ; pub const GL_FOG_COORDINATE_ARRAY_TYPE : u32 = 33876 ; pub const GL_FOG_COORDINATE_ARRAY_STRIDE : u32 = 33877 ; pub const GL_FOG_COORDINATE_ARRAY_POINTER : u32 = 33878 ; pub const GL_FOG_COORDINATE_ARRAY : u32 = 33879 ; pub const GL_COLOR_SUM : u32 = 33880 ; pub const GL_CURRENT_SECONDARY_COLOR : u32 = 33881 ; pub const GL_SECONDARY_COLOR_ARRAY_SIZE : u32 = 33882 ; pub const GL_SECONDARY_COLOR_ARRAY_TYPE : u32 = 33883 ; pub const GL_SECONDARY_COLOR_ARRAY_STRIDE : u32 = 33884 ; pub const GL_SECONDARY_COLOR_ARRAY_POINTER : u32 = 33885 ; pub const GL_SECONDARY_COLOR_ARRAY : u32 = 33886 ; pub const GL_TEXTURE_FILTER_CONTROL : u32 = 34048 ; pub const GL_DEPTH_TEXTURE_MODE : u32 = 34891 ; pub const GL_COMPARE_R_TO_TEXTURE : u32 = 34894 ; pub const GL_BLEND_COLOR : u32 = 32773 ; pub const GL_BLEND_EQUATION : u32 = 32777 ; pub const GL_CONSTANT_COLOR : u32 = 32769 ; pub const GL_ONE_MINUS_CONSTANT_COLOR : u32 = 32770 ; pub const GL_CONSTANT_ALPHA : u32 = 32771 ; pub const GL_ONE_MINUS_CONSTANT_ALPHA : u32 = 32772 ; pub const GL_FUNC_ADD : u32 = 32774 ; pub const GL_FUNC_REVERSE_SUBTRACT : u32 = 32779 ; pub const GL_FUNC_SUBTRACT : u32 = 32778 ; pub const GL_MIN : u32 = 32775 ; pub const GL_MAX : u32 = 32776 ; pub const GL_BUFFER_SIZE : u32 = 34660 ; pub const GL_BUFFER_USAGE : u32 = 34661 ; pub const GL_QUERY_COUNTER_BITS : u32 = 34916 ; pub const GL_CURRENT_QUERY : u32 = 34917 ; pub const GL_QUERY_RESULT : u32 = 34918 ; pub const GL_QUERY_RESULT_AVAILABLE : u32 = 34919 ; pub const GL_ARRAY_BUFFER : u32 = 34962 ; pub const GL_ELEMENT_ARRAY_BUFFER : u32 = 34963 ; pub const GL_ARRAY_BUFFER_BINDING : u32 = 34964 ; pub const GL_ELEMENT_ARRAY_BUFFER_BINDING : u32 = 34965 ; pub const GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING : u32 = 34975 ; pub const GL_READ_ONLY : u32 = 35000 ; pub const GL_WRITE_ONLY : u32 = 35001 ; pub const GL_READ_WRITE : u32 = 35002 ; pub const GL_BUFFER_ACCESS : u32 = 35003 ; pub const GL_BUFFER_MAPPED : u32 = 35004 ; pub const GL_BUFFER_MAP_POINTER : u32 = 35005 ; pub const GL_STREAM_DRAW : u32 = 35040 ; pub const GL_STREAM_READ : u32 = 35041 ; pub const GL_STREAM_COPY : u32 = 35042 ; pub const GL_STATIC_DRAW : u32 = 35044 ; pub const GL_STATIC_READ : u32 = 35045 ; pub const GL_STATIC_COPY : u32 = 35046 ; pub const GL_DYNAMIC_DRAW : u32 = 35048 ; pub const GL_DYNAMIC_READ : u32 = 35049 ; pub const GL_DYNAMIC_COPY : u32 = 35050 ; pub const GL_SAMPLES_PASSED : u32 = 35092 ; pub const GL_SRC1_ALPHA : u32 = 34185 ; pub const GL_VERTEX_ARRAY_BUFFER_BINDING : u32 = 34966 ; pub const GL_NORMAL_ARRAY_BUFFER_BINDING : u32 = 34967 ; pub const GL_COLOR_ARRAY_BUFFER_BINDING : u32 = 34968 ; pub const GL_INDEX_ARRAY_BUFFER_BINDING : u32 = 34969 ; pub const GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING : u32 = 34970 ; pub const GL_EDGE_FLAG_ARRAY_BUFFER_BINDING : u32 = 34971 ; pub const GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING : u32 = 34972 ; pub const GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING : u32 = 34973 ; pub const GL_WEIGHT_ARRAY_BUFFER_BINDING : u32 = 34974 ; pub const GL_FOG_COORD_SRC : u32 = 33872 ; pub const GL_FOG_COORD : u32 = 33873 ; pub const GL_CURRENT_FOG_COORD : u32 = 33875 ; pub const GL_FOG_COORD_ARRAY_TYPE : u32 = 33876 ; pub const GL_FOG_COORD_ARRAY_STRIDE : u32 = 33877 ; pub const GL_FOG_COORD_ARRAY_POINTER : u32 = 33878 ; pub const GL_FOG_COORD_ARRAY : u32 = 33879 ; pub const GL_FOG_COORD_ARRAY_BUFFER_BINDING : u32 = 34973 ; pub const GL_SRC0_RGB : u32 = 34176 ; pub const GL_SRC1_RGB : u32 = 34177 ; pub const GL_SRC2_RGB : u32 = 34178 ; pub const GL_SRC0_ALPHA : u32 = 34184 ; pub const GL_SRC2_ALPHA : u32 = 34186 ; pub const GL_BLEND_EQUATION_RGB : u32 = 32777 ; pub const GL_VERTEX_ATTRIB_ARRAY_ENABLED : u32 = 34338 ; pub const GL_VERTEX_ATTRIB_ARRAY_SIZE : u32 = 34339 ; pub const GL_VERTEX_ATTRIB_ARRAY_STRIDE : u32 = 34340 ; pub const GL_VERTEX_ATTRIB_ARRAY_TYPE : u32 = 34341 ; pub const GL_CURRENT_VERTEX_ATTRIB : u32 = 34342 ; pub const GL_VERTEX_PROGRAM_POINT_SIZE : u32 = 34370 ; pub const GL_VERTEX_ATTRIB_ARRAY_POINTER : u32 = 34373 ; pub const GL_STENCIL_BACK_FUNC : u32 = 34816 ; pub const GL_STENCIL_BACK_FAIL : u32 = 34817 ; pub const GL_STENCIL_BACK_PASS_DEPTH_FAIL : u32 = 34818 ; pub const GL_STENCIL_BACK_PASS_DEPTH_PASS : u32 = 34819 ; pub const GL_MAX_DRAW_BUFFERS : u32 = 34852 ; pub const GL_DRAW_BUFFER0 : u32 = 34853 ; pub const GL_DRAW_BUFFER1 : u32 = 34854 ; pub const GL_DRAW_BUFFER2 : u32 = 34855 ; pub const GL_DRAW_BUFFER3 : u32 = 34856 ; pub const GL_DRAW_BUFFER4 : u32 = 34857 ; pub const GL_DRAW_BUFFER5 : u32 = 34858 ; pub const GL_DRAW_BUFFER6 : u32 = 34859 ; pub const GL_DRAW_BUFFER7 : u32 = 34860 ; pub const GL_DRAW_BUFFER8 : u32 = 34861 ; pub const GL_DRAW_BUFFER9 : u32 = 34862 ; pub const GL_DRAW_BUFFER10 : u32 = 34863 ; pub const GL_DRAW_BUFFER11 : u32 = 34864 ; pub const GL_DRAW_BUFFER12 : u32 = 34865 ; pub const GL_DRAW_BUFFER13 : u32 = 34866 ; pub const GL_DRAW_BUFFER14 : u32 = 34867 ; pub const GL_DRAW_BUFFER15 : u32 = 34868 ; pub const GL_BLEND_EQUATION_ALPHA : u32 = 34877 ; pub const GL_MAX_VERTEX_ATTRIBS : u32 = 34921 ; pub const GL_VERTEX_ATTRIB_ARRAY_NORMALIZED : u32 = 34922 ; pub const GL_MAX_TEXTURE_IMAGE_UNITS : u32 = 34930 ; pub const GL_FRAGMENT_SHADER : u32 = 35632 ; pub const GL_VERTEX_SHADER : u32 = 35633 ; pub const GL_MAX_FRAGMENT_UNIFORM_COMPONENTS : u32 = 35657 ; pub const GL_MAX_VERTEX_UNIFORM_COMPONENTS : u32 = 35658 ; pub const GL_MAX_VARYING_FLOATS : u32 = 35659 ; pub const GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS : u32 = 35660 ; pub const GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS : u32 = 35661 ; pub const GL_SHADER_TYPE : u32 = 35663 ; pub const GL_FLOAT_VEC2 : u32 = 35664 ; pub const GL_FLOAT_VEC3 : u32 = 35665 ; pub const GL_FLOAT_VEC4 : u32 = 35666 ; pub const GL_INT_VEC2 : u32 = 35667 ; pub const GL_INT_VEC3 : u32 = 35668 ; pub const GL_INT_VEC4 : u32 = 35669 ; pub const GL_BOOL : u32 = 35670 ; pub const GL_BOOL_VEC2 : u32 = 35671 ; pub const GL_BOOL_VEC3 : u32 = 35672 ; pub const GL_BOOL_VEC4 : u32 = 35673 ; pub const GL_FLOAT_MAT2 : u32 = 35674 ; pub const GL_FLOAT_MAT3 : u32 = 35675 ; pub const GL_FLOAT_MAT4 : u32 = 35676 ; pub const GL_SAMPLER_1D : u32 = 35677 ; pub const GL_SAMPLER_2D : u32 = 35678 ; pub const GL_SAMPLER_3D : u32 = 35679 ; pub const GL_SAMPLER_CUBE : u32 = 35680 ; pub const GL_SAMPLER_1D_SHADOW : u32 = 35681 ; pub const GL_SAMPLER_2D_SHADOW : u32 = 35682 ; pub const GL_DELETE_STATUS : u32 = 35712 ; pub const GL_COMPILE_STATUS : u32 = 35713 ; pub const GL_LINK_STATUS : u32 = 35714 ; pub const GL_VALIDATE_STATUS : u32 = 35715 ; pub const GL_INFO_LOG_LENGTH : u32 = 35716 ; pub const GL_ATTACHED_SHADERS : u32 = 35717 ; pub const GL_ACTIVE_UNIFORMS : u32 = 35718 ; pub const GL_ACTIVE_UNIFORM_MAX_LENGTH : u32 = 35719 ; pub const GL_SHADER_SOURCE_LENGTH : u32 = 35720 ; pub const GL_ACTIVE_ATTRIBUTES : u32 = 35721 ; pub const GL_ACTIVE_ATTRIBUTE_MAX_LENGTH : u32 = 35722 ; pub const GL_FRAGMENT_SHADER_DERIVATIVE_HINT : u32 = 35723 ; pub const GL_SHADING_LANGUAGE_VERSION : u32 = 35724 ; pub const GL_CURRENT_PROGRAM : u32 = 35725 ; pub const GL_POINT_SPRITE_COORD_ORIGIN : u32 = 36000 ; pub const GL_LOWER_LEFT : u32 = 36001 ; pub const GL_UPPER_LEFT : u32 = 36002 ; pub const GL_STENCIL_BACK_REF : u32 = 36003 ; pub const GL_STENCIL_BACK_VALUE_MASK : u32 = 36004 ; pub const GL_STENCIL_BACK_WRITEMASK : u32 = 36005 ; pub const GL_VERTEX_PROGRAM_TWO_SIDE : u32 = 34371 ; pub const GL_POINT_SPRITE : u32 = 34913 ; pub const GL_COORD_REPLACE : u32 = 34914 ; pub const GL_MAX_TEXTURE_COORDS : u32 = 34929 ; pub const GL_PIXEL_PACK_BUFFER : u32 = 35051 ; pub const GL_PIXEL_UNPACK_BUFFER : u32 = 35052 ; pub const GL_PIXEL_PACK_BUFFER_BINDING : u32 = 35053 ; pub const GL_PIXEL_UNPACK_BUFFER_BINDING : u32 = 35055 ; pub const GL_FLOAT_MAT2x3 : u32 = 35685 ; pub const GL_FLOAT_MAT2x4 : u32 = 35686 ; pub const GL_FLOAT_MAT3x2 : u32 = 35687 ; pub const GL_FLOAT_MAT3x4 : u32 = 35688 ; pub const GL_FLOAT_MAT4x2 : u32 = 35689 ; pub const GL_FLOAT_MAT4x3 : u32 = 35690 ; pub const GL_SRGB : u32 = 35904 ; pub const GL_SRGB8 : u32 = 35905 ; pub const GL_SRGB_ALPHA : u32 = 35906 ; pub const GL_SRGB8_ALPHA8 : u32 = 35907 ; pub const GL_COMPRESSED_SRGB : u32 = 35912 ; pub const GL_COMPRESSED_SRGB_ALPHA : u32 = 35913 ; pub const GL_CURRENT_RASTER_SECONDARY_COLOR : u32 = 33887 ; pub const GL_SLUMINANCE_ALPHA : u32 = 35908 ; pub const GL_SLUMINANCE8_ALPHA8 : u32 = 35909 ; pub const GL_SLUMINANCE : u32 = 35910 ; pub const GL_SLUMINANCE8 : u32 = 35911 ; pub const GL_COMPRESSED_SLUMINANCE : u32 = 35914 ; pub const GL_COMPRESSED_SLUMINANCE_ALPHA : u32 = 35915 ; pub const GL_COMPARE_REF_TO_TEXTURE : u32 = 34894 ; pub const GL_CLIP_DISTANCE0 : u32 = 12288 ; pub const GL_CLIP_DISTANCE1 : u32 = 12289 ; pub const GL_CLIP_DISTANCE2 : u32 = 12290 ; pub const GL_CLIP_DISTANCE3 : u32 = 12291 ; pub const GL_CLIP_DISTANCE4 : u32 = 12292 ; pub const GL_CLIP_DISTANCE5 : u32 = 12293 ; pub const GL_CLIP_DISTANCE6 : u32 = 12294 ; pub const GL_CLIP_DISTANCE7 : u32 = 12295 ; pub const GL_MAX_CLIP_DISTANCES : u32 = 3378 ; pub const GL_MAJOR_VERSION : u32 = 33307 ; pub const GL_MINOR_VERSION : u32 = 33308 ; pub const GL_NUM_EXTENSIONS : u32 = 33309 ; pub const GL_CONTEXT_FLAGS : u32 = 33310 ; pub const GL_COMPRESSED_RED : u32 = 33317 ; pub const GL_COMPRESSED_RG : u32 = 33318 ; pub const GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT : u32 = 1 ; pub const GL_RGBA32F : u32 = 34836 ; pub const GL_RGB32F : u32 = 34837 ; pub const GL_RGBA16F : u32 = 34842 ; pub const GL_RGB16F : u32 = 34843 ; pub const GL_VERTEX_ATTRIB_ARRAY_INTEGER : u32 = 35069 ; pub const GL_MAX_ARRAY_TEXTURE_LAYERS : u32 = 35071 ; pub const GL_MIN_PROGRAM_TEXEL_OFFSET : u32 = 35076 ; pub const GL_MAX_PROGRAM_TEXEL_OFFSET : u32 = 35077 ; pub const GL_CLAMP_READ_COLOR : u32 = 35100 ; pub const GL_FIXED_ONLY : u32 = 35101 ; pub const GL_MAX_VARYING_COMPONENTS : u32 = 35659 ; pub const GL_TEXTURE_1D_ARRAY : u32 = 35864 ; pub const GL_PROXY_TEXTURE_1D_ARRAY : u32 = 35865 ; pub const GL_TEXTURE_2D_ARRAY : u32 = 35866 ; pub const GL_PROXY_TEXTURE_2D_ARRAY : u32 = 35867 ; pub const GL_TEXTURE_BINDING_1D_ARRAY : u32 = 35868 ; pub const GL_TEXTURE_BINDING_2D_ARRAY : u32 = 35869 ; pub const GL_R11F_G11F_B10F : u32 = 35898 ; pub const GL_UNSIGNED_INT_10F_11F_11F_REV : u32 = 35899 ; pub const GL_RGB9_E5 : u32 = 35901 ; pub const GL_UNSIGNED_INT_5_9_9_9_REV : u32 = 35902 ; pub const GL_TEXTURE_SHARED_SIZE : u32 = 35903 ; pub const GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH : u32 = 35958 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_MODE : u32 = 35967 ; pub const GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS : u32 = 35968 ; pub const GL_TRANSFORM_FEEDBACK_VARYINGS : u32 = 35971 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_START : u32 = 35972 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_SIZE : u32 = 35973 ; pub const GL_PRIMITIVES_GENERATED : u32 = 35975 ; pub const GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN : u32 = 35976 ; pub const GL_RASTERIZER_DISCARD : u32 = 35977 ; pub const GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS : u32 = 35978 ; pub const GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS : u32 = 35979 ; pub const GL_INTERLEAVED_ATTRIBS : u32 = 35980 ; pub const GL_SEPARATE_ATTRIBS : u32 = 35981 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER : u32 = 35982 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_BINDING : u32 = 35983 ; pub const GL_RGBA32UI : u32 = 36208 ; pub const GL_RGB32UI : u32 = 36209 ; pub const GL_RGBA16UI : u32 = 36214 ; pub const GL_RGB16UI : u32 = 36215 ; pub const GL_RGBA8UI : u32 = 36220 ; pub const GL_RGB8UI : u32 = 36221 ; pub const GL_RGBA32I : u32 = 36226 ; pub const GL_RGB32I : u32 = 36227 ; pub const GL_RGBA16I : u32 = 36232 ; pub const GL_RGB16I : u32 = 36233 ; pub const GL_RGBA8I : u32 = 36238 ; pub const GL_RGB8I : u32 = 36239 ; pub const GL_RED_INTEGER : u32 = 36244 ; pub const GL_GREEN_INTEGER : u32 = 36245 ; pub const GL_BLUE_INTEGER : u32 = 36246 ; pub const GL_RGB_INTEGER : u32 = 36248 ; pub const GL_RGBA_INTEGER : u32 = 36249 ; pub const GL_BGR_INTEGER : u32 = 36250 ; pub const GL_BGRA_INTEGER : u32 = 36251 ; pub const GL_SAMPLER_1D_ARRAY : u32 = 36288 ; pub const GL_SAMPLER_2D_ARRAY : u32 = 36289 ; pub const GL_SAMPLER_1D_ARRAY_SHADOW : u32 = 36291 ; pub const GL_SAMPLER_2D_ARRAY_SHADOW : u32 = 36292 ; pub const GL_SAMPLER_CUBE_SHADOW : u32 = 36293 ; pub const GL_UNSIGNED_INT_VEC2 : u32 = 36294 ; pub const GL_UNSIGNED_INT_VEC3 : u32 = 36295 ; pub const GL_UNSIGNED_INT_VEC4 : u32 = 36296 ; pub const GL_INT_SAMPLER_1D : u32 = 36297 ; pub const GL_INT_SAMPLER_2D : u32 = 36298 ; pub const GL_INT_SAMPLER_3D : u32 = 36299 ; pub const GL_INT_SAMPLER_CUBE : u32 = 36300 ; pub const GL_INT_SAMPLER_1D_ARRAY : u32 = 36302 ; pub const GL_INT_SAMPLER_2D_ARRAY : u32 = 36303 ; pub const GL_UNSIGNED_INT_SAMPLER_1D : u32 = 36305 ; pub const GL_UNSIGNED_INT_SAMPLER_2D : u32 = 36306 ; pub const GL_UNSIGNED_INT_SAMPLER_3D : u32 = 36307 ; pub const GL_UNSIGNED_INT_SAMPLER_CUBE : u32 = 36308 ; pub const GL_UNSIGNED_INT_SAMPLER_1D_ARRAY : u32 = 36310 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_ARRAY : u32 = 36311 ; pub const GL_QUERY_WAIT : u32 = 36371 ; pub const GL_QUERY_NO_WAIT : u32 = 36372 ; pub const GL_QUERY_BY_REGION_WAIT : u32 = 36373 ; pub const GL_QUERY_BY_REGION_NO_WAIT : u32 = 36374 ; pub const GL_BUFFER_ACCESS_FLAGS : u32 = 37151 ; pub const GL_BUFFER_MAP_LENGTH : u32 = 37152 ; pub const GL_BUFFER_MAP_OFFSET : u32 = 37153 ; pub const GL_DEPTH_COMPONENT32F : u32 = 36012 ; pub const GL_DEPTH32F_STENCIL8 : u32 = 36013 ; pub const GL_FLOAT_32_UNSIGNED_INT_24_8_REV : u32 = 36269 ; pub const GL_INVALID_FRAMEBUFFER_OPERATION : u32 = 1286 ; pub const GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING : u32 = 33296 ; pub const GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE : u32 = 33297 ; pub const GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE : u32 = 33298 ; pub const GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE : u32 = 33299 ; pub const GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE : u32 = 33300 ; pub const GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE : u32 = 33301 ; pub const GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE : u32 = 33302 ; pub const GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE : u32 = 33303 ; pub const GL_FRAMEBUFFER_DEFAULT : u32 = 33304 ; pub const GL_FRAMEBUFFER_UNDEFINED : u32 = 33305 ; pub const GL_DEPTH_STENCIL_ATTACHMENT : u32 = 33306 ; pub const GL_MAX_RENDERBUFFER_SIZE : u32 = 34024 ; pub const GL_DEPTH_STENCIL : u32 = 34041 ; pub const GL_UNSIGNED_INT_24_8 : u32 = 34042 ; pub const GL_DEPTH24_STENCIL8 : u32 = 35056 ; pub const GL_TEXTURE_STENCIL_SIZE : u32 = 35057 ; pub const GL_TEXTURE_RED_TYPE : u32 = 35856 ; pub const GL_TEXTURE_GREEN_TYPE : u32 = 35857 ; pub const GL_TEXTURE_BLUE_TYPE : u32 = 35858 ; pub const GL_TEXTURE_ALPHA_TYPE : u32 = 35859 ; pub const GL_TEXTURE_DEPTH_TYPE : u32 = 35862 ; pub const GL_UNSIGNED_NORMALIZED : u32 = 35863 ; pub const GL_FRAMEBUFFER_BINDING : u32 = 36006 ; pub const GL_DRAW_FRAMEBUFFER_BINDING : u32 = 36006 ; pub const GL_RENDERBUFFER_BINDING : u32 = 36007 ; pub const GL_READ_FRAMEBUFFER : u32 = 36008 ; pub const GL_DRAW_FRAMEBUFFER : u32 = 36009 ; pub const GL_READ_FRAMEBUFFER_BINDING : u32 = 36010 ; pub const GL_RENDERBUFFER_SAMPLES : u32 = 36011 ; pub const GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE : u32 = 36048 ; pub const GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME : u32 = 36049 ; pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL : u32 = 36050 ; pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE : u32 = 36051 ; pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER : u32 = 36052 ; pub const GL_FRAMEBUFFER_COMPLETE : u32 = 36053 ; pub const GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT : u32 = 36054 ; pub const GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT : u32 = 36055 ; pub const GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER : u32 = 36059 ; pub const GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER : u32 = 36060 ; pub const GL_FRAMEBUFFER_UNSUPPORTED : u32 = 36061 ; pub const GL_MAX_COLOR_ATTACHMENTS : u32 = 36063 ; pub const GL_COLOR_ATTACHMENT0 : u32 = 36064 ; pub const GL_COLOR_ATTACHMENT1 : u32 = 36065 ; pub const GL_COLOR_ATTACHMENT2 : u32 = 36066 ; pub const GL_COLOR_ATTACHMENT3 : u32 = 36067 ; pub const GL_COLOR_ATTACHMENT4 : u32 = 36068 ; pub const GL_COLOR_ATTACHMENT5 : u32 = 36069 ; pub const GL_COLOR_ATTACHMENT6 : u32 = 36070 ; pub const GL_COLOR_ATTACHMENT7 : u32 = 36071 ; pub const GL_COLOR_ATTACHMENT8 : u32 = 36072 ; pub const GL_COLOR_ATTACHMENT9 : u32 = 36073 ; pub const GL_COLOR_ATTACHMENT10 : u32 = 36074 ; pub const GL_COLOR_ATTACHMENT11 : u32 = 36075 ; pub const GL_COLOR_ATTACHMENT12 : u32 = 36076 ; pub const GL_COLOR_ATTACHMENT13 : u32 = 36077 ; pub const GL_COLOR_ATTACHMENT14 : u32 = 36078 ; pub const GL_COLOR_ATTACHMENT15 : u32 = 36079 ; pub const GL_COLOR_ATTACHMENT16 : u32 = 36080 ; pub const GL_COLOR_ATTACHMENT17 : u32 = 36081 ; pub const GL_COLOR_ATTACHMENT18 : u32 = 36082 ; pub const GL_COLOR_ATTACHMENT19 : u32 = 36083 ; pub const GL_COLOR_ATTACHMENT20 : u32 = 36084 ; pub const GL_COLOR_ATTACHMENT21 : u32 = 36085 ; pub const GL_COLOR_ATTACHMENT22 : u32 = 36086 ; pub const GL_COLOR_ATTACHMENT23 : u32 = 36087 ; pub const GL_COLOR_ATTACHMENT24 : u32 = 36088 ; pub const GL_COLOR_ATTACHMENT25 : u32 = 36089 ; pub const GL_COLOR_ATTACHMENT26 : u32 = 36090 ; pub const GL_COLOR_ATTACHMENT27 : u32 = 36091 ; pub const GL_COLOR_ATTACHMENT28 : u32 = 36092 ; pub const GL_COLOR_ATTACHMENT29 : u32 = 36093 ; pub const GL_COLOR_ATTACHMENT30 : u32 = 36094 ; pub const GL_COLOR_ATTACHMENT31 : u32 = 36095 ; pub const GL_DEPTH_ATTACHMENT : u32 = 36096 ; pub const GL_STENCIL_ATTACHMENT : u32 = 36128 ; pub const GL_FRAMEBUFFER : u32 = 36160 ; pub const GL_RENDERBUFFER : u32 = 36161 ; pub const GL_RENDERBUFFER_WIDTH : u32 = 36162 ; pub const GL_RENDERBUFFER_HEIGHT : u32 = 36163 ; pub const GL_RENDERBUFFER_INTERNAL_FORMAT : u32 = 36164 ; pub const GL_STENCIL_INDEX1 : u32 = 36166 ; pub const GL_STENCIL_INDEX4 : u32 = 36167 ; pub const GL_STENCIL_INDEX8 : u32 = 36168 ; pub const GL_STENCIL_INDEX16 : u32 = 36169 ; pub const GL_RENDERBUFFER_RED_SIZE : u32 = 36176 ; pub const GL_RENDERBUFFER_GREEN_SIZE : u32 = 36177 ; pub const GL_RENDERBUFFER_BLUE_SIZE : u32 = 36178 ; pub const GL_RENDERBUFFER_ALPHA_SIZE : u32 = 36179 ; pub const GL_RENDERBUFFER_DEPTH_SIZE : u32 = 36180 ; pub const GL_RENDERBUFFER_STENCIL_SIZE : u32 = 36181 ; pub const GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE : u32 = 36182 ; pub const GL_MAX_SAMPLES : u32 = 36183 ; pub const GL_INDEX : u32 = 33314 ; pub const GL_TEXTURE_LUMINANCE_TYPE : u32 = 35860 ; pub const GL_TEXTURE_INTENSITY_TYPE : u32 = 35861 ; pub const GL_FRAMEBUFFER_SRGB : u32 = 36281 ; pub const GL_HALF_FLOAT : u32 = 5131 ; pub const GL_MAP_READ_BIT : u32 = 1 ; pub const GL_MAP_WRITE_BIT : u32 = 2 ; pub const GL_MAP_INVALIDATE_RANGE_BIT : u32 = 4 ; pub const GL_MAP_INVALIDATE_BUFFER_BIT : u32 = 8 ; pub const GL_MAP_FLUSH_EXPLICIT_BIT : u32 = 16 ; pub const GL_MAP_UNSYNCHRONIZED_BIT : u32 = 32 ; pub const GL_COMPRESSED_RED_RGTC1 : u32 = 36283 ; pub const GL_COMPRESSED_SIGNED_RED_RGTC1 : u32 = 36284 ; pub const GL_COMPRESSED_RG_RGTC2 : u32 = 36285 ; pub const GL_COMPRESSED_SIGNED_RG_RGTC2 : u32 = 36286 ; pub const GL_RG : u32 = 33319 ; pub const GL_RG_INTEGER : u32 = 33320 ; pub const GL_R8 : u32 = 33321 ; pub const GL_R16 : u32 = 33322 ; pub const GL_RG8 : u32 = 33323 ; pub const GL_RG16 : u32 = 33324 ; pub const GL_R16F : u32 = 33325 ; pub const GL_R32F : u32 = 33326 ; pub const GL_RG16F : u32 = 33327 ; pub const GL_RG32F : u32 = 33328 ; pub const GL_R8I : u32 = 33329 ; pub const GL_R8UI : u32 = 33330 ; pub const GL_R16I : u32 = 33331 ; pub const GL_R16UI : u32 = 33332 ; pub const GL_R32I : u32 = 33333 ; pub const GL_R32UI : u32 = 33334 ; pub const GL_RG8I : u32 = 33335 ; pub const GL_RG8UI : u32 = 33336 ; pub const GL_RG16I : u32 = 33337 ; pub const GL_RG16UI : u32 = 33338 ; pub const GL_RG32I : u32 = 33339 ; pub const GL_RG32UI : u32 = 33340 ; pub const GL_VERTEX_ARRAY_BINDING : u32 = 34229 ; pub const GL_CLAMP_VERTEX_COLOR : u32 = 35098 ; pub const GL_CLAMP_FRAGMENT_COLOR : u32 = 35099 ; pub const GL_ALPHA_INTEGER : u32 = 36247 ; pub const GL_SAMPLER_2D_RECT : u32 = 35683 ; pub const GL_SAMPLER_2D_RECT_SHADOW : u32 = 35684 ; pub const GL_SAMPLER_BUFFER : u32 = 36290 ; pub const GL_INT_SAMPLER_2D_RECT : u32 = 36301 ; pub const GL_INT_SAMPLER_BUFFER : u32 = 36304 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_RECT : u32 = 36309 ; pub const GL_UNSIGNED_INT_SAMPLER_BUFFER : u32 = 36312 ; pub const GL_TEXTURE_BUFFER : u32 = 35882 ; pub const GL_MAX_TEXTURE_BUFFER_SIZE : u32 = 35883 ; pub const GL_TEXTURE_BINDING_BUFFER : u32 = 35884 ; pub const GL_TEXTURE_BUFFER_DATA_STORE_BINDING : u32 = 35885 ; pub const GL_TEXTURE_RECTANGLE : u32 = 34037 ; pub const GL_TEXTURE_BINDING_RECTANGLE : u32 = 34038 ; pub const GL_PROXY_TEXTURE_RECTANGLE : u32 = 34039 ; pub const GL_MAX_RECTANGLE_TEXTURE_SIZE : u32 = 34040 ; pub const GL_R8_SNORM : u32 = 36756 ; pub const GL_RG8_SNORM : u32 = 36757 ; pub const GL_RGB8_SNORM : u32 = 36758 ; pub const GL_RGBA8_SNORM : u32 = 36759 ; pub const GL_R16_SNORM : u32 = 36760 ; pub const GL_RG16_SNORM : u32 = 36761 ; pub const GL_RGB16_SNORM : u32 = 36762 ; pub const GL_RGBA16_SNORM : u32 = 36763 ; pub const GL_SIGNED_NORMALIZED : u32 = 36764 ; pub const GL_PRIMITIVE_RESTART : u32 = 36765 ; pub const GL_PRIMITIVE_RESTART_INDEX : u32 = 36766 ; pub const GL_COPY_READ_BUFFER : u32 = 36662 ; pub const GL_COPY_WRITE_BUFFER : u32 = 36663 ; pub const GL_UNIFORM_BUFFER : u32 = 35345 ; pub const GL_UNIFORM_BUFFER_BINDING : u32 = 35368 ; pub const GL_UNIFORM_BUFFER_START : u32 = 35369 ; pub const GL_UNIFORM_BUFFER_SIZE : u32 = 35370 ; pub const GL_MAX_VERTEX_UNIFORM_BLOCKS : u32 = 35371 ; pub const GL_MAX_GEOMETRY_UNIFORM_BLOCKS : u32 = 35372 ; pub const GL_MAX_FRAGMENT_UNIFORM_BLOCKS : u32 = 35373 ; pub const GL_MAX_COMBINED_UNIFORM_BLOCKS : u32 = 35374 ; pub const GL_MAX_UNIFORM_BUFFER_BINDINGS : u32 = 35375 ; pub const GL_MAX_UNIFORM_BLOCK_SIZE : u32 = 35376 ; pub const GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS : u32 = 35377 ; pub const GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS : u32 = 35378 ; pub const GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS : u32 = 35379 ; pub const GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT : u32 = 35380 ; pub const GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH : u32 = 35381 ; pub const GL_ACTIVE_UNIFORM_BLOCKS : u32 = 35382 ; pub const GL_UNIFORM_TYPE : u32 = 35383 ; pub const GL_UNIFORM_SIZE : u32 = 35384 ; pub const GL_UNIFORM_NAME_LENGTH : u32 = 35385 ; pub const GL_UNIFORM_BLOCK_INDEX : u32 = 35386 ; pub const GL_UNIFORM_OFFSET : u32 = 35387 ; pub const GL_UNIFORM_ARRAY_STRIDE : u32 = 35388 ; pub const GL_UNIFORM_MATRIX_STRIDE : u32 = 35389 ; pub const GL_UNIFORM_IS_ROW_MAJOR : u32 = 35390 ; pub const GL_UNIFORM_BLOCK_BINDING : u32 = 35391 ; pub const GL_UNIFORM_BLOCK_DATA_SIZE : u32 = 35392 ; pub const GL_UNIFORM_BLOCK_NAME_LENGTH : u32 = 35393 ; pub const GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS : u32 = 35394 ; pub const GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES : u32 = 35395 ; pub const GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER : u32 = 35396 ; pub const GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER : u32 = 35397 ; pub const GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER : u32 = 35398 ; pub const GL_INVALID_INDEX : u32 = 4294967295 ; pub const GL_CONTEXT_CORE_PROFILE_BIT : u32 = 1 ; pub const GL_CONTEXT_COMPATIBILITY_PROFILE_BIT : u32 = 2 ; pub const GL_LINES_ADJACENCY : u32 = 10 ; pub const GL_LINE_STRIP_ADJACENCY : u32 = 11 ; pub const GL_TRIANGLES_ADJACENCY : u32 = 12 ; pub const GL_TRIANGLE_STRIP_ADJACENCY : u32 = 13 ; pub const GL_PROGRAM_POINT_SIZE : u32 = 34370 ; pub const GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS : u32 = 35881 ; pub const GL_FRAMEBUFFER_ATTACHMENT_LAYERED : u32 = 36263 ; pub const GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS : u32 = 36264 ; pub const GL_GEOMETRY_SHADER : u32 = 36313 ; pub const GL_GEOMETRY_VERTICES_OUT : u32 = 35094 ; pub const GL_GEOMETRY_INPUT_TYPE : u32 = 35095 ; pub const GL_GEOMETRY_OUTPUT_TYPE : u32 = 35096 ; pub const GL_MAX_GEOMETRY_UNIFORM_COMPONENTS : u32 = 36319 ; pub const GL_MAX_GEOMETRY_OUTPUT_VERTICES : u32 = 36320 ; pub const GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS : u32 = 36321 ; pub const GL_MAX_VERTEX_OUTPUT_COMPONENTS : u32 = 37154 ; pub const GL_MAX_GEOMETRY_INPUT_COMPONENTS : u32 = 37155 ; pub const GL_MAX_GEOMETRY_OUTPUT_COMPONENTS : u32 = 37156 ; pub const GL_MAX_FRAGMENT_INPUT_COMPONENTS : u32 = 37157 ; pub const GL_CONTEXT_PROFILE_MASK : u32 = 37158 ; pub const GL_DEPTH_CLAMP : u32 = 34383 ; pub const GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION : u32 = 36428 ; pub const GL_FIRST_VERTEX_CONVENTION : u32 = 36429 ; pub const GL_LAST_VERTEX_CONVENTION : u32 = 36430 ; pub const GL_PROVOKING_VERTEX : u32 = 36431 ; pub const GL_TEXTURE_CUBE_MAP_SEAMLESS : u32 = 34895 ; pub const GL_MAX_SERVER_WAIT_TIMEOUT : u32 = 37137 ; pub const GL_OBJECT_TYPE : u32 = 37138 ; pub const GL_SYNC_CONDITION : u32 = 37139 ; pub const GL_SYNC_STATUS : u32 = 37140 ; pub const GL_SYNC_FLAGS : u32 = 37141 ; pub const GL_SYNC_FENCE : u32 = 37142 ; pub const GL_SYNC_GPU_COMMANDS_COMPLETE : u32 = 37143 ; pub const GL_UNSIGNALED : u32 = 37144 ; pub const GL_SIGNALED : u32 = 37145 ; pub const GL_ALREADY_SIGNALED : u32 = 37146 ; pub const GL_TIMEOUT_EXPIRED : u32 = 37147 ; pub const GL_CONDITION_SATISFIED : u32 = 37148 ; pub const GL_WAIT_FAILED : u32 = 37149 ; pub const GL_TIMEOUT_IGNORED : i32 = -1 ; pub const GL_SYNC_FLUSH_COMMANDS_BIT : u32 = 1 ; pub const GL_SAMPLE_POSITION : u32 = 36432 ; pub const GL_SAMPLE_MASK : u32 = 36433 ; pub const GL_SAMPLE_MASK_VALUE : u32 = 36434 ; pub const GL_MAX_SAMPLE_MASK_WORDS : u32 = 36441 ; pub const GL_TEXTURE_2D_MULTISAMPLE : u32 = 37120 ; pub const GL_PROXY_TEXTURE_2D_MULTISAMPLE : u32 = 37121 ; pub const GL_TEXTURE_2D_MULTISAMPLE_ARRAY : u32 = 37122 ; pub const GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY : u32 = 37123 ; pub const GL_TEXTURE_BINDING_2D_MULTISAMPLE : u32 = 37124 ; pub const GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY : u32 = 37125 ; pub const GL_TEXTURE_SAMPLES : u32 = 37126 ; pub const GL_TEXTURE_FIXED_SAMPLE_LOCATIONS : u32 = 37127 ; pub const GL_SAMPLER_2D_MULTISAMPLE : u32 = 37128 ; pub const GL_INT_SAMPLER_2D_MULTISAMPLE : u32 = 37129 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE : u32 = 37130 ; pub const GL_SAMPLER_2D_MULTISAMPLE_ARRAY : u32 = 37131 ; pub const GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY : u32 = 37132 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY : u32 = 37133 ; pub const GL_MAX_COLOR_TEXTURE_SAMPLES : u32 = 37134 ; pub const GL_MAX_DEPTH_TEXTURE_SAMPLES : u32 = 37135 ; pub const GL_MAX_INTEGER_SAMPLES : u32 = 37136 ; pub const GL_VERTEX_ATTRIB_ARRAY_DIVISOR : u32 = 35070 ; pub const GL_SRC1_COLOR : u32 = 35065 ; pub const GL_ONE_MINUS_SRC1_COLOR : u32 = 35066 ; pub const GL_ONE_MINUS_SRC1_ALPHA : u32 = 35067 ; pub const GL_MAX_DUAL_SOURCE_DRAW_BUFFERS : u32 = 35068 ; pub const GL_ANY_SAMPLES_PASSED : u32 = 35887 ; pub const GL_SAMPLER_BINDING : u32 = 35097 ; pub const GL_RGB10_A2UI : u32 = 36975 ; pub const GL_TEXTURE_SWIZZLE_R : u32 = 36418 ; pub const GL_TEXTURE_SWIZZLE_G : u32 = 36419 ; pub const GL_TEXTURE_SWIZZLE_B : u32 = 36420 ; pub const GL_TEXTURE_SWIZZLE_A : u32 = 36421 ; pub const GL_TEXTURE_SWIZZLE_RGBA : u32 = 36422 ; pub const GL_TIME_ELAPSED : u32 = 35007 ; pub const GL_TIMESTAMP : u32 = 36392 ; pub const GL_INT_2_10_10_10_REV : u32 = 36255 ; pub const GL_VERSION_1_0 : u32 = 1 ; pub const GL_VERSION_1_1 : u32 = 1 ; pub const GL_VERSION_1_2 : u32 = 1 ; pub const GL_VERSION_1_3 : u32 = 1 ; pub const GL_VERSION_1_4 : u32 = 1 ; pub const GL_VERSION_1_5 : u32 = 1 ; pub const GL_VERSION_2_0 : u32 = 1 ; pub const GL_VERSION_2_1 : u32 = 1 ; pub const GL_VERSION_3_0 : u32 = 1 ; pub const GL_VERSION_3_1 : u32 = 1 ; pub const GL_VERSION_3_2 : u32 = 1 ; pub const GL_VERSION_3_3 : u32 = 1 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const RF_PI : f64 = 3.141592653589793 ; pub const RF_DEG2RAD : f64 = 0.017453292519943295 ; pub const RF_RAD2DEG : f64 = 57.29577951308232 ; pub const rf_max_text_buffer_length : u32 = 1024 ; pub const rf_max_text_unicode_chars : u32 = 512 ; pub const rf_textsplit_max_text_buffer_length : u32 = 1024 ; pub const rf_textsplit_max_substrings_count : u32 = 128 ; pub const rf_max_batch_elements : u32 = 8192 ; pub const rf_max_batch_buffering : u32 = 1 ; pub const rf_max_matrix_stack_size : u32 = 32 ; pub const rf_max_drawcall_registered : u32 = 256 ; pub const rf_max_shader_locations : u32 = 32 ; pub const rf_max_material_maps : u32 = 12 ; pub const GL_TEXTURE_ANISOTROPIC_FILTER : u32 = 12288 ; pub const GL_MIRROR_CLAMP_EXT : u32 = 34626 ; pub const DEFAULT_ATTRIB_POSITION_NAME : & 'static [ u8 ; 15usize ] = b"vertexPosition\0" ; pub const DEFAULT_ATTRIB_TEXCOORD_NAME : & 'static [ u8 ; 15usize ] = b"vertexTexCoord\0" ; pub const DEFAULT_ATTRIB_NORMAL_NAME : & 'static [ u8 ; 13usize ] = b"vertexNormal\0" ; pub const DEFAULT_ATTRIB_COLOR_NAME : & 'static [ u8 ; 12usize ] = b"vertexColor\0" ; pub const DEFAULT_ATTRIB_TANGENT_NAME : & 'static [ u8 ; 14usize ] = b"vertexTangent\0" ; pub const DEFAULT_ATTRIB_TEXCOORD2_NAME : & 'static [ u8 ; 16usize ] = b"vertexTexCoord2\0" ; pub const RF_LOG_TRACE : u32 = 0 ; pub const RF_LOG_DEBUG : u32 = 1 ; pub const RF_LOG_INFO : u32 = 2 ; pub const RF_LOG_WARNING : u32 = 3 ; pub const RF_LOG_ERROR : u32 = 4 ; pub const RF_LOG_FATAL : u32 = 5 ; pub const _MATH_H : u32 = 1 ; pub const _BITS_LIBM_SIMD_DECL_STUBS_H : u32 = 1 ; pub const __HAVE_FLOAT128 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 0 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const __FP_LOGB0_IS_MIN : u32 = 1 ; pub const __FP_LOGBNAN_IS_MIN : u32 = 1 ; pub const FP_ILOGB0 : i32 = -2147483648 ; pub const FP_ILOGBNAN : i32 = -2147483648 ; pub const __MATH_DECLARING_DOUBLE : u32 = 1 ; pub const __MATH_DECLARING_FLOATN : u32 = 0 ; pub const __MATH_DECLARE_LDOUBLE : u32 = 1 ; pub const 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 _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 __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; 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 __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : 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 __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [ u8 ; 6usize ] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const __timespec_defined : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _SYS_SYSMACROS_H : u32 = 1 ; pub const _BITS_SYSMACROS_H : u32 = 1 ; 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 __PTHREAD_MUTEX_LOCK_ELISION : u32 = 1 ; pub const __PTHREAD_MUTEX_NUSERS_AFTER_KIND : u32 = 0 ; pub const __PTHREAD_MUTEX_USE_UNION : u32 = 0 ; pub const __PTHREAD_RWLOCK_INT_FLAGS_SHARED : 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 TINYOBJ_FLAG_TRIANGULATE : u32 = 1 ; pub const TINYOBJ_INVALID_INDEX : u32 = 2147483648 ; pub const TINYOBJ_SUCCESS : u32 = 0 ; pub const TINYOBJ_ERROR_EMPTY : i32 = -1 ; pub const TINYOBJ_ERROR_INVALID_PARAMETER : i32 = -2 ; pub const TINYOBJ_ERROR_FILE_OPERATION : i32 = -3 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [ u8 ; 5usize ] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _ASSERT_H : u32 = 1 ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; 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 TINYOBJ_MAX_FACES_PER_F_LINE : u32 = 16 ; pub const HASH_TABLE_ERROR : u32 = 1 ; pub const HASH_TABLE_SUCCESS : u32 = 0 ; pub const HASH_TABLE_DEFAULT_SIZE : u32 = 10 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const CGLTF_ERROR_JSON : i32 = -1 ; pub const CGLTF_ERROR_NOMEM : i32 = -2 ; pub const CGLTF_ERROR_LEGACY : i32 = -3 ; pub const PAR_PI : f64 = 3.14159265359 ; pub const STRETCH_CONSTANT_2D : f64 = -0.211324865405187 ; pub const SQUISH_CONSTANT_2D : f64 = 0.366025403784439 ; pub const STRETCH_CONSTANT_3D : f64 = -0.16666666666666666 ; pub const SQUISH_CONSTANT_3D : f64 = 0.3333333333333333 ; pub const STRETCH_CONSTANT_4D : f64 = -0.138196601125011 ; pub const SQUISH_CONSTANT_4D : f64 = 0.309016994374947 ; pub const NORM_CONSTANT_2D : f64 = 47.0 ; pub const NORM_CONSTANT_3D : f64 = 103.0 ; pub const NORM_CONSTANT_4D : f64 = 30.0 ; pub const DEFAULT_SEED : u32 = 0 ; pub const STBI_VERSION : u32 = 1 ; pub const _MM_HINT_ET0 : u32 = 7 ; pub const _MM_HINT_ET1 : u32 = 6 ; pub const _MM_HINT_T0 : u32 = 3 ; pub const _MM_HINT_T1 : u32 = 2 ; pub const _MM_HINT_T2 : u32 = 1 ; pub const _MM_HINT_NTA : u32 = 0 ; pub const _MM_EXCEPT_INVALID : u32 = 1 ; pub const _MM_EXCEPT_DENORM : u32 = 2 ; pub const _MM_EXCEPT_DIV_ZERO : u32 = 4 ; pub const _MM_EXCEPT_OVERFLOW : u32 = 8 ; pub const _MM_EXCEPT_UNDERFLOW : u32 = 16 ; pub const _MM_EXCEPT_INEXACT : u32 = 32 ; pub const _MM_EXCEPT_MASK : u32 = 63 ; pub const _MM_MASK_INVALID : u32 = 128 ; pub const _MM_MASK_DENORM : u32 = 256 ; pub const _MM_MASK_DIV_ZERO : u32 = 512 ; pub const _MM_MASK_OVERFLOW : u32 = 1024 ; pub const _MM_MASK_UNDERFLOW : u32 = 2048 ; pub const _MM_MASK_INEXACT : u32 = 4096 ; pub const _MM_MASK_MASK : u32 = 8064 ; pub const _MM_ROUND_NEAREST : u32 = 0 ; pub const _MM_ROUND_DOWN : u32 = 8192 ; pub const _MM_ROUND_UP : u32 = 16384 ; pub const _MM_ROUND_TOWARD_ZERO : u32 = 24576 ; pub const _MM_ROUND_MASK : u32 = 24576 ; pub const _MM_FLUSH_ZERO_MASK : u32 = 32768 ; pub const _MM_FLUSH_ZERO_ON : u32 = 32768 ; pub const _MM_FLUSH_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_ON : u32 = 64 ; pub const _MM_DENORMALS_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_MASK : u32 = 64 ; pub const FAST_BITS : u32 = 9 ; pub const STBI__MARKER_none : u32 = 255 ; pub const STBI__ZFAST_BITS : u32 = 9 ; pub const STBI__ZFAST_MASK : u32 = 511 ; pub const STBI__HDR_BUFLEN : u32 = 1024 ; pub const stbiw__ZHASH : u32 = 16384 ; pub const STBIR_ALPHA_CHANNEL_NONE : i32 = -1 ; pub const STBIR_FLAG_ALPHA_PREMULTIPLIED : u32 = 1 ; pub const STBIR_FLAG_ALPHA_USES_COLORSPACE : u32 = 2 ; pub const STBIR_MAX_CHANNELS : u32 = 64 ; pub const STB_RECT_PACK_VERSION : u32 = 1 ; pub const STBRP__MAXVAL : u32 = 65535 ; pub const STBTT_MACSTYLE_DONTCARE : u32 = 0 ; pub const STBTT_MACSTYLE_BOLD : u32 = 1 ; pub const STBTT_MACSTYLE_ITALIC : u32 = 2 ; pub const STBTT_MACSTYLE_UNDERSCORE : u32 = 4 ; pub const STBTT_MACSTYLE_NONE : u32 = 8 ; pub const STBTT_MAX_OVERSAMPLE : u32 = 8 ; pub const STBTT_RASTERIZER_VERSION : u32 = 2 ; pub const STBTT__OVER_MASK : u32 = 7 ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_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 __struct_tm_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const rf_max_filepath_length : u32 = 512 ; pub const rf_max_filenamewithoutext_length : u32 = 128 ; pub const rf_default_ttf_fontsize : u32 = 32 ; pub const rf_default_ttf_numchars : u32 = 95 ; pub const rf_default_first_char : u32 = 32 ; pub const rf_max_fontchars : u32 = 256 ; pub const rf_sdf_char_padding : u32 = 4 ; pub const rf_sdf_on_edge_value : u32 = 128 ; pub const rf_sdf_pixel_dist_scale : f64 = 64.0 ; pub const rf_bitmap_alpha_threshold : u32 = 80 ; pub const GL_COMPRESSED_RGB_S3TC_DXT1_EXT : u32 = 33776 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT1_EXT : u32 = 33777 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT3_EXT : u32 = 33778 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT5_EXT : u32 = 33779 ; pub const GL_ETC1_RGB8_OES : u32 = 36196 ; pub const GL_COMPRESSED_RGB8_ETC2 : u32 = 37492 ; pub const GL_COMPRESSED_RGBA8_ETC2_EAC : u32 = 37496 ; pub const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG : u32 = 35840 ; pub const GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG : u32 = 35842 ; pub const GL_COMPRESSED_RGBA_ASTC_4x4_KHR : u32 = 37808 ; pub const GL_COMPRESSED_RGBA_ASTC_8x8_KHR : u32 = 37815 ; pub const GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34047 ; pub const GL_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34046 ; pub const MAX_MIPMAP_LEVELS : u32 = 5 ; pub const rf_camera_mouse_move_sensitivity : f64 = 0.003 ; pub const rf_camera_mouse_scroll_sensitivity : f64 = 1.5 ; pub const rf_camera_free_mouse_sensitivity : f64 = 0.01 ; pub const rf_camera_free_distance_min_clamp : f64 = 0.3 ; pub const rf_camera_free_distance_max_clamp : f64 = 120.0 ; pub const rf_camera_free_min_clamp : f64 = 85.0 ; pub const rf_camera_free_max_clamp : f64 = -85.0 ; pub const rf_camera_free_smooth_zoom_sensitivity : f64 = 0.05 ; pub const rf_camera_free_panning_divider : f64 = 5.1 ; pub const rf_camera_orbital_speed : f64 = 0.01 ; pub const rf_camera_first_person_focus_distance : f64 = 25.0 ; pub const rf_camera_first_person_min_clamp : f64 = 85.0 ; pub const rf_camera_first_person_max_clamp : f64 = -85.0 ; pub const rf_camera_first_person_step_trigonometric_divider : f64 = 5.0 ; pub const rf_camera_first_person_step_divider : f64 = 30.0 ; pub const rf_camera_first_person_waving_divider : f64 = 200.0 ; pub const rf_camera_third_person_distance_clamp : f64 = 1.2 ; pub const rf_camera_third_person_min_clamp : f64 = 5.0 ; pub const rf_camera_third_person_max_clamp : f64 = -85.0 ; pub const rf_player_movement_sensitivity : f64 = 20.0 ; pub const rf_max_mesh_vbo : u32 = 7 ; pub const rf_iqm_magic : & 'static [ u8 ; 16usize ] = b"INTERQUAKEMODEL\0" ; pub const rf_iqm_version : u32 = 2 ; pub const rf_epsilon : f64 = 0.000001 ; pub const rf_bone_name_length : u32 = 32 ; pub const rf_mesh_name_length : u32 = 32 ; pub const rf_line_divisions : u32 = 24 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct gladGLversionStruct { pub major : :: std :: os :: raw :: c_int , pub minor : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_gladGLversionStruct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < gladGLversionStruct > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( gladGLversionStruct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < gladGLversionStruct > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( gladGLversionStruct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < gladGLversionStruct > ( ) ) ) . major as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( gladGLversionStruct ) , "::" , stringify ! ( major ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < gladGLversionStruct > ( ) ) ) . minor as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( gladGLversionStruct ) , "::" , stringify ! ( minor ) ) ) ; } pub type GLADloadproc = :: std :: option :: Option < unsafe extern "C" fn ( name : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut GLVersion : gladGLversionStruct ; } extern "C" { pub fn gladLoadGL ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gladLoadGLLoader ( arg1 : GLADloadproc ) -> :: 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 __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __fsid_t { pub __val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __fsid_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type khronos_int32_t = i32 ; pub type khronos_uint32_t = u32 ; pub type khronos_int64_t = i64 ; pub type khronos_uint64_t = u64 ; pub type khronos_int8_t = :: std :: os :: raw :: c_schar ; pub type khronos_uint8_t = :: std :: os :: raw :: c_uchar ; pub type khronos_int16_t = :: std :: os :: raw :: c_short ; pub type khronos_uint16_t = :: std :: os :: raw :: c_ushort ; pub type khronos_intptr_t = :: std :: os :: raw :: c_long ; pub type khronos_uintptr_t = :: std :: os :: raw :: c_ulong ; pub type khronos_ssize_t = :: std :: os :: raw :: c_long ; pub type khronos_usize_t = :: std :: os :: raw :: c_ulong ; pub type khronos_float_t = f32 ; pub type khronos_utime_nanoseconds_t = khronos_uint64_t ; pub type khronos_stime_nanoseconds_t = khronos_int64_t ; pub const khronos_boolean_enum_t_KHRONOS_FALSE : khronos_boolean_enum_t = 0 ; pub const khronos_boolean_enum_t_KHRONOS_TRUE : khronos_boolean_enum_t = 1 ; pub const khronos_boolean_enum_t_KHRONOS_BOOLEAN_ENUM_FORCE_SIZE : khronos_boolean_enum_t = 2147483647 ; pub type khronos_boolean_enum_t = u32 ; pub type GLenum = :: std :: os :: raw :: c_uint ; pub type GLboolean = :: std :: os :: raw :: c_uchar ; pub type GLbitfield = :: std :: os :: raw :: c_uint ; pub type GLvoid = :: std :: os :: raw :: c_void ; pub type GLbyte = khronos_int8_t ; pub type GLubyte = khronos_uint8_t ; pub type GLshort = khronos_int16_t ; pub type GLushort = khronos_uint16_t ; pub type GLint = :: std :: os :: raw :: c_int ; pub type GLuint = :: std :: os :: raw :: c_uint ; pub type GLclampx = khronos_int32_t ; pub type GLsizei = :: std :: os :: raw :: c_int ; pub type GLfloat = khronos_float_t ; pub type GLclampf = khronos_float_t ; pub type GLdouble = f64 ; pub type GLclampd = f64 ; pub type GLeglClientBufferEXT = * mut :: std :: os :: raw :: c_void ; pub type GLeglImageOES = * mut :: std :: os :: raw :: c_void ; pub type GLchar = :: std :: os :: raw :: c_char ; pub type GLcharARB = :: std :: os :: raw :: c_char ; pub type GLhandleARB = :: std :: os :: raw :: c_uint ; pub type GLhalf = khronos_uint16_t ; pub type GLhalfARB = khronos_uint16_t ; pub type GLfixed = khronos_int32_t ; pub type GLintptr = khronos_intptr_t ; pub type GLintptrARB = khronos_intptr_t ; pub type GLsizeiptr = khronos_ssize_t ; pub type GLsizeiptrARB = khronos_ssize_t ; pub type GLint64 = khronos_int64_t ; pub type GLint64EXT = khronos_int64_t ; pub type GLuint64 = khronos_uint64_t ; pub type GLuint64EXT = khronos_uint64_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __GLsync { _unused : [ u8 ; 0 ] , } pub type GLsync = * mut __GLsync ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _cl_context { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _cl_event { _unused : [ u8 ; 0 ] , } pub type GLDEBUGPROC = :: std :: option :: Option < unsafe extern "C" fn ( source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void ) > ; pub type GLDEBUGPROCARB = :: std :: option :: Option < unsafe extern "C" fn ( source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void ) > ; pub type GLDEBUGPROCKHR = :: std :: option :: Option < unsafe extern "C" fn ( source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void ) > ; pub type GLDEBUGPROCAMD = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , category : GLenum , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * mut :: std :: os :: raw :: c_void ) > ; pub type GLhalfNV = :: std :: os :: raw :: c_ushort ; pub type GLvdpauSurfaceNV = GLintptr ; pub type GLVULKANPROCNV = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut GLAD_GL_VERSION_1_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCULLFACEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glCullFace : PFNGLCULLFACEPROC ; } pub type PFNGLFRONTFACEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glFrontFace : PFNGLFRONTFACEPROC ; } pub type PFNGLHINTPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , mode : GLenum ) > ; extern "C" { pub static mut glad_glHint : PFNGLHINTPROC ; } pub type PFNGLLINEWIDTHPROC = :: std :: option :: Option < unsafe extern "C" fn ( width : GLfloat ) > ; extern "C" { pub static mut glad_glLineWidth : PFNGLLINEWIDTHPROC ; } pub type PFNGLPOINTSIZEPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLfloat ) > ; extern "C" { pub static mut glad_glPointSize : PFNGLPOINTSIZEPROC ; } pub type PFNGLPOLYGONMODEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , mode : GLenum ) > ; extern "C" { pub static mut glad_glPolygonMode : PFNGLPOLYGONMODEPROC ; } pub type PFNGLSCISSORPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glScissor : PFNGLSCISSORPROC ; } pub type PFNGLTEXPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glTexParameterf : PFNGLTEXPARAMETERFPROC ; } pub type PFNGLTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexParameterfv : PFNGLTEXPARAMETERFVPROC ; } pub type PFNGLTEXPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glTexParameteri : PFNGLTEXPARAMETERIPROC ; } pub type PFNGLTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexParameteriv : PFNGLTEXPARAMETERIVPROC ; } pub type PFNGLTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexImage1D : PFNGLTEXIMAGE1DPROC ; } pub type PFNGLTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexImage2D : PFNGLTEXIMAGE2DPROC ; } pub type PFNGLDRAWBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( buf : GLenum ) > ; extern "C" { pub static mut glad_glDrawBuffer : PFNGLDRAWBUFFERPROC ; } pub type PFNGLCLEARPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLbitfield ) > ; extern "C" { pub static mut glad_glClear : PFNGLCLEARPROC ; } pub type PFNGLCLEARCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glClearColor : PFNGLCLEARCOLORPROC ; } pub type PFNGLCLEARSTENCILPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint ) > ; extern "C" { pub static mut glad_glClearStencil : PFNGLCLEARSTENCILPROC ; } pub type PFNGLCLEARDEPTHPROC = :: std :: option :: Option < unsafe extern "C" fn ( depth : GLdouble ) > ; extern "C" { pub static mut glad_glClearDepth : PFNGLCLEARDEPTHPROC ; } pub type PFNGLSTENCILMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilMask : PFNGLSTENCILMASKPROC ; } pub type PFNGLCOLORMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLboolean , green : GLboolean , blue : GLboolean , alpha : GLboolean ) > ; extern "C" { pub static mut glad_glColorMask : PFNGLCOLORMASKPROC ; } pub type PFNGLDEPTHMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( flag : GLboolean ) > ; extern "C" { pub static mut glad_glDepthMask : PFNGLDEPTHMASKPROC ; } pub type PFNGLDISABLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( cap : GLenum ) > ; extern "C" { pub static mut glad_glDisable : PFNGLDISABLEPROC ; } pub type PFNGLENABLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( cap : GLenum ) > ; extern "C" { pub static mut glad_glEnable : PFNGLENABLEPROC ; } pub type PFNGLFINISHPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glFinish : PFNGLFINISHPROC ; } pub type PFNGLFLUSHPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glFlush : PFNGLFLUSHPROC ; } pub type PFNGLBLENDFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sfactor : GLenum , dfactor : GLenum ) > ; extern "C" { pub static mut glad_glBlendFunc : PFNGLBLENDFUNCPROC ; } pub type PFNGLLOGICOPPROC = :: std :: option :: Option < unsafe extern "C" fn ( opcode : GLenum ) > ; extern "C" { pub static mut glad_glLogicOp : PFNGLLOGICOPPROC ; } pub type PFNGLSTENCILFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( func : GLenum , ref_ : GLint , mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilFunc : PFNGLSTENCILFUNCPROC ; } pub type PFNGLSTENCILOPPROC = :: std :: option :: Option < unsafe extern "C" fn ( fail : GLenum , zfail : GLenum , zpass : GLenum ) > ; extern "C" { pub static mut glad_glStencilOp : PFNGLSTENCILOPPROC ; } pub type PFNGLDEPTHFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( func : GLenum ) > ; extern "C" { pub static mut glad_glDepthFunc : PFNGLDEPTHFUNCPROC ; } pub type PFNGLPIXELSTOREFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glPixelStoref : PFNGLPIXELSTOREFPROC ; } pub type PFNGLPIXELSTOREIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glPixelStorei : PFNGLPIXELSTOREIPROC ; } pub type PFNGLREADBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( src : GLenum ) > ; extern "C" { pub static mut glad_glReadBuffer : PFNGLREADBUFFERPROC ; } pub type PFNGLREADPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glReadPixels : PFNGLREADPIXELSPROC ; } pub type PFNGLGETBOOLEANVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLboolean ) > ; extern "C" { pub static mut glad_glGetBooleanv : PFNGLGETBOOLEANVPROC ; } pub type PFNGLGETDOUBLEVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetDoublev : PFNGLGETDOUBLEVPROC ; } pub type PFNGLGETERRORPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) -> GLenum > ; extern "C" { pub static mut glad_glGetError : PFNGLGETERRORPROC ; } pub type PFNGLGETFLOATVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetFloatv : PFNGLGETFLOATVPROC ; } pub type PFNGLGETINTEGERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLint ) > ; extern "C" { pub static mut glad_glGetIntegerv : PFNGLGETINTEGERVPROC ; } pub type PFNGLGETSTRINGPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLenum ) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetString : PFNGLGETSTRINGPROC ; } pub type PFNGLGETTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetTexImage : PFNGLGETTEXIMAGEPROC ; } pub type PFNGLGETTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexParameterfv : PFNGLGETTEXPARAMETERFVPROC ; } pub type PFNGLGETTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexParameteriv : PFNGLGETTEXPARAMETERIVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexLevelParameterfv : PFNGLGETTEXLEVELPARAMETERFVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexLevelParameteriv : PFNGLGETTEXLEVELPARAMETERIVPROC ; } pub type PFNGLISENABLEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( cap : GLenum ) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabled : PFNGLISENABLEDPROC ; } pub type PFNGLDEPTHRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLdouble , f : GLdouble ) > ; extern "C" { pub static mut glad_glDepthRange : PFNGLDEPTHRANGEPROC ; } pub type PFNGLVIEWPORTPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glViewport : PFNGLVIEWPORTPROC ; } pub type PFNGLNEWLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint , mode : GLenum ) > ; extern "C" { pub static mut glad_glNewList : PFNGLNEWLISTPROC ; } pub type PFNGLENDLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEndList : PFNGLENDLISTPROC ; } pub type PFNGLCALLLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint ) > ; extern "C" { pub static mut glad_glCallList : PFNGLCALLLISTPROC ; } pub type PFNGLCALLLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , type_ : GLenum , lists : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCallLists : PFNGLCALLLISTSPROC ; } pub type PFNGLDELETELISTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint , range : GLsizei ) > ; extern "C" { pub static mut glad_glDeleteLists : PFNGLDELETELISTSPROC ; } pub type PFNGLGENLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( range : GLsizei ) -> GLuint > ; extern "C" { pub static mut glad_glGenLists : PFNGLGENLISTSPROC ; } pub type PFNGLLISTBASEPROC = :: std :: option :: Option < unsafe extern "C" fn ( base : GLuint ) > ; extern "C" { pub static mut glad_glListBase : PFNGLLISTBASEPROC ; } pub type PFNGLBEGINPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glBegin : PFNGLBEGINPROC ; } pub type PFNGLBITMAPPROC = :: std :: option :: Option < unsafe extern "C" fn ( width : GLsizei , height : GLsizei , xorig : GLfloat , yorig : GLfloat , xmove : GLfloat , ymove : GLfloat , bitmap : * const GLubyte ) > ; extern "C" { pub static mut glad_glBitmap : PFNGLBITMAPPROC ; } pub type PFNGLCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLbyte , green : GLbyte , blue : GLbyte ) > ; extern "C" { pub static mut glad_glColor3b : PFNGLCOLOR3BPROC ; } pub type PFNGLCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glColor3bv : PFNGLCOLOR3BVPROC ; } pub type PFNGLCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLdouble , green : GLdouble , blue : GLdouble ) > ; extern "C" { pub static mut glad_glColor3d : PFNGLCOLOR3DPROC ; } pub type PFNGLCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glColor3dv : PFNGLCOLOR3DVPROC ; } pub type PFNGLCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat ) > ; extern "C" { pub static mut glad_glColor3f : PFNGLCOLOR3FPROC ; } pub type PFNGLCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glColor3fv : PFNGLCOLOR3FVPROC ; } pub type PFNGLCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLint , green : GLint , blue : GLint ) > ; extern "C" { pub static mut glad_glColor3i : PFNGLCOLOR3IPROC ; } pub type PFNGLCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glColor3iv : PFNGLCOLOR3IVPROC ; } pub type PFNGLCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLshort , green : GLshort , blue : GLshort ) > ; extern "C" { pub static mut glad_glColor3s : PFNGLCOLOR3SPROC ; } pub type PFNGLCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glColor3sv : PFNGLCOLOR3SVPROC ; } pub type PFNGLCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLubyte , green : GLubyte , blue : GLubyte ) > ; extern "C" { pub static mut glad_glColor3ub : PFNGLCOLOR3UBPROC ; } pub type PFNGLCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLubyte ) > ; extern "C" { pub static mut glad_glColor3ubv : PFNGLCOLOR3UBVPROC ; } pub type PFNGLCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLuint , green : GLuint , blue : GLuint ) > ; extern "C" { pub static mut glad_glColor3ui : PFNGLCOLOR3UIPROC ; } pub type PFNGLCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLuint ) > ; extern "C" { pub static mut glad_glColor3uiv : PFNGLCOLOR3UIVPROC ; } pub type PFNGLCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLushort , green : GLushort , blue : GLushort ) > ; extern "C" { pub static mut glad_glColor3us : PFNGLCOLOR3USPROC ; } pub type PFNGLCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLushort ) > ; extern "C" { pub static mut glad_glColor3usv : PFNGLCOLOR3USVPROC ; } pub type PFNGLCOLOR4BPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLbyte , green : GLbyte , blue : GLbyte , alpha : GLbyte ) > ; extern "C" { pub static mut glad_glColor4b : PFNGLCOLOR4BPROC ; } pub type PFNGLCOLOR4BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glColor4bv : PFNGLCOLOR4BVPROC ; } pub type PFNGLCOLOR4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLdouble , green : GLdouble , blue : GLdouble , alpha : GLdouble ) > ; extern "C" { pub static mut glad_glColor4d : PFNGLCOLOR4DPROC ; } pub type PFNGLCOLOR4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glColor4dv : PFNGLCOLOR4DVPROC ; } pub type PFNGLCOLOR4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glColor4f : PFNGLCOLOR4FPROC ; } pub type PFNGLCOLOR4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glColor4fv : PFNGLCOLOR4FVPROC ; } pub type PFNGLCOLOR4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLint , green : GLint , blue : GLint , alpha : GLint ) > ; extern "C" { pub static mut glad_glColor4i : PFNGLCOLOR4IPROC ; } pub type PFNGLCOLOR4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glColor4iv : PFNGLCOLOR4IVPROC ; } pub type PFNGLCOLOR4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLshort , green : GLshort , blue : GLshort , alpha : GLshort ) > ; extern "C" { pub static mut glad_glColor4s : PFNGLCOLOR4SPROC ; } pub type PFNGLCOLOR4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glColor4sv : PFNGLCOLOR4SVPROC ; } pub type PFNGLCOLOR4UBPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLubyte , green : GLubyte , blue : GLubyte , alpha : GLubyte ) > ; extern "C" { pub static mut glad_glColor4ub : PFNGLCOLOR4UBPROC ; } pub type PFNGLCOLOR4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLubyte ) > ; extern "C" { pub static mut glad_glColor4ubv : PFNGLCOLOR4UBVPROC ; } pub type PFNGLCOLOR4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLuint , green : GLuint , blue : GLuint , alpha : GLuint ) > ; extern "C" { pub static mut glad_glColor4ui : PFNGLCOLOR4UIPROC ; } pub type PFNGLCOLOR4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLuint ) > ; extern "C" { pub static mut glad_glColor4uiv : PFNGLCOLOR4UIVPROC ; } pub type PFNGLCOLOR4USPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLushort , green : GLushort , blue : GLushort , alpha : GLushort ) > ; extern "C" { pub static mut glad_glColor4us : PFNGLCOLOR4USPROC ; } pub type PFNGLCOLOR4USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLushort ) > ; extern "C" { pub static mut glad_glColor4usv : PFNGLCOLOR4USVPROC ; } pub type PFNGLEDGEFLAGPROC = :: std :: option :: Option < unsafe extern "C" fn ( flag : GLboolean ) > ; extern "C" { pub static mut glad_glEdgeFlag : PFNGLEDGEFLAGPROC ; } pub type PFNGLEDGEFLAGVPROC = :: std :: option :: Option < unsafe extern "C" fn ( flag : * const GLboolean ) > ; extern "C" { pub static mut glad_glEdgeFlagv : PFNGLEDGEFLAGVPROC ; } pub type PFNGLENDPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEnd : PFNGLENDPROC ; } pub type PFNGLINDEXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLdouble ) > ; extern "C" { pub static mut glad_glIndexd : PFNGLINDEXDPROC ; } pub type PFNGLINDEXDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLdouble ) > ; extern "C" { pub static mut glad_glIndexdv : PFNGLINDEXDVPROC ; } pub type PFNGLINDEXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLfloat ) > ; extern "C" { pub static mut glad_glIndexf : PFNGLINDEXFPROC ; } pub type PFNGLINDEXFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLfloat ) > ; extern "C" { pub static mut glad_glIndexfv : PFNGLINDEXFVPROC ; } pub type PFNGLINDEXIPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLint ) > ; extern "C" { pub static mut glad_glIndexi : PFNGLINDEXIPROC ; } pub type PFNGLINDEXIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLint ) > ; extern "C" { pub static mut glad_glIndexiv : PFNGLINDEXIVPROC ; } pub type PFNGLINDEXSPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLshort ) > ; extern "C" { pub static mut glad_glIndexs : PFNGLINDEXSPROC ; } pub type PFNGLINDEXSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLshort ) > ; extern "C" { pub static mut glad_glIndexsv : PFNGLINDEXSVPROC ; } pub type PFNGLNORMAL3BPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLbyte , ny : GLbyte , nz : GLbyte ) > ; extern "C" { pub static mut glad_glNormal3b : PFNGLNORMAL3BPROC ; } pub type PFNGLNORMAL3BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glNormal3bv : PFNGLNORMAL3BVPROC ; } pub type PFNGLNORMAL3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLdouble , ny : GLdouble , nz : GLdouble ) > ; extern "C" { pub static mut glad_glNormal3d : PFNGLNORMAL3DPROC ; } pub type PFNGLNORMAL3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glNormal3dv : PFNGLNORMAL3DVPROC ; } pub type PFNGLNORMAL3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLfloat , ny : GLfloat , nz : GLfloat ) > ; extern "C" { pub static mut glad_glNormal3f : PFNGLNORMAL3FPROC ; } pub type PFNGLNORMAL3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glNormal3fv : PFNGLNORMAL3FVPROC ; } pub type PFNGLNORMAL3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLint , ny : GLint , nz : GLint ) > ; extern "C" { pub static mut glad_glNormal3i : PFNGLNORMAL3IPROC ; } pub type PFNGLNORMAL3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glNormal3iv : PFNGLNORMAL3IVPROC ; } pub type PFNGLNORMAL3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLshort , ny : GLshort , nz : GLshort ) > ; extern "C" { pub static mut glad_glNormal3s : PFNGLNORMAL3SPROC ; } pub type PFNGLNORMAL3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glNormal3sv : PFNGLNORMAL3SVPROC ; } pub type PFNGLRASTERPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos2d : PFNGLRASTERPOS2DPROC ; } pub type PFNGLRASTERPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos2dv : PFNGLRASTERPOS2DVPROC ; } pub type PFNGLRASTERPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos2f : PFNGLRASTERPOS2FPROC ; } pub type PFNGLRASTERPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos2fv : PFNGLRASTERPOS2FVPROC ; } pub type PFNGLRASTERPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glRasterPos2i : PFNGLRASTERPOS2IPROC ; } pub type PFNGLRASTERPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glRasterPos2iv : PFNGLRASTERPOS2IVPROC ; } pub type PFNGLRASTERPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glRasterPos2s : PFNGLRASTERPOS2SPROC ; } pub type PFNGLRASTERPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glRasterPos2sv : PFNGLRASTERPOS2SVPROC ; } pub type PFNGLRASTERPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos3d : PFNGLRASTERPOS3DPROC ; } pub type PFNGLRASTERPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos3dv : PFNGLRASTERPOS3DVPROC ; } pub type PFNGLRASTERPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos3f : PFNGLRASTERPOS3FPROC ; } pub type PFNGLRASTERPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos3fv : PFNGLRASTERPOS3FVPROC ; } pub type PFNGLRASTERPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glRasterPos3i : PFNGLRASTERPOS3IPROC ; } pub type PFNGLRASTERPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glRasterPos3iv : PFNGLRASTERPOS3IVPROC ; } pub type PFNGLRASTERPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glRasterPos3s : PFNGLRASTERPOS3SPROC ; } pub type PFNGLRASTERPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glRasterPos3sv : PFNGLRASTERPOS3SVPROC ; } pub type PFNGLRASTERPOS4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos4d : PFNGLRASTERPOS4DPROC ; } pub type PFNGLRASTERPOS4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos4dv : PFNGLRASTERPOS4DVPROC ; } pub type PFNGLRASTERPOS4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos4f : PFNGLRASTERPOS4FPROC ; } pub type PFNGLRASTERPOS4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos4fv : PFNGLRASTERPOS4FVPROC ; } pub type PFNGLRASTERPOS4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint , w : GLint ) > ; extern "C" { pub static mut glad_glRasterPos4i : PFNGLRASTERPOS4IPROC ; } pub type PFNGLRASTERPOS4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glRasterPos4iv : PFNGLRASTERPOS4IVPROC ; } pub type PFNGLRASTERPOS4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort , w : GLshort ) > ; extern "C" { pub static mut glad_glRasterPos4s : PFNGLRASTERPOS4SPROC ; } pub type PFNGLRASTERPOS4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glRasterPos4sv : PFNGLRASTERPOS4SVPROC ; } pub type PFNGLRECTDPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLdouble , y1 : GLdouble , x2 : GLdouble , y2 : GLdouble ) > ; extern "C" { pub static mut glad_glRectd : PFNGLRECTDPROC ; } pub type PFNGLRECTDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLdouble , v2 : * const GLdouble ) > ; extern "C" { pub static mut glad_glRectdv : PFNGLRECTDVPROC ; } pub type PFNGLRECTFPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLfloat , y1 : GLfloat , x2 : GLfloat , y2 : GLfloat ) > ; extern "C" { pub static mut glad_glRectf : PFNGLRECTFPROC ; } pub type PFNGLRECTFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLfloat , v2 : * const GLfloat ) > ; extern "C" { pub static mut glad_glRectfv : PFNGLRECTFVPROC ; } pub type PFNGLRECTIPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLint , y1 : GLint , x2 : GLint , y2 : GLint ) > ; extern "C" { pub static mut glad_glRecti : PFNGLRECTIPROC ; } pub type PFNGLRECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLint , v2 : * const GLint ) > ; extern "C" { pub static mut glad_glRectiv : PFNGLRECTIVPROC ; } pub type PFNGLRECTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLshort , y1 : GLshort , x2 : GLshort , y2 : GLshort ) > ; extern "C" { pub static mut glad_glRects : PFNGLRECTSPROC ; } pub type PFNGLRECTSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLshort , v2 : * const GLshort ) > ; extern "C" { pub static mut glad_glRectsv : PFNGLRECTSVPROC ; } pub type PFNGLTEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord1d : PFNGLTEXCOORD1DPROC ; } pub type PFNGLTEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord1dv : PFNGLTEXCOORD1DVPROC ; } pub type PFNGLTEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord1f : PFNGLTEXCOORD1FPROC ; } pub type PFNGLTEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord1fv : PFNGLTEXCOORD1FVPROC ; } pub type PFNGLTEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint ) > ; extern "C" { pub static mut glad_glTexCoord1i : PFNGLTEXCOORD1IPROC ; } pub type PFNGLTEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord1iv : PFNGLTEXCOORD1IVPROC ; } pub type PFNGLTEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord1s : PFNGLTEXCOORD1SPROC ; } pub type PFNGLTEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord1sv : PFNGLTEXCOORD1SVPROC ; } pub type PFNGLTEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble , t : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord2d : PFNGLTEXCOORD2DPROC ; } pub type PFNGLTEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord2dv : PFNGLTEXCOORD2DVPROC ; } pub type PFNGLTEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat , t : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord2f : PFNGLTEXCOORD2FPROC ; } pub type PFNGLTEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord2fv : PFNGLTEXCOORD2FVPROC ; } pub type PFNGLTEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint , t : GLint ) > ; extern "C" { pub static mut glad_glTexCoord2i : PFNGLTEXCOORD2IPROC ; } pub type PFNGLTEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord2iv : PFNGLTEXCOORD2IVPROC ; } pub type PFNGLTEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort , t : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord2s : PFNGLTEXCOORD2SPROC ; } pub type PFNGLTEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord2sv : PFNGLTEXCOORD2SVPROC ; } pub type PFNGLTEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble , t : GLdouble , r : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord3d : PFNGLTEXCOORD3DPROC ; } pub type PFNGLTEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord3dv : PFNGLTEXCOORD3DVPROC ; } pub type PFNGLTEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat , t : GLfloat , r : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord3f : PFNGLTEXCOORD3FPROC ; } pub type PFNGLTEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord3fv : PFNGLTEXCOORD3FVPROC ; } pub type PFNGLTEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint , t : GLint , r : GLint ) > ; extern "C" { pub static mut glad_glTexCoord3i : PFNGLTEXCOORD3IPROC ; } pub type PFNGLTEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord3iv : PFNGLTEXCOORD3IVPROC ; } pub type PFNGLTEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort , t : GLshort , r : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord3s : PFNGLTEXCOORD3SPROC ; } pub type PFNGLTEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord3sv : PFNGLTEXCOORD3SVPROC ; } pub type PFNGLTEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord4d : PFNGLTEXCOORD4DPROC ; } pub type PFNGLTEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord4dv : PFNGLTEXCOORD4DVPROC ; } pub type PFNGLTEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord4f : PFNGLTEXCOORD4FPROC ; } pub type PFNGLTEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord4fv : PFNGLTEXCOORD4FVPROC ; } pub type PFNGLTEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint , t : GLint , r : GLint , q : GLint ) > ; extern "C" { pub static mut glad_glTexCoord4i : PFNGLTEXCOORD4IPROC ; } pub type PFNGLTEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord4iv : PFNGLTEXCOORD4IVPROC ; } pub type PFNGLTEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort , t : GLshort , r : GLshort , q : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord4s : PFNGLTEXCOORD4SPROC ; } pub type PFNGLTEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord4sv : PFNGLTEXCOORD4SVPROC ; } pub type PFNGLVERTEX2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glVertex2d : PFNGLVERTEX2DPROC ; } pub type PFNGLVERTEX2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertex2dv : PFNGLVERTEX2DVPROC ; } pub type PFNGLVERTEX2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glVertex2f : PFNGLVERTEX2FPROC ; } pub type PFNGLVERTEX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertex2fv : PFNGLVERTEX2FVPROC ; } pub type PFNGLVERTEX2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glVertex2i : PFNGLVERTEX2IPROC ; } pub type PFNGLVERTEX2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glVertex2iv : PFNGLVERTEX2IVPROC ; } pub type PFNGLVERTEX2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glVertex2s : PFNGLVERTEX2SPROC ; } pub type PFNGLVERTEX2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertex2sv : PFNGLVERTEX2SVPROC ; } pub type PFNGLVERTEX3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glVertex3d : PFNGLVERTEX3DPROC ; } pub type PFNGLVERTEX3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertex3dv : PFNGLVERTEX3DVPROC ; } pub type PFNGLVERTEX3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glVertex3f : PFNGLVERTEX3FPROC ; } pub type PFNGLVERTEX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertex3fv : PFNGLVERTEX3FVPROC ; } pub type PFNGLVERTEX3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glVertex3i : PFNGLVERTEX3IPROC ; } pub type PFNGLVERTEX3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glVertex3iv : PFNGLVERTEX3IVPROC ; } pub type PFNGLVERTEX3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glVertex3s : PFNGLVERTEX3SPROC ; } pub type PFNGLVERTEX3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertex3sv : PFNGLVERTEX3SVPROC ; } pub type PFNGLVERTEX4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble ) > ; extern "C" { pub static mut glad_glVertex4d : PFNGLVERTEX4DPROC ; } pub type PFNGLVERTEX4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertex4dv : PFNGLVERTEX4DVPROC ; } pub type PFNGLVERTEX4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat ) > ; extern "C" { pub static mut glad_glVertex4f : PFNGLVERTEX4FPROC ; } pub type PFNGLVERTEX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertex4fv : PFNGLVERTEX4FVPROC ; } pub type PFNGLVERTEX4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint , w : GLint ) > ; extern "C" { pub static mut glad_glVertex4i : PFNGLVERTEX4IPROC ; } pub type PFNGLVERTEX4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glVertex4iv : PFNGLVERTEX4IVPROC ; } pub type PFNGLVERTEX4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort , w : GLshort ) > ; extern "C" { pub static mut glad_glVertex4s : PFNGLVERTEX4SPROC ; } pub type PFNGLVERTEX4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertex4sv : PFNGLVERTEX4SVPROC ; } pub type PFNGLCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn ( plane : GLenum , equation : * const GLdouble ) > ; extern "C" { pub static mut glad_glClipPlane : PFNGLCLIPPLANEPROC ; } pub type PFNGLCOLORMATERIALPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , mode : GLenum ) > ; extern "C" { pub static mut glad_glColorMaterial : PFNGLCOLORMATERIALPROC ; } pub type PFNGLFOGFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glFogf : PFNGLFOGFPROC ; } pub type PFNGLFOGFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glFogfv : PFNGLFOGFVPROC ; } pub type PFNGLFOGIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glFogi : PFNGLFOGIPROC ; } pub type PFNGLFOGIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glFogiv : PFNGLFOGIVPROC ; } pub type PFNGLLIGHTFPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glLightf : PFNGLLIGHTFPROC ; } pub type PFNGLLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glLightfv : PFNGLLIGHTFVPROC ; } pub type PFNGLLIGHTIPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glLighti : PFNGLLIGHTIPROC ; } pub type PFNGLLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glLightiv : PFNGLLIGHTIVPROC ; } pub type PFNGLLIGHTMODELFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glLightModelf : PFNGLLIGHTMODELFPROC ; } pub type PFNGLLIGHTMODELFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glLightModelfv : PFNGLLIGHTMODELFVPROC ; } pub type PFNGLLIGHTMODELIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glLightModeli : PFNGLLIGHTMODELIPROC ; } pub type PFNGLLIGHTMODELIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glLightModeliv : PFNGLLIGHTMODELIVPROC ; } pub type PFNGLLINESTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( factor : GLint , pattern : GLushort ) > ; extern "C" { pub static mut glad_glLineStipple : PFNGLLINESTIPPLEPROC ; } pub type PFNGLMATERIALFPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glMaterialf : PFNGLMATERIALFPROC ; } pub type PFNGLMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glMaterialfv : PFNGLMATERIALFVPROC ; } pub type PFNGLMATERIALIPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glMateriali : PFNGLMATERIALIPROC ; } pub type PFNGLMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glMaterialiv : PFNGLMATERIALIVPROC ; } pub type PFNGLPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : * const GLubyte ) > ; extern "C" { pub static mut glad_glPolygonStipple : PFNGLPOLYGONSTIPPLEPROC ; } pub type PFNGLSHADEMODELPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glShadeModel : PFNGLSHADEMODELPROC ; } pub type PFNGLTEXENVFPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glTexEnvf : PFNGLTEXENVFPROC ; } pub type PFNGLTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexEnvfv : PFNGLTEXENVFVPROC ; } pub type PFNGLTEXENVIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glTexEnvi : PFNGLTEXENVIPROC ; } pub type PFNGLTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexEnviv : PFNGLTEXENVIVPROC ; } pub type PFNGLTEXGENDPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , param : GLdouble ) > ; extern "C" { pub static mut glad_glTexGend : PFNGLTEXGENDPROC ; } pub type PFNGLTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexGendv : PFNGLTEXGENDVPROC ; } pub type PFNGLTEXGENFPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glTexGenf : PFNGLTEXGENFPROC ; } pub type PFNGLTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexGenfv : PFNGLTEXGENFVPROC ; } pub type PFNGLTEXGENIPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glTexGeni : PFNGLTEXGENIPROC ; } pub type PFNGLTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexGeniv : PFNGLTEXGENIVPROC ; } pub type PFNGLFEEDBACKBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLsizei , type_ : GLenum , buffer : * mut GLfloat ) > ; extern "C" { pub static mut glad_glFeedbackBuffer : PFNGLFEEDBACKBUFFERPROC ; } pub type PFNGLSELECTBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLsizei , buffer : * mut GLuint ) > ; extern "C" { pub static mut glad_glSelectBuffer : PFNGLSELECTBUFFERPROC ; } pub type PFNGLRENDERMODEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) -> GLint > ; extern "C" { pub static mut glad_glRenderMode : PFNGLRENDERMODEPROC ; } pub type PFNGLINITNAMESPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glInitNames : PFNGLINITNAMESPROC ; } pub type PFNGLLOADNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLuint ) > ; extern "C" { pub static mut glad_glLoadName : PFNGLLOADNAMEPROC ; } pub type PFNGLPASSTHROUGHPROC = :: std :: option :: Option < unsafe extern "C" fn ( token : GLfloat ) > ; extern "C" { pub static mut glad_glPassThrough : PFNGLPASSTHROUGHPROC ; } pub type PFNGLPOPNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopName : PFNGLPOPNAMEPROC ; } pub type PFNGLPUSHNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLuint ) > ; extern "C" { pub static mut glad_glPushName : PFNGLPUSHNAMEPROC ; } pub type PFNGLCLEARACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glClearAccum : PFNGLCLEARACCUMPROC ; } pub type PFNGLCLEARINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLfloat ) > ; extern "C" { pub static mut glad_glClearIndex : PFNGLCLEARINDEXPROC ; } pub type PFNGLINDEXMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLuint ) > ; extern "C" { pub static mut glad_glIndexMask : PFNGLINDEXMASKPROC ; } pub type PFNGLACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn ( op : GLenum , value : GLfloat ) > ; extern "C" { pub static mut glad_glAccum : PFNGLACCUMPROC ; } pub type PFNGLPOPATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopAttrib : PFNGLPOPATTRIBPROC ; } pub type PFNGLPUSHATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLbitfield ) > ; extern "C" { pub static mut glad_glPushAttrib : PFNGLPUSHATTRIBPROC ; } pub type PFNGLMAP1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLdouble , u2 : GLdouble , stride : GLint , order : GLint , points : * const GLdouble ) > ; extern "C" { pub static mut glad_glMap1d : PFNGLMAP1DPROC ; } pub type PFNGLMAP1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLfloat , u2 : GLfloat , stride : GLint , order : GLint , points : * const GLfloat ) > ; extern "C" { pub static mut glad_glMap1f : PFNGLMAP1FPROC ; } pub type PFNGLMAP2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLdouble , u2 : GLdouble , ustride : GLint , uorder : GLint , v1 : GLdouble , v2 : GLdouble , vstride : GLint , vorder : GLint , points : * const GLdouble ) > ; extern "C" { pub static mut glad_glMap2d : PFNGLMAP2DPROC ; } pub type PFNGLMAP2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLfloat , u2 : GLfloat , ustride : GLint , uorder : GLint , v1 : GLfloat , v2 : GLfloat , vstride : GLint , vorder : GLint , points : * const GLfloat ) > ; extern "C" { pub static mut glad_glMap2f : PFNGLMAP2FPROC ; } pub type PFNGLMAPGRID1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLdouble , u2 : GLdouble ) > ; extern "C" { pub static mut glad_glMapGrid1d : PFNGLMAPGRID1DPROC ; } pub type PFNGLMAPGRID1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLfloat , u2 : GLfloat ) > ; extern "C" { pub static mut glad_glMapGrid1f : PFNGLMAPGRID1FPROC ; } pub type PFNGLMAPGRID2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLdouble , u2 : GLdouble , vn : GLint , v1 : GLdouble , v2 : GLdouble ) > ; extern "C" { pub static mut glad_glMapGrid2d : PFNGLMAPGRID2DPROC ; } pub type PFNGLMAPGRID2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLfloat , u2 : GLfloat , vn : GLint , v1 : GLfloat , v2 : GLfloat ) > ; extern "C" { pub static mut glad_glMapGrid2f : PFNGLMAPGRID2FPROC ; } pub type PFNGLEVALCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord1d : PFNGLEVALCOORD1DPROC ; } pub type PFNGLEVALCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord1dv : PFNGLEVALCOORD1DVPROC ; } pub type PFNGLEVALCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord1f : PFNGLEVALCOORD1FPROC ; } pub type PFNGLEVALCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord1fv : PFNGLEVALCOORD1FVPROC ; } pub type PFNGLEVALCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLdouble , v : GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord2d : PFNGLEVALCOORD2DPROC ; } pub type PFNGLEVALCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord2dv : PFNGLEVALCOORD2DVPROC ; } pub type PFNGLEVALCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLfloat , v : GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord2f : PFNGLEVALCOORD2FPROC ; } pub type PFNGLEVALCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord2fv : PFNGLEVALCOORD2FVPROC ; } pub type PFNGLEVALMESH1PROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , i1 : GLint , i2 : GLint ) > ; extern "C" { pub static mut glad_glEvalMesh1 : PFNGLEVALMESH1PROC ; } pub type PFNGLEVALPOINT1PROC = :: std :: option :: Option < unsafe extern "C" fn ( i : GLint ) > ; extern "C" { pub static mut glad_glEvalPoint1 : PFNGLEVALPOINT1PROC ; } pub type PFNGLEVALMESH2PROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , i1 : GLint , i2 : GLint , j1 : GLint , j2 : GLint ) > ; extern "C" { pub static mut glad_glEvalMesh2 : PFNGLEVALMESH2PROC ; } pub type PFNGLEVALPOINT2PROC = :: std :: option :: Option < unsafe extern "C" fn ( i : GLint , j : GLint ) > ; extern "C" { pub static mut glad_glEvalPoint2 : PFNGLEVALPOINT2PROC ; } pub type PFNGLALPHAFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( func : GLenum , ref_ : GLfloat ) > ; extern "C" { pub static mut glad_glAlphaFunc : PFNGLALPHAFUNCPROC ; } pub type PFNGLPIXELZOOMPROC = :: std :: option :: Option < unsafe extern "C" fn ( xfactor : GLfloat , yfactor : GLfloat ) > ; extern "C" { pub static mut glad_glPixelZoom : PFNGLPIXELZOOMPROC ; } pub type PFNGLPIXELTRANSFERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glPixelTransferf : PFNGLPIXELTRANSFERFPROC ; } pub type PFNGLPIXELTRANSFERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glPixelTransferi : PFNGLPIXELTRANSFERIPROC ; } pub type PFNGLPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , mapsize : GLsizei , values : * const GLfloat ) > ; extern "C" { pub static mut glad_glPixelMapfv : PFNGLPIXELMAPFVPROC ; } pub type PFNGLPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , mapsize : GLsizei , values : * const GLuint ) > ; extern "C" { pub static mut glad_glPixelMapuiv : PFNGLPIXELMAPUIVPROC ; } pub type PFNGLPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , mapsize : GLsizei , values : * const GLushort ) > ; extern "C" { pub static mut glad_glPixelMapusv : PFNGLPIXELMAPUSVPROC ; } pub type PFNGLCOPYPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei , type_ : GLenum ) > ; extern "C" { pub static mut glad_glCopyPixels : PFNGLCOPYPIXELSPROC ; } pub type PFNGLDRAWPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn ( width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glDrawPixels : PFNGLDRAWPIXELSPROC ; } pub type PFNGLGETCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn ( plane : GLenum , equation : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetClipPlane : PFNGLGETCLIPPLANEPROC ; } pub type PFNGLGETLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetLightfv : PFNGLGETLIGHTFVPROC ; } pub type PFNGLGETLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetLightiv : PFNGLGETLIGHTIVPROC ; } pub type PFNGLGETMAPDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , query : GLenum , v : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetMapdv : PFNGLGETMAPDVPROC ; } pub type PFNGLGETMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , query : GLenum , v : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetMapfv : PFNGLGETMAPFVPROC ; } pub type PFNGLGETMAPIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , query : GLenum , v : * mut GLint ) > ; extern "C" { pub static mut glad_glGetMapiv : PFNGLGETMAPIVPROC ; } pub type PFNGLGETMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetMaterialfv : PFNGLGETMATERIALFVPROC ; } pub type PFNGLGETMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetMaterialiv : PFNGLGETMATERIALIVPROC ; } pub type PFNGLGETPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , values : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetPixelMapfv : PFNGLGETPIXELMAPFVPROC ; } pub type PFNGLGETPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , values : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetPixelMapuiv : PFNGLGETPIXELMAPUIVPROC ; } pub type PFNGLGETPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , values : * mut GLushort ) > ; extern "C" { pub static mut glad_glGetPixelMapusv : PFNGLGETPIXELMAPUSVPROC ; } pub type PFNGLGETPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : * mut GLubyte ) > ; extern "C" { pub static mut glad_glGetPolygonStipple : PFNGLGETPOLYGONSTIPPLEPROC ; } pub type PFNGLGETTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexEnvfv : PFNGLGETTEXENVFVPROC ; } pub type PFNGLGETTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexEnviv : PFNGLGETTEXENVIVPROC ; } pub type PFNGLGETTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetTexGendv : PFNGLGETTEXGENDVPROC ; } pub type PFNGLGETTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexGenfv : PFNGLGETTEXGENFVPROC ; } pub type PFNGLGETTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexGeniv : PFNGLGETTEXGENIVPROC ; } pub type PFNGLISLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsList : PFNGLISLISTPROC ; } pub type PFNGLFRUSTUMPROC = :: std :: option :: Option < unsafe extern "C" fn ( left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble ) > ; extern "C" { pub static mut glad_glFrustum : PFNGLFRUSTUMPROC ; } pub type PFNGLLOADIDENTITYPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glLoadIdentity : PFNGLLOADIDENTITYPROC ; } pub type PFNGLLOADMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glLoadMatrixf : PFNGLLOADMATRIXFPROC ; } pub type PFNGLLOADMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glLoadMatrixd : PFNGLLOADMATRIXDPROC ; } pub type PFNGLMATRIXMODEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glMatrixMode : PFNGLMATRIXMODEPROC ; } pub type PFNGLMULTMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultMatrixf : PFNGLMULTMATRIXFPROC ; } pub type PFNGLMULTMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultMatrixd : PFNGLMULTMATRIXDPROC ; } pub type PFNGLORTHOPROC = :: std :: option :: Option < unsafe extern "C" fn ( left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble ) > ; extern "C" { pub static mut glad_glOrtho : PFNGLORTHOPROC ; } pub type PFNGLPOPMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopMatrix : PFNGLPOPMATRIXPROC ; } pub type PFNGLPUSHMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPushMatrix : PFNGLPUSHMATRIXPROC ; } pub type PFNGLROTATEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( angle : GLdouble , x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glRotated : PFNGLROTATEDPROC ; } pub type PFNGLROTATEFPROC = :: std :: option :: Option < unsafe extern "C" fn ( angle : GLfloat , x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glRotatef : PFNGLROTATEFPROC ; } pub type PFNGLSCALEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glScaled : PFNGLSCALEDPROC ; } pub type PFNGLSCALEFPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glScalef : PFNGLSCALEFPROC ; } pub type PFNGLTRANSLATEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glTranslated : PFNGLTRANSLATEDPROC ; } pub type PFNGLTRANSLATEFPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glTranslatef : PFNGLTRANSLATEFPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , first : GLint , count : GLsizei ) > ; extern "C" { pub static mut glad_glDrawArrays : PFNGLDRAWARRAYSPROC ; } pub type PFNGLDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glDrawElements : PFNGLDRAWELEMENTSPROC ; } pub type PFNGLGETPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetPointerv : PFNGLGETPOINTERVPROC ; } pub type PFNGLPOLYGONOFFSETPROC = :: std :: option :: Option < unsafe extern "C" fn ( factor : GLfloat , units : GLfloat ) > ; extern "C" { pub static mut glad_glPolygonOffset : PFNGLPOLYGONOFFSETPROC ; } pub type PFNGLCOPYTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , border : GLint ) > ; extern "C" { pub static mut glad_glCopyTexImage1D : PFNGLCOPYTEXIMAGE1DPROC ; } pub type PFNGLCOPYTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , height : GLsizei , border : GLint ) > ; extern "C" { pub static mut glad_glCopyTexImage2D : PFNGLCOPYTEXIMAGE2DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , x : GLint , y : GLint , width : GLsizei ) > ; extern "C" { pub static mut glad_glCopyTexSubImage1D : PFNGLCOPYTEXSUBIMAGE1DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glCopyTexSubImage2D : PFNGLCOPYTEXSUBIMAGE2DPROC ; } pub type PFNGLTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexSubImage1D : PFNGLTEXSUBIMAGE1DPROC ; } pub type PFNGLTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexSubImage2D : PFNGLTEXSUBIMAGE2DPROC ; } pub type PFNGLBINDTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , texture : GLuint ) > ; extern "C" { pub static mut glad_glBindTexture : PFNGLBINDTEXTUREPROC ; } pub type PFNGLDELETETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteTextures : PFNGLDELETETEXTURESPROC ; } pub type PFNGLGENTEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenTextures : PFNGLGENTEXTURESPROC ; } pub type PFNGLISTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsTexture : PFNGLISTEXTUREPROC ; } pub type PFNGLARRAYELEMENTPROC = :: std :: option :: Option < unsafe extern "C" fn ( i : GLint ) > ; extern "C" { pub static mut glad_glArrayElement : PFNGLARRAYELEMENTPROC ; } pub type PFNGLCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glColorPointer : PFNGLCOLORPOINTERPROC ; } pub type PFNGLDISABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLenum ) > ; extern "C" { pub static mut glad_glDisableClientState : PFNGLDISABLECLIENTSTATEPROC ; } pub type PFNGLEDGEFLAGPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glEdgeFlagPointer : PFNGLEDGEFLAGPOINTERPROC ; } pub type PFNGLENABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLenum ) > ; extern "C" { pub static mut glad_glEnableClientState : PFNGLENABLECLIENTSTATEPROC ; } pub type PFNGLINDEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glIndexPointer : PFNGLINDEXPOINTERPROC ; } pub type PFNGLINTERLEAVEDARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( format : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glInterleavedArrays : PFNGLINTERLEAVEDARRAYSPROC ; } pub type PFNGLNORMALPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glNormalPointer : PFNGLNORMALPOINTERPROC ; } pub type PFNGLTEXCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexCoordPointer : PFNGLTEXCOORDPOINTERPROC ; } pub type PFNGLVERTEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glVertexPointer : PFNGLVERTEXPOINTERPROC ; } pub type PFNGLARETEXTURESRESIDENTPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * const GLuint , residences : * mut GLboolean ) -> GLboolean > ; extern "C" { pub static mut glad_glAreTexturesResident : PFNGLARETEXTURESRESIDENTPROC ; } pub type PFNGLPRIORITIZETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * const GLuint , priorities : * const GLfloat ) > ; extern "C" { pub static mut glad_glPrioritizeTextures : PFNGLPRIORITIZETEXTURESPROC ; } pub type PFNGLINDEXUBPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLubyte ) > ; extern "C" { pub static mut glad_glIndexub : PFNGLINDEXUBPROC ; } pub type PFNGLINDEXUBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLubyte ) > ; extern "C" { pub static mut glad_glIndexubv : PFNGLINDEXUBVPROC ; } pub type PFNGLPOPCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopClientAttrib : PFNGLPOPCLIENTATTRIBPROC ; } pub type PFNGLPUSHCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLbitfield ) > ; extern "C" { pub static mut glad_glPushClientAttrib : PFNGLPUSHCLIENTATTRIBPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWRANGEELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glDrawRangeElements : PFNGLDRAWRANGEELEMENTSPROC ; } pub type PFNGLTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexImage3D : PFNGLTEXIMAGE3DPROC ; } pub type PFNGLTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexSubImage3D : PFNGLTEXSUBIMAGE3DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glCopyTexSubImage3D : PFNGLCOPYTEXSUBIMAGE3DPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum ) > ; extern "C" { pub static mut glad_glActiveTexture : PFNGLACTIVETEXTUREPROC ; } pub type PFNGLSAMPLECOVERAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( value : GLfloat , invert : GLboolean ) > ; extern "C" { pub static mut glad_glSampleCoverage : PFNGLSAMPLECOVERAGEPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexImage3D : PFNGLCOMPRESSEDTEXIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexImage2D : PFNGLCOMPRESSEDTEXIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexImage1D : PFNGLCOMPRESSEDTEXIMAGE1DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexSubImage3D : PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexSubImage2D : PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexSubImage1D : PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC ; } pub type PFNGLGETCOMPRESSEDTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , img : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetCompressedTexImage : PFNGLGETCOMPRESSEDTEXIMAGEPROC ; } pub type PFNGLCLIENTACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum ) > ; extern "C" { pub static mut glad_glClientActiveTexture : PFNGLCLIENTACTIVETEXTUREPROC ; } pub type PFNGLMULTITEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord1d : PFNGLMULTITEXCOORD1DPROC ; } pub type PFNGLMULTITEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord1dv : PFNGLMULTITEXCOORD1DVPROC ; } pub type PFNGLMULTITEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord1f : PFNGLMULTITEXCOORD1FPROC ; } pub type PFNGLMULTITEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord1fv : PFNGLMULTITEXCOORD1FVPROC ; } pub type PFNGLMULTITEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord1i : PFNGLMULTITEXCOORD1IPROC ; } pub type PFNGLMULTITEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord1iv : PFNGLMULTITEXCOORD1IVPROC ; } pub type PFNGLMULTITEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord1s : PFNGLMULTITEXCOORD1SPROC ; } pub type PFNGLMULTITEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord1sv : PFNGLMULTITEXCOORD1SVPROC ; } pub type PFNGLMULTITEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble , t : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord2d : PFNGLMULTITEXCOORD2DPROC ; } pub type PFNGLMULTITEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord2dv : PFNGLMULTITEXCOORD2DVPROC ; } pub type PFNGLMULTITEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat , t : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord2f : PFNGLMULTITEXCOORD2FPROC ; } pub type PFNGLMULTITEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord2fv : PFNGLMULTITEXCOORD2FVPROC ; } pub type PFNGLMULTITEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint , t : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord2i : PFNGLMULTITEXCOORD2IPROC ; } pub type PFNGLMULTITEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord2iv : PFNGLMULTITEXCOORD2IVPROC ; } pub type PFNGLMULTITEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort , t : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord2s : PFNGLMULTITEXCOORD2SPROC ; } pub type PFNGLMULTITEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord2sv : PFNGLMULTITEXCOORD2SVPROC ; } pub type PFNGLMULTITEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord3d : PFNGLMULTITEXCOORD3DPROC ; } pub type PFNGLMULTITEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord3dv : PFNGLMULTITEXCOORD3DVPROC ; } pub type PFNGLMULTITEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord3f : PFNGLMULTITEXCOORD3FPROC ; } pub type PFNGLMULTITEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord3fv : PFNGLMULTITEXCOORD3FVPROC ; } pub type PFNGLMULTITEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint , t : GLint , r : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord3i : PFNGLMULTITEXCOORD3IPROC ; } pub type PFNGLMULTITEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord3iv : PFNGLMULTITEXCOORD3IVPROC ; } pub type PFNGLMULTITEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort , t : GLshort , r : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord3s : PFNGLMULTITEXCOORD3SPROC ; } pub type PFNGLMULTITEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord3sv : PFNGLMULTITEXCOORD3SVPROC ; } pub type PFNGLMULTITEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord4d : PFNGLMULTITEXCOORD4DPROC ; } pub type PFNGLMULTITEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord4dv : PFNGLMULTITEXCOORD4DVPROC ; } pub type PFNGLMULTITEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord4f : PFNGLMULTITEXCOORD4FPROC ; } pub type PFNGLMULTITEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord4fv : PFNGLMULTITEXCOORD4FVPROC ; } pub type PFNGLMULTITEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint , t : GLint , r : GLint , q : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord4i : PFNGLMULTITEXCOORD4IPROC ; } pub type PFNGLMULTITEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord4iv : PFNGLMULTITEXCOORD4IVPROC ; } pub type PFNGLMULTITEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort , t : GLshort , r : GLshort , q : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord4s : PFNGLMULTITEXCOORD4SPROC ; } pub type PFNGLMULTITEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord4sv : PFNGLMULTITEXCOORD4SVPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixf : PFNGLLOADTRANSPOSEMATRIXFPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixd : PFNGLLOADTRANSPOSEMATRIXDPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultTransposeMatrixf : PFNGLMULTTRANSPOSEMATRIXFPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultTransposeMatrixd : PFNGLMULTTRANSPOSEMATRIXDPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_4 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( sfactorRGB : GLenum , dfactorRGB : GLenum , sfactorAlpha : GLenum , dfactorAlpha : GLenum ) > ; extern "C" { pub static mut glad_glBlendFuncSeparate : PFNGLBLENDFUNCSEPARATEPROC ; } pub type PFNGLMULTIDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , first : * const GLint , count : * const GLsizei , drawcount : GLsizei ) > ; extern "C" { pub static mut glad_glMultiDrawArrays : PFNGLMULTIDRAWARRAYSPROC ; } pub type PFNGLMULTIDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei ) > ; extern "C" { pub static mut glad_glMultiDrawElements : PFNGLMULTIDRAWELEMENTSPROC ; } pub type PFNGLPOINTPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glPointParameterf : PFNGLPOINTPARAMETERFPROC ; } pub type PFNGLPOINTPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glPointParameterfv : PFNGLPOINTPARAMETERFVPROC ; } pub type PFNGLPOINTPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glPointParameteri : PFNGLPOINTPARAMETERIPROC ; } pub type PFNGLPOINTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glPointParameteriv : PFNGLPOINTPARAMETERIVPROC ; } pub type PFNGLFOGCOORDFPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLfloat ) > ; extern "C" { pub static mut glad_glFogCoordf : PFNGLFOGCOORDFPROC ; } pub type PFNGLFOGCOORDFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : * const GLfloat ) > ; extern "C" { pub static mut glad_glFogCoordfv : PFNGLFOGCOORDFVPROC ; } pub type PFNGLFOGCOORDDPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLdouble ) > ; extern "C" { pub static mut glad_glFogCoordd : PFNGLFOGCOORDDPROC ; } pub type PFNGLFOGCOORDDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : * const GLdouble ) > ; extern "C" { pub static mut glad_glFogCoorddv : PFNGLFOGCOORDDVPROC ; } pub type PFNGLFOGCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glFogCoordPointer : PFNGLFOGCOORDPOINTERPROC ; } pub type PFNGLSECONDARYCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLbyte , green : GLbyte , blue : GLbyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3b : PFNGLSECONDARYCOLOR3BPROC ; } pub type PFNGLSECONDARYCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3bv : PFNGLSECONDARYCOLOR3BVPROC ; } pub type PFNGLSECONDARYCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLdouble , green : GLdouble , blue : GLdouble ) > ; extern "C" { pub static mut glad_glSecondaryColor3d : PFNGLSECONDARYCOLOR3DPROC ; } pub type PFNGLSECONDARYCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glSecondaryColor3dv : PFNGLSECONDARYCOLOR3DVPROC ; } pub type PFNGLSECONDARYCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat ) > ; extern "C" { pub static mut glad_glSecondaryColor3f : PFNGLSECONDARYCOLOR3FPROC ; } pub type PFNGLSECONDARYCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glSecondaryColor3fv : PFNGLSECONDARYCOLOR3FVPROC ; } pub type PFNGLSECONDARYCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLint , green : GLint , blue : GLint ) > ; extern "C" { pub static mut glad_glSecondaryColor3i : PFNGLSECONDARYCOLOR3IPROC ; } pub type PFNGLSECONDARYCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glSecondaryColor3iv : PFNGLSECONDARYCOLOR3IVPROC ; } pub type PFNGLSECONDARYCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLshort , green : GLshort , blue : GLshort ) > ; extern "C" { pub static mut glad_glSecondaryColor3s : PFNGLSECONDARYCOLOR3SPROC ; } pub type PFNGLSECONDARYCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glSecondaryColor3sv : PFNGLSECONDARYCOLOR3SVPROC ; } pub type PFNGLSECONDARYCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLubyte , green : GLubyte , blue : GLubyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3ub : PFNGLSECONDARYCOLOR3UBPROC ; } pub type PFNGLSECONDARYCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLubyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3ubv : PFNGLSECONDARYCOLOR3UBVPROC ; } pub type PFNGLSECONDARYCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLuint , green : GLuint , blue : GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColor3ui : PFNGLSECONDARYCOLOR3UIPROC ; } pub type PFNGLSECONDARYCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColor3uiv : PFNGLSECONDARYCOLOR3UIVPROC ; } pub type PFNGLSECONDARYCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLushort , green : GLushort , blue : GLushort ) > ; extern "C" { pub static mut glad_glSecondaryColor3us : PFNGLSECONDARYCOLOR3USPROC ; } pub type PFNGLSECONDARYCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLushort ) > ; extern "C" { pub static mut glad_glSecondaryColor3usv : PFNGLSECONDARYCOLOR3USVPROC ; } pub type PFNGLSECONDARYCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glSecondaryColorPointer : PFNGLSECONDARYCOLORPOINTERPROC ; } pub type PFNGLWINDOWPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos2d : PFNGLWINDOWPOS2DPROC ; } pub type PFNGLWINDOWPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos2dv : PFNGLWINDOWPOS2DVPROC ; } pub type PFNGLWINDOWPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos2f : PFNGLWINDOWPOS2FPROC ; } pub type PFNGLWINDOWPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos2fv : PFNGLWINDOWPOS2FVPROC ; } pub type PFNGLWINDOWPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glWindowPos2i : PFNGLWINDOWPOS2IPROC ; } pub type PFNGLWINDOWPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glWindowPos2iv : PFNGLWINDOWPOS2IVPROC ; } pub type PFNGLWINDOWPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glWindowPos2s : PFNGLWINDOWPOS2SPROC ; } pub type PFNGLWINDOWPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glWindowPos2sv : PFNGLWINDOWPOS2SVPROC ; } pub type PFNGLWINDOWPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos3d : PFNGLWINDOWPOS3DPROC ; } pub type PFNGLWINDOWPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos3dv : PFNGLWINDOWPOS3DVPROC ; } pub type PFNGLWINDOWPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos3f : PFNGLWINDOWPOS3FPROC ; } pub type PFNGLWINDOWPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos3fv : PFNGLWINDOWPOS3FVPROC ; } pub type PFNGLWINDOWPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glWindowPos3i : PFNGLWINDOWPOS3IPROC ; } pub type PFNGLWINDOWPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glWindowPos3iv : PFNGLWINDOWPOS3IVPROC ; } pub type PFNGLWINDOWPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glWindowPos3s : PFNGLWINDOWPOS3SPROC ; } pub type PFNGLWINDOWPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glWindowPos3sv : PFNGLWINDOWPOS3SVPROC ; } pub type PFNGLBLENDCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glBlendColor : PFNGLBLENDCOLORPROC ; } pub type PFNGLBLENDEQUATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glBlendEquation : PFNGLBLENDEQUATIONPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_5 : :: std :: os :: raw :: c_int ; } pub type PFNGLGENQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , ids : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenQueries : PFNGLGENQUERIESPROC ; } pub type PFNGLDELETEQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , ids : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteQueries : PFNGLDELETEQUERIESPROC ; } pub type PFNGLISQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsQuery : PFNGLISQUERYPROC ; } pub type PFNGLBEGINQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , id : GLuint ) > ; extern "C" { pub static mut glad_glBeginQuery : PFNGLBEGINQUERYPROC ; } pub type PFNGLENDQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) > ; extern "C" { pub static mut glad_glEndQuery : PFNGLENDQUERYPROC ; } pub type PFNGLGETQUERYIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetQueryiv : PFNGLGETQUERYIVPROC ; } pub type PFNGLGETQUERYOBJECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetQueryObjectiv : PFNGLGETQUERYOBJECTIVPROC ; } pub type PFNGLGETQUERYOBJECTUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetQueryObjectuiv : PFNGLGETQUERYOBJECTUIVPROC ; } pub type PFNGLBINDBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , buffer : GLuint ) > ; extern "C" { pub static mut glad_glBindBuffer : PFNGLBINDBUFFERPROC ; } pub type PFNGLDELETEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , buffers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteBuffers : PFNGLDELETEBUFFERSPROC ; } pub type PFNGLGENBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , buffers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenBuffers : PFNGLGENBUFFERSPROC ; } pub type PFNGLISBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsBuffer : PFNGLISBUFFERPROC ; } pub type PFNGLBUFFERDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void , usage : GLenum ) > ; extern "C" { pub static mut glad_glBufferData : PFNGLBUFFERDATAPROC ; } pub type PFNGLBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glBufferSubData : PFNGLBUFFERSUBDATAPROC ; } pub type PFNGLGETBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetBufferSubData : PFNGLGETBUFFERSUBDATAPROC ; } pub type PFNGLMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , access : GLenum ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBuffer : PFNGLMAPBUFFERPROC ; } pub type PFNGLUNMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) -> GLboolean > ; extern "C" { pub static mut glad_glUnmapBuffer : PFNGLUNMAPBUFFERPROC ; } pub type PFNGLGETBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetBufferParameteriv : PFNGLGETBUFFERPARAMETERIVPROC ; } pub type PFNGLGETBUFFERPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetBufferPointerv : PFNGLGETBUFFERPOINTERVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDEQUATIONSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( modeRGB : GLenum , modeAlpha : GLenum ) > ; extern "C" { pub static mut glad_glBlendEquationSeparate : PFNGLBLENDEQUATIONSEPARATEPROC ; } pub type PFNGLDRAWBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , bufs : * const GLenum ) > ; extern "C" { pub static mut glad_glDrawBuffers : PFNGLDRAWBUFFERSPROC ; } pub type PFNGLSTENCILOPSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , sfail : GLenum , dpfail : GLenum , dppass : GLenum ) > ; extern "C" { pub static mut glad_glStencilOpSeparate : PFNGLSTENCILOPSEPARATEPROC ; } pub type PFNGLSTENCILFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , func : GLenum , ref_ : GLint , mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilFuncSeparate : PFNGLSTENCILFUNCSEPARATEPROC ; } pub type PFNGLSTENCILMASKSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilMaskSeparate : PFNGLSTENCILMASKSEPARATEPROC ; } pub type PFNGLATTACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , shader : GLuint ) > ; extern "C" { pub static mut glad_glAttachShader : PFNGLATTACHSHADERPROC ; } pub type PFNGLBINDATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , name : * const GLchar ) > ; extern "C" { pub static mut glad_glBindAttribLocation : PFNGLBINDATTRIBLOCATIONPROC ; } pub type PFNGLCOMPILESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint ) > ; extern "C" { pub static mut glad_glCompileShader : PFNGLCOMPILESHADERPROC ; } pub type PFNGLCREATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) -> GLuint > ; extern "C" { pub static mut glad_glCreateProgram : PFNGLCREATEPROGRAMPROC ; } pub type PFNGLCREATESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum ) -> GLuint > ; extern "C" { pub static mut glad_glCreateShader : PFNGLCREATESHADERPROC ; } pub type PFNGLDELETEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glDeleteProgram : PFNGLDELETEPROGRAMPROC ; } pub type PFNGLDELETESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint ) > ; extern "C" { pub static mut glad_glDeleteShader : PFNGLDELETESHADERPROC ; } pub type PFNGLDETACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , shader : GLuint ) > ; extern "C" { pub static mut glad_glDetachShader : PFNGLDETACHSHADERPROC ; } pub type PFNGLDISABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint ) > ; extern "C" { pub static mut glad_glDisableVertexAttribArray : PFNGLDISABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLENABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint ) > ; extern "C" { pub static mut glad_glEnableVertexAttribArray : PFNGLENABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLGETACTIVEATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveAttrib : PFNGLGETACTIVEATTRIBPROC ; } pub type PFNGLGETACTIVEUNIFORMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveUniform : PFNGLGETACTIVEUNIFORMPROC ; } pub type PFNGLGETATTACHEDSHADERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , maxCount : GLsizei , count : * mut GLsizei , shaders : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetAttachedShaders : PFNGLGETATTACHEDSHADERSPROC ; } pub type PFNGLGETATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetAttribLocation : PFNGLGETATTRIBLOCATIONPROC ; } pub type PFNGLGETPROGRAMIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetProgramiv : PFNGLGETPROGRAMIVPROC ; } pub type PFNGLGETPROGRAMINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetProgramInfoLog : PFNGLGETPROGRAMINFOLOGPROC ; } pub type PFNGLGETSHADERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetShaderiv : PFNGLGETSHADERIVPROC ; } pub type PFNGLGETSHADERINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetShaderInfoLog : PFNGLGETSHADERINFOLOGPROC ; } pub type PFNGLGETSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , source : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetShaderSource : PFNGLGETSHADERSOURCEPROC ; } pub type PFNGLGETUNIFORMLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetUniformLocation : PFNGLGETUNIFORMLOCATIONPROC ; } pub type PFNGLGETUNIFORMFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , location : GLint , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetUniformfv : PFNGLGETUNIFORMFVPROC ; } pub type PFNGLGETUNIFORMIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , location : GLint , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetUniformiv : PFNGLGETUNIFORMIVPROC ; } pub type PFNGLGETVERTEXATTRIBDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetVertexAttribdv : PFNGLGETVERTEXATTRIBDVPROC ; } pub type PFNGLGETVERTEXATTRIBFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetVertexAttribfv : PFNGLGETVERTEXATTRIBFVPROC ; } pub type PFNGLGETVERTEXATTRIBIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetVertexAttribiv : PFNGLGETVERTEXATTRIBIVPROC ; } pub type PFNGLGETVERTEXATTRIBPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , pointer : * mut * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetVertexAttribPointerv : PFNGLGETVERTEXATTRIBPOINTERVPROC ; } pub type PFNGLISPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsProgram : PFNGLISPROGRAMPROC ; } pub type PFNGLISSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsShader : PFNGLISSHADERPROC ; } pub type PFNGLLINKPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glLinkProgram : PFNGLLINKPROGRAMPROC ; } pub type PFNGLSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , count : GLsizei , string : * const * const GLchar , length : * const GLint ) > ; extern "C" { pub static mut glad_glShaderSource : PFNGLSHADERSOURCEPROC ; } pub type PFNGLUSEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glUseProgram : PFNGLUSEPROGRAMPROC ; } pub type PFNGLUNIFORM1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform1f : PFNGLUNIFORM1FPROC ; } pub type PFNGLUNIFORM2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat , v1 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform2f : PFNGLUNIFORM2FPROC ; } pub type PFNGLUNIFORM3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform3f : PFNGLUNIFORM3FPROC ; } pub type PFNGLUNIFORM4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat , v3 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform4f : PFNGLUNIFORM4FPROC ; } pub type PFNGLUNIFORM1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint ) > ; extern "C" { pub static mut glad_glUniform1i : PFNGLUNIFORM1IPROC ; } pub type PFNGLUNIFORM2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint , v1 : GLint ) > ; extern "C" { pub static mut glad_glUniform2i : PFNGLUNIFORM2IPROC ; } pub type PFNGLUNIFORM3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint , v1 : GLint , v2 : GLint ) > ; extern "C" { pub static mut glad_glUniform3i : PFNGLUNIFORM3IPROC ; } pub type PFNGLUNIFORM4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint , v1 : GLint , v2 : GLint , v3 : GLint ) > ; extern "C" { pub static mut glad_glUniform4i : PFNGLUNIFORM4IPROC ; } pub type PFNGLUNIFORM1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform1fv : PFNGLUNIFORM1FVPROC ; } pub type PFNGLUNIFORM2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform2fv : PFNGLUNIFORM2FVPROC ; } pub type PFNGLUNIFORM3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform3fv : PFNGLUNIFORM3FVPROC ; } pub type PFNGLUNIFORM4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform4fv : PFNGLUNIFORM4FVPROC ; } pub type PFNGLUNIFORM1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform1iv : PFNGLUNIFORM1IVPROC ; } pub type PFNGLUNIFORM2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform2iv : PFNGLUNIFORM2IVPROC ; } pub type PFNGLUNIFORM3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform3iv : PFNGLUNIFORM3IVPROC ; } pub type PFNGLUNIFORM4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform4iv : PFNGLUNIFORM4IVPROC ; } pub type PFNGLUNIFORMMATRIX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix2fv : PFNGLUNIFORMMATRIX2FVPROC ; } pub type PFNGLUNIFORMMATRIX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix3fv : PFNGLUNIFORMMATRIX3FVPROC ; } pub type PFNGLUNIFORMMATRIX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix4fv : PFNGLUNIFORMMATRIX4FVPROC ; } pub type PFNGLVALIDATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glValidateProgram : PFNGLVALIDATEPROGRAMPROC ; } pub type PFNGLVERTEXATTRIB1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib1d : PFNGLVERTEXATTRIB1DPROC ; } pub type PFNGLVERTEXATTRIB1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib1dv : PFNGLVERTEXATTRIB1DVPROC ; } pub type PFNGLVERTEXATTRIB1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib1f : PFNGLVERTEXATTRIB1FPROC ; } pub type PFNGLVERTEXATTRIB1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib1fv : PFNGLVERTEXATTRIB1FVPROC ; } pub type PFNGLVERTEXATTRIB1SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib1s : PFNGLVERTEXATTRIB1SPROC ; } pub type PFNGLVERTEXATTRIB1SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib1sv : PFNGLVERTEXATTRIB1SVPROC ; } pub type PFNGLVERTEXATTRIB2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib2d : PFNGLVERTEXATTRIB2DPROC ; } pub type PFNGLVERTEXATTRIB2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib2dv : PFNGLVERTEXATTRIB2DVPROC ; } pub type PFNGLVERTEXATTRIB2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib2f : PFNGLVERTEXATTRIB2FPROC ; } pub type PFNGLVERTEXATTRIB2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib2fv : PFNGLVERTEXATTRIB2FVPROC ; } pub type PFNGLVERTEXATTRIB2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib2s : PFNGLVERTEXATTRIB2SPROC ; } pub type PFNGLVERTEXATTRIB2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib2sv : PFNGLVERTEXATTRIB2SVPROC ; } pub type PFNGLVERTEXATTRIB3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib3d : PFNGLVERTEXATTRIB3DPROC ; } pub type PFNGLVERTEXATTRIB3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib3dv : PFNGLVERTEXATTRIB3DVPROC ; } pub type PFNGLVERTEXATTRIB3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib3f : PFNGLVERTEXATTRIB3FPROC ; } pub type PFNGLVERTEXATTRIB3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib3fv : PFNGLVERTEXATTRIB3FVPROC ; } pub type PFNGLVERTEXATTRIB3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib3s : PFNGLVERTEXATTRIB3SPROC ; } pub type PFNGLVERTEXATTRIB3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib3sv : PFNGLVERTEXATTRIB3SVPROC ; } pub type PFNGLVERTEXATTRIB4NBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLbyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nbv : PFNGLVERTEXATTRIB4NBVPROC ; } pub type PFNGLVERTEXATTRIB4NIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttrib4Niv : PFNGLVERTEXATTRIB4NIVPROC ; } pub type PFNGLVERTEXATTRIB4NSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nsv : PFNGLVERTEXATTRIB4NSVPROC ; } pub type PFNGLVERTEXATTRIB4NUBPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLubyte , y : GLubyte , z : GLubyte , w : GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nub : PFNGLVERTEXATTRIB4NUBPROC ; } pub type PFNGLVERTEXATTRIB4NUBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nubv : PFNGLVERTEXATTRIB4NUBVPROC ; } pub type PFNGLVERTEXATTRIB4NUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nuiv : PFNGLVERTEXATTRIB4NUIVPROC ; } pub type PFNGLVERTEXATTRIB4NUSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLushort ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nusv : PFNGLVERTEXATTRIB4NUSVPROC ; } pub type PFNGLVERTEXATTRIB4BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLbyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4bv : PFNGLVERTEXATTRIB4BVPROC ; } pub type PFNGLVERTEXATTRIB4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib4d : PFNGLVERTEXATTRIB4DPROC ; } pub type PFNGLVERTEXATTRIB4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib4dv : PFNGLVERTEXATTRIB4DVPROC ; } pub type PFNGLVERTEXATTRIB4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib4f : PFNGLVERTEXATTRIB4FPROC ; } pub type PFNGLVERTEXATTRIB4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib4fv : PFNGLVERTEXATTRIB4FVPROC ; } pub type PFNGLVERTEXATTRIB4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttrib4iv : PFNGLVERTEXATTRIB4IVPROC ; } pub type PFNGLVERTEXATTRIB4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort , y : GLshort , z : GLshort , w : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib4s : PFNGLVERTEXATTRIB4SPROC ; } pub type PFNGLVERTEXATTRIB4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib4sv : PFNGLVERTEXATTRIB4SVPROC ; } pub type PFNGLVERTEXATTRIB4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4ubv : PFNGLVERTEXATTRIB4UBVPROC ; } pub type PFNGLVERTEXATTRIB4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttrib4uiv : PFNGLVERTEXATTRIB4UIVPROC ; } pub type PFNGLVERTEXATTRIB4USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLushort ) > ; extern "C" { pub static mut glad_glVertexAttrib4usv : PFNGLVERTEXATTRIB4USVPROC ; } pub type PFNGLVERTEXATTRIBPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , size : GLint , type_ : GLenum , normalized : GLboolean , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glVertexAttribPointer : PFNGLVERTEXATTRIBPOINTERPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLUNIFORMMATRIX2X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix2x3fv : PFNGLUNIFORMMATRIX2X3FVPROC ; } pub type PFNGLUNIFORMMATRIX3X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix3x2fv : PFNGLUNIFORMMATRIX3X2FVPROC ; } pub type PFNGLUNIFORMMATRIX2X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix2x4fv : PFNGLUNIFORMMATRIX2X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix4x2fv : PFNGLUNIFORMMATRIX4X2FVPROC ; } pub type PFNGLUNIFORMMATRIX3X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix3x4fv : PFNGLUNIFORMMATRIX3X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix4x3fv : PFNGLUNIFORMMATRIX4X3FVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCOLORMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , r : GLboolean , g : GLboolean , b : GLboolean , a : GLboolean ) > ; extern "C" { pub static mut glad_glColorMaski : PFNGLCOLORMASKIPROC ; } pub type PFNGLGETBOOLEANI_VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , data : * mut GLboolean ) > ; extern "C" { pub static mut glad_glGetBooleani_v : PFNGLGETBOOLEANI_VPROC ; } pub type PFNGLGETINTEGERI_VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , data : * mut GLint ) > ; extern "C" { pub static mut glad_glGetIntegeri_v : PFNGLGETINTEGERI_VPROC ; } pub type PFNGLENABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint ) > ; extern "C" { pub static mut glad_glEnablei : PFNGLENABLEIPROC ; } pub type PFNGLDISABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint ) > ; extern "C" { pub static mut glad_glDisablei : PFNGLDISABLEIPROC ; } pub type PFNGLISENABLEDIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabledi : PFNGLISENABLEDIPROC ; } pub type PFNGLBEGINTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn ( primitiveMode : GLenum ) > ; extern "C" { pub static mut glad_glBeginTransformFeedback : PFNGLBEGINTRANSFORMFEEDBACKPROC ; } pub type PFNGLENDTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEndTransformFeedback : PFNGLENDTRANSFORMFEEDBACKPROC ; } pub type PFNGLBINDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , buffer : GLuint , offset : GLintptr , size : GLsizeiptr ) > ; extern "C" { pub static mut glad_glBindBufferRange : PFNGLBINDBUFFERRANGEPROC ; } pub type PFNGLBINDBUFFERBASEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , buffer : GLuint ) > ; extern "C" { pub static mut glad_glBindBufferBase : PFNGLBINDBUFFERBASEPROC ; } pub type PFNGLTRANSFORMFEEDBACKVARYINGSPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , count : GLsizei , varyings : * const * const GLchar , bufferMode : GLenum ) > ; extern "C" { pub static mut glad_glTransformFeedbackVaryings : PFNGLTRANSFORMFEEDBACKVARYINGSPROC ; } pub type PFNGLGETTRANSFORMFEEDBACKVARYINGPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLsizei , type_ : * mut GLenum , name : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetTransformFeedbackVarying : PFNGLGETTRANSFORMFEEDBACKVARYINGPROC ; } pub type PFNGLCLAMPCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , clamp : GLenum ) > ; extern "C" { pub static mut glad_glClampColor : PFNGLCLAMPCOLORPROC ; } pub type PFNGLBEGINCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , mode : GLenum ) > ; extern "C" { pub static mut glad_glBeginConditionalRender : PFNGLBEGINCONDITIONALRENDERPROC ; } pub type PFNGLENDCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEndConditionalRender : PFNGLENDCONDITIONALRENDERPROC ; } pub type PFNGLVERTEXATTRIBIPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glVertexAttribIPointer : PFNGLVERTEXATTRIBIPOINTERPROC ; } pub type PFNGLGETVERTEXATTRIBIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetVertexAttribIiv : PFNGLGETVERTEXATTRIBIIVPROC ; } pub type PFNGLGETVERTEXATTRIBIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetVertexAttribIuiv : PFNGLGETVERTEXATTRIBIUIVPROC ; } pub type PFNGLVERTEXATTRIBI1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI1i : PFNGLVERTEXATTRIBI1IPROC ; } pub type PFNGLVERTEXATTRIBI2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI2i : PFNGLVERTEXATTRIBI2IPROC ; } pub type PFNGLVERTEXATTRIBI3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI3i : PFNGLVERTEXATTRIBI3IPROC ; } pub type PFNGLVERTEXATTRIBI4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint , y : GLint , z : GLint , w : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI4i : PFNGLVERTEXATTRIBI4IPROC ; } pub type PFNGLVERTEXATTRIBI1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI1ui : PFNGLVERTEXATTRIBI1UIPROC ; } pub type PFNGLVERTEXATTRIBI2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint , y : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI2ui : PFNGLVERTEXATTRIBI2UIPROC ; } pub type PFNGLVERTEXATTRIBI3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint , y : GLuint , z : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI3ui : PFNGLVERTEXATTRIBI3UIPROC ; } pub type PFNGLVERTEXATTRIBI4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint , y : GLuint , z : GLuint , w : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI4ui : PFNGLVERTEXATTRIBI4UIPROC ; } pub type PFNGLVERTEXATTRIBI1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI1iv : PFNGLVERTEXATTRIBI1IVPROC ; } pub type PFNGLVERTEXATTRIBI2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI2iv : PFNGLVERTEXATTRIBI2IVPROC ; } pub type PFNGLVERTEXATTRIBI3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI3iv : PFNGLVERTEXATTRIBI3IVPROC ; } pub type PFNGLVERTEXATTRIBI4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI4iv : PFNGLVERTEXATTRIBI4IVPROC ; } pub type PFNGLVERTEXATTRIBI1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI1uiv : PFNGLVERTEXATTRIBI1UIVPROC ; } pub type PFNGLVERTEXATTRIBI2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI2uiv : PFNGLVERTEXATTRIBI2UIVPROC ; } pub type PFNGLVERTEXATTRIBI3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI3uiv : PFNGLVERTEXATTRIBI3UIVPROC ; } pub type PFNGLVERTEXATTRIBI4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI4uiv : PFNGLVERTEXATTRIBI4UIVPROC ; } pub type PFNGLVERTEXATTRIBI4BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLbyte ) > ; extern "C" { pub static mut glad_glVertexAttribI4bv : PFNGLVERTEXATTRIBI4BVPROC ; } pub type PFNGLVERTEXATTRIBI4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttribI4sv : PFNGLVERTEXATTRIBI4SVPROC ; } pub type PFNGLVERTEXATTRIBI4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttribI4ubv : PFNGLVERTEXATTRIBI4UBVPROC ; } pub type PFNGLVERTEXATTRIBI4USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLushort ) > ; extern "C" { pub static mut glad_glVertexAttribI4usv : PFNGLVERTEXATTRIBI4USVPROC ; } pub type PFNGLGETUNIFORMUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , location : GLint , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetUniformuiv : PFNGLGETUNIFORMUIVPROC ; } pub type PFNGLBINDFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , color : GLuint , name : * const GLchar ) > ; extern "C" { pub static mut glad_glBindFragDataLocation : PFNGLBINDFRAGDATALOCATIONPROC ; } pub type PFNGLGETFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataLocation : PFNGLGETFRAGDATALOCATIONPROC ; } pub type PFNGLUNIFORM1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint ) > ; extern "C" { pub static mut glad_glUniform1ui : PFNGLUNIFORM1UIPROC ; } pub type PFNGLUNIFORM2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint , v1 : GLuint ) > ; extern "C" { pub static mut glad_glUniform2ui : PFNGLUNIFORM2UIPROC ; } pub type PFNGLUNIFORM3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint ) > ; extern "C" { pub static mut glad_glUniform3ui : PFNGLUNIFORM3UIPROC ; } pub type PFNGLUNIFORM4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint , v3 : GLuint ) > ; extern "C" { pub static mut glad_glUniform4ui : PFNGLUNIFORM4UIPROC ; } pub type PFNGLUNIFORM1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform1uiv : PFNGLUNIFORM1UIVPROC ; } pub type PFNGLUNIFORM2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform2uiv : PFNGLUNIFORM2UIVPROC ; } pub type PFNGLUNIFORM3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform3uiv : PFNGLUNIFORM3UIVPROC ; } pub type PFNGLUNIFORM4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform4uiv : PFNGLUNIFORM4UIVPROC ; } pub type PFNGLTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexParameterIiv : PFNGLTEXPARAMETERIIVPROC ; } pub type PFNGLTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLuint ) > ; extern "C" { pub static mut glad_glTexParameterIuiv : PFNGLTEXPARAMETERIUIVPROC ; } pub type PFNGLGETTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexParameterIiv : PFNGLGETTEXPARAMETERIIVPROC ; } pub type PFNGLGETTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetTexParameterIuiv : PFNGLGETTEXPARAMETERIUIVPROC ; } pub type PFNGLCLEARBUFFERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , value : * const GLint ) > ; extern "C" { pub static mut glad_glClearBufferiv : PFNGLCLEARBUFFERIVPROC ; } pub type PFNGLCLEARBUFFERUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , value : * const GLuint ) > ; extern "C" { pub static mut glad_glClearBufferuiv : PFNGLCLEARBUFFERUIVPROC ; } pub type PFNGLCLEARBUFFERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glClearBufferfv : PFNGLCLEARBUFFERFVPROC ; } pub type PFNGLCLEARBUFFERFIPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , depth : GLfloat , stencil : GLint ) > ; extern "C" { pub static mut glad_glClearBufferfi : PFNGLCLEARBUFFERFIPROC ; } pub type PFNGLGETSTRINGIPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLenum , index : GLuint ) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetStringi : PFNGLGETSTRINGIPROC ; } pub type PFNGLISRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( renderbuffer : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsRenderbuffer : PFNGLISRENDERBUFFERPROC ; } pub type PFNGLBINDRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , renderbuffer : GLuint ) > ; extern "C" { pub static mut glad_glBindRenderbuffer : PFNGLBINDRENDERBUFFERPROC ; } pub type PFNGLDELETERENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , renderbuffers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteRenderbuffers : PFNGLDELETERENDERBUFFERSPROC ; } pub type PFNGLGENRENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , renderbuffers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenRenderbuffers : PFNGLGENRENDERBUFFERSPROC ; } pub type PFNGLRENDERBUFFERSTORAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , internalformat : GLenum , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glRenderbufferStorage : PFNGLRENDERBUFFERSTORAGEPROC ; } pub type PFNGLGETRENDERBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetRenderbufferParameteriv : PFNGLGETRENDERBUFFERPARAMETERIVPROC ; } pub type PFNGLISFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( framebuffer : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsFramebuffer : PFNGLISFRAMEBUFFERPROC ; } pub type PFNGLBINDFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , framebuffer : GLuint ) > ; extern "C" { pub static mut glad_glBindFramebuffer : PFNGLBINDFRAMEBUFFERPROC ; } pub type PFNGLDELETEFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , framebuffers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteFramebuffers : PFNGLDELETEFRAMEBUFFERSPROC ; } pub type PFNGLGENFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , framebuffers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenFramebuffers : PFNGLGENFRAMEBUFFERSPROC ; } pub type PFNGLCHECKFRAMEBUFFERSTATUSPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) -> GLenum > ; extern "C" { pub static mut glad_glCheckFramebufferStatus : PFNGLCHECKFRAMEBUFFERSTATUSPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture1D : PFNGLFRAMEBUFFERTEXTURE1DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture2D : PFNGLFRAMEBUFFERTEXTURE2DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint , zoffset : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture3D : PFNGLFRAMEBUFFERTEXTURE3DPROC ; } pub type PFNGLFRAMEBUFFERRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , renderbuffertarget : GLenum , renderbuffer : GLuint ) > ; extern "C" { pub static mut glad_glFramebufferRenderbuffer : PFNGLFRAMEBUFFERRENDERBUFFERPROC ; } pub type PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetFramebufferAttachmentParameteriv : PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC ; } pub type PFNGLGENERATEMIPMAPPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) > ; extern "C" { pub static mut glad_glGenerateMipmap : PFNGLGENERATEMIPMAPPROC ; } pub type PFNGLBLITFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( srcX0 : GLint , srcY0 : GLint , srcX1 : GLint , srcY1 : GLint , dstX0 : GLint , dstY0 : GLint , dstX1 : GLint , dstY1 : GLint , mask : GLbitfield , filter : GLenum ) > ; extern "C" { pub static mut glad_glBlitFramebuffer : PFNGLBLITFRAMEBUFFERPROC ; } pub type PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glRenderbufferStorageMultisample : PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC ; } pub type PFNGLFRAMEBUFFERTEXTURELAYERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , texture : GLuint , level : GLint , layer : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTextureLayer : PFNGLFRAMEBUFFERTEXTURELAYERPROC ; } pub type PFNGLMAPBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , length : GLsizeiptr , access : GLbitfield ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBufferRange : PFNGLMAPBUFFERRANGEPROC ; } pub type PFNGLFLUSHMAPPEDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , length : GLsizeiptr ) > ; extern "C" { pub static mut glad_glFlushMappedBufferRange : PFNGLFLUSHMAPPEDBUFFERRANGEPROC ; } pub type PFNGLBINDVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLuint ) > ; extern "C" { pub static mut glad_glBindVertexArray : PFNGLBINDVERTEXARRAYPROC ; } pub type PFNGLDELETEVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , arrays : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteVertexArrays : PFNGLDELETEVERTEXARRAYSPROC ; } pub type PFNGLGENVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , arrays : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenVertexArrays : PFNGLGENVERTEXARRAYSPROC ; } pub type PFNGLISVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsVertexArray : PFNGLISVERTEXARRAYPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , first : GLint , count : GLsizei , instancecount : GLsizei ) > ; extern "C" { pub static mut glad_glDrawArraysInstanced : PFNGLDRAWARRAYSINSTANCEDPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei ) > ; extern "C" { pub static mut glad_glDrawElementsInstanced : PFNGLDRAWELEMENTSINSTANCEDPROC ; } pub type PFNGLTEXBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , internalformat : GLenum , buffer : GLuint ) > ; extern "C" { pub static mut glad_glTexBuffer : PFNGLTEXBUFFERPROC ; } pub type PFNGLPRIMITIVERESTARTINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint ) > ; extern "C" { pub static mut glad_glPrimitiveRestartIndex : PFNGLPRIMITIVERESTARTINDEXPROC ; } pub type PFNGLCOPYBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( readTarget : GLenum , writeTarget : GLenum , readOffset : GLintptr , writeOffset : GLintptr , size : GLsizeiptr ) > ; extern "C" { pub static mut glad_glCopyBufferSubData : PFNGLCOPYBUFFERSUBDATAPROC ; } pub type PFNGLGETUNIFORMINDICESPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformCount : GLsizei , uniformNames : * const * const GLchar , uniformIndices : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetUniformIndices : PFNGLGETUNIFORMINDICESPROC ; } pub type PFNGLGETACTIVEUNIFORMSIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformCount : GLsizei , uniformIndices : * const GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetActiveUniformsiv : PFNGLGETACTIVEUNIFORMSIVPROC ; } pub type PFNGLGETACTIVEUNIFORMNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformName : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveUniformName : PFNGLGETACTIVEUNIFORMNAMEPROC ; } pub type PFNGLGETUNIFORMBLOCKINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockName : * const GLchar ) -> GLuint > ; extern "C" { pub static mut glad_glGetUniformBlockIndex : PFNGLGETUNIFORMBLOCKINDEXPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockIndex : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockiv : PFNGLGETACTIVEUNIFORMBLOCKIVPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformBlockName : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockName : PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC ; } pub type PFNGLUNIFORMBLOCKBINDINGPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockIndex : GLuint , uniformBlockBinding : GLuint ) > ; extern "C" { pub static mut glad_glUniformBlockBinding : PFNGLUNIFORMBLOCKBINDINGPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint ) > ; extern "C" { pub static mut glad_glDrawElementsBaseVertex : PFNGLDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint ) > ; extern "C" { pub static mut glad_glDrawRangeElementsBaseVertex : PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei , basevertex : GLint ) > ; extern "C" { pub static mut glad_glDrawElementsInstancedBaseVertex : PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC ; } pub type PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei , basevertex : * const GLint ) > ; extern "C" { pub static mut glad_glMultiDrawElementsBaseVertex : PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLPROVOKINGVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glProvokingVertex : PFNGLPROVOKINGVERTEXPROC ; } pub type PFNGLFENCESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( condition : GLenum , flags : GLbitfield ) -> GLsync > ; extern "C" { pub static mut glad_glFenceSync : PFNGLFENCESYNCPROC ; } pub type PFNGLISSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync ) -> GLboolean > ; extern "C" { pub static mut glad_glIsSync : PFNGLISSYNCPROC ; } pub type PFNGLDELETESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync ) > ; extern "C" { pub static mut glad_glDeleteSync : PFNGLDELETESYNCPROC ; } pub type PFNGLCLIENTWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync , flags : GLbitfield , timeout : GLuint64 ) -> GLenum > ; extern "C" { pub static mut glad_glClientWaitSync : PFNGLCLIENTWAITSYNCPROC ; } pub type PFNGLWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync , flags : GLbitfield , timeout : GLuint64 ) > ; extern "C" { pub static mut glad_glWaitSync : PFNGLWAITSYNCPROC ; } pub type PFNGLGETINTEGER64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetInteger64v : PFNGLGETINTEGER64VPROC ; } pub type PFNGLGETSYNCIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync , pname : GLenum , count : GLsizei , length : * mut GLsizei , values : * mut GLint ) > ; extern "C" { pub static mut glad_glGetSynciv : PFNGLGETSYNCIVPROC ; } pub type PFNGLGETINTEGER64I_VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , data : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetInteger64i_v : PFNGLGETINTEGER64I_VPROC ; } pub type PFNGLGETBUFFERPARAMETERI64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetBufferParameteri64v : PFNGLGETBUFFERPARAMETERI64VPROC ; } pub type PFNGLFRAMEBUFFERTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , texture : GLuint , level : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture : PFNGLFRAMEBUFFERTEXTUREPROC ; } pub type PFNGLTEXIMAGE2DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , fixedsamplelocations : GLboolean ) > ; extern "C" { pub static mut glad_glTexImage2DMultisample : PFNGLTEXIMAGE2DMULTISAMPLEPROC ; } pub type PFNGLTEXIMAGE3DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , fixedsamplelocations : GLboolean ) > ; extern "C" { pub static mut glad_glTexImage3DMultisample : PFNGLTEXIMAGE3DMULTISAMPLEPROC ; } pub type PFNGLGETMULTISAMPLEFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , index : GLuint , val : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetMultisamplefv : PFNGLGETMULTISAMPLEFVPROC ; } pub type PFNGLSAMPLEMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn ( maskNumber : GLuint , mask : GLbitfield ) > ; extern "C" { pub static mut glad_glSampleMaski : PFNGLSAMPLEMASKIPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLBINDFRAGDATALOCATIONINDEXEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , colorNumber : GLuint , index : GLuint , name : * const GLchar ) > ; extern "C" { pub static mut glad_glBindFragDataLocationIndexed : PFNGLBINDFRAGDATALOCATIONINDEXEDPROC ; } pub type PFNGLGETFRAGDATAINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataIndex : PFNGLGETFRAGDATAINDEXPROC ; } pub type PFNGLGENSAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( count : GLsizei , samplers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenSamplers : PFNGLGENSAMPLERSPROC ; } pub type PFNGLDELETESAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( count : GLsizei , samplers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteSamplers : PFNGLDELETESAMPLERSPROC ; } pub type PFNGLISSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsSampler : PFNGLISSAMPLERPROC ; } pub type PFNGLBINDSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn ( unit : GLuint , sampler : GLuint ) > ; extern "C" { pub static mut glad_glBindSampler : PFNGLBINDSAMPLERPROC ; } pub type PFNGLSAMPLERPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glSamplerParameteri : PFNGLSAMPLERPARAMETERIPROC ; } pub type PFNGLSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLint ) > ; extern "C" { pub static mut glad_glSamplerParameteriv : PFNGLSAMPLERPARAMETERIVPROC ; } pub type PFNGLSAMPLERPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glSamplerParameterf : PFNGLSAMPLERPARAMETERFPROC ; } pub type PFNGLSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLfloat ) > ; extern "C" { pub static mut glad_glSamplerParameterfv : PFNGLSAMPLERPARAMETERFVPROC ; } pub type PFNGLSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLint ) > ; extern "C" { pub static mut glad_glSamplerParameterIiv : PFNGLSAMPLERPARAMETERIIVPROC ; } pub type PFNGLSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLuint ) > ; extern "C" { pub static mut glad_glSamplerParameterIuiv : PFNGLSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetSamplerParameteriv : PFNGLGETSAMPLERPARAMETERIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetSamplerParameterIiv : PFNGLGETSAMPLERPARAMETERIIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetSamplerParameterfv : PFNGLGETSAMPLERPARAMETERFVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetSamplerParameterIuiv : PFNGLGETSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLQUERYCOUNTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , target : GLenum ) > ; extern "C" { pub static mut glad_glQueryCounter : PFNGLQUERYCOUNTERPROC ; } pub type PFNGLGETQUERYOBJECTI64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetQueryObjecti64v : PFNGLGETQUERYOBJECTI64VPROC ; } pub type PFNGLGETQUERYOBJECTUI64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLuint64 ) > ; extern "C" { pub static mut glad_glGetQueryObjectui64v : PFNGLGETQUERYOBJECTUI64VPROC ; } pub type PFNGLVERTEXATTRIBDIVISORPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , divisor : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribDivisor : PFNGLVERTEXATTRIBDIVISORPROC ; } pub type PFNGLVERTEXATTRIBP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP1ui : PFNGLVERTEXATTRIBP1UIPROC ; } pub type PFNGLVERTEXATTRIBP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP1uiv : PFNGLVERTEXATTRIBP1UIVPROC ; } pub type PFNGLVERTEXATTRIBP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP2ui : PFNGLVERTEXATTRIBP2UIPROC ; } pub type PFNGLVERTEXATTRIBP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP2uiv : PFNGLVERTEXATTRIBP2UIVPROC ; } pub type PFNGLVERTEXATTRIBP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP3ui : PFNGLVERTEXATTRIBP3UIPROC ; } pub type PFNGLVERTEXATTRIBP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP3uiv : PFNGLVERTEXATTRIBP3UIVPROC ; } pub type PFNGLVERTEXATTRIBP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP4ui : PFNGLVERTEXATTRIBP4UIPROC ; } pub type PFNGLVERTEXATTRIBP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP4uiv : PFNGLVERTEXATTRIBP4UIVPROC ; } pub type PFNGLVERTEXP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexP2ui : PFNGLVERTEXP2UIPROC ; } pub type PFNGLVERTEXP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexP2uiv : PFNGLVERTEXP2UIVPROC ; } pub type PFNGLVERTEXP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexP3ui : PFNGLVERTEXP3UIPROC ; } pub type PFNGLVERTEXP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexP3uiv : PFNGLVERTEXP3UIVPROC ; } pub type PFNGLVERTEXP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexP4ui : PFNGLVERTEXP4UIPROC ; } pub type PFNGLVERTEXP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexP4uiv : PFNGLVERTEXP4UIVPROC ; } pub type PFNGLTEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP1ui : PFNGLTEXCOORDP1UIPROC ; } pub type PFNGLTEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP1uiv : PFNGLTEXCOORDP1UIVPROC ; } pub type PFNGLTEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP2ui : PFNGLTEXCOORDP2UIPROC ; } pub type PFNGLTEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP2uiv : PFNGLTEXCOORDP2UIVPROC ; } pub type PFNGLTEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP3ui : PFNGLTEXCOORDP3UIPROC ; } pub type PFNGLTEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP3uiv : PFNGLTEXCOORDP3UIVPROC ; } pub type PFNGLTEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP4ui : PFNGLTEXCOORDP4UIPROC ; } pub type PFNGLTEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP4uiv : PFNGLTEXCOORDP4UIVPROC ; } pub type PFNGLMULTITEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP1ui : PFNGLMULTITEXCOORDP1UIPROC ; } pub type PFNGLMULTITEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP1uiv : PFNGLMULTITEXCOORDP1UIVPROC ; } pub type PFNGLMULTITEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP2ui : PFNGLMULTITEXCOORDP2UIPROC ; } pub type PFNGLMULTITEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP2uiv : PFNGLMULTITEXCOORDP2UIVPROC ; } pub type PFNGLMULTITEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP3ui : PFNGLMULTITEXCOORDP3UIPROC ; } pub type PFNGLMULTITEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP3uiv : PFNGLMULTITEXCOORDP3UIVPROC ; } pub type PFNGLMULTITEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP4ui : PFNGLMULTITEXCOORDP4UIPROC ; } pub type PFNGLMULTITEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP4uiv : PFNGLMULTITEXCOORDP4UIVPROC ; } pub type PFNGLNORMALP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glNormalP3ui : PFNGLNORMALP3UIPROC ; } pub type PFNGLNORMALP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glNormalP3uiv : PFNGLNORMALP3UIVPROC ; } pub type PFNGLCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : GLuint ) > ; extern "C" { pub static mut glad_glColorP3ui : PFNGLCOLORP3UIPROC ; } pub type PFNGLCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : * const GLuint ) > ; extern "C" { pub static mut glad_glColorP3uiv : PFNGLCOLORP3UIVPROC ; } pub type PFNGLCOLORP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : GLuint ) > ; extern "C" { pub static mut glad_glColorP4ui : PFNGLCOLORP4UIPROC ; } pub type PFNGLCOLORP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : * const GLuint ) > ; extern "C" { pub static mut glad_glColorP4uiv : PFNGLCOLORP4UIVPROC ; } pub type PFNGLSECONDARYCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColorP3ui : PFNGLSECONDARYCOLORP3UIPROC ; } pub type PFNGLSECONDARYCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : * const GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColorP3uiv : PFNGLSECONDARYCOLORP3UIVPROC ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_sizei { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_sizei ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_sizei > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_sizei ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_sizei > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_sizei ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizei > ( ) ) ) . width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizei ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizei > ( ) ) ) . height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizei ) , "::" , stringify ! ( height ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_sizef { pub width : f32 , pub height : f32 , } # [ test ] fn bindgen_test_layout_rf_sizef ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_sizef > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_sizef ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_sizef > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_sizef ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizef > ( ) ) ) . width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizef ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizef > ( ) ) ) . height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizef ) , "::" , stringify ! ( height ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_vector2 { pub x : f32 , pub y : f32 , } # [ test ] fn bindgen_test_layout_rf_vector2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_vector2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_vector2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_vector2 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_vector2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector2 > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector2 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector2 > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector2 ) , "::" , stringify ! ( y ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_vector3 { pub x : f32 , pub y : f32 , pub z : f32 , } # [ test ] fn bindgen_test_layout_rf_vector3 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_vector3 > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( rf_vector3 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_vector3 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_vector3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector3 > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector3 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector3 > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector3 ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector3 > ( ) ) ) . z as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector3 ) , "::" , stringify ! ( z ) ) ) ; } pub type rf_quaternion = rf_vector4 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_vector4 { pub x : f32 , pub y : f32 , pub z : f32 , pub w : f32 , } # [ test ] fn bindgen_test_layout_rf_vector4 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_vector4 > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_vector4 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_vector4 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_vector4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . z as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . w as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( w ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_matrix { pub m0 : f32 , pub m4 : f32 , pub m8 : f32 , pub m12 : f32 , pub m1 : f32 , pub m5 : f32 , pub m9 : f32 , pub m13 : f32 , pub m2 : f32 , pub m6 : f32 , pub m10 : f32 , pub m14 : f32 , pub m3 : f32 , pub m7 : f32 , pub m11 : f32 , pub m15 : f32 , } # [ test ] fn bindgen_test_layout_rf_matrix ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_matrix > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( rf_matrix ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_matrix > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m4 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m8 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m8 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m12 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m12 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m5 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m9 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m9 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m13 as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m13 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m2 as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m6 as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m10 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m10 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m14 as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m14 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m3 as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m7 as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m7 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m11 as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m11 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m15 as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m15 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_rectangle { pub x : f32 , pub y : f32 , pub width : f32 , pub height : f32 , } # [ test ] fn bindgen_test_layout_rf_rectangle ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_rectangle > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_rectangle ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_rectangle > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_rectangle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . width as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . height as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( height ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_float3 { pub v : [ f32 ; 3usize ] , } # [ test ] fn bindgen_test_layout_rf_float3 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_float3 > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( rf_float3 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_float3 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_float3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_float3 > ( ) ) ) . v as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_float3 ) , "::" , stringify ! ( v ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_float16 { pub v : [ f32 ; 16usize ] , } # [ test ] fn bindgen_test_layout_rf_float16 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_float16 > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( rf_float16 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_float16 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_float16 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_float16 > ( ) ) ) . v as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_float16 ) , "::" , stringify ! ( v ) ) ) ; } extern "C" { pub fn rf_clamp ( value : f32 , min : f32 , max : f32 ) -> f32 ; } extern "C" { pub fn rf_lerp ( start : f32 , end : f32 , amount : f32 ) -> f32 ; } extern "C" { pub fn rf_vector2_zero ( ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_one ( ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_add ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_substract ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_length ( v : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_dot_product ( v1 : rf_vector2 , v2 : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_distance ( v1 : rf_vector2 , v2 : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_angle ( v1 : rf_vector2 , v2 : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_scale ( v : rf_vector2 , scale : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_multiply_v ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_negate ( v : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide ( v : rf_vector2 , div : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide_v ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_normalize ( v : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_lerp ( v1 : rf_vector2 , v2 : rf_vector2 , amount : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector3_zero ( ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_one ( ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_add ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_substract ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply ( v : rf_vector3 , scalar : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply_v ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_cross_product ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_perpendicular ( v : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_length ( v : rf_vector3 ) -> f32 ; } extern "C" { pub fn rf_vector3_dot_product ( v1 : rf_vector3 , v2 : rf_vector3 ) -> f32 ; } extern "C" { pub fn rf_vector3_distance ( v1 : rf_vector3 , v2 : rf_vector3 ) -> f32 ; } extern "C" { pub fn rf_vector3_scale ( v : rf_vector3 , scale : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_negate ( v : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide ( v : rf_vector3 , div : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide_v ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_normalize ( v : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_ortho_normalize ( v1 : * mut rf_vector3 , v2 : * mut rf_vector3 ) ; } extern "C" { pub fn rf_vector3_transform ( v : rf_vector3 , mat : rf_matrix ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_rotate_by_quaternion ( v : rf_vector3 , q : rf_quaternion ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_lerp ( v1 : rf_vector3 , v2 : rf_vector3 , amount : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_reflect ( v : rf_vector3 , normal : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_min ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_max ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_barycenter ( p : rf_vector3 , a : rf_vector3 , b : rf_vector3 , c : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_to_float_v ( v : rf_vector3 ) -> rf_float3 ; } extern "C" { pub fn rf_matrix_determinant ( mat : rf_matrix ) -> f32 ; } extern "C" { pub fn rf_matrix_trace ( mat : rf_matrix ) -> f32 ; } extern "C" { pub fn rf_matrix_transpose ( mat : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_invert ( mat : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_normalize ( mat : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_identity ( ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_add ( left : rf_matrix , right : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_subtract ( left : rf_matrix , right : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_translate ( x : f32 , y : f32 , z : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate ( axis : rf_vector3 , angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_xyz ( ang : rf_vector3 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_x ( angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_y ( angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_z ( angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_scale ( x : f32 , y : f32 , z : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_multiply ( left : rf_matrix , right : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_frustum ( left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_perspective ( fovy : f64 , aspect : f64 , near_val : f64 , far_val : f64 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_ortho ( left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_look_at ( eye : rf_vector3 , target : rf_vector3 , up : rf_vector3 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_to_floatv ( mat : rf_matrix ) -> rf_float16 ; } extern "C" { pub fn rf_quaternion_identity ( ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_length ( q : rf_quaternion ) -> f32 ; } extern "C" { pub fn rf_quaternion_normalize ( q : rf_quaternion ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_invert ( q : rf_quaternion ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_multiply ( q1 : rf_quaternion , q2 : rf_quaternion ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_lerp ( q1 : rf_quaternion , q2 : rf_quaternion , amount : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_nlerp ( q1 : rf_quaternion , q2 : rf_quaternion , amount : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_slerp ( q1 : rf_quaternion , q2 : rf_quaternion , amount : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_vector3_to_vector3 ( from : rf_vector3 , to : rf_vector3 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_matrix ( mat : rf_matrix ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_matrix ( q : rf_quaternion ) -> rf_matrix ; } extern "C" { pub fn rf_quaternion_from_axis_angle ( axis : rf_vector3 , angle : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_axis_angle ( q : rf_quaternion , outAxis : * mut rf_vector3 , outAngle : * mut f32 ) ; } extern "C" { pub fn rf_quaternion_from_euler ( roll : f32 , pitch : f32 , yaw : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_euler ( q : rf_quaternion ) -> rf_vector3 ; } extern "C" { pub fn rf_quaternion_transform ( q : rf_quaternion , mat : rf_matrix ) -> rf_quaternion ; } extern "C" { pub fn rf_check_collision_recs ( rec1 : rf_rectangle , rec2 : rf_rectangle ) -> bool ; } extern "C" { pub fn rf_check_collision_circles ( center1 : rf_vector2 , radius1 : f32 , center2 : rf_vector2 , radius2 : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_circle_rec ( center : rf_vector2 , radius : f32 , rec : rf_rectangle ) -> bool ; } extern "C" { pub fn rf_get_collision_rec ( rec1 : rf_rectangle , rec2 : rf_rectangle ) -> rf_rectangle ; } extern "C" { pub fn rf_check_collision_point_rec ( point : rf_vector2 , rec : rf_rectangle ) -> bool ; } extern "C" { pub fn rf_check_collision_point_circle ( point : rf_vector2 , center : rf_vector2 , radius : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_point_triangle ( point : rf_vector2 , p1 : rf_vector2 , p2 : rf_vector2 , p3 : rf_vector2 ) -> bool ; } extern "C" { pub fn rf_get_random_value ( min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_input_state_for_update_camera { pub mouse_position : rf_vector2 , pub mouse_wheel_move : :: std :: os :: raw :: c_int , pub is_camera_pan_control_key_down : bool , pub is_camera_alt_control_key_down : bool , pub is_camera_smooth_zoom_control_key : bool , pub direction_keys : [ bool ; 6usize ] , } # [ test ] fn bindgen_test_layout_rf_input_state_for_update_camera ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_input_state_for_update_camera > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_input_state_for_update_camera ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_input_state_for_update_camera > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_input_state_for_update_camera ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . mouse_position as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( mouse_position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . mouse_wheel_move as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( mouse_wheel_move ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . is_camera_pan_control_key_down as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( is_camera_pan_control_key_down ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . is_camera_alt_control_key_down as * const _ as usize } , 13usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( is_camera_alt_control_key_down ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . is_camera_smooth_zoom_control_key as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( is_camera_smooth_zoom_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . direction_keys as * const _ as usize } , 15usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( direction_keys ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_color { pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_rf_color ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_color > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( rf_color ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_color > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( rf_color ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . r as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( r ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . g as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( g ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . b as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . a as * const _ as usize } , 3usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( a ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_image { pub data : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_image ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_image > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_image ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_image > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . width as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . height as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . mipmaps as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( mipmaps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . format as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( format ) ) ) ; } pub type rf_texture = rf_texture2d ; pub type rf_texture_cubemap = rf_texture2d ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_texture2d { pub id : :: std :: os :: raw :: c_uint , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_texture2d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_texture2d > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( rf_texture2d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_texture2d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_texture2d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . width as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . height as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . mipmaps as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( mipmaps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . format as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( format ) ) ) ; } pub type rf_render_texture = rf_render_texture2d ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_render_texture2d { pub id : :: std :: os :: raw :: c_uint , pub texture : rf_texture2d , pub depth : rf_texture2d , pub depth_texture : bool , } # [ test ] fn bindgen_test_layout_rf_render_texture2d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_render_texture2d > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( rf_render_texture2d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_render_texture2d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_render_texture2d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . texture as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . depth as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( depth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . depth_texture as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( depth_texture ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_npatch_info { pub source_rec : rf_rectangle , pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub right : :: std :: os :: raw :: c_int , pub bottom : :: std :: os :: raw :: c_int , pub type_ : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_npatch_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_npatch_info > ( ) , 36usize , concat ! ( "Size of: " , stringify ! ( rf_npatch_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_npatch_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_npatch_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . source_rec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( source_rec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . left as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . top as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . right as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . bottom as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . type_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_char_info { pub value : :: std :: os :: raw :: c_int , pub offset_x : :: std :: os :: raw :: c_int , pub offset_y : :: std :: os :: raw :: c_int , pub advance_x : :: std :: os :: raw :: c_int , pub image : rf_image , } # [ test ] fn bindgen_test_layout_rf_char_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_char_info > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( rf_char_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_char_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_char_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . offset_x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( offset_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . offset_y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( offset_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . advance_x as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( advance_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . image as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( image ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_font { pub base_size : :: std :: os :: raw :: c_int , pub chars_count : :: std :: os :: raw :: c_int , pub texture : rf_texture2d , pub recs : * mut rf_rectangle , pub chars : * mut rf_char_info , } # [ test ] fn bindgen_test_layout_rf_font ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_font > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( rf_font ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_font > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_font ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . base_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( base_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . chars_count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( chars_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . texture as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . recs as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( recs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . chars as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_load_font_async_result { pub font : rf_font , pub atlas : rf_image , } # [ test ] fn bindgen_test_layout_rf_load_font_async_result ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_load_font_async_result > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( rf_load_font_async_result ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_load_font_async_result > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_load_font_async_result ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_load_font_async_result > ( ) ) ) . font as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_load_font_async_result ) , "::" , stringify ! ( font ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_load_font_async_result > ( ) ) ) . atlas as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_load_font_async_result ) , "::" , stringify ! ( atlas ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_camera3d { pub position : rf_vector3 , pub target : rf_vector3 , pub up : rf_vector3 , pub fovy : f32 , pub type_ : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_camera3d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_camera3d > ( ) , 44usize , concat ! ( "Size of: " , stringify ! ( rf_camera3d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_camera3d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_camera3d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . position as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . target as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( target ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . up as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . fovy as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( fovy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . type_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_camera2d { pub offset : rf_vector2 , pub target : rf_vector2 , pub rotation : f32 , pub zoom : f32 , } # [ test ] fn bindgen_test_layout_rf_camera2d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_camera2d > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_camera2d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_camera2d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_camera2d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . target as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( target ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . rotation as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . zoom as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( zoom ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_mesh { pub vertex_count : :: std :: os :: raw :: c_int , pub triangle_count : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub texcoords2 : * mut f32 , pub normals : * mut f32 , pub tangents : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_ushort , pub anim_vertices : * mut f32 , pub anim_normals : * mut f32 , pub bone_ids : * mut :: std :: os :: raw :: c_int , pub bone_weights : * mut f32 , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : * mut :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_rf_mesh ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_mesh > ( ) , 112usize , concat ! ( "Size of: " , stringify ! ( rf_mesh ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_mesh > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_mesh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vertex_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vertex_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . triangle_count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( triangle_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vertices as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . texcoords as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . texcoords2 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( texcoords2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . normals as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . tangents as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( tangents ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . colors as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( colors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . indices as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( indices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . anim_vertices as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( anim_vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . anim_normals as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( anim_normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . bone_ids as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( bone_ids ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . bone_weights as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( bone_weights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vao_id as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vao_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vbo_id as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vbo_id ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_shader { pub id : :: std :: os :: raw :: c_uint , pub locs : * mut :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_shader ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_shader > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_shader ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_shader > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_shader > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_shader ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_shader > ( ) ) ) . locs as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_shader ) , "::" , stringify ! ( locs ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_material_map { pub texture : rf_texture2d , pub color : rf_color , pub value : f32 , } # [ test ] fn bindgen_test_layout_rf_material_map ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_material_map > ( ) , 28usize , concat ! ( "Size of: " , stringify ! ( rf_material_map ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_material_map > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_material_map ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material_map > ( ) ) ) . texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_material_map ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material_map > ( ) ) ) . color as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_material_map ) , "::" , stringify ! ( color ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material_map > ( ) ) ) . value as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_material_map ) , "::" , stringify ! ( value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_material { pub shader : rf_shader , pub maps : * mut rf_material_map , pub params : * mut f32 , } # [ test ] fn bindgen_test_layout_rf_material ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_material > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( rf_material ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_material > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material > ( ) ) ) . shader as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_material ) , "::" , stringify ! ( shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material > ( ) ) ) . maps as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_material ) , "::" , stringify ! ( maps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material > ( ) ) ) . params as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_material ) , "::" , stringify ! ( params ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_transform { pub translation : rf_vector3 , pub rotation : rf_quaternion , pub scale : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_transform ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_transform > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( rf_transform ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_transform > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_transform > ( ) ) ) . translation as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_transform ) , "::" , stringify ! ( translation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_transform > ( ) ) ) . rotation as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_transform ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_transform > ( ) ) ) . scale as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( rf_transform ) , "::" , stringify ! ( scale ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_bone_info { pub name : [ :: std :: os :: raw :: c_char ; 32usize ] , pub parent : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_bone_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_bone_info > ( ) , 36usize , concat ! ( "Size of: " , stringify ! ( rf_bone_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_bone_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_bone_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bone_info > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_bone_info ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bone_info > ( ) ) ) . parent as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_bone_info ) , "::" , stringify ! ( parent ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_model { pub transform : rf_matrix , pub mesh_count : :: std :: os :: raw :: c_int , pub meshes : * mut rf_mesh , pub material_count : :: std :: os :: raw :: c_int , pub materials : * mut rf_material , pub mesh_material : * mut :: std :: os :: raw :: c_int , pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub bind_pose : * mut rf_transform , } # [ test ] fn bindgen_test_layout_rf_model ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_model > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( rf_model ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_model > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_model ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . transform as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . mesh_count as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( mesh_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . meshes as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( meshes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . material_count as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( material_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . materials as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( materials ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . mesh_material as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( mesh_material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . bone_count as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( bone_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . bones as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( bones ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . bind_pose as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( bind_pose ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_model_animation { pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub frame_count : :: std :: os :: raw :: c_int , pub frame_poses : * mut * mut rf_transform , } # [ test ] fn bindgen_test_layout_rf_model_animation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_model_animation > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( rf_model_animation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_model_animation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_model_animation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . bone_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( bone_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . bones as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( bones ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . frame_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( frame_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . frame_poses as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( frame_poses ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_ray { pub position : rf_vector3 , pub direction : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_ray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_ray > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_ray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_ray > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_ray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray > ( ) ) ) . position as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray > ( ) ) ) . direction as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray ) , "::" , stringify ! ( direction ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_ray_hit_info { pub hit : bool , pub distance : f32 , pub position : rf_vector3 , pub normal : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_ray_hit_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_ray_hit_info > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( rf_ray_hit_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_ray_hit_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_ray_hit_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . hit as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( hit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . distance as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( distance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . position as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . normal as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( normal ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_bounding_box { pub min : rf_vector3 , pub max : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_bounding_box ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_bounding_box > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_bounding_box ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_bounding_box > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_bounding_box ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bounding_box > ( ) ) ) . min as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_bounding_box ) , "::" , stringify ! ( min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bounding_box > ( ) ) ) . max as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_bounding_box ) , "::" , stringify ! ( max ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_dynamic_buffer { pub vCounter : :: std :: os :: raw :: c_int , pub tcCounter : :: std :: os :: raw :: c_int , pub cCounter : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_uint , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : [ :: std :: os :: raw :: c_uint ; 4usize ] , } # [ test ] fn bindgen_test_layout_rf_dynamic_buffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_dynamic_buffer > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( rf_dynamic_buffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_dynamic_buffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_dynamic_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vCounter as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vCounter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . tcCounter as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( tcCounter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . cCounter as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( cCounter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vertices as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . texcoords as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . colors as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( colors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . indices as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( indices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vao_id as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vao_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vbo_id as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vbo_id ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_draw_call { pub mode : :: std :: os :: raw :: c_int , pub vertex_count : :: std :: os :: raw :: c_int , pub vertexAlignment : :: std :: os :: raw :: c_int , pub textureId : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_rf_draw_call ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_draw_call > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_draw_call ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_draw_call > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_draw_call ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . mode as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . vertex_count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( vertex_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . vertexAlignment as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( vertexAlignment ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . textureId as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( textureId ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_gl_context { pub stack : [ rf_matrix ; 32usize ] , pub stack_counter : :: std :: os :: raw :: c_int , pub modelview : rf_matrix , pub projection : rf_matrix , pub current_matrix : * mut rf_matrix , pub current_matrix_mode : :: std :: os :: raw :: c_int , pub current_depth : f32 , pub vertex_data : [ rf_dynamic_buffer ; 1usize ] , pub current_buffer : :: std :: os :: raw :: c_int , pub transform_matrix : rf_matrix , pub use_transform_matrix : bool , pub draws : * mut rf_draw_call , pub draws_counter : :: std :: os :: raw :: c_int , pub default_texture_id : :: std :: os :: raw :: c_uint , pub default_vertex_shader_id : :: std :: os :: raw :: c_uint , pub default_frag_shader_id : :: std :: os :: raw :: c_uint , pub default_shader : rf_shader , pub current_shader : rf_shader , pub vao_supported : bool , pub tex_comp_dxt_supported : bool , pub tex_comp_etc1_supported : bool , pub tex_comp_etc2_supported : bool , pub tex_comp_pvrt_supported : bool , pub tex_comp_astc_supported : bool , pub tex_npot_supported : bool , pub tex_float_supported : bool , pub tex_depth_supported : bool , pub max_depth_bits : :: std :: os :: raw :: c_int , pub tex_mirror_clamp_supported : bool , pub tex_anisotropic_filter_supported : bool , pub max_anisotropic_level : f32 , pub debug_marker_supported : bool , pub blend_mode : :: std :: os :: raw :: c_int , pub framebuffer_width : :: std :: os :: raw :: c_int , pub framebuffer_height : :: std :: os :: raw :: c_int , pub camera_angle : rf_vector2 , pub camera_target_distance : f32 , pub player_eyes_position : f32 , pub camera_move_control : [ :: std :: os :: raw :: c_int ; 6usize ] , pub camera_pan_control_key : :: std :: os :: raw :: c_int , pub camera_alt_control_key : :: std :: os :: raw :: c_int , pub camera_smooth_zoom_control_key : :: std :: os :: raw :: c_int , pub camera_mode : :: std :: os :: raw :: c_int , pub tex_shapes : rf_texture2d , pub rec_tex_shapes : rf_rectangle , } # [ test ] fn bindgen_test_layout_rf_gl_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_gl_context > ( ) , 2536usize , concat ! ( "Size of: " , stringify ! ( rf_gl_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_gl_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_gl_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . stack as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( stack ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . stack_counter as * const _ as usize } , 2048usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( stack_counter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . modelview as * const _ as usize } , 2052usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( modelview ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . projection as * const _ as usize } , 2116usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( projection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_matrix as * const _ as usize } , 2184usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_matrix_mode as * const _ as usize } , 2192usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_matrix_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_depth as * const _ as usize } , 2196usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_depth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . vertex_data as * const _ as usize } , 2200usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( vertex_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_buffer as * const _ as usize } , 2272usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . transform_matrix as * const _ as usize } , 2276usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( transform_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . use_transform_matrix as * const _ as usize } , 2340usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( use_transform_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . draws as * const _ as usize } , 2344usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( draws ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . draws_counter as * const _ as usize } , 2352usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( draws_counter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_texture_id as * const _ as usize } , 2356usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_texture_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_vertex_shader_id as * const _ as usize } , 2360usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_vertex_shader_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_frag_shader_id as * const _ as usize } , 2364usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_frag_shader_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_shader as * const _ as usize } , 2368usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_shader as * const _ as usize } , 2384usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . vao_supported as * const _ as usize } , 2400usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( vao_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_dxt_supported as * const _ as usize } , 2401usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_dxt_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_etc1_supported as * const _ as usize } , 2402usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_etc1_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_etc2_supported as * const _ as usize } , 2403usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_etc2_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_pvrt_supported as * const _ as usize } , 2404usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_pvrt_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_astc_supported as * const _ as usize } , 2405usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_astc_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_npot_supported as * const _ as usize } , 2406usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_npot_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_float_supported as * const _ as usize } , 2407usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_float_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_depth_supported as * const _ as usize } , 2408usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_depth_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . max_depth_bits as * const _ as usize } , 2412usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( max_depth_bits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_mirror_clamp_supported as * const _ as usize } , 2416usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_mirror_clamp_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_anisotropic_filter_supported as * const _ as usize } , 2417usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_anisotropic_filter_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . max_anisotropic_level as * const _ as usize } , 2420usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( max_anisotropic_level ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . debug_marker_supported as * const _ as usize } , 2424usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( debug_marker_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . blend_mode as * const _ as usize } , 2428usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( blend_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . framebuffer_width as * const _ as usize } , 2432usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( framebuffer_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . framebuffer_height as * const _ as usize } , 2436usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( framebuffer_height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_angle as * const _ as usize } , 2440usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_angle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_target_distance as * const _ as usize } , 2448usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_target_distance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . player_eyes_position as * const _ as usize } , 2452usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( player_eyes_position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_move_control as * const _ as usize } , 2456usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_move_control ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_pan_control_key as * const _ as usize } , 2480usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_pan_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_alt_control_key as * const _ as usize } , 2484usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_alt_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_smooth_zoom_control_key as * const _ as usize } , 2488usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_smooth_zoom_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_mode as * const _ as usize } , 2492usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_shapes as * const _ as usize } , 2496usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_shapes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . rec_tex_shapes as * const _ as usize } , 2516usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( rec_tex_shapes ) ) ) ; } pub type rf_byte = :: std :: os :: raw :: c_uchar ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct rf_context { pub __bindgen_anon_1 : rf_context__bindgen_ty_1 , pub __bindgen_anon_2 : rf_context__bindgen_ty_2 , pub __bindgen_anon_3 : rf_context__bindgen_ty_3 , pub __bindgen_anon_4 : rf_context__bindgen_ty_4 , pub render_offset_x : :: std :: os :: raw :: c_int , pub render_offset_y : :: std :: os :: raw :: c_int , pub screen_scaling : rf_matrix , pub base_time : :: std :: os :: raw :: c_ulonglong , pub current_time : f64 , pub previous_time : f64 , pub update_time : f64 , pub draw_time : f64 , pub frame_time : f64 , pub target_time : f64 , pub default_font : rf_font , pub gl_ctx : rf_gl_context , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_1 { pub display_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_1__bindgen_ty_1 { pub display_width : :: std :: os :: raw :: c_int , pub display_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_1__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . display_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( display_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . display_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( display_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_1 > ( ) ) ) . display_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_1 ) , "::" , stringify ! ( display_size ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_2 { pub screen_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_2__bindgen_ty_1 { pub screen_width : :: std :: os :: raw :: c_int , pub screen_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_2__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . screen_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( screen_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . screen_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( screen_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_2 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_2 > ( ) ) ) . screen_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_2 ) , "::" , stringify ! ( screen_size ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_3 { pub render_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_3__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_3__bindgen_ty_1 { pub render_width : :: std :: os :: raw :: c_int , pub render_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_3__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) ) ) . render_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) , "::" , stringify ! ( render_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) ) ) . render_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) , "::" , stringify ! ( render_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_3 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_3 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_3 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_3 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_3 > ( ) ) ) . render_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_3 ) , "::" , stringify ! ( render_size ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_4 { pub current_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_4__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_4__bindgen_ty_1 { pub current_width : :: std :: os :: raw :: c_int , pub current_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_4__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) ) ) . current_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) , "::" , stringify ! ( current_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) ) ) . current_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) , "::" , stringify ! ( current_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_4 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_4 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_4 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_4 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_4 > ( ) ) ) . current_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_4 ) , "::" , stringify ! ( current_size ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context > ( ) , 2744usize , concat ! ( "Size of: " , stringify ! ( rf_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . render_offset_x as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( render_offset_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . render_offset_y as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( render_offset_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . screen_scaling as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( screen_scaling ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . base_time as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( base_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . current_time as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( current_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . previous_time as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( previous_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . update_time as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( update_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . draw_time as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( draw_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . frame_time as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( frame_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . target_time as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( target_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . default_font as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( default_font ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . gl_ctx as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( gl_ctx ) ) ) ; } pub const rf_shader_location_index_rf_loc_vertex_position : rf_shader_location_index = 0 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord01 : rf_shader_location_index = 1 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord02 : rf_shader_location_index = 2 ; pub const rf_shader_location_index_rf_loc_vertex_normal : rf_shader_location_index = 3 ; pub const rf_shader_location_index_rf_loc_vertex_tangent : rf_shader_location_index = 4 ; pub const rf_shader_location_index_rf_loc_vertex_color : rf_shader_location_index = 5 ; pub const rf_shader_location_index_rf_loc_matrix_mvp : rf_shader_location_index = 6 ; pub const rf_shader_location_index_rf_loc_matrix_model : rf_shader_location_index = 7 ; pub const rf_shader_location_index_rf_loc_matrix_view : rf_shader_location_index = 8 ; pub const rf_shader_location_index_rf_loc_matrix_projection : rf_shader_location_index = 9 ; pub const rf_shader_location_index_rf_loc_vector_view : rf_shader_location_index = 10 ; pub const rf_shader_location_index_rf_loc_color_diffuse : rf_shader_location_index = 11 ; pub const rf_shader_location_index_rf_loc_color_specular : rf_shader_location_index = 12 ; pub const rf_shader_location_index_rf_loc_color_ambient : rf_shader_location_index = 13 ; pub const rf_shader_location_index_rf_loc_map_albedo : rf_shader_location_index = 14 ; pub const rf_shader_location_index_rf_loc_map_metalness : rf_shader_location_index = 15 ; pub const rf_shader_location_index_rf_loc_map_normal : rf_shader_location_index = 16 ; pub const rf_shader_location_index_rf_loc_map_roughness : rf_shader_location_index = 17 ; pub const rf_shader_location_index_rf_loc_map_occlusion : rf_shader_location_index = 18 ; pub const rf_shader_location_index_rf_loc_map_emission : rf_shader_location_index = 19 ; pub const rf_shader_location_index_rf_loc_map_height : rf_shader_location_index = 20 ; pub const rf_shader_location_index_rf_loc_map_cubemap : rf_shader_location_index = 21 ; pub const rf_shader_location_index_rf_loc_map_irradiance : rf_shader_location_index = 22 ; pub const rf_shader_location_index_rf_loc_map_prefilter : rf_shader_location_index = 23 ; pub const rf_shader_location_index_rf_loc_map_brdf : rf_shader_location_index = 24 ; pub type rf_shader_location_index = u32 ; pub const rf_shader_uniform_data_type_rf_uniform_float : rf_shader_uniform_data_type = 0 ; pub const rf_shader_uniform_data_type_rf_uniform_vec2 : rf_shader_uniform_data_type = 1 ; pub const rf_shader_uniform_data_type_rf_uniform_vec3 : rf_shader_uniform_data_type = 2 ; pub const rf_shader_uniform_data_type_rf_uniform_vec4 : rf_shader_uniform_data_type = 3 ; pub const rf_shader_uniform_data_type_rf_uniform_int : rf_shader_uniform_data_type = 4 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec2 : rf_shader_uniform_data_type = 5 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec3 : rf_shader_uniform_data_type = 6 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec4 : rf_shader_uniform_data_type = 7 ; pub const rf_shader_uniform_data_type_rf_uniform_sampler2d : rf_shader_uniform_data_type = 8 ; pub type rf_shader_uniform_data_type = u32 ; pub const rf_material_map_type_rf_map_albedo : rf_material_map_type = 0 ; pub const rf_material_map_type_rf_map_metalness : rf_material_map_type = 1 ; pub const rf_material_map_type_rf_map_normal : rf_material_map_type = 2 ; pub const rf_material_map_type_rf_map_roughness : rf_material_map_type = 3 ; pub const rf_material_map_type_rf_map_occlusion : rf_material_map_type = 4 ; pub const rf_material_map_type_rf_map_emission : rf_material_map_type = 5 ; pub const rf_material_map_type_rf_map_height : rf_material_map_type = 6 ; pub const rf_material_map_type_rf_map_cubemap : rf_material_map_type = 7 ; pub const rf_material_map_type_rf_map_irradiance : rf_material_map_type = 8 ; pub const rf_material_map_type_rf_map_prefilter : rf_material_map_type = 9 ; pub const rf_material_map_type_rf_map_brdf : rf_material_map_type = 10 ; pub type rf_material_map_type = u32 ; pub const rf_pixel_format_rf_uncompressed_grayscale : rf_pixel_format = 1 ; pub const rf_pixel_format_rf_uncompressed_gray_alpha : rf_pixel_format = 2 ; pub const rf_pixel_format_rf_uncompressed_r5g6b5 : rf_pixel_format = 3 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8 : rf_pixel_format = 4 ; pub const rf_pixel_format_rf_uncompressed_r5g5b5a1 : rf_pixel_format = 5 ; pub const rf_pixel_format_rf_uncompressed_r4g4b4a4 : rf_pixel_format = 6 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8a8 : rf_pixel_format = 7 ; pub const rf_pixel_format_rf_uncompressed_r32 : rf_pixel_format = 8 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32 : rf_pixel_format = 9 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32a32 : rf_pixel_format = 10 ; pub const rf_pixel_format_rf_compressed_dxt1_rgb : rf_pixel_format = 11 ; pub const rf_pixel_format_rf_compressed_dxt1_rgba : rf_pixel_format = 12 ; pub const rf_pixel_format_rf_compressed_dxt3_rgba : rf_pixel_format = 13 ; pub const rf_pixel_format_rf_compressed_dxt5_rgba : rf_pixel_format = 14 ; pub const rf_pixel_format_rf_compressed_etc1_rgb : rf_pixel_format = 15 ; pub const rf_pixel_format_rf_compressed_etc2_rgb : rf_pixel_format = 16 ; pub const rf_pixel_format_rf_compressed_etc2_eac_rgba : rf_pixel_format = 17 ; pub const rf_pixel_format_rf_compressed_pvrt_rgb : rf_pixel_format = 18 ; pub const rf_pixel_format_rf_compressed_pvrt_rgba : rf_pixel_format = 19 ; pub const rf_pixel_format_rf_compressed_astc_4x4_rgba : rf_pixel_format = 20 ; pub const rf_pixel_format_rf_compressed_astc_8x8_rgba : rf_pixel_format = 21 ; pub type rf_pixel_format = u32 ; pub const rf_texture_filter_mode_rf_filter_point : rf_texture_filter_mode = 0 ; pub const rf_texture_filter_mode_rf_filter_bilinear : rf_texture_filter_mode = 1 ; pub const rf_texture_filter_mode_rf_filter_trilinear : rf_texture_filter_mode = 2 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_4x : rf_texture_filter_mode = 3 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_8x : rf_texture_filter_mode = 4 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_16x : rf_texture_filter_mode = 5 ; pub type rf_texture_filter_mode = u32 ; pub const rf_cubemap_layout_type_rf_cubemap_auto_detect : rf_cubemap_layout_type = 0 ; pub const rf_cubemap_layout_type_rf_cubemap_line_vertical : rf_cubemap_layout_type = 1 ; pub const rf_cubemap_layout_type_rf_cubemap_line_horizontal : rf_cubemap_layout_type = 2 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_three_by_four : rf_cubemap_layout_type = 3 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_four_by_three : rf_cubemap_layout_type = 4 ; pub const rf_cubemap_layout_type_rf_cubemap_panorama : rf_cubemap_layout_type = 5 ; pub type rf_cubemap_layout_type = u32 ; pub const rf_texture_wrap_mode_rf_wrap_repeat : rf_texture_wrap_mode = 0 ; pub const rf_texture_wrap_mode_rf_wrap_clamp : rf_texture_wrap_mode = 1 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_repeat : rf_texture_wrap_mode = 2 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_clamp : rf_texture_wrap_mode = 3 ; pub type rf_texture_wrap_mode = u32 ; pub const rf_font_type_rf_font_default : rf_font_type = 0 ; pub const rf_font_type_rf_font_bitmap : rf_font_type = 1 ; pub const rf_font_type_rf_font_sdf : rf_font_type = 2 ; pub type rf_font_type = u32 ; pub const rf_blend_mode_rf_blend_alpha : rf_blend_mode = 0 ; pub const rf_blend_mode_rf_blend_additive : rf_blend_mode = 1 ; pub const rf_blend_mode_rf_blend_multiplied : rf_blend_mode = 2 ; pub type rf_blend_mode = u32 ; pub const rf_camera_mode_rf_camera_custom : rf_camera_mode = 0 ; pub const rf_camera_mode_rf_camera_free : rf_camera_mode = 1 ; pub const rf_camera_mode_rf_camera_orbital : rf_camera_mode = 2 ; pub const rf_camera_mode_rf_camera_first_person : rf_camera_mode = 3 ; pub const rf_camera_mode_rf_camera_third_person : rf_camera_mode = 4 ; pub type rf_camera_mode = u32 ; pub const rf_camera_type_rf_camera_perspective : rf_camera_type = 0 ; pub const rf_camera_type_rf_camera_orthographic : rf_camera_type = 1 ; pub type rf_camera_type = u32 ; pub const rf_ninepatch_type_rf_npt_9patch : rf_ninepatch_type = 0 ; pub const rf_ninepatch_type_rf_npt_3patch_vertical : rf_ninepatch_type = 1 ; pub const rf_ninepatch_type_rf_npt_3patch_horizontal : rf_ninepatch_type = 2 ; pub type rf_ninepatch_type = u32 ; extern "C" { pub fn rf_wait ( arg1 : f32 ) ; } extern "C" { pub fn rf_get_time ( ) -> f64 ; } extern "C" { pub fn rf_get_file_size ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_load_file_into_buffer ( filename : * const :: std :: os :: raw :: c_char , buffer : * mut rf_byte , buffer_size : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_context_init ( rf_ctx : * mut rf_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_global_context_ptr ( rf_ctx : * mut rf_context ) ; } extern "C" { pub fn rf_load_font_default ( ) ; } extern "C" { pub fn rf_clear_background ( color : rf_color ) ; } extern "C" { pub fn rf_begin_drawing ( ) ; } extern "C" { pub fn rf_end_drawing ( ) ; } extern "C" { pub fn rf_begin_mode2d ( camera : rf_camera2d ) ; } extern "C" { pub fn rf_end_mode2d ( ) ; } extern "C" { pub fn rf_begin_mode3d ( camera : rf_camera3d ) ; } extern "C" { pub fn rf_end_mode3d ( ) ; } extern "C" { pub fn rf_begin_texture_mode ( target : rf_render_texture2d ) ; } extern "C" { pub fn rf_end_texture_mode ( ) ; } extern "C" { pub fn rf_begin_scissor_mode ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_end_scissor_mode ( ) ; } extern "C" { pub fn rf_get_mouse_ray ( screen_size : rf_sizei , mouse_position : rf_vector2 , camera : rf_camera3d ) -> rf_ray ; } extern "C" { pub fn rf_get_camera_matrix ( camera : rf_camera3d ) -> rf_matrix ; } extern "C" { pub fn rf_get_camera_matrix2d ( camera : rf_camera2d ) -> rf_matrix ; } extern "C" { pub fn rf_get_world_to_screen ( screen_size : rf_sizei , position : rf_vector3 , camera : rf_camera3d ) -> rf_vector2 ; } extern "C" { pub fn rf_get_world_to_screen2d ( position : rf_vector2 , camera : rf_camera2d ) -> rf_vector2 ; } extern "C" { pub fn rf_get_screen_to_world2d ( position : rf_vector2 , camera : rf_camera2d ) -> rf_vector2 ; } extern "C" { pub fn rf_set_target_fps ( fps : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_get_fps ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_frame_time ( ) -> f32 ; } extern "C" { pub fn rf_color_to_int ( color : rf_color ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_color_normalize ( color : rf_color ) -> rf_vector4 ; } extern "C" { pub fn rf_color_from_normalized ( normalized : rf_vector4 ) -> rf_color ; } extern "C" { pub fn rf_color_to_hsv ( color : rf_color ) -> rf_vector3 ; } extern "C" { pub fn rf_color_from_hsv ( hsv : rf_vector3 ) -> rf_color ; } extern "C" { pub fn rf_color_from_int ( hexValue : :: std :: os :: raw :: c_int ) -> rf_color ; } extern "C" { pub fn rf_fade ( color : rf_color , alpha : f32 ) -> rf_color ; } extern "C" { pub fn rf_set_camera_mode ( camera : rf_camera3d , mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_update_camera3d ( camera : * mut rf_camera3d , inputState : rf_input_state_for_update_camera ) ; } extern "C" { pub fn rf_set_camera_pan_control ( panKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_camera_alt_control ( altKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_camera_smooth_zoom_control ( szKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_camera_move_controls ( frontKey : :: std :: os :: raw :: c_int , backKey : :: std :: os :: raw :: c_int , rightKey : :: std :: os :: raw :: c_int , leftKey : :: std :: os :: raw :: c_int , upKey : :: std :: os :: raw :: c_int , downKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_draw_pixel ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_pixel_v ( position : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line ( startPosX : :: std :: os :: raw :: c_int , startPosY : :: std :: os :: raw :: c_int , endPosX : :: std :: os :: raw :: c_int , endPosY : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_v ( startPos : rf_vector2 , endPos : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_ex ( startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_bezier ( startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_strip ( points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle ( centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_sector ( center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_sector_lines ( center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_gradient ( centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color1 : rf_color , color2 : rf_color ) ; } extern "C" { pub fn rf_draw_circle_v ( center : rf_vector2 , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_lines ( centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_ring ( center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_ring_lines ( center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_v ( position : rf_vector2 , size : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_rec ( rec : rf_rectangle , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_pro ( rec : rf_rectangle , origin : rf_vector2 , rotation : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_gradient_v ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_gradient_h ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_gradient_ex ( rec : rf_rectangle , col1 : rf_color , col2 : rf_color , col3 : rf_color , col4 : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_lines ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_lines_ex ( rec : rf_rectangle , lineThick : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_rounded ( rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_rounded_lines ( rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , lineThick : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle ( v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle_lines ( v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle_fan ( points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle_strip ( points : * mut rf_vector2 , pointsCount : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_poly ( center : rf_vector2 , sides : :: std :: os :: raw :: c_int , radius : f32 , rotation : f32 , color : rf_color ) ; } extern "C" { pub fn rf_set_shapes_texture ( texture : rf_texture2d , source : rf_rectangle ) ; } extern "C" { pub fn rf_load_image ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_image ; } extern "C" { pub fn rf_load_image_ex ( pixels : * mut rf_color , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_load_image_pro ( data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_load_image_raw ( fileName : * const :: std :: os :: raw :: c_char , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , headerSize : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_export_image ( image : rf_image , fileName : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn rf_load_texture ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_from_image ( image : rf_image ) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_cubemap ( image : rf_image , layoutType : :: std :: os :: raw :: c_int ) -> rf_texture_cubemap ; } extern "C" { pub fn rf_load_render_texture ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> rf_render_texture2d ; } extern "C" { pub fn rf_unload_image ( image : rf_image ) ; } extern "C" { pub fn rf_unload_texture ( texture : rf_texture2d ) ; } extern "C" { pub fn rf_unload_render_texture ( target : rf_render_texture2d ) ; } extern "C" { pub fn rf_get_image_data ( image : rf_image ) -> * mut rf_color ; } extern "C" { pub fn rf_get_image_data_normalized ( image : rf_image ) -> * mut rf_vector4 ; } extern "C" { pub fn rf_get_image_alpha_border ( image : rf_image , threshold : f32 ) -> rf_rectangle ; } extern "C" { pub fn rf_get_pixel_data_size ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_texture_data ( texture : rf_texture2d ) -> rf_image ; } extern "C" { pub fn rf_get_screen_data ( ) -> rf_image ; } extern "C" { pub fn rf_update_texture ( texture : rf_texture2d , pixels : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn rf_image_copy ( image : rf_image ) -> rf_image ; } extern "C" { pub fn rf_image_from_image ( image : rf_image , rec : rf_rectangle ) -> rf_image ; } extern "C" { pub fn rf_image_to_pot ( image : * mut rf_image , fillColor : rf_color ) ; } extern "C" { pub fn rf_image_format ( image : * mut rf_image , newFormat : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_alpha_mask ( image : * mut rf_image , alphaMask : rf_image ) ; } extern "C" { pub fn rf_image_alpha_clear ( image : * mut rf_image , color : rf_color , threshold : f32 ) ; } extern "C" { pub fn rf_image_alpha_crop ( image : * mut rf_image , threshold : f32 ) ; } extern "C" { pub fn rf_image_alpha_premultiply ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_crop ( image : * mut rf_image , crop : rf_rectangle ) ; } extern "C" { pub fn rf_image_resize ( image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_resize_nn ( image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_resize_canvas ( image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_image_mipmaps ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_dither ( image : * mut rf_image , rBpp : :: std :: os :: raw :: c_int , gBpp : :: std :: os :: raw :: c_int , bBpp : :: std :: os :: raw :: c_int , aBpp : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_extract_palette ( image : rf_image , maxPaletteSize : :: std :: os :: raw :: c_int , extractCount : * mut :: std :: os :: raw :: c_int ) -> * mut rf_color ; } extern "C" { pub fn rf_image_text ( text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color ) -> rf_image ; } extern "C" { pub fn rf_image_text_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , tint : rf_color ) -> rf_image ; } extern "C" { pub fn rf_image_draw ( dst : * mut rf_image , src : rf_image , srcRec : rf_rectangle , dstRec : rf_rectangle , tint : rf_color ) ; } extern "C" { pub fn rf_image_draw_rectangle ( dst : * mut rf_image , rec : rf_rectangle , color : rf_color ) ; } extern "C" { pub fn rf_image_draw_rectangle_lines ( dst : * mut rf_image , rec : rf_rectangle , thick : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_image_draw_text ( dst : * mut rf_image , position : rf_vector2 , text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_image_draw_text_ex ( dst : * mut rf_image , position : rf_vector2 , font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , color : rf_color ) ; } extern "C" { pub fn rf_image_flip_vertical ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_flip_horizontal ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_rotate_cw ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_rotate_ccw ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_color_tint ( image : * mut rf_image , color : rf_color ) ; } extern "C" { pub fn rf_image_color_invert ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_color_grayscale ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_color_contrast ( image : * mut rf_image , contrast : f32 ) ; } extern "C" { pub fn rf_image_color_brightness ( image : * mut rf_image , brightness : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_color_replace ( image : * mut rf_image , color : rf_color , replace : rf_color ) ; } extern "C" { pub fn rf_gen_image_color ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_v ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , top : rf_color , bottom : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_h ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , left : rf_color , right : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_radial ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , density : f32 , inner : rf_color , outer : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_checked ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , checksX : :: std :: os :: raw :: c_int , checksY : :: std :: os :: raw :: c_int , col1 : rf_color , col2 : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_white_noise ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , factor : f32 ) -> rf_image ; } extern "C" { pub fn rf_gen_image_perlin_noise ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , scale : f32 ) -> rf_image ; } extern "C" { pub fn rf_gen_image_cellular ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , tileSize : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_gen_texture_mipmaps ( texture : * mut rf_texture2d ) ; } extern "C" { pub fn rf_set_texture_filter ( texture : rf_texture2d , filterMode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_texture_wrap ( texture : rf_texture2d , wrapMode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_draw_texture ( texture : rf_texture2d , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_v ( texture : rf_texture2d , position : rf_vector2 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_ex ( texture : rf_texture2d , position : rf_vector2 , rotation : f32 , scale : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_rec ( texture : rf_texture2d , source_rec : rf_rectangle , position : rf_vector2 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_quad ( texture : rf_texture2d , tiling : rf_vector2 , offset : rf_vector2 , quad : rf_rectangle , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_pro ( texture : rf_texture2d , source_rec : rf_rectangle , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_npatch ( texture : rf_texture2d , nPatchInfo : rf_npatch_info , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_get_font_default ( ) -> rf_font ; } extern "C" { pub fn rf_load_font ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_font ; } extern "C" { pub fn rf_load_font_ex ( fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int ) -> rf_font ; } extern "C" { pub fn rf_load_font_async ( fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int ) -> rf_load_font_async_result ; } extern "C" { pub fn rf_finish_load_font_async ( fontJobResult : rf_load_font_async_result ) -> rf_font ; } extern "C" { pub fn rf_load_font_from_image ( image : rf_image , key : rf_color , firstChar : :: std :: os :: raw :: c_int ) -> rf_font ; } extern "C" { pub fn rf_load_font_data ( fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int ) -> * mut rf_char_info ; } extern "C" { pub fn rf_gen_image_font_atlas ( chars : * const rf_char_info , recs : * mut * mut rf_rectangle , chars_count : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , padding : :: std :: os :: raw :: c_int , packMethod : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_unload_font ( font : rf_font ) ; } extern "C" { pub fn rf_unload_font_default ( ) ; } extern "C" { pub fn rf_draw_fps ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_draw_text ( text : * const :: std :: os :: raw :: c_char , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_text_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_text_from_buffer ( font : rf_font , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_text_rec ( font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color ) ; } extern "C" { pub fn rf_draw_text_rec_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color , selectStart : :: std :: os :: raw :: c_int , selectLength : :: std :: os :: raw :: c_int , selectText : rf_color , selectBack : rf_color ) ; } extern "C" { pub fn rf_measure_text ( text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_text_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_measure_text_from_buffer ( font : rf_font , text : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , fontSize : f32 , spacing : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_get_glyph_index ( font : rf_font , character : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_height_of_text_in_container ( font : rf_font , fontSize : f32 , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , container_width : f32 ) -> f32 ; } extern "C" { pub fn rf_draw_line3d ( startPos : rf_vector3 , endPos : rf_vector3 , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle3d ( center : rf_vector3 , radius : f32 , rotationAxis : rf_vector3 , rotationAngle : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube ( position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_v ( position : rf_vector3 , size : rf_vector3 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_wires ( position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_wires_v ( position : rf_vector3 , size : rf_vector3 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_texture ( texture : rf_texture2d , position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_sphere ( centerPos : rf_vector3 , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_sphere_ex ( centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_sphere_wires ( centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_cylinder ( position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_cylinder_wires ( position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_plane ( centerPos : rf_vector3 , size : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_ray ( ray : rf_ray , color : rf_color ) ; } extern "C" { pub fn rf_draw_grid ( slices : :: std :: os :: raw :: c_int , spacing : f32 ) ; } extern "C" { pub fn rf_draw_gizmo ( position : rf_vector3 ) ; } extern "C" { pub fn rf_load_model ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_model ; } extern "C" { pub fn rf_load_model_from_mesh ( mesh : rf_mesh ) -> rf_model ; } extern "C" { pub fn rf_unload_model ( model : rf_model ) ; } extern "C" { pub fn rf_load_meshes ( fileName : * const :: std :: os :: raw :: c_char , mesh_count : * mut :: std :: os :: raw :: c_int ) -> * mut rf_mesh ; } extern "C" { pub fn rf_export_mesh ( mesh : rf_mesh , fileName : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn rf_unload_mesh ( mesh : rf_mesh ) ; } extern "C" { pub fn rf_load_materials ( fileName : * const :: std :: os :: raw :: c_char , material_count : * mut :: std :: os :: raw :: c_int ) -> * mut rf_material ; } extern "C" { pub fn rf_load_material_default ( ) -> rf_material ; } extern "C" { pub fn rf_unload_material ( material : rf_material ) ; } extern "C" { pub fn rf_set_material_texture ( material : * mut rf_material , mapType : :: std :: os :: raw :: c_int , texture : rf_texture2d ) ; } extern "C" { pub fn rf_set_model_mesh_material ( model : * mut rf_model , meshId : :: std :: os :: raw :: c_int , materialId : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_load_model_animations ( fileName : * const :: std :: os :: raw :: c_char , animsCount : * mut :: std :: os :: raw :: c_int ) -> * mut rf_model_animation ; } extern "C" { pub fn rf_update_model_animation ( model : rf_model , anim : rf_model_animation , frame : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_unload_model_animation ( anim : rf_model_animation ) ; } extern "C" { pub fn rf_is_model_animation_valid ( model : rf_model , anim : rf_model_animation ) -> bool ; } extern "C" { pub fn rf_gen_mesh_poly ( sides : :: std :: os :: raw :: c_int , radius : f32 ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_plane ( width : f32 , length : f32 , resX : :: std :: os :: raw :: c_int , resZ : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cube ( width : f32 , height : f32 , length : f32 ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_sphere ( radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_hemi_sphere ( radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cylinder ( radius : f32 , height : f32 , slices : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_torus ( radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_knot ( radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_heightmap ( heightmap : rf_image , size : rf_vector3 ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cubicmap ( cubicmap : rf_image , cubeSize : rf_vector3 ) -> rf_mesh ; } extern "C" { pub fn rf_mesh_bounding_box ( mesh : rf_mesh ) -> rf_bounding_box ; } extern "C" { pub fn rf_mesh_tangents ( mesh : * mut rf_mesh ) ; } extern "C" { pub fn rf_mesh_binormals ( mesh : * mut rf_mesh ) ; } extern "C" { pub fn rf_draw_model ( model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_model_ex ( model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_model_wires ( model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_model_wires_ex ( model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_bounding_box ( box_ : rf_bounding_box , color : rf_color ) ; } extern "C" { pub fn rf_draw_billboard ( camera : rf_camera3d , texture : rf_texture2d , center : rf_vector3 , size : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_billboard_rec ( camera : rf_camera3d , texture : rf_texture2d , source_rec : rf_rectangle , center : rf_vector3 , size : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_check_collision_spheres ( centerA : rf_vector3 , radiusA : f32 , centerB : rf_vector3 , radiusB : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_boxes ( box1 : rf_bounding_box , box2 : rf_bounding_box ) -> bool ; } extern "C" { pub fn rf_check_collision_box_sphere ( box_ : rf_bounding_box , center : rf_vector3 , radius : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere ( ray : rf_ray , center : rf_vector3 , radius : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere_ex ( ray : rf_ray , center : rf_vector3 , radius : f32 , collisionPoint : * mut rf_vector3 ) -> bool ; } extern "C" { pub fn rf_check_collision_ray_box ( ray : rf_ray , box_ : rf_bounding_box ) -> bool ; } extern "C" { pub fn rf_get_collision_ray_model ( ray : rf_ray , model : rf_model ) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_triangle ( ray : rf_ray , p1 : rf_vector3 , p2 : rf_vector3 , p3 : rf_vector3 ) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_ground ( ray : rf_ray , groundHeight : f32 ) -> rf_ray_hit_info ; } extern "C" { pub fn rf_load_shader ( vsFileName : * const :: std :: os :: raw :: c_char , fsFileName : * const :: std :: os :: raw :: c_char ) -> rf_shader ; } extern "C" { pub fn rf_load_shader_code ( vsCode : * const :: std :: os :: raw :: c_char , fsCode : * const :: std :: os :: raw :: c_char ) -> rf_shader ; } extern "C" { pub fn rf_unload_shader ( shader : rf_shader ) ; } extern "C" { pub fn rf_get_shader_default ( ) -> rf_shader ; } extern "C" { pub fn rf_get_texture_default ( ) -> rf_texture2d ; } extern "C" { pub fn rf_get_shader_location ( shader : rf_shader , uniformName : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_set_shader_value ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_shader_value_v ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int , count : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_shader_value_matrix ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , mat : rf_matrix ) ; } extern "C" { pub fn rf_set_shader_value_texture ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , texture : rf_texture2d ) ; } extern "C" { pub fn rf_set_matrix_projection ( proj : rf_matrix ) ; } extern "C" { pub fn rf_set_matrix_modelview ( view : rf_matrix ) ; } extern "C" { pub fn rf_get_matrix_modelview ( ) -> rf_matrix ; } extern "C" { pub fn rf_get_matrix_projection ( ) -> rf_matrix ; } extern "C" { pub fn rf_gen_texture_cubemap ( shader : rf_shader , skyHDR : rf_texture2d , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_irradiance ( shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_prefilter ( shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_brdf ( shader : rf_shader , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_begin_shader_mode ( shader : rf_shader ) ; } extern "C" { pub fn rf_end_shader_mode ( ) ; } extern "C" { pub fn rf_begin_blend_mode ( mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_end_blend_mode ( ) ; } extern "C" { pub fn rf_matrix_mode ( mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_push_matrix ( ) ; } extern "C" { pub fn rf_pop_matrix ( ) ; } extern "C" { pub fn rf_load_identity ( ) ; } extern "C" { pub fn rf_translatef ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_rotatef ( angleDeg : f32 , x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_scalef ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_mult_matrixf ( matf : * mut f32 ) ; } extern "C" { pub fn rf_frustum ( left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64 ) ; } extern "C" { pub fn rf_ortho ( left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64 ) ; } extern "C" { pub fn rf_gl_viewport ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_begin ( mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_end ( ) ; } extern "C" { pub fn rf_gl_vertex2i ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_vertex2f ( x : f32 , y : f32 ) ; } extern "C" { pub fn rf_gl_vertex3f ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_gl_tex_coord2f ( x : f32 , y : f32 ) ; } extern "C" { pub fn rf_gl_normal3f ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_gl_color4ub ( r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte ) ; } extern "C" { pub fn rf_gl_color3f ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_gl_color4f ( x : f32 , y : f32 , z : f32 , w : f32 ) ; } extern "C" { pub fn rf_gl_enable_texture ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_disable_texture ( ) ; } extern "C" { pub fn rf_gl_texture_parameters ( id : :: std :: os :: raw :: c_uint , param : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_enable_render_texture ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_disable_render_texture ( ) ; } extern "C" { pub fn rf_gl_enable_depth_test ( ) ; } extern "C" { pub fn rf_gl_disable_depth_test ( ) ; } extern "C" { pub fn rf_gl_enable_backface_culling ( ) ; } extern "C" { pub fn rf_gl_disable_backface_culling ( ) ; } extern "C" { pub fn rf_gl_enable_scissor_test ( ) ; } extern "C" { pub fn rf_gl_disable_scissor_test ( ) ; } extern "C" { pub fn rf_gl_scissor ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_enable_wire_mode ( ) ; } extern "C" { pub fn rf_gl_disable_wire_mode ( ) ; } extern "C" { pub fn rf_gl_delete_textures ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_delete_render_textures ( target : rf_render_texture2d ) ; } extern "C" { pub fn rf_gl_delete_shader ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_delete_vertex_arrays ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_delete_buffers ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_clear_color ( r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte ) ; } extern "C" { pub fn rf_gl_clear_screen_buffers ( ) ; } extern "C" { pub fn rf_gl_update_buffer ( bufferId : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , dataSize : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_load_attrib_buffer ( vao_id : :: std :: os :: raw :: c_uint , shaderLoc : :: std :: os :: raw :: c_int , buffer : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , dynamic : bool ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_close ( ) ; } extern "C" { pub fn rf_gl_draw ( ) ; } extern "C" { pub fn rf_gl_check_buffer_limit ( vCount : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn rf_gl_set_debug_marker ( text : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn rf_gl_load_extensions ( loader : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn rf_gl_unproject ( source : rf_vector3 , proj : rf_matrix , view : rf_matrix ) -> rf_vector3 ; } extern "C" { pub fn rf_gl_load_texture ( data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , mipmapCount : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_depth ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bits : :: std :: os :: raw :: c_int , useRenderBuffer : bool ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_cubemap ( data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_update_texture ( id : :: std :: os :: raw :: c_uint , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn rf_gl_get_gl_texture_formats ( format : :: std :: os :: raw :: c_int , glInternalFormat : * mut :: std :: os :: raw :: c_uint , glFormat : * mut :: std :: os :: raw :: c_uint , glType : * mut :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_unload_texture ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_generate_mipmaps ( texture : * mut rf_texture2d ) ; } extern "C" { pub fn rf_gl_read_texture_pixels ( texture : rf_texture2d ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rf_gl_read_screen_pixels ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn rf_gl_load_render_texture ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , depthBits : :: std :: os :: raw :: c_int , useDepthTexture : bool ) -> rf_render_texture2d ; } extern "C" { pub fn rf_gl_render_texture_attach ( target : rf_render_texture , id : :: std :: os :: raw :: c_uint , attachType : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_render_texture_complete ( target : rf_render_texture ) -> bool ; } extern "C" { pub fn rf_gl_load_mesh ( mesh : * mut rf_mesh , dynamic : bool ) ; } extern "C" { pub fn rf_gl_update_mesh ( mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_update_mesh_at ( mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_draw_mesh ( mesh : rf_mesh , material : rf_material , transform : rf_matrix ) ; } extern "C" { pub fn rf_gl_unload_mesh ( mesh : rf_mesh ) ; } extern "C" { pub static mut _rf_global_context_ptr : * mut rf_context ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig ( __x : f64 , __y : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acos ( __x : f64 ) -> f64 ; } extern "C" { pub fn asin ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asin ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atan ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan2 ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn __atan2 ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn cos ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cos ( __x : f64 ) -> f64 ; } extern "C" { pub fn sin ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sin ( __x : f64 ) -> f64 ; } extern "C" { pub fn tan ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tan ( __x : f64 ) -> f64 ; } extern "C" { pub fn cosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn sinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn tanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn acosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn asinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn atanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp ( __x : f64 ) -> f64 ; } extern "C" { pub fn frexp ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __frexp ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ldexp ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __ldexp ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn log ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log ( __x : f64 ) -> f64 ; } extern "C" { pub fn log10 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log10 ( __x : f64 ) -> f64 ; } extern "C" { pub fn modf ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn __modf ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn expm1 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __expm1 ( __x : f64 ) -> f64 ; } extern "C" { pub fn log1p ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log1p ( __x : f64 ) -> f64 ; } extern "C" { pub fn logb ( __x : f64 ) -> f64 ; } extern "C" { pub fn __logb ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn log2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn pow ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __pow ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn sqrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sqrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn hypot ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __hypot ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn cbrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cbrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn ceil ( __x : f64 ) -> f64 ; } extern "C" { pub fn __ceil ( __x : f64 ) -> f64 ; } extern "C" { pub fn fabs ( __x : f64 ) -> f64 ; } extern "C" { pub fn __fabs ( __x : f64 ) -> f64 ; } extern "C" { pub fn floor ( __x : f64 ) -> f64 ; } extern "C" { pub fn __floor ( __x : f64 ) -> f64 ; } extern "C" { pub fn fmod ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmod ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn isinf ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __drem ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn significand ( __x : f64 ) -> f64 ; } extern "C" { pub fn __significand ( __x : f64 ) -> f64 ; } extern "C" { pub fn copysign ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __copysign ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nan ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn __nan ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn isnan ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn j1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn jn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __jn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn y0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn y1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn yn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __yn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn erf ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erf ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn erfc ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erfc ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __lgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn tgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __tgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn gamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __gamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgamma_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __lgamma_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn rint ( __x : f64 ) -> f64 ; } extern "C" { pub fn __rint ( __x : f64 ) -> f64 ; } extern "C" { pub fn nextafter ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __nextafter ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nexttoward ( __x : f64 , __y : u128 ) -> f64 ; } extern "C" { pub fn __nexttoward ( __x : f64 , __y : u128 ) -> f64 ; } extern "C" { pub fn remainder ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __remainder ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn scalbn ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __scalbn ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ilogb ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn __scalbln ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn nearbyint ( __x : f64 ) -> f64 ; } extern "C" { pub fn __nearbyint ( __x : f64 ) -> f64 ; } extern "C" { pub fn round ( __x : f64 ) -> f64 ; } extern "C" { pub fn __round ( __x : f64 ) -> f64 ; } extern "C" { pub fn trunc ( __x : f64 ) -> f64 ; } extern "C" { pub fn __trunc ( __x : f64 ) -> f64 ; } extern "C" { pub fn remquo ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __remquo ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn lrint ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fdim ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmax ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmax ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmin ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmin ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fma ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn __fma ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn scalb ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __scalb ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __fpclassifyf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf ( __x : f32 , __y : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __acosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn asinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __asinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __atanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atan2f ( __y : f32 , __x : f32 ) -> f32 ; } extern "C" { pub fn __atan2f ( __y : f32 , __x : f32 ) -> f32 ; } extern "C" { pub fn cosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __cosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn sinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn tanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __tanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn coshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __coshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn sinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn tanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __tanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn acoshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __acoshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn asinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __asinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __atanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn expf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __expf ( __x : f32 ) -> f32 ; } extern "C" { pub fn frexpf ( __x : f32 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __frexpf ( __x : f32 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn ldexpf ( __x : f32 , __exponent : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __ldexpf ( __x : f32 , __exponent : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn logf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __logf ( __x : f32 ) -> f32 ; } extern "C" { pub fn log10f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log10f ( __x : f32 ) -> f32 ; } extern "C" { pub fn modff ( __x : f32 , __iptr : * mut f32 ) -> f32 ; } extern "C" { pub fn __modff ( __x : f32 , __iptr : * mut f32 ) -> f32 ; } extern "C" { pub fn expm1f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __expm1f ( __x : f32 ) -> f32 ; } extern "C" { pub fn log1pf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log1pf ( __x : f32 ) -> f32 ; } extern "C" { pub fn logbf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __logbf ( __x : f32 ) -> f32 ; } extern "C" { pub fn exp2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __exp2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn log2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn powf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __powf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn sqrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sqrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn hypotf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __hypotf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn cbrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __cbrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn ceilf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __ceilf ( __x : f32 ) -> f32 ; } extern "C" { pub fn fabsf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __fabsf ( __x : f32 ) -> f32 ; } extern "C" { pub fn floorf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __floorf ( __x : f32 ) -> f32 ; } extern "C" { pub fn fmodf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fmodf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn isinff ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __dremf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn significandf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __significandf ( __x : f32 ) -> f32 ; } extern "C" { pub fn copysignf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __copysignf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn nanf ( __tagb : * const :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn __nanf ( __tagb : * const :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn isnanf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __j0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn j1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __j1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn jnf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn __jnf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn y0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __y0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn y1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __y1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn ynf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn __ynf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn erff ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __erff ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn erfcf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __erfcf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn lgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __lgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn tgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __tgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn gammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __gammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn lgammaf_r ( arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __lgammaf_r ( arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn rintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __rintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn nextafterf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __nextafterf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn nexttowardf ( __x : f32 , __y : u128 ) -> f32 ; } extern "C" { pub fn __nexttowardf ( __x : f32 , __y : u128 ) -> f32 ; } extern "C" { pub fn remainderf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __remainderf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn scalbnf ( __x : f32 , __n : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __scalbnf ( __x : f32 , __n : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn ilogbf ( __x : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf ( __x : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf ( __x : f32 , __n : :: std :: os :: raw :: c_long ) -> f32 ; } extern "C" { pub fn __scalblnf ( __x : f32 , __n : :: std :: os :: raw :: c_long ) -> f32 ; } extern "C" { pub fn nearbyintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __nearbyintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn roundf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __roundf ( __x : f32 ) -> f32 ; } extern "C" { pub fn truncf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __truncf ( __x : f32 ) -> f32 ; } extern "C" { pub fn remquof ( __x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __remquof ( __x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn lrintf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fdimf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fmaxf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fmaxf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fminf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fminf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fmaf ( __x : f32 , __y : f32 , __z : f32 ) -> f32 ; } extern "C" { pub fn __fmaf ( __x : f32 , __y : f32 , __z : f32 ) -> f32 ; } extern "C" { pub fn scalbf ( __x : f32 , __n : f32 ) -> f32 ; } extern "C" { pub fn __scalbf ( __x : f32 , __n : f32 ) -> f32 ; } extern "C" { pub fn __fpclassifyl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl ( __x : u128 , __y : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __acosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn asinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __asinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn atanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __atanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn atan2l ( __y : u128 , __x : u128 ) -> u128 ; } extern "C" { pub fn __atan2l ( __y : u128 , __x : u128 ) -> u128 ; } extern "C" { pub fn cosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __cosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn sinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __sinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn tanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __tanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn coshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __coshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn sinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __sinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn tanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __tanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn acoshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __acoshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn asinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __asinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn atanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __atanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn expl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __expl ( __x : u128 ) -> u128 ; } extern "C" { pub fn frexpl ( __x : u128 , __exponent : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __frexpl ( __x : u128 , __exponent : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn ldexpl ( __x : u128 , __exponent : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __ldexpl ( __x : u128 , __exponent : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn logl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __logl ( __x : u128 ) -> u128 ; } extern "C" { pub fn log10l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __log10l ( __x : u128 ) -> u128 ; } extern "C" { pub fn modfl ( __x : u128 , __iptr : * mut u128 ) -> u128 ; } extern "C" { pub fn __modfl ( __x : u128 , __iptr : * mut u128 ) -> u128 ; } extern "C" { pub fn expm1l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __expm1l ( __x : u128 ) -> u128 ; } extern "C" { pub fn log1pl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __log1pl ( __x : u128 ) -> u128 ; } extern "C" { pub fn logbl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __logbl ( __x : u128 ) -> u128 ; } extern "C" { pub fn exp2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __exp2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn log2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __log2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn powl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __powl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn sqrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __sqrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn hypotl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __hypotl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn cbrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __cbrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn ceill ( __x : u128 ) -> u128 ; } extern "C" { pub fn __ceill ( __x : u128 ) -> u128 ; } extern "C" { pub fn fabsl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __fabsl ( __x : u128 ) -> u128 ; } extern "C" { pub fn floorl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __floorl ( __x : u128 ) -> u128 ; } extern "C" { pub fn fmodl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fmodl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn isinfl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __dreml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn significandl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __significandl ( __x : u128 ) -> u128 ; } extern "C" { pub fn copysignl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __copysignl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn nanl ( __tagb : * const :: std :: os :: raw :: c_char ) -> u128 ; } extern "C" { pub fn __nanl ( __tagb : * const :: std :: os :: raw :: c_char ) -> u128 ; } extern "C" { pub fn isnanl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __j0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn j1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __j1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn jnl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn __jnl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn y0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __y0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn y1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __y1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn ynl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn __ynl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn erfl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __erfl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn erfcl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __erfcl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn lgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __lgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn tgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __tgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn gammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __gammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn lgammal_r ( arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __lgammal_r ( arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn rintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __rintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn nextafterl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __nextafterl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn nexttowardl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __nexttowardl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn remainderl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __remainderl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn scalbnl ( __x : u128 , __n : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __scalbnl ( __x : u128 , __n : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn ilogbl ( __x : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl ( __x : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl ( __x : u128 , __n : :: std :: os :: raw :: c_long ) -> u128 ; } extern "C" { pub fn __scalblnl ( __x : u128 , __n : :: std :: os :: raw :: c_long ) -> u128 ; } extern "C" { pub fn nearbyintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __nearbyintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn roundl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __roundl ( __x : u128 ) -> u128 ; } extern "C" { pub fn truncl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __truncl ( __x : u128 ) -> u128 ; } extern "C" { pub fn remquol ( __x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __remquol ( __x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn lrintl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fdiml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn fmaxl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fmaxl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn fminl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fminl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn fmal ( __x : u128 , __y : u128 , __z : u128 ) -> u128 ; } extern "C" { pub fn __fmal ( __x : u128 , __y : u128 , __z : u128 ) -> u128 ; } extern "C" { pub fn scalbl ( __x : u128 , __n : u128 ) -> u128 ; } extern "C" { pub fn __scalbl ( __x : u128 , __n : u128 ) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pub const FP_ZERO : _bindgen_ty_1 = 2 ; pub const FP_SUBNORMAL : _bindgen_ty_1 = 3 ; pub const FP_NORMAL : _bindgen_ty_1 = 4 ; pub type _bindgen_ty_1 = u32 ; pub type wchar_t = :: std :: os :: raw :: c_int ; pub const idtype_t_P_ALL : idtype_t = 0 ; pub const idtype_t_P_PID : idtype_t = 1 ; pub const idtype_t_P_PGID : idtype_t = 2 ; pub type idtype_t = u32 ; # [ 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 ) -> u128 ; } extern "C" { pub fn strtol ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn strtoul ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strtoq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtouq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn strtoll ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtoull ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn l64a ( __n : :: std :: os :: raw :: c_long ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn a64l ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type clock_t = __clock_t ; pub type clockid_t = __clockid_t ; pub type time_t = __time_t ; pub type timer_t = __timer_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = :: std :: os :: raw :: c_uchar ; pub type u_int16_t = :: std :: os :: raw :: c_ushort ; pub type u_int32_t = :: std :: os :: raw :: c_uint ; pub type u_int64_t = :: std :: os :: raw :: c_ulong ; 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 ) ) ) ; } # [ 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 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 ; } extern "C" { pub fn gnu_dev_major ( __dev : __dev_t ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn gnu_dev_minor ( __dev : __dev_t ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn gnu_dev_makedev ( __major : :: std :: os :: raw :: c_uint , __minor : :: std :: os :: raw :: c_uint ) -> __dev_t ; } 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 ( 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 ( 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_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 ( Copy , Clone ) ] pub struct __pthread_cond_s { pub __bindgen_anon_1 : __pthread_cond_s__bindgen_ty_1 , pub __bindgen_anon_2 : __pthread_cond_s__bindgen_ty_2 , 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 ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __pthread_cond_s__bindgen_ty_1 { pub __wseq : :: std :: os :: raw :: c_ulonglong , pub __wseq32 : __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1 > ( ) ) ) . __wseq as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) , "::" , stringify ! ( __wseq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1 > ( ) ) ) . __wseq32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) , "::" , stringify ! ( __wseq32 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __pthread_cond_s__bindgen_ty_2 { pub __g1_start : :: std :: os :: raw :: c_ulonglong , pub __g1_start32 : __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2 > ( ) ) ) . __g1_start as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) , "::" , stringify ! ( __g1_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2 > ( ) ) ) . __g1_start32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) , "::" , stringify ! ( __g1_start32 ) ) ) ; } # [ 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 > ( ) ) ) . __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 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 malloc ( __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc ( __nmemb : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc ( __ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free ( __ptr : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn alloca ( __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn valloc ( __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn posix_memalign ( __memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : usize , __size : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn aligned_alloc ( __alignment : 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 : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qfcvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qgcvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ecvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fcvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qecvt_r ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qfcvt_r ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mblen ( __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbtowc ( __pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wctomb ( __s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbstowcs ( __pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> usize ; } extern "C" { pub fn wcstombs ( __s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : usize ) -> usize ; } extern "C" { pub fn rpmatch ( __response : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsubopt ( __optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * mut :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getloadavg ( __loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ repr ( align ( 16 ) ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [ test ] fn bindgen_test_layout_max_align_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce1 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_material_t { pub name : * mut :: std :: os :: raw :: c_char , pub ambient : [ f32 ; 3usize ] , pub diffuse : [ f32 ; 3usize ] , pub specular : [ f32 ; 3usize ] , pub transmittance : [ f32 ; 3usize ] , pub emission : [ f32 ; 3usize ] , pub shininess : f32 , pub ior : f32 , pub dissolve : f32 , pub illum : :: std :: os :: raw :: c_int , pub pad0 : :: std :: os :: raw :: c_int , pub ambient_texname : * mut :: std :: os :: raw :: c_char , pub diffuse_texname : * mut :: std :: os :: raw :: c_char , pub specular_texname : * mut :: std :: os :: raw :: c_char , pub specular_highlight_texname : * mut :: std :: os :: raw :: c_char , pub bump_texname : * mut :: std :: os :: raw :: c_char , pub displacement_texname : * mut :: std :: os :: raw :: c_char , pub alpha_texname : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_tinyobj_material_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_material_t > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( tinyobj_material_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_material_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_material_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . ambient as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( ambient ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . diffuse as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( diffuse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . specular as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( specular ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . transmittance as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( transmittance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . emission as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( emission ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . shininess as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( shininess ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . ior as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( ior ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . dissolve as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( dissolve ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . illum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( illum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . pad0 as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . ambient_texname as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( ambient_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . diffuse_texname as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( diffuse_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . specular_texname as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( specular_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . specular_highlight_texname as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( specular_highlight_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . bump_texname as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( bump_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . displacement_texname as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( displacement_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . alpha_texname as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( alpha_texname ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_shape_t { pub name : * mut :: std :: os :: raw :: c_char , pub face_offset : :: std :: os :: raw :: c_uint , pub length : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_tinyobj_shape_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_shape_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( tinyobj_shape_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_shape_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_shape_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_shape_t > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_shape_t ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_shape_t > ( ) ) ) . face_offset as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_shape_t ) , "::" , stringify ! ( face_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_shape_t > ( ) ) ) . length as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_shape_t ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_vertex_index_t { pub v_idx : :: std :: os :: raw :: c_int , pub vt_idx : :: std :: os :: raw :: c_int , pub vn_idx : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_tinyobj_vertex_index_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_vertex_index_t > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( tinyobj_vertex_index_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_vertex_index_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_vertex_index_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_vertex_index_t > ( ) ) ) . v_idx as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_vertex_index_t ) , "::" , stringify ! ( v_idx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_vertex_index_t > ( ) ) ) . vt_idx as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_vertex_index_t ) , "::" , stringify ! ( vt_idx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_vertex_index_t > ( ) ) ) . vn_idx as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_vertex_index_t ) , "::" , stringify ! ( vn_idx ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_attrib_t { pub num_vertices : :: std :: os :: raw :: c_uint , pub num_normals : :: std :: os :: raw :: c_uint , pub num_texcoords : :: std :: os :: raw :: c_uint , pub num_faces : :: std :: os :: raw :: c_uint , pub num_face_num_verts : :: std :: os :: raw :: c_uint , pub pad0 : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub normals : * mut f32 , pub texcoords : * mut f32 , pub faces : * mut tinyobj_vertex_index_t , pub face_num_verts : * mut :: std :: os :: raw :: c_int , pub material_ids : * mut :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_tinyobj_attrib_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_attrib_t > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( tinyobj_attrib_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_attrib_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_attrib_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_vertices as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_normals as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_texcoords as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_faces as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_faces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_face_num_verts as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_face_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . pad0 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . vertices as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . normals as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . texcoords as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . faces as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( faces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . face_num_verts as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( face_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . material_ids as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( material_ids ) ) ) ; } extern "C" { pub fn tinyobj_parse_obj ( attrib : * mut tinyobj_attrib_t , shapes : * mut * mut tinyobj_shape_t , num_shapes : * mut usize , materials : * mut * mut tinyobj_material_t , num_materials : * mut usize , buf : * const :: std :: os :: raw :: c_char , len : usize , flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tinyobj_parse_mtl_file ( materials_out : * mut * mut tinyobj_material_t , num_materials_out : * mut usize , filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tinyobj_attrib_init ( attrib : * mut tinyobj_attrib_t ) ; } extern "C" { pub fn tinyobj_attrib_free ( attrib : * mut tinyobj_attrib_t ) ; } extern "C" { pub fn tinyobj_shapes_free ( shapes : * mut tinyobj_shape_t , num_shapes : usize ) ; } extern "C" { pub fn tinyobj_materials_free ( materials : * mut tinyobj_material_t , num_materials : usize ) ; } pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [ :: std :: os :: raw :: c_char ; 4usize ] , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout___mbstate_t__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wch as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wchb as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wchb ) ) ) ; } # [ test ] fn bindgen_test_layout___mbstate_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __value as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __state ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos64_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos64_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos64_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __state ) ) ) ; } pub type va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [ :: std :: os :: raw :: c_char ; 1usize ] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_FILE > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_FILE > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_ptr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_end as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_base as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_base as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_ptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_end as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_base as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_end as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_base as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_backup_base as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_backup_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_end as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _markers as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _markers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _chain as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _chain ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _fileno as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _fileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags2 as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _old_offset as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _old_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _cur_column as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _cur_column ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _vtable_offset as * const _ as usize } , 130usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _vtable_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _shortbuf as * const _ as usize } , 131usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _shortbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _lock as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _offset as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad5 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _mode as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _unused2 as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _unused2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_FILE ; } extern "C" { pub fn remove ( __filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rename ( __old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn renameat ( __oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tmpfile ( ) -> * mut FILE ; } extern "C" { pub fn tmpnam ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tmpnam_r ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tempnam ( __dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn freopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> * mut FILE ; } extern "C" { pub fn fdopen ( __fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn fmemopen ( __s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub static mut sys_nerr : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut sys_errlist : [ * const :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub fn fileno ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fileno_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn popen ( __command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn pclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ctermid ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn flockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn ftrylockfile ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn funlockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn __assert_fail ( __assertion : * const :: std :: os :: raw :: c_char , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_uint , __function : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn __assert_perror_fail ( __errnum : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_uint , __function : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn __assert ( __assertion : * const :: std :: os :: raw :: c_char , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn memcpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memmove ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memccpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : 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 : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memcmp ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn memchr ( __s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcoll ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_ulong ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { 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 strcoll_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm_l ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize , __l : locale_t ) -> usize ; } extern "C" { pub fn strdup ( __s : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strndup ( __string : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strrchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn 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 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 : :: std :: os :: raw :: c_ulong ) ; } extern "C" { pub fn index ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn rindex ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ffs ( __i : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsl ( __l : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsll ( __ll : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn explicit_bzero ( __s : * mut :: std :: os :: raw :: c_void , __n : usize ) ; } extern "C" { pub fn strsep ( __stringp : * mut * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strsignal ( __sig : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __errno_location ( ) -> * mut :: std :: os :: raw :: c_int ; } extern "C" { pub fn dynamic_fgets ( buf : * mut * mut :: std :: os :: raw :: c_char , size : * mut usize , file : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct hash_table_entry_t { pub hash : :: std :: os :: raw :: c_ulong , pub filled : :: std :: os :: raw :: c_int , pub pad0 : :: std :: os :: raw :: c_int , pub value : :: std :: os :: raw :: c_long , pub next : * mut hash_table_entry_t , } # [ test ] fn bindgen_test_layout_hash_table_entry_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < hash_table_entry_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( hash_table_entry_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < hash_table_entry_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( hash_table_entry_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . hash as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . filled as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( filled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . pad0 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . value as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( next ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct hash_table_t { pub hashes : * mut :: std :: os :: raw :: c_ulong , pub entries : * mut hash_table_entry_t , pub capacity : usize , pub n : usize , } # [ test ] fn bindgen_test_layout_hash_table_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < hash_table_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( hash_table_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < hash_table_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( hash_table_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . hashes as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( hashes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . entries as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( entries ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . capacity as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( capacity ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . n as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( n ) ) ) ; } pub const CommandType_COMMAND_EMPTY : CommandType = 0 ; pub const CommandType_COMMAND_V : CommandType = 1 ; pub const CommandType_COMMAND_VN : CommandType = 2 ; pub const CommandType_COMMAND_VT : CommandType = 3 ; pub const CommandType_COMMAND_F : CommandType = 4 ; pub const CommandType_COMMAND_G : CommandType = 5 ; pub const CommandType_COMMAND_O : CommandType = 6 ; pub const CommandType_COMMAND_USEMTL : CommandType = 7 ; pub const CommandType_COMMAND_MTLLIB : CommandType = 8 ; pub type CommandType = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct Command { pub vx : f32 , pub vy : f32 , pub vz : f32 , pub nx : f32 , pub ny : f32 , pub nz : f32 , pub tx : f32 , pub ty : f32 , pub f : [ tinyobj_vertex_index_t ; 16usize ] , pub num_f : usize , pub f_num_verts : [ :: std :: os :: raw :: c_int ; 16usize ] , pub num_f_num_verts : usize , pub group_name : * const :: std :: os :: raw :: c_char , pub group_name_len : :: std :: os :: raw :: c_uint , pub pad0 : :: std :: os :: raw :: c_int , pub object_name : * const :: std :: os :: raw :: c_char , pub object_name_len : :: std :: os :: raw :: c_uint , pub pad1 : :: std :: os :: raw :: c_int , pub material_name : * const :: std :: os :: raw :: c_char , pub material_name_len : :: std :: os :: raw :: c_uint , pub pad2 : :: std :: os :: raw :: c_int , pub mtllib_name : * const :: std :: os :: raw :: c_char , pub mtllib_name_len : :: std :: os :: raw :: c_uint , pub type_ : CommandType , } # [ test ] fn bindgen_test_layout_Command ( ) { assert_eq ! ( :: std :: mem :: size_of :: < Command > ( ) , 368usize , concat ! ( "Size of: " , stringify ! ( Command ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < Command > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( Command ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . vx as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( vx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . vy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( vy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . vz as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( vz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . nx as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( nx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . ny as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( ny ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . nz as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( nz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . tx as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( tx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . ty as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( ty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . f as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( f ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . num_f as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( num_f ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . f_num_verts as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( f_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . num_f_num_verts as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( num_f_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . group_name as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( group_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . group_name_len as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( group_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . pad0 as * const _ as usize } , 316usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . object_name as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( object_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . object_name_len as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( object_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . pad1 as * const _ as usize } , 332usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . material_name as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( material_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . material_name_len as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( material_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . pad2 as * const _ as usize } , 348usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . mtllib_name as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( mtllib_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . mtllib_name_len as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( mtllib_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . type_ as * const _ as usize } , 364usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct LineInfo { pub pos : usize , pub len : usize , } # [ test ] fn bindgen_test_layout_LineInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < LineInfo > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( LineInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < LineInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( LineInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < LineInfo > ( ) ) ) . pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( LineInfo ) , "::" , stringify ! ( pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < LineInfo > ( ) ) ) . len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( LineInfo ) , "::" , stringify ! ( len ) ) ) ; } pub type cgltf_size = usize ; pub type cgltf_float = f32 ; pub type cgltf_int = :: std :: os :: raw :: c_int ; pub type cgltf_bool = :: std :: os :: raw :: c_int ; pub const cgltf_file_type_cgltf_file_type_invalid : cgltf_file_type = 0 ; pub const cgltf_file_type_cgltf_file_type_gltf : cgltf_file_type = 1 ; pub const cgltf_file_type_cgltf_file_type_glb : cgltf_file_type = 2 ; pub type cgltf_file_type = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_options { pub type_ : cgltf_file_type , pub json_token_count : cgltf_size , pub memory_alloc : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , size : cgltf_size ) -> * mut :: std :: os :: raw :: c_void > , pub memory_free : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , ptr : * mut :: std :: os :: raw :: c_void ) > , pub memory_user_data : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_cgltf_options ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_options > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_options ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_options > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_options ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . json_token_count as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( json_token_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . memory_alloc as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( memory_alloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . memory_free as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( memory_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . memory_user_data as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( memory_user_data ) ) ) ; } pub const cgltf_result_cgltf_result_success : cgltf_result = 0 ; pub const cgltf_result_cgltf_result_data_too_short : cgltf_result = 1 ; pub const cgltf_result_cgltf_result_unknown_format : cgltf_result = 2 ; pub const cgltf_result_cgltf_result_invalid_json : cgltf_result = 3 ; pub const cgltf_result_cgltf_result_invalid_gltf : cgltf_result = 4 ; pub const cgltf_result_cgltf_result_invalid_options : cgltf_result = 5 ; pub const cgltf_result_cgltf_result_file_not_found : cgltf_result = 6 ; pub const cgltf_result_cgltf_result_io_error : cgltf_result = 7 ; pub const cgltf_result_cgltf_result_out_of_memory : cgltf_result = 8 ; pub const cgltf_result_cgltf_result_legacy_gltf : cgltf_result = 9 ; pub type cgltf_result = u32 ; pub const cgltf_buffer_view_type_cgltf_buffer_view_type_invalid : cgltf_buffer_view_type = 0 ; pub const cgltf_buffer_view_type_cgltf_buffer_view_type_indices : cgltf_buffer_view_type = 1 ; pub const cgltf_buffer_view_type_cgltf_buffer_view_type_vertices : cgltf_buffer_view_type = 2 ; pub type cgltf_buffer_view_type = u32 ; pub const cgltf_attribute_type_cgltf_attribute_type_invalid : cgltf_attribute_type = 0 ; pub const cgltf_attribute_type_cgltf_attribute_type_position : cgltf_attribute_type = 1 ; pub const cgltf_attribute_type_cgltf_attribute_type_normal : cgltf_attribute_type = 2 ; pub const cgltf_attribute_type_cgltf_attribute_type_tangent : cgltf_attribute_type = 3 ; pub const cgltf_attribute_type_cgltf_attribute_type_texcoord : cgltf_attribute_type = 4 ; pub const cgltf_attribute_type_cgltf_attribute_type_color : cgltf_attribute_type = 5 ; pub const cgltf_attribute_type_cgltf_attribute_type_joints : cgltf_attribute_type = 6 ; pub const cgltf_attribute_type_cgltf_attribute_type_weights : cgltf_attribute_type = 7 ; pub type cgltf_attribute_type = u32 ; pub const cgltf_component_type_cgltf_component_type_invalid : cgltf_component_type = 0 ; pub const cgltf_component_type_cgltf_component_type_r_8 : cgltf_component_type = 1 ; pub const cgltf_component_type_cgltf_component_type_r_8u : cgltf_component_type = 2 ; pub const cgltf_component_type_cgltf_component_type_r_16 : cgltf_component_type = 3 ; pub const cgltf_component_type_cgltf_component_type_r_16u : cgltf_component_type = 4 ; pub const cgltf_component_type_cgltf_component_type_r_32u : cgltf_component_type = 5 ; pub const cgltf_component_type_cgltf_component_type_r_32f : cgltf_component_type = 6 ; pub type cgltf_component_type = u32 ; pub const cgltf_type_cgltf_type_invalid : cgltf_type = 0 ; pub const cgltf_type_cgltf_type_scalar : cgltf_type = 1 ; pub const cgltf_type_cgltf_type_vec2 : cgltf_type = 2 ; pub const cgltf_type_cgltf_type_vec3 : cgltf_type = 3 ; pub const cgltf_type_cgltf_type_vec4 : cgltf_type = 4 ; pub const cgltf_type_cgltf_type_mat2 : cgltf_type = 5 ; pub const cgltf_type_cgltf_type_mat3 : cgltf_type = 6 ; pub const cgltf_type_cgltf_type_mat4 : cgltf_type = 7 ; pub type cgltf_type = u32 ; pub const cgltf_primitive_type_cgltf_primitive_type_points : cgltf_primitive_type = 0 ; pub const cgltf_primitive_type_cgltf_primitive_type_lines : cgltf_primitive_type = 1 ; pub const cgltf_primitive_type_cgltf_primitive_type_line_loop : cgltf_primitive_type = 2 ; pub const cgltf_primitive_type_cgltf_primitive_type_line_strip : cgltf_primitive_type = 3 ; pub const cgltf_primitive_type_cgltf_primitive_type_triangles : cgltf_primitive_type = 4 ; pub const cgltf_primitive_type_cgltf_primitive_type_triangle_strip : cgltf_primitive_type = 5 ; pub const cgltf_primitive_type_cgltf_primitive_type_triangle_fan : cgltf_primitive_type = 6 ; pub type cgltf_primitive_type = u32 ; pub const cgltf_alpha_mode_cgltf_alpha_mode_opaque : cgltf_alpha_mode = 0 ; pub const cgltf_alpha_mode_cgltf_alpha_mode_mask : cgltf_alpha_mode = 1 ; pub const cgltf_alpha_mode_cgltf_alpha_mode_blend : cgltf_alpha_mode = 2 ; pub type cgltf_alpha_mode = u32 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_invalid : cgltf_animation_path_type = 0 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_translation : cgltf_animation_path_type = 1 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_rotation : cgltf_animation_path_type = 2 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_scale : cgltf_animation_path_type = 3 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_weights : cgltf_animation_path_type = 4 ; pub type cgltf_animation_path_type = u32 ; pub const cgltf_interpolation_type_cgltf_interpolation_type_linear : cgltf_interpolation_type = 0 ; pub const cgltf_interpolation_type_cgltf_interpolation_type_step : cgltf_interpolation_type = 1 ; pub const cgltf_interpolation_type_cgltf_interpolation_type_cubic_spline : cgltf_interpolation_type = 2 ; pub type cgltf_interpolation_type = u32 ; pub const cgltf_camera_type_cgltf_camera_type_invalid : cgltf_camera_type = 0 ; pub const cgltf_camera_type_cgltf_camera_type_perspective : cgltf_camera_type = 1 ; pub const cgltf_camera_type_cgltf_camera_type_orthographic : cgltf_camera_type = 2 ; pub type cgltf_camera_type = u32 ; pub const cgltf_light_type_cgltf_light_type_invalid : cgltf_light_type = 0 ; pub const cgltf_light_type_cgltf_light_type_directional : cgltf_light_type = 1 ; pub const cgltf_light_type_cgltf_light_type_point : cgltf_light_type = 2 ; pub const cgltf_light_type_cgltf_light_type_spot : cgltf_light_type = 3 ; pub type cgltf_light_type = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_extras { pub start_offset : cgltf_size , pub end_offset : cgltf_size , } # [ test ] fn bindgen_test_layout_cgltf_extras ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_extras > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( cgltf_extras ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_extras > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_extras > ( ) ) ) . start_offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_extras ) , "::" , stringify ! ( start_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_extras > ( ) ) ) . end_offset as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_extras ) , "::" , stringify ! ( end_offset ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_buffer { pub size : cgltf_size , pub uri : * mut :: std :: os :: raw :: c_char , pub data : * mut :: std :: os :: raw :: c_void , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_buffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_buffer > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_buffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_buffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . uri as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( uri ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_buffer_view { pub buffer : * mut cgltf_buffer , pub offset : cgltf_size , pub size : cgltf_size , pub stride : cgltf_size , pub type_ : cgltf_buffer_view_type , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_buffer_view ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_buffer_view > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( cgltf_buffer_view ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_buffer_view > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . buffer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . offset as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . stride as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( stride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . type_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . extras as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_accessor_sparse { pub count : cgltf_size , pub indices_buffer_view : * mut cgltf_buffer_view , pub indices_byte_offset : cgltf_size , pub indices_component_type : cgltf_component_type , pub values_buffer_view : * mut cgltf_buffer_view , pub values_byte_offset : cgltf_size , pub extras : cgltf_extras , pub indices_extras : cgltf_extras , pub values_extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_accessor_sparse ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_accessor_sparse > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( cgltf_accessor_sparse ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_accessor_sparse > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_accessor_sparse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_buffer_view as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_byte_offset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_byte_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_component_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_component_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . values_buffer_view as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( values_buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . values_byte_offset as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( values_byte_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . extras as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_extras as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . values_extras as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( values_extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_accessor { pub component_type : cgltf_component_type , pub normalized : cgltf_bool , pub type_ : cgltf_type , pub offset : cgltf_size , pub count : cgltf_size , pub stride : cgltf_size , pub buffer_view : * mut cgltf_buffer_view , pub has_min : cgltf_bool , pub min : [ cgltf_float ; 16usize ] , pub has_max : cgltf_bool , pub max : [ cgltf_float ; 16usize ] , pub is_sparse : cgltf_bool , pub sparse : cgltf_accessor_sparse , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_accessor ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_accessor > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( cgltf_accessor ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_accessor > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_accessor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . component_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( component_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . normalized as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( normalized ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . offset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . stride as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( stride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . buffer_view as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . has_min as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( has_min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . min as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . has_max as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( has_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . max as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . is_sparse as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( is_sparse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . sparse as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( sparse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . extras as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_attribute { pub name : * mut :: std :: os :: raw :: c_char , pub type_ : cgltf_attribute_type , pub index : cgltf_int , pub data : * mut cgltf_accessor , } # [ test ] fn bindgen_test_layout_cgltf_attribute ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_attribute > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( cgltf_attribute ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_attribute > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_attribute ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . index as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( data ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_image { pub name : * mut :: std :: os :: raw :: c_char , pub uri : * mut :: std :: os :: raw :: c_char , pub buffer_view : * mut cgltf_buffer_view , pub mime_type : * mut :: std :: os :: raw :: c_char , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_image ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_image > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( cgltf_image ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_image > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . uri as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( uri ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . buffer_view as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . mime_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( mime_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . extras as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_sampler { pub mag_filter : cgltf_int , pub min_filter : cgltf_int , pub wrap_s : cgltf_int , pub wrap_t : cgltf_int , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_sampler ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_sampler > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_sampler ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_sampler > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . mag_filter as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( mag_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . min_filter as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( min_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . wrap_s as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( wrap_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . wrap_t as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( wrap_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . extras as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_texture { pub name : * mut :: std :: os :: raw :: c_char , pub image : * mut cgltf_image , pub sampler : * mut cgltf_sampler , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_texture ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_texture > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_texture ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_texture > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . image as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . sampler as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_texture_transform { pub offset : [ cgltf_float ; 2usize ] , pub rotation : cgltf_float , pub scale : [ cgltf_float ; 2usize ] , pub texcoord : cgltf_int , } # [ test ] fn bindgen_test_layout_cgltf_texture_transform ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_texture_transform > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( cgltf_texture_transform ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_texture_transform > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( cgltf_texture_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . rotation as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . scale as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . texcoord as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( texcoord ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_texture_view { pub texture : * mut cgltf_texture , pub texcoord : cgltf_int , pub scale : cgltf_float , pub has_transform : cgltf_bool , pub transform : cgltf_texture_transform , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_texture_view ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_texture_view > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( cgltf_texture_view ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_texture_view > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_texture_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . texcoord as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( texcoord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . scale as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . has_transform as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( has_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . transform as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . extras as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_pbr_metallic_roughness { pub base_color_texture : cgltf_texture_view , pub metallic_roughness_texture : cgltf_texture_view , pub base_color_factor : [ cgltf_float ; 4usize ] , pub metallic_factor : cgltf_float , pub roughness_factor : cgltf_float , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_pbr_metallic_roughness ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_pbr_metallic_roughness > ( ) , 168usize , concat ! ( "Size of: " , stringify ! ( cgltf_pbr_metallic_roughness ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_pbr_metallic_roughness > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_pbr_metallic_roughness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . base_color_texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( base_color_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . metallic_roughness_texture as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( metallic_roughness_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . base_color_factor as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( base_color_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . metallic_factor as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( metallic_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . roughness_factor as * const _ as usize } , 148usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( roughness_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . extras as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_pbr_specular_glossiness { pub diffuse_texture : cgltf_texture_view , pub specular_glossiness_texture : cgltf_texture_view , pub diffuse_factor : [ cgltf_float ; 4usize ] , pub specular_factor : [ cgltf_float ; 3usize ] , pub glossiness_factor : cgltf_float , } # [ test ] fn bindgen_test_layout_cgltf_pbr_specular_glossiness ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_pbr_specular_glossiness > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( cgltf_pbr_specular_glossiness ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_pbr_specular_glossiness > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_pbr_specular_glossiness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . diffuse_texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( diffuse_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . specular_glossiness_texture as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( specular_glossiness_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . diffuse_factor as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( diffuse_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . specular_factor as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( specular_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . glossiness_factor as * const _ as usize } , 156usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( glossiness_factor ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_material { pub name : * mut :: std :: os :: raw :: c_char , pub has_pbr_metallic_roughness : cgltf_bool , pub has_pbr_specular_glossiness : cgltf_bool , pub pbr_metallic_roughness : cgltf_pbr_metallic_roughness , pub pbr_specular_glossiness : cgltf_pbr_specular_glossiness , pub normal_texture : cgltf_texture_view , pub occlusion_texture : cgltf_texture_view , pub emissive_texture : cgltf_texture_view , pub emissive_factor : [ cgltf_float ; 3usize ] , pub alpha_mode : cgltf_alpha_mode , pub alpha_cutoff : cgltf_float , pub double_sided : cgltf_bool , pub unlit : cgltf_bool , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_material ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_material > ( ) , 584usize , concat ! ( "Size of: " , stringify ! ( cgltf_material ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_material > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . has_pbr_metallic_roughness as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( has_pbr_metallic_roughness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . has_pbr_specular_glossiness as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( has_pbr_specular_glossiness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . pbr_metallic_roughness as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( pbr_metallic_roughness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . pbr_specular_glossiness as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( pbr_specular_glossiness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . normal_texture as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( normal_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . occlusion_texture as * const _ as usize } , 408usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( occlusion_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . emissive_texture as * const _ as usize } , 472usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( emissive_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . emissive_factor as * const _ as usize } , 536usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( emissive_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . alpha_mode as * const _ as usize } , 548usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( alpha_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . alpha_cutoff as * const _ as usize } , 552usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( alpha_cutoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . double_sided as * const _ as usize } , 556usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( double_sided ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . unlit as * const _ as usize } , 560usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( unlit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . extras as * const _ as usize } , 568usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_morph_target { pub attributes : * mut cgltf_attribute , pub attributes_count : cgltf_size , } # [ test ] fn bindgen_test_layout_cgltf_morph_target ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_morph_target > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( cgltf_morph_target ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_morph_target > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_morph_target ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_morph_target > ( ) ) ) . attributes as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_morph_target ) , "::" , stringify ! ( attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_morph_target > ( ) ) ) . attributes_count as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_morph_target ) , "::" , stringify ! ( attributes_count ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_primitive { pub type_ : cgltf_primitive_type , pub indices : * mut cgltf_accessor , pub material : * mut cgltf_material , pub attributes : * mut cgltf_attribute , pub attributes_count : cgltf_size , pub targets : * mut cgltf_morph_target , pub targets_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_primitive ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_primitive > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( cgltf_primitive ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_primitive > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_primitive ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . indices as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( indices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . material as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . attributes as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . attributes_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( attributes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . targets as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( targets ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . targets_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( targets_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . extras as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_mesh { pub name : * mut :: std :: os :: raw :: c_char , pub primitives : * mut cgltf_primitive , pub primitives_count : cgltf_size , pub weights : * mut cgltf_float , pub weights_count : cgltf_size , pub target_names : * mut * mut :: std :: os :: raw :: c_char , pub target_names_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_mesh ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_mesh > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( cgltf_mesh ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_mesh > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_mesh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . primitives as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( primitives ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . primitives_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( primitives_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . weights as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( weights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . weights_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( weights_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . target_names as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( target_names ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . target_names_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( target_names_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . extras as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_skin { pub name : * mut :: std :: os :: raw :: c_char , pub joints : * mut * mut cgltf_node , pub joints_count : cgltf_size , pub skeleton : * mut cgltf_node , pub inverse_bind_matrices : * mut cgltf_accessor , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_skin ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_skin > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( cgltf_skin ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_skin > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_skin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . joints as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( joints ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . joints_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( joints_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . skeleton as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( skeleton ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . inverse_bind_matrices as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( inverse_bind_matrices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . extras as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_camera_perspective { pub aspect_ratio : cgltf_float , pub yfov : cgltf_float , pub zfar : cgltf_float , pub znear : cgltf_float , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_camera_perspective ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera_perspective > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera_perspective ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera_perspective > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera_perspective ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . aspect_ratio as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( aspect_ratio ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . yfov as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( yfov ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . zfar as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( zfar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . znear as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( znear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . extras as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_camera_orthographic { pub xmag : cgltf_float , pub ymag : cgltf_float , pub zfar : cgltf_float , pub znear : cgltf_float , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_camera_orthographic ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera_orthographic > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera_orthographic ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera_orthographic > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera_orthographic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . xmag as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( xmag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . ymag as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( ymag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . zfar as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( zfar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . znear as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( znear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . extras as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct cgltf_camera { pub name : * mut :: std :: os :: raw :: c_char , pub type_ : cgltf_camera_type , pub data : cgltf_camera__bindgen_ty_1 , pub extras : cgltf_extras , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union cgltf_camera__bindgen_ty_1 { pub perspective : cgltf_camera_perspective , pub orthographic : cgltf_camera_orthographic , _bindgen_union_align : [ u64 ; 4usize ] , } # [ test ] fn bindgen_test_layout_cgltf_camera__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera__bindgen_ty_1 > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera__bindgen_ty_1 > ( ) ) ) . perspective as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera__bindgen_ty_1 ) , "::" , stringify ! ( perspective ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera__bindgen_ty_1 > ( ) ) ) . orthographic as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera__bindgen_ty_1 ) , "::" , stringify ! ( orthographic ) ) ) ; } # [ test ] fn bindgen_test_layout_cgltf_camera ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . extras as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_light { pub name : * mut :: std :: os :: raw :: c_char , pub color : [ cgltf_float ; 3usize ] , pub intensity : cgltf_float , pub type_ : cgltf_light_type , pub range : cgltf_float , pub spot_inner_cone_angle : cgltf_float , pub spot_outer_cone_angle : cgltf_float , } # [ test ] fn bindgen_test_layout_cgltf_light ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_light > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_light ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_light > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_light ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . color as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( color ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . intensity as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( intensity ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . type_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . range as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . spot_inner_cone_angle as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( spot_inner_cone_angle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . spot_outer_cone_angle as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( spot_outer_cone_angle ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_node { pub name : * mut :: std :: os :: raw :: c_char , pub parent : * mut cgltf_node , pub children : * mut * mut cgltf_node , pub children_count : cgltf_size , pub skin : * mut cgltf_skin , pub mesh : * mut cgltf_mesh , pub camera : * mut cgltf_camera , pub light : * mut cgltf_light , pub weights : * mut cgltf_float , pub weights_count : cgltf_size , pub has_translation : cgltf_bool , pub has_rotation : cgltf_bool , pub has_scale : cgltf_bool , pub has_matrix : cgltf_bool , pub translation : [ cgltf_float ; 3usize ] , pub rotation : [ cgltf_float ; 4usize ] , pub scale : [ cgltf_float ; 3usize ] , pub matrix : [ cgltf_float ; 16usize ] , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_node ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_node > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( cgltf_node ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_node > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_node ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . parent as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . children as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( children ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . children_count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( children_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . skin as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( skin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . mesh as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( mesh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . camera as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( camera ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . light as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( light ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . weights as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( weights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . weights_count as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( weights_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_translation as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_translation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_rotation as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_scale as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_matrix as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . translation as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( translation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . rotation as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . scale as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . matrix as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . extras as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_scene { pub name : * mut :: std :: os :: raw :: c_char , pub nodes : * mut * mut cgltf_node , pub nodes_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_scene ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_scene > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_scene ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_scene > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_scene ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . nodes as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . nodes_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( nodes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_animation_sampler { pub input : * mut cgltf_accessor , pub output : * mut cgltf_accessor , pub interpolation : cgltf_interpolation_type , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_animation_sampler ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_animation_sampler > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_animation_sampler ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_animation_sampler > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_animation_sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . input as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( input ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . output as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( output ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . interpolation as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( interpolation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_animation_channel { pub sampler : * mut cgltf_animation_sampler , pub target_node : * mut cgltf_node , pub target_path : cgltf_animation_path_type , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_animation_channel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_animation_channel > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_animation_channel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_animation_channel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_animation_channel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . sampler as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . target_node as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( target_node ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . target_path as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( target_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_animation { pub name : * mut :: std :: os :: raw :: c_char , pub samplers : * mut cgltf_animation_sampler , pub samplers_count : cgltf_size , pub channels : * mut cgltf_animation_channel , pub channels_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_animation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_animation > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( cgltf_animation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_animation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_animation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . samplers as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( samplers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . samplers_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( samplers_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . channels as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( channels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . channels_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( channels_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . extras as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_asset { pub copyright : * mut :: std :: os :: raw :: c_char , pub generator : * mut :: std :: os :: raw :: c_char , pub version : * mut :: std :: os :: raw :: c_char , pub min_version : * mut :: std :: os :: raw :: c_char , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_asset ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_asset > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( cgltf_asset ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_asset > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_asset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . copyright as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( copyright ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . generator as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( generator ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . version as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . min_version as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( min_version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . extras as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_data { pub file_type : cgltf_file_type , pub file_data : * mut :: std :: os :: raw :: c_void , pub asset : cgltf_asset , pub meshes : * mut cgltf_mesh , pub meshes_count : cgltf_size , pub materials : * mut cgltf_material , pub materials_count : cgltf_size , pub accessors : * mut cgltf_accessor , pub accessors_count : cgltf_size , pub buffer_views : * mut cgltf_buffer_view , pub buffer_views_count : cgltf_size , pub buffers : * mut cgltf_buffer , pub buffers_count : cgltf_size , pub images : * mut cgltf_image , pub images_count : cgltf_size , pub textures : * mut cgltf_texture , pub textures_count : cgltf_size , pub samplers : * mut cgltf_sampler , pub samplers_count : cgltf_size , pub skins : * mut cgltf_skin , pub skins_count : cgltf_size , pub cameras : * mut cgltf_camera , pub cameras_count : cgltf_size , pub lights : * mut cgltf_light , pub lights_count : cgltf_size , pub nodes : * mut cgltf_node , pub nodes_count : cgltf_size , pub scenes : * mut cgltf_scene , pub scenes_count : cgltf_size , pub scene : * mut cgltf_scene , pub animations : * mut cgltf_animation , pub animations_count : cgltf_size , pub extras : cgltf_extras , pub extensions_used : * mut * mut :: std :: os :: raw :: c_char , pub extensions_used_count : cgltf_size , pub extensions_required : * mut * mut :: std :: os :: raw :: c_char , pub extensions_required_count : cgltf_size , pub json : * const :: std :: os :: raw :: c_char , pub json_size : cgltf_size , pub bin : * const :: std :: os :: raw :: c_void , pub bin_size : cgltf_size , pub memory_free : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , ptr : * mut :: std :: os :: raw :: c_void ) > , pub memory_user_data : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_cgltf_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_data > ( ) , 392usize , concat ! ( "Size of: " , stringify ! ( cgltf_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_data > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . file_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( file_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . file_data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( file_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . asset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( asset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . meshes as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( meshes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . meshes_count as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( meshes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . materials as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( materials ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . materials_count as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( materials_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . accessors as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( accessors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . accessors_count as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( accessors_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffer_views as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffer_views ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffer_views_count as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffer_views_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffers as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffers_count as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffers_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . images as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( images ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . images_count as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( images_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . textures as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( textures ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . textures_count as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( textures_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . samplers as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( samplers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . samplers_count as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( samplers_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . skins as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( skins ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . skins_count as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( skins_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . cameras as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( cameras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . cameras_count as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( cameras_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . lights as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( lights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . lights_count as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( lights_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . nodes as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . nodes_count as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( nodes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . scenes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( scenes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . scenes_count as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( scenes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . scene as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( scene ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . animations as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( animations ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . animations_count as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( animations_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extras as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_used as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_used ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_used_count as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_used_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_required as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_required ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_required_count as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_required_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . json as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( json ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . json_size as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( json_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . bin as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( bin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . bin_size as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( bin_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . memory_free as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( memory_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . memory_user_data as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( memory_user_data ) ) ) ; } extern "C" { pub fn cgltf_parse ( options : * const cgltf_options , data : * const :: std :: os :: raw :: c_void , size : cgltf_size , out_data : * mut * mut cgltf_data ) -> cgltf_result ; } extern "C" { pub fn cgltf_parse_file ( options : * const cgltf_options , path : * const :: std :: os :: raw :: c_char , out_data : * mut * mut cgltf_data ) -> cgltf_result ; } extern "C" { pub fn cgltf_load_buffers ( options : * const cgltf_options , data : * mut cgltf_data , gltf_path : * const :: std :: os :: raw :: c_char ) -> cgltf_result ; } extern "C" { pub fn cgltf_load_buffer_base64 ( options : * const cgltf_options , size : cgltf_size , base64 : * const :: std :: os :: raw :: c_char , out_data : * mut * mut :: std :: os :: raw :: c_void ) -> cgltf_result ; } extern "C" { pub fn cgltf_validate ( data : * mut cgltf_data ) -> cgltf_result ; } extern "C" { pub fn cgltf_free ( data : * mut cgltf_data ) ; } extern "C" { pub fn cgltf_node_transform_local ( node : * const cgltf_node , out_matrix : * mut cgltf_float ) ; } extern "C" { pub fn cgltf_node_transform_world ( node : * const cgltf_node , out_matrix : * mut cgltf_float ) ; } extern "C" { pub fn cgltf_accessor_read_float ( accessor : * const cgltf_accessor , index : cgltf_size , out : * mut cgltf_float , element_size : cgltf_size ) -> cgltf_bool ; } extern "C" { pub fn cgltf_accessor_read_index ( accessor : * const cgltf_accessor , index : cgltf_size ) -> cgltf_size ; } extern "C" { pub fn cgltf_num_components ( type_ : cgltf_type ) -> cgltf_size ; } extern "C" { pub fn cgltf_accessor_unpack_floats ( accessor : * const cgltf_accessor , out : * mut cgltf_float , float_count : cgltf_size ) -> cgltf_size ; } extern "C" { pub fn cgltf_copy_extras_json ( data : * const cgltf_data , extras : * const cgltf_extras , dest : * mut :: std :: os :: raw :: c_char , dest_size : * mut cgltf_size ) -> cgltf_result ; } pub const jsmntype_t_JSMN_UNDEFINED : jsmntype_t = 0 ; pub const jsmntype_t_JSMN_OBJECT : jsmntype_t = 1 ; pub const jsmntype_t_JSMN_ARRAY : jsmntype_t = 2 ; pub const jsmntype_t_JSMN_STRING : jsmntype_t = 3 ; pub const jsmntype_t_JSMN_PRIMITIVE : jsmntype_t = 4 ; pub type jsmntype_t = u32 ; pub const jsmnerr_JSMN_ERROR_NOMEM : jsmnerr = -1 ; pub const jsmnerr_JSMN_ERROR_INVAL : jsmnerr = -2 ; pub const jsmnerr_JSMN_ERROR_PART : jsmnerr = -3 ; pub type jsmnerr = i32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct jsmntok_t { pub type_ : jsmntype_t , pub start : :: std :: os :: raw :: c_int , pub end : :: std :: os :: raw :: c_int , pub size : :: std :: os :: raw :: c_int , pub parent : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_jsmntok_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < jsmntok_t > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( jsmntok_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < jsmntok_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( jsmntok_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . start as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . end as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . size as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . parent as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( parent ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct jsmn_parser { pub pos : :: std :: os :: raw :: c_uint , pub toknext : :: std :: os :: raw :: c_uint , pub toksuper : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_jsmn_parser ( ) { assert_eq ! ( :: std :: mem :: size_of :: < jsmn_parser > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( jsmn_parser ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < jsmn_parser > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( jsmn_parser ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmn_parser > ( ) ) ) . pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( jsmn_parser ) , "::" , stringify ! ( pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmn_parser > ( ) ) ) . toknext as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( jsmn_parser ) , "::" , stringify ! ( toknext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmn_parser > ( ) ) ) . toksuper as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( jsmn_parser ) , "::" , stringify ! ( toksuper ) ) ) ; } pub const GlbHeaderSize : cgltf_size = 12 ; pub const GlbChunkHeaderSize : cgltf_size = 8 ; pub const GlbVersion : u32 = 2 ; pub const GlbMagic : u32 = 1179937895 ; pub const GlbMagicJsonChunk : u32 = 1313821514 ; pub const GlbMagicBinChunk : u32 = 5130562 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes_mesh_s { pub points : * mut f32 , pub npoints : :: std :: os :: raw :: c_int , pub triangles : * mut u16 , pub ntriangles : :: std :: os :: raw :: c_int , pub normals : * mut f32 , pub tcoords : * mut f32 , } # [ test ] fn bindgen_test_layout_par_shapes_mesh_s ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes_mesh_s > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( par_shapes_mesh_s ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes_mesh_s > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes_mesh_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . points as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( points ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . npoints as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( npoints ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . triangles as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( triangles ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . ntriangles as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( ntriangles ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . normals as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . tcoords as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( tcoords ) ) ) ; } pub type par_shapes_mesh = par_shapes_mesh_s ; extern "C" { pub fn par_shapes_free_mesh ( arg1 : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_create_cylinder ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_cone ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_torus ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int , radius : f32 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_parametric_sphere ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_subdivided_sphere ( nsubdivisions : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_klein_bottle ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_trefoil_knot ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int , radius : f32 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_hemisphere ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_plane ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } pub type par_shapes_fn = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const f32 , arg2 : * mut f32 , arg3 : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub fn par_shapes_create_parametric ( arg1 : par_shapes_fn , slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int , userdata : * mut :: std :: os :: raw :: c_void ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_icosahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_dodecahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_octahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_tetrahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_cube ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_disk ( radius : f32 , slices : :: std :: os :: raw :: c_int , center : * const f32 , normal : * const f32 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_empty ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_rock ( seed : :: std :: os :: raw :: c_int , nsubdivisions : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_lsystem ( program : * const :: std :: os :: raw :: c_char , slices : :: std :: os :: raw :: c_int , maxdepth : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_export ( arg1 : * const par_shapes_mesh , objfile : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn par_shapes_compute_aabb ( mesh : * const par_shapes_mesh , aabb : * mut f32 ) ; } extern "C" { pub fn par_shapes_clone ( mesh : * const par_shapes_mesh , target : * mut par_shapes_mesh ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_merge ( dst : * mut par_shapes_mesh , src : * const par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_translate ( arg1 : * mut par_shapes_mesh , x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn par_shapes_rotate ( arg1 : * mut par_shapes_mesh , radians : f32 , axis : * const f32 ) ; } extern "C" { pub fn par_shapes_scale ( arg1 : * mut par_shapes_mesh , x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn par_shapes_merge_and_free ( dst : * mut par_shapes_mesh , src : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_invert ( arg1 : * mut par_shapes_mesh , startface : :: std :: os :: raw :: c_int , nfaces : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn par_shapes_remove_degenerate ( arg1 : * mut par_shapes_mesh , minarea : f32 ) ; } extern "C" { pub fn par_shapes_unweld ( mesh : * mut par_shapes_mesh , create_indices : bool ) ; } extern "C" { pub fn par_shapes_weld ( arg1 : * const par_shapes_mesh , epsilon : f32 , mapping : * mut u16 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_compute_normals ( m : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_set_epsilon_welded_normals ( epsilon : f32 ) ; } extern "C" { pub fn par_shapes_set_epsilon_degenerate_sphere ( epsilon : f32 ) ; } extern "C" { pub fn par_shapes__compute_welded_normals ( m : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes__connect ( scene : * mut par_shapes_mesh , cylinder : * mut par_shapes_mesh , slices : :: std :: os :: raw :: c_int ) ; } pub const par_shapes__epsilon_welded_normals : f32 = 0.0010000000474974513 ; pub const par_shapes__epsilon_degenerate_sphere : f32 = 0.00009999999747378752 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes__command { pub cmd : * mut :: std :: os :: raw :: c_char , pub arg : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_par_shapes__command ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes__command > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( par_shapes__command ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes__command > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes__command ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__command > ( ) ) ) . cmd as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__command ) , "::" , stringify ! ( cmd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__command > ( ) ) ) . arg as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__command ) , "::" , stringify ! ( arg ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes__rule { pub name : * const :: std :: os :: raw :: c_char , pub weight : :: std :: os :: raw :: c_int , pub ncommands : :: std :: os :: raw :: c_int , pub commands : * mut par_shapes__command , } # [ test ] fn bindgen_test_layout_par_shapes__rule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes__rule > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( par_shapes__rule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes__rule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes__rule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . weight as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( weight ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . ncommands as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( ncommands ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . commands as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( commands ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes__stackframe { pub pc : :: std :: os :: raw :: c_int , pub position : [ f32 ; 3usize ] , pub scale : [ f32 ; 3usize ] , pub orientation : * mut par_shapes_mesh , pub rule : * mut par_shapes__rule , } # [ test ] fn bindgen_test_layout_par_shapes__stackframe ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes__stackframe > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( par_shapes__stackframe ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes__stackframe > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes__stackframe ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . pc as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( pc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . position as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . scale as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . orientation as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( orientation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . rule as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( rule ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _bindgen_ty_2 { pub points : * const f32 , pub gridsize : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _bindgen_ty_2 > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _bindgen_ty_2 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _bindgen_ty_2 > ( ) ) ) . points as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _bindgen_ty_2 ) , "::" , stringify ! ( points ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _bindgen_ty_2 > ( ) ) ) . gridsize as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _bindgen_ty_2 ) , "::" , stringify ! ( gridsize ) ) ) ; } extern "C" { pub static mut par_shapes__sort_context : _bindgen_ty_2 ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct osn_context { pub perm : * mut i16 , pub permGradIndex3D : * mut i16 , } # [ test ] fn bindgen_test_layout_osn_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < osn_context > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( osn_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < osn_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( osn_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < osn_context > ( ) ) ) . perm as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( osn_context ) , "::" , stringify ! ( perm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < osn_context > ( ) ) ) . permGradIndex3D as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( osn_context ) , "::" , stringify ! ( permGradIndex3D ) ) ) ; } extern "C" { pub static mut gradients2D : [ i8 ; 16usize ] ; } extern "C" { pub static mut gradients3D : [ :: std :: os :: raw :: c_schar ; 72usize ] ; } extern "C" { pub static mut gradients4D : [ :: std :: os :: raw :: c_schar ; 256usize ] ; } pub const STBI_default : _bindgen_ty_3 = 0 ; pub const STBI_grey : _bindgen_ty_3 = 1 ; pub const STBI_grey_alpha : _bindgen_ty_3 = 2 ; pub const STBI_rgb : _bindgen_ty_3 = 3 ; pub const STBI_rgb_alpha : _bindgen_ty_3 = 4 ; pub type _bindgen_ty_3 = u32 ; pub type stbi_uc = :: std :: os :: raw :: c_uchar ; pub type stbi_us = :: std :: os :: raw :: c_ushort ; # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi_io_callbacks { pub read : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > , pub skip : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , n : :: std :: os :: raw :: c_int ) > , pub eof : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > , } # [ test ] fn bindgen_test_layout_stbi_io_callbacks ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi_io_callbacks > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stbi_io_callbacks ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi_io_callbacks > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi_io_callbacks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi_io_callbacks > ( ) ) ) . read as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi_io_callbacks ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi_io_callbacks > ( ) ) ) . skip as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi_io_callbacks ) , "::" , stringify ! ( skip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi_io_callbacks > ( ) ) ) . eof as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi_io_callbacks ) , "::" , stringify ! ( eof ) ) ) ; } extern "C" { # [ doc = "" ] pub fn stbi_load_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load_from_file ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load_gif_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , delays : * mut * mut :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , z : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int , req_comp : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { # [ doc = "" ] pub fn stbi_load_16_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_load_16_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_load_16 ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_load_from_file_16 ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_loadf_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_loadf_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_loadf ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_loadf_from_file ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_hdr_to_ldr_gamma ( gamma : f32 ) ; } extern "C" { pub fn stbi_hdr_to_ldr_scale ( scale : f32 ) ; } extern "C" { pub fn stbi_ldr_to_hdr_gamma ( gamma : f32 ) ; } extern "C" { pub fn stbi_ldr_to_hdr_scale ( scale : f32 ) ; } extern "C" { pub fn stbi_is_hdr_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_hdr_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_hdr ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_hdr_from_file ( f : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_failure_reason ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_image_free ( retval_from_stbi_load : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn stbi_info_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_info_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_info ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_info_from_file ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit_from_file ( f : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_set_unpremultiply_on_load ( flag_true_if_should_unpremultiply : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbi_convert_iphone_png_to_rgb ( flag_true_if_should_convert : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbi_set_flip_vertically_on_load ( flag_true_if_should_flip : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbi_zlib_decode_malloc_guesssize ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , initial_size : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_malloc_guesssize_headerflag ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , initial_size : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int , parse_header : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_malloc ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_buffer ( obuffer : * mut :: std :: os :: raw :: c_char , olen : :: std :: os :: raw :: c_int , ibuffer : * const :: std :: os :: raw :: c_char , ilen : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_zlib_decode_noheader_malloc ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_noheader_buffer ( obuffer : * mut :: std :: os :: raw :: c_char , olen : :: std :: os :: raw :: c_int , ibuffer : * const :: std :: os :: raw :: c_char , ilen : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type stbi__uint16 = u16 ; pub type stbi__int16 = i16 ; pub type stbi__uint32 = u32 ; pub type stbi__int32 = i32 ; pub type validate_uint32 = [ :: std :: os :: raw :: c_uchar ; 1usize ] ; pub type __m64 = [ :: std :: os :: raw :: c_longlong ; 1usize ] ; pub type __v1di = [ :: std :: os :: raw :: c_longlong ; 1usize ] ; pub type __v2si = [ :: std :: os :: raw :: c_int ; 2usize ] ; pub type __v4hi = [ :: std :: os :: raw :: c_short ; 4usize ] ; pub type __v8qi = [ :: std :: os :: raw :: c_char ; 8usize ] ; pub type __v4si = [ :: std :: os :: raw :: c_int ; 4usize ] ; pub type __v4sf = [ f32 ; 4usize ] ; pub type __m128 = [ f32 ; 4usize ] ; pub type __v4su = [ :: std :: os :: raw :: c_uint ; 4usize ] ; extern "C" { pub fn _mm_sfence ( ) ; } extern "C" { pub fn _mm_getcsr ( ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn _mm_setcsr ( __i : :: std :: os :: raw :: c_uint ) ; } pub type __m128d = [ f64 ; 2usize ] ; pub type __m128i = [ :: std :: os :: raw :: c_longlong ; 2usize ] ; pub type __v2df = [ f64 ; 2usize ] ; pub type __v2di = [ :: std :: os :: raw :: c_longlong ; 2usize ] ; pub type __v8hi = [ :: std :: os :: raw :: c_short ; 8usize ] ; pub type __v16qi = [ :: std :: os :: raw :: c_char ; 16usize ] ; pub type __v2du = [ :: std :: os :: raw :: c_ulonglong ; 2usize ] ; pub type __v8hu = [ :: std :: os :: raw :: c_ushort ; 8usize ] ; pub type __v16qu = [ :: std :: os :: raw :: c_uchar ; 16usize ] ; pub type __v16qs = [ :: std :: os :: raw :: c_schar ; 16usize ] ; extern "C" { pub fn _mm_clflush ( __p : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn _mm_lfence ( ) ; } extern "C" { pub fn _mm_mfence ( ) ; } extern "C" { pub fn _mm_pause ( ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__context { pub img_x : stbi__uint32 , pub img_y : stbi__uint32 , pub img_n : :: std :: os :: raw :: c_int , pub img_out_n : :: std :: os :: raw :: c_int , pub io : stbi_io_callbacks , pub io_user_data : * mut :: std :: os :: raw :: c_void , pub read_from_callbacks : :: std :: os :: raw :: c_int , pub buflen : :: std :: os :: raw :: c_int , pub buffer_start : [ stbi_uc ; 128usize ] , pub img_buffer : * mut stbi_uc , pub img_buffer_end : * mut stbi_uc , pub img_buffer_original : * mut stbi_uc , pub img_buffer_original_end : * mut stbi_uc , } # [ test ] fn bindgen_test_layout_stbi__context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__context > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( stbi__context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_n as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_out_n as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_out_n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . io as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( io ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . io_user_data as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( io_user_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . read_from_callbacks as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( read_from_callbacks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . buflen as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( buflen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . buffer_start as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( buffer_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer_end as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer_original as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer_original ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer_original_end as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer_original_end ) ) ) ; } extern "C" { pub static mut stbi__stdio_callbacks : stbi_io_callbacks ; } pub const STBI_ORDER_RGB : _bindgen_ty_4 = 0 ; pub const STBI_ORDER_BGR : _bindgen_ty_4 = 1 ; pub type _bindgen_ty_4 = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__result_info { pub bits_per_channel : :: std :: os :: raw :: c_int , pub num_channels : :: std :: os :: raw :: c_int , pub channel_order : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__result_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__result_info > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( stbi__result_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__result_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__result_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__result_info > ( ) ) ) . bits_per_channel as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__result_info ) , "::" , stringify ! ( bits_per_channel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__result_info > ( ) ) ) . num_channels as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__result_info ) , "::" , stringify ! ( num_channels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__result_info > ( ) ) ) . channel_order as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__result_info ) , "::" , stringify ! ( channel_order ) ) ) ; } extern "C" { pub static mut stbi__g_failure_reason : * const :: std :: os :: raw :: c_char ; } pub const stbi__vertically_flip_on_load : :: std :: os :: raw :: c_int = 0 ; pub const stbi__l2h_gamma : f32 = 2.200000047683716 ; pub const stbi__l2h_scale : f32 = 1.0 ; pub const stbi__h2l_gamma_i : f32 = 0.45454543828964233 ; pub const stbi__h2l_scale_i : f32 = 1.0 ; pub const STBI__SCAN_load : _bindgen_ty_5 = 0 ; pub const STBI__SCAN_type : _bindgen_ty_5 = 1 ; pub const STBI__SCAN_header : _bindgen_ty_5 = 2 ; # [ doc = "" ] pub type _bindgen_ty_5 = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__huffman { pub fast : [ stbi_uc ; 512usize ] , pub code : [ stbi__uint16 ; 256usize ] , pub values : [ stbi_uc ; 256usize ] , pub size : [ stbi_uc ; 257usize ] , pub maxcode : [ :: std :: os :: raw :: c_uint ; 18usize ] , pub delta : [ :: std :: os :: raw :: c_int ; 17usize ] , } # [ test ] fn bindgen_test_layout_stbi__huffman ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__huffman > ( ) , 1680usize , concat ! ( "Size of: " , stringify ! ( stbi__huffman ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__huffman > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__huffman ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . fast as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( fast ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . code as * const _ as usize } , 512usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( code ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . values as * const _ as usize } , 1024usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( values ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . size as * const _ as usize } , 1280usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . maxcode as * const _ as usize } , 1540usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( maxcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . delta as * const _ as usize } , 1612usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( delta ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__jpeg { pub s : * mut stbi__context , pub huff_dc : [ stbi__huffman ; 4usize ] , pub huff_ac : [ stbi__huffman ; 4usize ] , pub dequant : [ [ stbi__uint16 ; 64usize ] ; 4usize ] , pub fast_ac : [ [ stbi__int16 ; 512usize ] ; 4usize ] , pub img_h_max : :: std :: os :: raw :: c_int , pub img_v_max : :: std :: os :: raw :: c_int , pub img_mcu_x : :: std :: os :: raw :: c_int , pub img_mcu_y : :: std :: os :: raw :: c_int , pub img_mcu_w : :: std :: os :: raw :: c_int , pub img_mcu_h : :: std :: os :: raw :: c_int , pub img_comp : [ stbi__jpeg__bindgen_ty_1 ; 4usize ] , pub code_buffer : stbi__uint32 , pub code_bits : :: std :: os :: raw :: c_int , pub marker : :: std :: os :: raw :: c_uchar , pub nomore : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , pub spec_start : :: std :: os :: raw :: c_int , pub spec_end : :: std :: os :: raw :: c_int , pub succ_high : :: std :: os :: raw :: c_int , pub succ_low : :: std :: os :: raw :: c_int , pub eob_run : :: std :: os :: raw :: c_int , pub jfif : :: std :: os :: raw :: c_int , pub app14_color_transform : :: std :: os :: raw :: c_int , pub rgb : :: std :: os :: raw :: c_int , pub scan_n : :: std :: os :: raw :: c_int , pub order : [ :: std :: os :: raw :: c_int ; 4usize ] , pub restart_interval : :: std :: os :: raw :: c_int , pub todo : :: std :: os :: raw :: c_int , pub idct_block_kernel : :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , out_stride : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_short ) > , pub YCbCr_to_RGB_kernel : :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , y : * const stbi_uc , pcb : * const stbi_uc , pcr : * const stbi_uc , count : :: std :: os :: raw :: c_int , step : :: std :: os :: raw :: c_int ) > , pub resample_row_hv_2_kernel : :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , in_near : * mut stbi_uc , in_far : * mut stbi_uc , w : :: std :: os :: raw :: c_int , hs : :: std :: os :: raw :: c_int ) -> * mut stbi_uc > , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__jpeg__bindgen_ty_1 { pub id : :: std :: os :: raw :: c_int , pub h : :: std :: os :: raw :: c_int , pub v : :: std :: os :: raw :: c_int , pub tq : :: std :: os :: raw :: c_int , pub hd : :: std :: os :: raw :: c_int , pub ha : :: std :: os :: raw :: c_int , pub dc_pred : :: std :: os :: raw :: c_int , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub w2 : :: std :: os :: raw :: c_int , pub h2 : :: std :: os :: raw :: c_int , pub data : * mut stbi_uc , pub raw_data : * mut :: std :: os :: raw :: c_void , pub raw_coeff : * mut :: std :: os :: raw :: c_void , pub linebuf : * mut stbi_uc , pub coeff : * mut :: std :: os :: raw :: c_short , pub coeff_w : :: std :: os :: raw :: c_int , pub coeff_h : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__jpeg__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__jpeg__bindgen_ty_1 > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__jpeg__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . h as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . v as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( v ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . tq as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( tq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . hd as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( hd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . ha as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( ha ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . dc_pred as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( dc_pred ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . x as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . y as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . w2 as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( w2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . h2 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( h2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . data as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . raw_data as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( raw_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . raw_coeff as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( raw_coeff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . linebuf as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( linebuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . coeff as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( coeff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . coeff_w as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( coeff_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . coeff_h as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( coeff_h ) ) ) ; } # [ test ] fn bindgen_test_layout_stbi__jpeg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__jpeg > ( ) , 18568usize , concat ! ( "Size of: " , stringify ! ( stbi__jpeg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__jpeg > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__jpeg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . huff_dc as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( huff_dc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . huff_ac as * const _ as usize } , 6728usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( huff_ac ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . dequant as * const _ as usize } , 13448usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( dequant ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . fast_ac as * const _ as usize } , 13960usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( fast_ac ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_h_max as * const _ as usize } , 18056usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_h_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_v_max as * const _ as usize } , 18060usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_v_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_x as * const _ as usize } , 18064usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_y as * const _ as usize } , 18068usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_w as * const _ as usize } , 18072usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_h as * const _ as usize } , 18076usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_comp as * const _ as usize } , 18080usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_comp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . code_buffer as * const _ as usize } , 18464usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( code_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . code_bits as * const _ as usize } , 18468usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( code_bits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . marker as * const _ as usize } , 18472usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . nomore as * const _ as usize } , 18476usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( nomore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . progressive as * const _ as usize } , 18480usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( progressive ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . spec_start as * const _ as usize } , 18484usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( spec_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . spec_end as * const _ as usize } , 18488usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( spec_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . succ_high as * const _ as usize } , 18492usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( succ_high ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . succ_low as * const _ as usize } , 18496usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( succ_low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . eob_run as * const _ as usize } , 18500usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( eob_run ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . jfif as * const _ as usize } , 18504usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( jfif ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . app14_color_transform as * const _ as usize } , 18508usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( app14_color_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . rgb as * const _ as usize } , 18512usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( rgb ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . scan_n as * const _ as usize } , 18516usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( scan_n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . order as * const _ as usize } , 18520usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( order ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . restart_interval as * const _ as usize } , 18536usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( restart_interval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . todo as * const _ as usize } , 18540usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( todo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . idct_block_kernel as * const _ as usize } , 18544usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( idct_block_kernel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . YCbCr_to_RGB_kernel as * const _ as usize } , 18552usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( YCbCr_to_RGB_kernel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . resample_row_hv_2_kernel as * const _ as usize } , 18560usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( resample_row_hv_2_kernel ) ) ) ; } extern "C" { pub static mut stbi__bmask : [ stbi__uint32 ; 17usize ] ; } extern "C" { pub static mut stbi__jbias : [ :: std :: os :: raw :: c_int ; 16usize ] ; } extern "C" { pub static mut stbi__jpeg_dezigzag : [ stbi_uc ; 79usize ] ; } pub type resample_row_func = :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , in0 : * mut stbi_uc , in1 : * mut stbi_uc , w : :: std :: os :: raw :: c_int , hs : :: std :: os :: raw :: c_int ) -> * mut stbi_uc > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__resample { pub resample : resample_row_func , pub line0 : * mut stbi_uc , pub line1 : * mut stbi_uc , pub hs : :: std :: os :: raw :: c_int , pub vs : :: std :: os :: raw :: c_int , pub w_lores : :: std :: os :: raw :: c_int , pub ystep : :: std :: os :: raw :: c_int , pub ypos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__resample ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__resample > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( stbi__resample ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__resample > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__resample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . resample as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( resample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . line0 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( line0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . line1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( line1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . hs as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( hs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . vs as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( vs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . w_lores as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( w_lores ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . ystep as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( ystep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . ypos as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( ypos ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__zhuffman { pub fast : [ stbi__uint16 ; 512usize ] , pub firstcode : [ stbi__uint16 ; 16usize ] , pub maxcode : [ :: std :: os :: raw :: c_int ; 17usize ] , pub firstsymbol : [ stbi__uint16 ; 16usize ] , pub size : [ stbi_uc ; 288usize ] , pub value : [ stbi__uint16 ; 288usize ] , } # [ test ] fn bindgen_test_layout_stbi__zhuffman ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__zhuffman > ( ) , 2020usize , concat ! ( "Size of: " , stringify ! ( stbi__zhuffman ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__zhuffman > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__zhuffman ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . fast as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( fast ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . firstcode as * const _ as usize } , 1024usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( firstcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . maxcode as * const _ as usize } , 1056usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( maxcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . firstsymbol as * const _ as usize } , 1124usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( firstsymbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . size as * const _ as usize } , 1156usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . value as * const _ as usize } , 1444usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__zbuf { pub zbuffer : * mut stbi_uc , pub zbuffer_end : * mut stbi_uc , pub num_bits : :: std :: os :: raw :: c_int , pub code_buffer : stbi__uint32 , pub zout : * mut :: std :: os :: raw :: c_char , pub zout_start : * mut :: std :: os :: raw :: c_char , pub zout_end : * mut :: std :: os :: raw :: c_char , pub z_expandable : :: std :: os :: raw :: c_int , pub z_length : stbi__zhuffman , pub z_distance : stbi__zhuffman , } # [ test ] fn bindgen_test_layout_stbi__zbuf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__zbuf > ( ) , 4096usize , concat ! ( "Size of: " , stringify ! ( stbi__zbuf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__zbuf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__zbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zbuffer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zbuffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zbuffer_end as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zbuffer_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . num_bits as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( num_bits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . code_buffer as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( code_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zout as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zout_start as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zout_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zout_end as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zout_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . z_expandable as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( z_expandable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . z_length as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( z_length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . z_distance as * const _ as usize } , 2072usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( z_distance ) ) ) ; } extern "C" { pub static mut stbi__zlength_base : [ :: std :: os :: raw :: c_int ; 31usize ] ; } extern "C" { pub static mut stbi__zlength_extra : [ :: std :: os :: raw :: c_int ; 31usize ] ; } extern "C" { pub static mut stbi__zdist_base : [ :: std :: os :: raw :: c_int ; 32usize ] ; } extern "C" { pub static mut stbi__zdist_extra : [ :: std :: os :: raw :: c_int ; 32usize ] ; } extern "C" { pub static mut stbi__zdefault_length : [ stbi_uc ; 288usize ] ; } extern "C" { pub static mut stbi__zdefault_distance : [ stbi_uc ; 32usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__pngchunk { pub length : stbi__uint32 , pub type_ : stbi__uint32 , } # [ test ] fn bindgen_test_layout_stbi__pngchunk ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__pngchunk > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbi__pngchunk ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__pngchunk > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__pngchunk ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pngchunk > ( ) ) ) . length as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pngchunk ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pngchunk > ( ) ) ) . type_ as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pngchunk ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__png { pub s : * mut stbi__context , pub idata : * mut stbi_uc , pub expanded : * mut stbi_uc , pub out : * mut stbi_uc , pub depth : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__png ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__png > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( stbi__png ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__png > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__png ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . idata as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( idata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . expanded as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( expanded ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . out as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( out ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . depth as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( depth ) ) ) ; } pub const STBI__F_none : _bindgen_ty_6 = 0 ; pub const STBI__F_sub : _bindgen_ty_6 = 1 ; pub const STBI__F_up : _bindgen_ty_6 = 2 ; pub const STBI__F_avg : _bindgen_ty_6 = 3 ; pub const STBI__F_paeth : _bindgen_ty_6 = 4 ; pub const STBI__F_avg_first : _bindgen_ty_6 = 5 ; pub const STBI__F_paeth_first : _bindgen_ty_6 = 6 ; pub type _bindgen_ty_6 = u32 ; extern "C" { pub static mut first_row_filter : [ stbi_uc ; 5usize ] ; } extern "C" { pub static mut stbi__depth_scale_table : [ stbi_uc ; 9usize ] ; } pub const stbi__unpremultiply_on_load : :: std :: os :: raw :: c_int = 0 ; pub const stbi__de_iphone_flag : :: std :: os :: raw :: c_int = 0 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__bmp_data { pub bpp : :: std :: os :: raw :: c_int , pub offset : :: std :: os :: raw :: c_int , pub hsz : :: std :: os :: raw :: c_int , pub mr : :: std :: os :: raw :: c_uint , pub mg : :: std :: os :: raw :: c_uint , pub mb : :: std :: os :: raw :: c_uint , pub ma : :: std :: os :: raw :: c_uint , pub all_a : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_stbi__bmp_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__bmp_data > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( stbi__bmp_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__bmp_data > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__bmp_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . bpp as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( bpp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . offset as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . hsz as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( hsz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . mr as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( mr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . mg as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( mg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . mb as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( mb ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . ma as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( ma ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . all_a as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( all_a ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__pic_packet { pub size : stbi_uc , pub type_ : stbi_uc , pub channel : stbi_uc , } # [ test ] fn bindgen_test_layout_stbi__pic_packet ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__pic_packet > ( ) , 3usize , concat ! ( "Size of: " , stringify ! ( stbi__pic_packet ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__pic_packet > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( stbi__pic_packet ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pic_packet > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pic_packet ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pic_packet > ( ) ) ) . type_ as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pic_packet ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pic_packet > ( ) ) ) . channel as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pic_packet ) , "::" , stringify ! ( channel ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__gif_lzw { pub prefix : stbi__int16 , pub first : stbi_uc , pub suffix : stbi_uc , } # [ test ] fn bindgen_test_layout_stbi__gif_lzw ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__gif_lzw > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( stbi__gif_lzw ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__gif_lzw > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( stbi__gif_lzw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif_lzw > ( ) ) ) . prefix as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif_lzw ) , "::" , stringify ! ( prefix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif_lzw > ( ) ) ) . first as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif_lzw ) , "::" , stringify ! ( first ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif_lzw > ( ) ) ) . suffix as * const _ as usize } , 3usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif_lzw ) , "::" , stringify ! ( suffix ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__gif { pub w : :: std :: os :: raw :: c_int , pub h : :: std :: os :: raw :: c_int , pub out : * mut stbi_uc , pub background : * mut stbi_uc , pub history : * mut stbi_uc , pub flags : :: std :: os :: raw :: c_int , pub bgindex : :: std :: os :: raw :: c_int , pub ratio : :: std :: os :: raw :: c_int , pub transparent : :: std :: os :: raw :: c_int , pub eflags : :: std :: os :: raw :: c_int , pub pal : [ [ stbi_uc ; 4usize ] ; 256usize ] , pub lpal : [ [ stbi_uc ; 4usize ] ; 256usize ] , pub codes : [ stbi__gif_lzw ; 8192usize ] , pub color_table : * mut stbi_uc , pub parse : :: std :: os :: raw :: c_int , pub step : :: std :: os :: raw :: c_int , pub lflags : :: std :: os :: raw :: c_int , pub start_x : :: std :: os :: raw :: c_int , pub start_y : :: std :: os :: raw :: c_int , pub max_x : :: std :: os :: raw :: c_int , pub max_y : :: std :: os :: raw :: c_int , pub cur_x : :: std :: os :: raw :: c_int , pub cur_y : :: std :: os :: raw :: c_int , pub line_size : :: std :: os :: raw :: c_int , pub delay : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__gif ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__gif > ( ) , 34928usize , concat ! ( "Size of: " , stringify ! ( stbi__gif ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__gif > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__gif ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . w as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . h as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . out as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( out ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . background as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( background ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . history as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( history ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . flags as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . bgindex as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( bgindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . ratio as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( ratio ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . transparent as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( transparent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . eflags as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( eflags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . pal as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( pal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . lpal as * const _ as usize } , 1076usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( lpal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . codes as * const _ as usize } , 2100usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( codes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . color_table as * const _ as usize } , 34872usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( color_table ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . parse as * const _ as usize } , 34880usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( parse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . step as * const _ as usize } , 34884usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( step ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . lflags as * const _ as usize } , 34888usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( lflags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . start_x as * const _ as usize } , 34892usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( start_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . start_y as * const _ as usize } , 34896usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( start_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . max_x as * const _ as usize } , 34900usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( max_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . max_y as * const _ as usize } , 34904usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( max_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . cur_x as * const _ as usize } , 34908usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( cur_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . cur_y as * const _ as usize } , 34912usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( cur_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . line_size as * const _ as usize } , 34916usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( line_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . delay as * const _ as usize } , 34920usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( delay ) ) ) ; } extern "C" { pub static mut stbi_write_tga_with_rle : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut stbi_write_png_compression_level : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut stbi_write_force_png_filter : :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_png ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , stride_in_bytes : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_bmp ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_tga ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_hdr ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_jpg ( filename : * const :: std :: os :: raw :: c_char , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , quality : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type stbi_write_func = :: std :: option :: Option < unsafe extern "C" fn ( context : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int ) > ; extern "C" { pub fn stbi_write_png_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , stride_in_bytes : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_bmp_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_tga_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_hdr_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_jpg_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , quality : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_flip_vertically_on_write ( flip_boolean : :: std :: os :: raw :: c_int ) ; } pub const stbi__flip_vertically_on_write : :: std :: os :: raw :: c_int = 0 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__write_context { pub func : stbi_write_func , pub context : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_stbi__write_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__write_context > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbi__write_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__write_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__write_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__write_context > ( ) ) ) . func as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__write_context ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__write_context > ( ) ) ) . context as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__write_context ) , "::" , stringify ! ( context ) ) ) ; } pub type stbiw_uint32 = :: std :: os :: raw :: c_uint ; pub type stb_image_write_test = [ :: std :: os :: raw :: c_int ; 1usize ] ; extern "C" { pub fn stbi_zlib_compress ( data : * mut :: std :: os :: raw :: c_uchar , data_len : :: std :: os :: raw :: c_int , out_len : * mut :: std :: os :: raw :: c_int , quality : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn stbi_write_png_to_mem ( pixels : * const :: std :: os :: raw :: c_uchar , stride_bytes : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , n : :: std :: os :: raw :: c_int , out_len : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub static mut stbiw__jpg_ZigZag : [ :: std :: os :: raw :: c_uchar ; 64usize ] ; } pub type stbir_uint8 = u8 ; pub type stbir_uint16 = u16 ; pub type stbir_uint32 = u32 ; extern "C" { pub fn stbir_resize_uint8 ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_float ( input_pixels : * const f32 , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut f32 , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_uint8_srgb ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub const stbir_edge_STBIR_EDGE_CLAMP : stbir_edge = 1 ; pub const stbir_edge_STBIR_EDGE_REFLECT : stbir_edge = 2 ; pub const stbir_edge_STBIR_EDGE_WRAP : stbir_edge = 3 ; pub const stbir_edge_STBIR_EDGE_ZERO : stbir_edge = 4 ; pub type stbir_edge = u32 ; extern "C" { pub fn stbir_resize_uint8_srgb_edgemode ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge ) -> :: std :: os :: raw :: c_int ; } pub const stbir_filter_STBIR_FILTER_DEFAULT : stbir_filter = 0 ; pub const stbir_filter_STBIR_FILTER_BOX : stbir_filter = 1 ; pub const stbir_filter_STBIR_FILTER_TRIANGLE : stbir_filter = 2 ; pub const stbir_filter_STBIR_FILTER_CUBICBSPLINE : stbir_filter = 3 ; pub const stbir_filter_STBIR_FILTER_CATMULLROM : stbir_filter = 4 ; pub const stbir_filter_STBIR_FILTER_MITCHELL : stbir_filter = 5 ; # [ doc = "" ] pub type stbir_filter = u32 ; pub const stbir_colorspace_STBIR_COLORSPACE_LINEAR : stbir_colorspace = 0 ; pub const stbir_colorspace_STBIR_COLORSPACE_SRGB : stbir_colorspace = 1 ; pub const stbir_colorspace_STBIR_MAX_COLORSPACES : stbir_colorspace = 2 ; pub type stbir_colorspace = u32 ; extern "C" { pub fn stbir_resize_uint8_generic ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge , filter : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_uint16_generic ( input_pixels : * const stbir_uint16 , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut stbir_uint16 , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge , filter : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_float_generic ( input_pixels : * const f32 , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut f32 , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge , filter : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } pub const stbir_datatype_STBIR_TYPE_UINT8 : stbir_datatype = 0 ; pub const stbir_datatype_STBIR_TYPE_UINT16 : stbir_datatype = 1 ; pub const stbir_datatype_STBIR_TYPE_UINT32 : stbir_datatype = 2 ; pub const stbir_datatype_STBIR_TYPE_FLOAT : stbir_datatype = 3 ; pub const stbir_datatype_STBIR_MAX_TYPES : stbir_datatype = 4 ; # [ doc = "" ] pub type stbir_datatype = u32 ; extern "C" { pub fn stbir_resize ( input_pixels : * const :: std :: os :: raw :: c_void , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_void , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , datatype : stbir_datatype , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_mode_horizontal : stbir_edge , edge_mode_vertical : stbir_edge , filter_horizontal : stbir_filter , filter_vertical : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_subpixel ( input_pixels : * const :: std :: os :: raw :: c_void , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_void , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , datatype : stbir_datatype , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_mode_horizontal : stbir_edge , edge_mode_vertical : stbir_edge , filter_horizontal : stbir_filter , filter_vertical : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void , x_scale : f32 , y_scale : f32 , x_offset : f32 , y_offset : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_region ( input_pixels : * const :: std :: os :: raw :: c_void , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_void , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , datatype : stbir_datatype , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_mode_horizontal : stbir_edge , edge_mode_vertical : stbir_edge , filter_horizontal : stbir_filter , filter_vertical : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void , s0 : f32 , t0 : f32 , s1 : f32 , t1 : f32 ) -> :: std :: os :: raw :: c_int ; } pub type stbir__validate_uint32 = [ :: std :: os :: raw :: c_uchar ; 1usize ] ; extern "C" { pub static mut stbir__type_size : [ :: std :: os :: raw :: c_uchar ; 4usize ] ; } pub type stbir__kernel_fn = :: std :: option :: Option < unsafe extern "C" fn ( x : f32 , scale : f32 ) -> f32 > ; pub type stbir__support_fn = :: std :: option :: Option < unsafe extern "C" fn ( scale : f32 ) -> f32 > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbir__filter_info { pub kernel : stbir__kernel_fn , pub support : stbir__support_fn , } # [ test ] fn bindgen_test_layout_stbir__filter_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__filter_info > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbir__filter_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__filter_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbir__filter_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__filter_info > ( ) ) ) . kernel as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__filter_info ) , "::" , stringify ! ( kernel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__filter_info > ( ) ) ) . support as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbir__filter_info ) , "::" , stringify ! ( support ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbir__contributors { pub n0 : :: std :: os :: raw :: c_int , pub n1 : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbir__contributors ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__contributors > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbir__contributors ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__contributors > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbir__contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__contributors > ( ) ) ) . n0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__contributors ) , "::" , stringify ! ( n0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__contributors > ( ) ) ) . n1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbir__contributors ) , "::" , stringify ! ( n1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbir__info { pub input_data : * const :: std :: os :: raw :: c_void , pub input_w : :: std :: os :: raw :: c_int , pub input_h : :: std :: os :: raw :: c_int , pub input_stride_bytes : :: std :: os :: raw :: c_int , pub output_data : * mut :: std :: os :: raw :: c_void , pub output_w : :: std :: os :: raw :: c_int , pub output_h : :: std :: os :: raw :: c_int , pub output_stride_bytes : :: std :: os :: raw :: c_int , pub s0 : f32 , pub t0 : f32 , pub s1 : f32 , pub t1 : f32 , pub horizontal_shift : f32 , pub vertical_shift : f32 , pub horizontal_scale : f32 , pub vertical_scale : f32 , pub channels : :: std :: os :: raw :: c_int , pub alpha_channel : :: std :: os :: raw :: c_int , pub flags : stbir_uint32 , pub type_ : stbir_datatype , pub horizontal_filter : stbir_filter , pub vertical_filter : stbir_filter , pub edge_horizontal : stbir_edge , pub edge_vertical : stbir_edge , pub colorspace : stbir_colorspace , pub horizontal_contributors : * mut stbir__contributors , pub horizontal_coefficients : * mut f32 , pub vertical_contributors : * mut stbir__contributors , pub vertical_coefficients : * mut f32 , pub decode_buffer_pixels : :: std :: os :: raw :: c_int , pub decode_buffer : * mut f32 , pub horizontal_buffer : * mut f32 , pub horizontal_coefficient_width : :: std :: os :: raw :: c_int , pub vertical_coefficient_width : :: std :: os :: raw :: c_int , pub horizontal_filter_pixel_width : :: std :: os :: raw :: c_int , pub vertical_filter_pixel_width : :: std :: os :: raw :: c_int , pub horizontal_filter_pixel_margin : :: std :: os :: raw :: c_int , pub vertical_filter_pixel_margin : :: std :: os :: raw :: c_int , pub horizontal_num_contributors : :: std :: os :: raw :: c_int , pub vertical_num_contributors : :: std :: os :: raw :: c_int , pub ring_buffer_length_bytes : :: std :: os :: raw :: c_int , pub ring_buffer_num_entries : :: std :: os :: raw :: c_int , pub ring_buffer_first_scanline : :: std :: os :: raw :: c_int , pub ring_buffer_last_scanline : :: std :: os :: raw :: c_int , pub ring_buffer_begin_index : :: std :: os :: raw :: c_int , pub ring_buffer : * mut f32 , pub encode_buffer : * mut f32 , pub horizontal_contributors_size : :: std :: os :: raw :: c_int , pub horizontal_coefficients_size : :: std :: os :: raw :: c_int , pub vertical_contributors_size : :: std :: os :: raw :: c_int , pub vertical_coefficients_size : :: std :: os :: raw :: c_int , pub decode_buffer_size : :: std :: os :: raw :: c_int , pub horizontal_buffer_size : :: std :: os :: raw :: c_int , pub ring_buffer_size : :: std :: os :: raw :: c_int , pub encode_buffer_size : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbir__info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__info > ( ) , 272usize , concat ! ( "Size of: " , stringify ! ( stbir__info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbir__info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_w as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_h as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_stride_bytes as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_stride_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_data as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_w as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_h as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_stride_bytes as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_stride_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . s0 as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( s0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . t0 as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( t0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . s1 as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( s1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . t1 as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( t1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_shift as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_shift ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_shift as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_shift ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_scale as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_scale as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . channels as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( channels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . alpha_channel as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( alpha_channel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . flags as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . type_ as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_filter as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_filter as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . edge_horizontal as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( edge_horizontal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . edge_vertical as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( edge_vertical ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . colorspace as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( colorspace ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_contributors as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_coefficients as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_coefficients ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_contributors as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_coefficients as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_coefficients ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . decode_buffer_pixels as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( decode_buffer_pixels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . decode_buffer as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( decode_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_buffer as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_coefficient_width as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_coefficient_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_coefficient_width as * const _ as usize } , 172usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_coefficient_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_filter_pixel_width as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_filter_pixel_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_filter_pixel_width as * const _ as usize } , 180usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_filter_pixel_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_filter_pixel_margin as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_filter_pixel_margin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_filter_pixel_margin as * const _ as usize } , 188usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_filter_pixel_margin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_num_contributors as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_num_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_num_contributors as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_num_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_length_bytes as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_length_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_num_entries as * const _ as usize } , 204usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_num_entries ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_first_scanline as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_first_scanline ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_last_scanline as * const _ as usize } , 212usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_last_scanline ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_begin_index as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_begin_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . encode_buffer as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( encode_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_contributors_size as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_contributors_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_coefficients_size as * const _ as usize } , 244usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_coefficients_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_contributors_size as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_contributors_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_coefficients_size as * const _ as usize } , 252usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_coefficients_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . decode_buffer_size as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( decode_buffer_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_buffer_size as * const _ as usize } , 260usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_buffer_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_size as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . encode_buffer_size as * const _ as usize } , 268usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( encode_buffer_size ) ) ) ; } pub const stbir__max_uint8_as_float : f32 = 255.0 ; pub const stbir__max_uint16_as_float : f32 = 65535.0 ; pub const stbir__max_uint32_as_float : f64 = 4294967295.0 ; extern "C" { pub static mut stbir__srgb_uchar_to_linear_float : [ f32 ; 256usize ] ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union stbir__FP32 { pub u : stbir_uint32 , pub f : f32 , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_stbir__FP32 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__FP32 > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( stbir__FP32 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__FP32 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbir__FP32 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__FP32 > ( ) ) ) . u as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__FP32 ) , "::" , stringify ! ( u ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__FP32 > ( ) ) ) . f as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__FP32 ) , "::" , stringify ! ( f ) ) ) ; } extern "C" { pub static mut fp32_to_srgb8_tab4 : [ stbir_uint32 ; 104usize ] ; } extern "C" { pub static mut stbir__filter_info_table : [ stbir__filter_info ; 6usize ] ; } extern "C" { pub fn stb_perlin_noise3 ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_ridge_noise3 ( x : f32 , y : f32 , z : f32 , lacunarity : f32 , gain : f32 , offset : f32 , octaves : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_fbm_noise3 ( x : f32 , y : f32 , z : f32 , lacunarity : f32 , gain : f32 , octaves : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_turbulence_noise3 ( x : f32 , y : f32 , z : f32 , lacunarity : f32 , gain : f32 , octaves : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_noise3_wrap_nonpow2 ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int , seed : :: std :: os :: raw :: c_uchar ) -> f32 ; } extern "C" { pub static mut stb__perlin_randtab : [ :: std :: os :: raw :: c_uchar ; 512usize ] ; } extern "C" { pub static mut stb__perlin_randtab_grad_idx : [ :: std :: os :: raw :: c_uchar ; 512usize ] ; } extern "C" { pub fn stb_perlin_noise3_internal ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int , seed : :: std :: os :: raw :: c_uchar ) -> f32 ; } extern "C" { pub fn stb_perlin_noise3_seed ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int , seed : :: std :: os :: raw :: c_int ) -> f32 ; } pub type stbrp_coord = :: std :: os :: raw :: c_ushort ; extern "C" { pub fn stbrp_pack_rects ( context : * mut stbrp_context , rects : * mut stbrp_rect , num_rects : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp_rect { pub id : :: std :: os :: raw :: c_int , pub w : stbrp_coord , pub h : stbrp_coord , pub x : stbrp_coord , pub y : stbrp_coord , pub was_packed : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbrp_rect ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp_rect > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbrp_rect ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp_rect > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbrp_rect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . w as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . h as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . x as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . y as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . was_packed as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( was_packed ) ) ) ; } extern "C" { pub fn stbrp_init_target ( context : * mut stbrp_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , nodes : * mut stbrp_node , num_nodes : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbrp_setup_allow_out_of_mem ( context : * mut stbrp_context , allow_out_of_mem : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbrp_setup_heuristic ( context : * mut stbrp_context , heuristic : :: std :: os :: raw :: c_int ) ; } pub const STBRP_HEURISTIC_Skyline_default : _bindgen_ty_7 = 0 ; pub const STBRP_HEURISTIC_Skyline_BL_sortHeight : _bindgen_ty_7 = 0 ; pub const STBRP_HEURISTIC_Skyline_BF_sortHeight : _bindgen_ty_7 = 1 ; pub type _bindgen_ty_7 = u32 ; # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp_node { pub x : stbrp_coord , pub y : stbrp_coord , pub next : * mut stbrp_node , } # [ test ] fn bindgen_test_layout_stbrp_node ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp_node > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbrp_node ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp_node > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbrp_node ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_node > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_node ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_node > ( ) ) ) . y as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_node ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_node > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_node ) , "::" , stringify ! ( next ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp_context { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub align : :: std :: os :: raw :: c_int , pub init_mode : :: std :: os :: raw :: c_int , pub heuristic : :: std :: os :: raw :: c_int , pub num_nodes : :: std :: os :: raw :: c_int , pub active_head : * mut stbrp_node , pub free_head : * mut stbrp_node , pub extra : [ stbrp_node ; 2usize ] , } # [ test ] fn bindgen_test_layout_stbrp_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp_context > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( stbrp_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbrp_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . align as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( align ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . init_mode as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( init_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . heuristic as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( heuristic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . num_nodes as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( num_nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . active_head as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( active_head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . free_head as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( free_head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . extra as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( extra ) ) ) ; } pub const STBRP__INIT_skyline : _bindgen_ty_8 = 1 ; pub type _bindgen_ty_8 = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp__findresult { pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub prev_link : * mut * mut stbrp_node , } # [ test ] fn bindgen_test_layout_stbrp__findresult ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp__findresult > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbrp__findresult ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp__findresult > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbrp__findresult ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp__findresult > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp__findresult ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp__findresult > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbrp__findresult ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp__findresult > ( ) ) ) . prev_link as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp__findresult ) , "::" , stringify ! ( prev_link ) ) ) ; } pub type stbtt_uint8 = :: std :: os :: raw :: c_uchar ; pub type stbtt_int8 = :: std :: os :: raw :: c_schar ; pub type stbtt_uint16 = :: std :: os :: raw :: c_ushort ; pub type stbtt_int16 = :: std :: os :: raw :: c_short ; pub type stbtt_uint32 = :: std :: os :: raw :: c_uint ; pub type stbtt_int32 = :: std :: os :: raw :: c_int ; pub type stbtt__check_size32 = [ :: std :: os :: raw :: c_char ; 1usize ] ; pub type stbtt__check_size16 = [ :: std :: os :: raw :: c_char ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__buf { pub data : * mut :: std :: os :: raw :: c_uchar , pub cursor : :: std :: os :: raw :: c_int , pub size : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__buf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__buf > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbtt__buf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__buf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__buf > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__buf ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__buf > ( ) ) ) . cursor as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__buf ) , "::" , stringify ! ( cursor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__buf > ( ) ) ) . size as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__buf ) , "::" , stringify ! ( size ) ) ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_bakedchar { pub x0 : :: std :: os :: raw :: c_ushort , pub y0 : :: std :: os :: raw :: c_ushort , pub x1 : :: std :: os :: raw :: c_ushort , pub y1 : :: std :: os :: raw :: c_ushort , pub xoff : f32 , pub yoff : f32 , pub xadvance : f32 , } # [ test ] fn bindgen_test_layout_stbtt_bakedchar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_bakedchar > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( stbtt_bakedchar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_bakedchar > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt_bakedchar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . y0 as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . x1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . y1 as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . xoff as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( xoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . yoff as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( yoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . xadvance as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( xadvance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_aligned_quad { pub x0 : f32 , pub y0 : f32 , pub s0 : f32 , pub t0 : f32 , pub x1 : f32 , pub y1 : f32 , pub s1 : f32 , pub t1 : f32 , } # [ test ] fn bindgen_test_layout_stbtt_aligned_quad ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_aligned_quad > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( stbtt_aligned_quad ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_aligned_quad > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt_aligned_quad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . y0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . s0 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( s0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . t0 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( t0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . x1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . y1 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . s1 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( s1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . t1 as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( t1 ) ) ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_packedchar { pub x0 : :: std :: os :: raw :: c_ushort , pub y0 : :: std :: os :: raw :: c_ushort , pub x1 : :: std :: os :: raw :: c_ushort , pub y1 : :: std :: os :: raw :: c_ushort , pub xoff : f32 , pub yoff : f32 , pub xadvance : f32 , pub xoff2 : f32 , pub yoff2 : f32 , } # [ test ] fn bindgen_test_layout_stbtt_packedchar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_packedchar > ( ) , 28usize , concat ! ( "Size of: " , stringify ! ( stbtt_packedchar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_packedchar > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt_packedchar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . y0 as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . x1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . y1 as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . xoff as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( xoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . yoff as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( yoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . xadvance as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( xadvance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . xoff2 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( xoff2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . yoff2 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( yoff2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_pack_range { pub font_size : f32 , pub first_unicode_codepoint_in_range : :: std :: os :: raw :: c_int , pub array_of_unicode_codepoints : * mut :: std :: os :: raw :: c_int , pub num_chars : :: std :: os :: raw :: c_int , pub chardata_for_range : * mut stbtt_packedchar , pub h_oversample : :: std :: os :: raw :: c_uchar , pub v_oversample : :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_stbtt_pack_range ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_pack_range > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( stbtt_pack_range ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_pack_range > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt_pack_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . font_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( font_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . first_unicode_codepoint_in_range as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( first_unicode_codepoint_in_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . array_of_unicode_codepoints as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( array_of_unicode_codepoints ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . num_chars as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( num_chars ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . chardata_for_range as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( chardata_for_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . h_oversample as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( h_oversample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . v_oversample as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( v_oversample ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_pack_context { pub user_allocator_context : * mut :: std :: os :: raw :: c_void , pub pack_info : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub stride_in_bytes : :: std :: os :: raw :: c_int , pub padding : :: std :: os :: raw :: c_int , pub skip_missing : :: std :: os :: raw :: c_int , pub h_oversample : :: std :: os :: raw :: c_uint , pub v_oversample : :: std :: os :: raw :: c_uint , pub pixels : * mut :: std :: os :: raw :: c_uchar , pub nodes : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_stbtt_pack_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_pack_context > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( stbtt_pack_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_pack_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt_pack_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . user_allocator_context as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( user_allocator_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . pack_info as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( pack_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . width as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . height as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . stride_in_bytes as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( stride_in_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . padding as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( padding ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . skip_missing as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( skip_missing ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . h_oversample as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( h_oversample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . v_oversample as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( v_oversample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . pixels as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( pixels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . nodes as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( nodes ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_fontinfo { pub userdata : * mut :: std :: os :: raw :: c_void , pub data : * mut :: std :: os :: raw :: c_uchar , pub fontstart : :: std :: os :: raw :: c_int , pub numGlyphs : :: std :: os :: raw :: c_int , pub loca : :: std :: os :: raw :: c_int , pub head : :: std :: os :: raw :: c_int , pub glyf : :: std :: os :: raw :: c_int , pub hhea : :: std :: os :: raw :: c_int , pub hmtx : :: std :: os :: raw :: c_int , pub kern : :: std :: os :: raw :: c_int , pub gpos : :: std :: os :: raw :: c_int , pub index_map : :: std :: os :: raw :: c_int , pub indexToLocFormat : :: std :: os :: raw :: c_int , pub cff : stbtt__buf , pub charstrings : stbtt__buf , pub gsubrs : stbtt__buf , pub subrs : stbtt__buf , pub fontdicts : stbtt__buf , pub fdselect : stbtt__buf , } # [ test ] fn bindgen_test_layout_stbtt_fontinfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_fontinfo > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( stbtt_fontinfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_fontinfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt_fontinfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . userdata as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( userdata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . fontstart as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( fontstart ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . numGlyphs as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( numGlyphs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . loca as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( loca ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . head as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . glyf as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( glyf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . hhea as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( hhea ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . hmtx as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( hmtx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . kern as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( kern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . gpos as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( gpos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . index_map as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( index_map ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . indexToLocFormat as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( indexToLocFormat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . cff as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( cff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . charstrings as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( charstrings ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . gsubrs as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( gsubrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . subrs as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( subrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . fontdicts as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( fontdicts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . fdselect as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( fdselect ) ) ) ; } pub const STBTT_vmove : _bindgen_ty_9 = 1 ; pub const STBTT_vline : _bindgen_ty_9 = 2 ; pub const STBTT_vcurve : _bindgen_ty_9 = 3 ; pub const STBTT_vcubic : _bindgen_ty_9 = 4 ; pub type _bindgen_ty_9 = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_vertex { pub x : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub cx : :: std :: os :: raw :: c_short , pub cy : :: std :: os :: raw :: c_short , pub cx1 : :: std :: os :: raw :: c_short , pub cy1 : :: std :: os :: raw :: c_short , pub type_ : :: std :: os :: raw :: c_uchar , pub padding : :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_stbtt_vertex ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_vertex > ( ) , 14usize , concat ! ( "Size of: " , stringify ! ( stbtt_vertex ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_vertex > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( stbtt_vertex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . y as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cx as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cy as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cx1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cx1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cy1 as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cy1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . type_ as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . padding as * const _ as usize } , 13usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( padding ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__bitmap { pub w : :: std :: os :: raw :: c_int , pub h : :: std :: os :: raw :: c_int , pub stride : :: std :: os :: raw :: c_int , pub pixels : * mut :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_stbtt__bitmap ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__bitmap > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stbtt__bitmap ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__bitmap > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__bitmap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . w as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . h as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . stride as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( stride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . pixels as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( pixels ) ) ) ; } pub const STBTT_PLATFORM_ID_UNICODE : _bindgen_ty_10 = 0 ; pub const STBTT_PLATFORM_ID_MAC : _bindgen_ty_10 = 1 ; pub const STBTT_PLATFORM_ID_ISO : _bindgen_ty_10 = 2 ; pub const STBTT_PLATFORM_ID_MICROSOFT : _bindgen_ty_10 = 3 ; pub type _bindgen_ty_10 = u32 ; pub const STBTT_UNICODE_EID_UNICODE_1_0 : _bindgen_ty_11 = 0 ; pub const STBTT_UNICODE_EID_UNICODE_1_1 : _bindgen_ty_11 = 1 ; pub const STBTT_UNICODE_EID_ISO_10646 : _bindgen_ty_11 = 2 ; pub const STBTT_UNICODE_EID_UNICODE_2_0_BMP : _bindgen_ty_11 = 3 ; pub const STBTT_UNICODE_EID_UNICODE_2_0_FULL : _bindgen_ty_11 = 4 ; pub type _bindgen_ty_11 = u32 ; pub const STBTT_MS_EID_SYMBOL : _bindgen_ty_12 = 0 ; pub const STBTT_MS_EID_UNICODE_BMP : _bindgen_ty_12 = 1 ; pub const STBTT_MS_EID_SHIFTJIS : _bindgen_ty_12 = 2 ; pub const STBTT_MS_EID_UNICODE_FULL : _bindgen_ty_12 = 10 ; pub type _bindgen_ty_12 = u32 ; pub const STBTT_MAC_EID_ROMAN : _bindgen_ty_13 = 0 ; pub const STBTT_MAC_EID_ARABIC : _bindgen_ty_13 = 4 ; pub const STBTT_MAC_EID_JAPANESE : _bindgen_ty_13 = 1 ; pub const STBTT_MAC_EID_HEBREW : _bindgen_ty_13 = 5 ; pub const STBTT_MAC_EID_CHINESE_TRAD : _bindgen_ty_13 = 2 ; pub const STBTT_MAC_EID_GREEK : _bindgen_ty_13 = 6 ; pub const STBTT_MAC_EID_KOREAN : _bindgen_ty_13 = 3 ; pub const STBTT_MAC_EID_RUSSIAN : _bindgen_ty_13 = 7 ; pub type _bindgen_ty_13 = u32 ; pub const STBTT_MS_LANG_ENGLISH : _bindgen_ty_14 = 1033 ; pub const STBTT_MS_LANG_ITALIAN : _bindgen_ty_14 = 1040 ; pub const STBTT_MS_LANG_CHINESE : _bindgen_ty_14 = 2052 ; pub const STBTT_MS_LANG_JAPANESE : _bindgen_ty_14 = 1041 ; pub const STBTT_MS_LANG_DUTCH : _bindgen_ty_14 = 1043 ; pub const STBTT_MS_LANG_KOREAN : _bindgen_ty_14 = 1042 ; pub const STBTT_MS_LANG_FRENCH : _bindgen_ty_14 = 1036 ; pub const STBTT_MS_LANG_RUSSIAN : _bindgen_ty_14 = 1049 ; pub const STBTT_MS_LANG_GERMAN : _bindgen_ty_14 = 1031 ; pub const STBTT_MS_LANG_SPANISH : _bindgen_ty_14 = 1033 ; pub const STBTT_MS_LANG_HEBREW : _bindgen_ty_14 = 1037 ; pub const STBTT_MS_LANG_SWEDISH : _bindgen_ty_14 = 1053 ; pub type _bindgen_ty_14 = u32 ; pub const STBTT_MAC_LANG_ENGLISH : _bindgen_ty_15 = 0 ; pub const STBTT_MAC_LANG_JAPANESE : _bindgen_ty_15 = 11 ; pub const STBTT_MAC_LANG_ARABIC : _bindgen_ty_15 = 12 ; pub const STBTT_MAC_LANG_KOREAN : _bindgen_ty_15 = 23 ; pub const STBTT_MAC_LANG_DUTCH : _bindgen_ty_15 = 4 ; pub const STBTT_MAC_LANG_RUSSIAN : _bindgen_ty_15 = 32 ; pub const STBTT_MAC_LANG_FRENCH : _bindgen_ty_15 = 1 ; pub const STBTT_MAC_LANG_SPANISH : _bindgen_ty_15 = 6 ; pub const STBTT_MAC_LANG_GERMAN : _bindgen_ty_15 = 2 ; pub const STBTT_MAC_LANG_SWEDISH : _bindgen_ty_15 = 5 ; pub const STBTT_MAC_LANG_HEBREW : _bindgen_ty_15 = 10 ; pub const STBTT_MAC_LANG_CHINESE_SIMPLIFIED : _bindgen_ty_15 = 33 ; pub const STBTT_MAC_LANG_ITALIAN : _bindgen_ty_15 = 3 ; pub const STBTT_MAC_LANG_CHINESE_TRAD : _bindgen_ty_15 = 19 ; pub type _bindgen_ty_15 = u32 ; pub type stbtt__test_oversample_pow2 = [ :: std :: os :: raw :: c_int ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__csctx { pub bounds : :: std :: os :: raw :: c_int , pub started : :: std :: os :: raw :: c_int , pub first_x : f32 , pub first_y : f32 , pub x : f32 , pub y : f32 , pub min_x : stbtt_int32 , pub max_x : stbtt_int32 , pub min_y : stbtt_int32 , pub max_y : stbtt_int32 , pub pvertices : * mut stbtt_vertex , pub num_vertices : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__csctx ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__csctx > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( stbtt__csctx ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__csctx > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__csctx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . bounds as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( bounds ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . started as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( started ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . first_x as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( first_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . first_y as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( first_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . x as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . y as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . min_x as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( min_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . max_x as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( max_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . min_y as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( min_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . max_y as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( max_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . pvertices as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( pvertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . num_vertices as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( num_vertices ) ) ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__hheap_chunk { pub next : * mut stbtt__hheap_chunk , } # [ test ] fn bindgen_test_layout_stbtt__hheap_chunk ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__hheap_chunk > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbtt__hheap_chunk ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__hheap_chunk > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__hheap_chunk ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap_chunk > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap_chunk ) , "::" , stringify ! ( next ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__hheap { pub head : * mut stbtt__hheap_chunk , pub first_free : * mut :: std :: os :: raw :: c_void , pub num_remaining_in_head_chunk : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__hheap ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__hheap > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stbtt__hheap ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__hheap > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__hheap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap > ( ) ) ) . head as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap ) , "::" , stringify ! ( head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap > ( ) ) ) . first_free as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap ) , "::" , stringify ! ( first_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap > ( ) ) ) . num_remaining_in_head_chunk as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap ) , "::" , stringify ! ( num_remaining_in_head_chunk ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__edge { pub x0 : f32 , pub y0 : f32 , pub x1 : f32 , pub y1 : f32 , pub invert : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__edge ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__edge > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( stbtt__edge ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__edge > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt__edge ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . y0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . x1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . y1 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . invert as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( invert ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__active_edge { pub next : * mut stbtt__active_edge , pub fx : f32 , pub fdx : f32 , pub fdy : f32 , pub direction : f32 , pub sy : f32 , pub ey : f32 , } # [ test ] fn bindgen_test_layout_stbtt__active_edge ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__active_edge > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( stbtt__active_edge ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__active_edge > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__active_edge ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . fx as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( fx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . fdx as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( fdx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . fdy as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( fdy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . direction as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( direction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . sy as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( sy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . ey as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( ey ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__point { pub x : f32 , pub y : f32 , } # [ test ] fn bindgen_test_layout_stbtt__point ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__point > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbtt__point ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__point > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt__point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__point > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__point ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__point > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__point ) , "::" , stringify ! ( y ) ) ) ; } # [ 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 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct sigevent { _unused : [ u8 ; 0 ] , } 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" { pub static mut __tzname : [ * mut :: std :: os :: raw :: c_char ; 2usize ] ; } extern "C" { pub static mut __daylight : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut __timezone : :: std :: os :: raw :: c_long ; } extern "C" { pub static mut tzname : [ * mut :: std :: os :: raw :: c_char ; 2usize ] ; } extern "C" { pub fn tzset ( ) ; } extern "C" { pub static mut daylight : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut timezone : :: std :: os :: raw :: c_long ; } extern "C" { pub fn stime ( __when : * const time_t ) -> :: std :: os :: raw :: c_int ; } 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 const rf_camera_move_rf_move_front : rf_camera_move = 0 ; pub const rf_camera_move_rf_move_back : rf_camera_move = 1 ; pub const rf_camera_move_rf_move_right : rf_camera_move = 2 ; pub const rf_camera_move_rf_move_left : rf_camera_move = 3 ; pub const rf_camera_move_rf_move_up : rf_camera_move = 4 ; pub const rf_camera_move_rf_move_down : rf_camera_move = 5 ; pub type rf_camera_move = u32 ; extern "C" { pub static mut rf_base64_table : [ :: std :: os :: raw :: c_uchar ; 123usize ] ; } pub type RFRSloadproc = :: std :: option :: Option < unsafe extern "C" fn ( name : * const :: std :: os :: raw :: c_char , userdata : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut _rfrsLoadProcUserData : * mut :: std :: os :: raw :: c_void ; } extern "C" { pub static mut _rfrsLoadProcProc : RFRSloadproc ; } extern "C" { pub fn _rfrsGLADLoadGLLoader ( name : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rfrsLoadGL ( proc_ : RFRSloadproc , userdata : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } [INFO] [stderr] | ---------------------------- previous definition of the value `FP_NAN` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_NAN` redefined here [INFO] [stderr] | [INFO] [stderr] = note: `FP_NAN` must be defined only once in the value namespace of this module [INFO] [stderr] [INFO] [stderr] error[E0428]: the name `FP_NAN` is defined multiple times [INFO] [stderr] --> /opt/rustwide/target/debug/build/rayfork-sys-ea336cab987eacc3/out/bindings.rs:3:414659 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = -128 ; pub const INT16_MIN : i32 = -32768 ; pub const INT32_MIN : i32 = -2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = -128 ; pub const INT_LEAST16_MIN : i32 = -32768 ; pub const INT_LEAST32_MIN : i32 = -2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = -128 ; pub const INT_FAST16_MIN : i64 = -9223372036854775808 ; pub const INT_FAST32_MIN : i64 = -9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = -1 ; pub const UINT_FAST32_MAX : i32 = -1 ; pub const INTPTR_MIN : i64 = -9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = -1 ; pub const PTRDIFF_MIN : i64 = -9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = -2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = -1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub const KHRONOS_SUPPORT_INT64 : u32 = 1 ; pub const KHRONOS_SUPPORT_FLOAT : u32 = 1 ; pub const KHRONOS_MAX_ENUM : u32 = 2147483647 ; pub const GL_DEPTH_BUFFER_BIT : u32 = 256 ; pub const GL_STENCIL_BUFFER_BIT : u32 = 1024 ; pub const GL_COLOR_BUFFER_BIT : u32 = 16384 ; pub const GL_FALSE : u32 = 0 ; pub const GL_TRUE : u32 = 1 ; pub const GL_POINTS : u32 = 0 ; pub const GL_LINES : u32 = 1 ; pub const GL_LINE_LOOP : u32 = 2 ; pub const GL_LINE_STRIP : u32 = 3 ; pub const GL_TRIANGLES : u32 = 4 ; pub const GL_TRIANGLE_STRIP : u32 = 5 ; pub const GL_TRIANGLE_FAN : u32 = 6 ; pub const GL_QUADS : u32 = 7 ; pub const GL_NEVER : u32 = 512 ; pub const GL_LESS : u32 = 513 ; pub const GL_EQUAL : u32 = 514 ; pub const GL_LEQUAL : u32 = 515 ; pub const GL_GREATER : u32 = 516 ; pub const GL_NOTEQUAL : u32 = 517 ; pub const GL_GEQUAL : u32 = 518 ; pub const GL_ALWAYS : u32 = 519 ; pub const GL_ZERO : u32 = 0 ; pub const GL_ONE : u32 = 1 ; pub const GL_SRC_COLOR : u32 = 768 ; pub const GL_ONE_MINUS_SRC_COLOR : u32 = 769 ; pub const GL_SRC_ALPHA : u32 = 770 ; pub const GL_ONE_MINUS_SRC_ALPHA : u32 = 771 ; pub const GL_DST_ALPHA : u32 = 772 ; pub const GL_ONE_MINUS_DST_ALPHA : u32 = 773 ; pub const GL_DST_COLOR : u32 = 774 ; pub const GL_ONE_MINUS_DST_COLOR : u32 = 775 ; pub const GL_SRC_ALPHA_SATURATE : u32 = 776 ; pub const GL_NONE : u32 = 0 ; pub const GL_FRONT_LEFT : u32 = 1024 ; pub const GL_FRONT_RIGHT : u32 = 1025 ; pub const GL_BACK_LEFT : u32 = 1026 ; pub const GL_BACK_RIGHT : u32 = 1027 ; pub const GL_FRONT : u32 = 1028 ; pub const GL_BACK : u32 = 1029 ; pub const GL_LEFT : u32 = 1030 ; pub const GL_RIGHT : u32 = 1031 ; pub const GL_FRONT_AND_BACK : u32 = 1032 ; pub const GL_NO_ERROR : u32 = 0 ; pub const GL_INVALID_ENUM : u32 = 1280 ; pub const GL_INVALID_VALUE : u32 = 1281 ; pub const GL_INVALID_OPERATION : u32 = 1282 ; pub const GL_OUT_OF_MEMORY : u32 = 1285 ; pub const GL_CW : u32 = 2304 ; pub const GL_CCW : u32 = 2305 ; pub const GL_POINT_SIZE : u32 = 2833 ; pub const GL_POINT_SIZE_RANGE : u32 = 2834 ; pub const GL_POINT_SIZE_GRANULARITY : u32 = 2835 ; pub const GL_LINE_SMOOTH : u32 = 2848 ; pub const GL_LINE_WIDTH : u32 = 2849 ; pub const GL_LINE_WIDTH_RANGE : u32 = 2850 ; pub const GL_LINE_WIDTH_GRANULARITY : u32 = 2851 ; pub const GL_POLYGON_MODE : u32 = 2880 ; pub const GL_POLYGON_SMOOTH : u32 = 2881 ; pub const GL_CULL_FACE : u32 = 2884 ; pub const GL_CULL_FACE_MODE : u32 = 2885 ; pub const GL_FRONT_FACE : u32 = 2886 ; pub const GL_DEPTH_RANGE : u32 = 2928 ; pub const GL_DEPTH_TEST : u32 = 2929 ; pub const GL_DEPTH_WRITEMASK : u32 = 2930 ; pub const GL_DEPTH_CLEAR_VALUE : u32 = 2931 ; pub const GL_DEPTH_FUNC : u32 = 2932 ; pub const GL_STENCIL_TEST : u32 = 2960 ; pub const GL_STENCIL_CLEAR_VALUE : u32 = 2961 ; pub const GL_STENCIL_FUNC : u32 = 2962 ; pub const GL_STENCIL_VALUE_MASK : u32 = 2963 ; pub const GL_STENCIL_FAIL : u32 = 2964 ; pub const GL_STENCIL_PASS_DEPTH_FAIL : u32 = 2965 ; pub const GL_STENCIL_PASS_DEPTH_PASS : u32 = 2966 ; pub const GL_STENCIL_REF : u32 = 2967 ; pub const GL_STENCIL_WRITEMASK : u32 = 2968 ; pub const GL_VIEWPORT : u32 = 2978 ; pub const GL_DITHER : u32 = 3024 ; pub const GL_BLEND_DST : u32 = 3040 ; pub const GL_BLEND_SRC : u32 = 3041 ; pub const GL_BLEND : u32 = 3042 ; pub const GL_LOGIC_OP_MODE : u32 = 3056 ; pub const GL_DRAW_BUFFER : u32 = 3073 ; pub const GL_READ_BUFFER : u32 = 3074 ; pub const GL_SCISSOR_BOX : u32 = 3088 ; pub const GL_SCISSOR_TEST : u32 = 3089 ; pub const GL_COLOR_CLEAR_VALUE : u32 = 3106 ; pub const GL_COLOR_WRITEMASK : u32 = 3107 ; pub const GL_DOUBLEBUFFER : u32 = 3122 ; pub const GL_STEREO : u32 = 3123 ; pub const GL_LINE_SMOOTH_HINT : u32 = 3154 ; pub const GL_POLYGON_SMOOTH_HINT : u32 = 3155 ; pub const GL_UNPACK_SWAP_BYTES : u32 = 3312 ; pub const GL_UNPACK_LSB_FIRST : u32 = 3313 ; pub const GL_UNPACK_ROW_LENGTH : u32 = 3314 ; pub const GL_UNPACK_SKIP_ROWS : u32 = 3315 ; pub const GL_UNPACK_SKIP_PIXELS : u32 = 3316 ; pub const GL_UNPACK_ALIGNMENT : u32 = 3317 ; pub const GL_PACK_SWAP_BYTES : u32 = 3328 ; pub const GL_PACK_LSB_FIRST : u32 = 3329 ; pub const GL_PACK_ROW_LENGTH : u32 = 3330 ; pub const GL_PACK_SKIP_ROWS : u32 = 3331 ; pub const GL_PACK_SKIP_PIXELS : u32 = 3332 ; pub const GL_PACK_ALIGNMENT : u32 = 3333 ; pub const GL_MAX_TEXTURE_SIZE : u32 = 3379 ; pub const GL_MAX_VIEWPORT_DIMS : u32 = 3386 ; pub const GL_SUBPIXEL_BITS : u32 = 3408 ; pub const GL_TEXTURE_1D : u32 = 3552 ; pub const GL_TEXTURE_2D : u32 = 3553 ; pub const GL_TEXTURE_WIDTH : u32 = 4096 ; pub const GL_TEXTURE_HEIGHT : u32 = 4097 ; pub const GL_TEXTURE_BORDER_COLOR : u32 = 4100 ; pub const GL_DONT_CARE : u32 = 4352 ; pub const GL_FASTEST : u32 = 4353 ; pub const GL_NICEST : u32 = 4354 ; pub const GL_BYTE : u32 = 5120 ; pub const GL_UNSIGNED_BYTE : u32 = 5121 ; pub const GL_SHORT : u32 = 5122 ; pub const GL_UNSIGNED_SHORT : u32 = 5123 ; pub const GL_INT : u32 = 5124 ; pub const GL_UNSIGNED_INT : u32 = 5125 ; pub const GL_FLOAT : u32 = 5126 ; pub const GL_STACK_OVERFLOW : u32 = 1283 ; pub const GL_STACK_UNDERFLOW : u32 = 1284 ; pub const GL_CLEAR : u32 = 5376 ; pub const GL_AND : u32 = 5377 ; pub const GL_AND_REVERSE : u32 = 5378 ; pub const GL_COPY : u32 = 5379 ; pub const GL_AND_INVERTED : u32 = 5380 ; pub const GL_NOOP : u32 = 5381 ; pub const GL_XOR : u32 = 5382 ; pub const GL_OR : u32 = 5383 ; pub const GL_NOR : u32 = 5384 ; pub const GL_EQUIV : u32 = 5385 ; pub const GL_INVERT : u32 = 5386 ; pub const GL_OR_REVERSE : u32 = 5387 ; pub const GL_COPY_INVERTED : u32 = 5388 ; pub const GL_OR_INVERTED : u32 = 5389 ; pub const GL_NAND : u32 = 5390 ; pub const GL_SET : u32 = 5391 ; pub const GL_TEXTURE : u32 = 5890 ; pub const GL_COLOR : u32 = 6144 ; pub const GL_DEPTH : u32 = 6145 ; pub const GL_STENCIL : u32 = 6146 ; pub const GL_STENCIL_INDEX : u32 = 6401 ; pub const GL_DEPTH_COMPONENT : u32 = 6402 ; pub const GL_RED : u32 = 6403 ; pub const GL_GREEN : u32 = 6404 ; pub const GL_BLUE : u32 = 6405 ; pub const GL_ALPHA : u32 = 6406 ; pub const GL_RGB : u32 = 6407 ; pub const GL_RGBA : u32 = 6408 ; pub const GL_POINT : u32 = 6912 ; pub const GL_LINE : u32 = 6913 ; pub const GL_FILL : u32 = 6914 ; pub const GL_KEEP : u32 = 7680 ; pub const GL_REPLACE : u32 = 7681 ; pub const GL_INCR : u32 = 7682 ; pub const GL_DECR : u32 = 7683 ; pub const GL_VENDOR : u32 = 7936 ; pub const GL_RENDERER : u32 = 7937 ; pub const GL_VERSION : u32 = 7938 ; pub const GL_EXTENSIONS : u32 = 7939 ; pub const GL_NEAREST : u32 = 9728 ; pub const GL_LINEAR : u32 = 9729 ; pub const GL_NEAREST_MIPMAP_NEAREST : u32 = 9984 ; pub const GL_LINEAR_MIPMAP_NEAREST : u32 = 9985 ; pub const GL_NEAREST_MIPMAP_LINEAR : u32 = 9986 ; pub const GL_LINEAR_MIPMAP_LINEAR : u32 = 9987 ; pub const GL_TEXTURE_MAG_FILTER : u32 = 10240 ; pub const GL_TEXTURE_MIN_FILTER : u32 = 10241 ; pub const GL_TEXTURE_WRAP_S : u32 = 10242 ; pub const GL_TEXTURE_WRAP_T : u32 = 10243 ; pub const GL_REPEAT : u32 = 10497 ; pub const GL_CURRENT_BIT : u32 = 1 ; pub const GL_POINT_BIT : u32 = 2 ; pub const GL_LINE_BIT : u32 = 4 ; pub const GL_POLYGON_BIT : u32 = 8 ; pub const GL_POLYGON_STIPPLE_BIT : u32 = 16 ; pub const GL_PIXEL_MODE_BIT : u32 = 32 ; pub const GL_LIGHTING_BIT : u32 = 64 ; pub const GL_FOG_BIT : u32 = 128 ; pub const GL_ACCUM_BUFFER_BIT : u32 = 512 ; pub const GL_VIEWPORT_BIT : u32 = 2048 ; pub const GL_TRANSFORM_BIT : u32 = 4096 ; pub const GL_ENABLE_BIT : u32 = 8192 ; pub const GL_HINT_BIT : u32 = 32768 ; pub const GL_EVAL_BIT : u32 = 65536 ; pub const GL_LIST_BIT : u32 = 131072 ; pub const GL_TEXTURE_BIT : u32 = 262144 ; pub const GL_SCISSOR_BIT : u32 = 524288 ; pub const GL_ALL_ATTRIB_BITS : u32 = 4294967295 ; pub const GL_QUAD_STRIP : u32 = 8 ; pub const GL_POLYGON : u32 = 9 ; pub const GL_ACCUM : u32 = 256 ; pub const GL_LOAD : u32 = 257 ; pub const GL_RETURN : u32 = 258 ; pub const GL_MULT : u32 = 259 ; pub const GL_ADD : u32 = 260 ; pub const GL_AUX0 : u32 = 1033 ; pub const GL_AUX1 : u32 = 1034 ; pub const GL_AUX2 : u32 = 1035 ; pub const GL_AUX3 : u32 = 1036 ; pub const GL_2D : u32 = 1536 ; pub const GL_3D : u32 = 1537 ; pub const GL_3D_COLOR : u32 = 1538 ; pub const GL_3D_COLOR_TEXTURE : u32 = 1539 ; pub const GL_4D_COLOR_TEXTURE : u32 = 1540 ; pub const GL_PASS_THROUGH_TOKEN : u32 = 1792 ; pub const GL_POINT_TOKEN : u32 = 1793 ; pub const GL_LINE_TOKEN : u32 = 1794 ; pub const GL_POLYGON_TOKEN : u32 = 1795 ; pub const GL_BITMAP_TOKEN : u32 = 1796 ; pub const GL_DRAW_PIXEL_TOKEN : u32 = 1797 ; pub const GL_COPY_PIXEL_TOKEN : u32 = 1798 ; pub const GL_LINE_RESET_TOKEN : u32 = 1799 ; pub const GL_EXP : u32 = 2048 ; pub const GL_EXP2 : u32 = 2049 ; pub const GL_COEFF : u32 = 2560 ; pub const GL_ORDER : u32 = 2561 ; pub const GL_DOMAIN : u32 = 2562 ; pub const GL_PIXEL_MAP_I_TO_I : u32 = 3184 ; pub const GL_PIXEL_MAP_S_TO_S : u32 = 3185 ; pub const GL_PIXEL_MAP_I_TO_R : u32 = 3186 ; pub const GL_PIXEL_MAP_I_TO_G : u32 = 3187 ; pub const GL_PIXEL_MAP_I_TO_B : u32 = 3188 ; pub const GL_PIXEL_MAP_I_TO_A : u32 = 3189 ; pub const GL_PIXEL_MAP_R_TO_R : u32 = 3190 ; pub const GL_PIXEL_MAP_G_TO_G : u32 = 3191 ; pub const GL_PIXEL_MAP_B_TO_B : u32 = 3192 ; pub const GL_PIXEL_MAP_A_TO_A : u32 = 3193 ; pub const GL_CURRENT_COLOR : u32 = 2816 ; pub const GL_CURRENT_INDEX : u32 = 2817 ; pub const GL_CURRENT_NORMAL : u32 = 2818 ; pub const GL_CURRENT_TEXTURE_COORDS : u32 = 2819 ; pub const GL_CURRENT_RASTER_COLOR : u32 = 2820 ; pub const GL_CURRENT_RASTER_INDEX : u32 = 2821 ; pub const GL_CURRENT_RASTER_TEXTURE_COORDS : u32 = 2822 ; pub const GL_CURRENT_RASTER_POSITION : u32 = 2823 ; pub const GL_CURRENT_RASTER_POSITION_VALID : u32 = 2824 ; pub const GL_CURRENT_RASTER_DISTANCE : u32 = 2825 ; pub const GL_POINT_SMOOTH : u32 = 2832 ; pub const GL_LINE_STIPPLE : u32 = 2852 ; pub const GL_LINE_STIPPLE_PATTERN : u32 = 2853 ; pub const GL_LINE_STIPPLE_REPEAT : u32 = 2854 ; pub const GL_LIST_MODE : u32 = 2864 ; pub const GL_MAX_LIST_NESTING : u32 = 2865 ; pub const GL_LIST_BASE : u32 = 2866 ; pub const GL_LIST_INDEX : u32 = 2867 ; pub const GL_POLYGON_STIPPLE : u32 = 2882 ; pub const GL_EDGE_FLAG : u32 = 2883 ; pub const GL_LIGHTING : u32 = 2896 ; pub const GL_LIGHT_MODEL_LOCAL_VIEWER : u32 = 2897 ; pub const GL_LIGHT_MODEL_TWO_SIDE : u32 = 2898 ; pub const GL_LIGHT_MODEL_AMBIENT : u32 = 2899 ; pub const GL_SHADE_MODEL : u32 = 2900 ; pub const GL_COLOR_MATERIAL_FACE : u32 = 2901 ; pub const GL_COLOR_MATERIAL_PARAMETER : u32 = 2902 ; pub const GL_COLOR_MATERIAL : u32 = 2903 ; pub const GL_FOG : u32 = 2912 ; pub const GL_FOG_INDEX : u32 = 2913 ; pub const GL_FOG_DENSITY : u32 = 2914 ; pub const GL_FOG_START : u32 = 2915 ; pub const GL_FOG_END : u32 = 2916 ; pub const GL_FOG_MODE : u32 = 2917 ; pub const GL_FOG_COLOR : u32 = 2918 ; pub const GL_ACCUM_CLEAR_VALUE : u32 = 2944 ; pub const GL_MATRIX_MODE : u32 = 2976 ; pub const GL_NORMALIZE : u32 = 2977 ; pub const GL_MODELVIEW_STACK_DEPTH : u32 = 2979 ; pub const GL_PROJECTION_STACK_DEPTH : u32 = 2980 ; pub const GL_TEXTURE_STACK_DEPTH : u32 = 2981 ; pub const GL_MODELVIEW_MATRIX : u32 = 2982 ; pub const GL_PROJECTION_MATRIX : u32 = 2983 ; pub const GL_TEXTURE_MATRIX : u32 = 2984 ; pub const GL_ATTRIB_STACK_DEPTH : u32 = 2992 ; pub const GL_ALPHA_TEST : u32 = 3008 ; pub const GL_ALPHA_TEST_FUNC : u32 = 3009 ; pub const GL_ALPHA_TEST_REF : u32 = 3010 ; pub const GL_LOGIC_OP : u32 = 3057 ; pub const GL_AUX_BUFFERS : u32 = 3072 ; pub const GL_INDEX_CLEAR_VALUE : u32 = 3104 ; pub const GL_INDEX_WRITEMASK : u32 = 3105 ; pub const GL_INDEX_MODE : u32 = 3120 ; pub const GL_RGBA_MODE : u32 = 3121 ; pub const GL_RENDER_MODE : u32 = 3136 ; pub const GL_PERSPECTIVE_CORRECTION_HINT : u32 = 3152 ; pub const GL_POINT_SMOOTH_HINT : u32 = 3153 ; pub const GL_FOG_HINT : u32 = 3156 ; pub const GL_TEXTURE_GEN_S : u32 = 3168 ; pub const GL_TEXTURE_GEN_T : u32 = 3169 ; pub const GL_TEXTURE_GEN_R : u32 = 3170 ; pub const GL_TEXTURE_GEN_Q : u32 = 3171 ; pub const GL_PIXEL_MAP_I_TO_I_SIZE : u32 = 3248 ; pub const GL_PIXEL_MAP_S_TO_S_SIZE : u32 = 3249 ; pub const GL_PIXEL_MAP_I_TO_R_SIZE : u32 = 3250 ; pub const GL_PIXEL_MAP_I_TO_G_SIZE : u32 = 3251 ; pub const GL_PIXEL_MAP_I_TO_B_SIZE : u32 = 3252 ; pub const GL_PIXEL_MAP_I_TO_A_SIZE : u32 = 3253 ; pub const GL_PIXEL_MAP_R_TO_R_SIZE : u32 = 3254 ; pub const GL_PIXEL_MAP_G_TO_G_SIZE : u32 = 3255 ; pub const GL_PIXEL_MAP_B_TO_B_SIZE : u32 = 3256 ; pub const GL_PIXEL_MAP_A_TO_A_SIZE : u32 = 3257 ; pub const GL_MAP_COLOR : u32 = 3344 ; pub const GL_MAP_STENCIL : u32 = 3345 ; pub const GL_INDEX_SHIFT : u32 = 3346 ; pub const GL_INDEX_OFFSET : u32 = 3347 ; pub const GL_RED_SCALE : u32 = 3348 ; pub const GL_RED_BIAS : u32 = 3349 ; pub const GL_ZOOM_X : u32 = 3350 ; pub const GL_ZOOM_Y : u32 = 3351 ; pub const GL_GREEN_SCALE : u32 = 3352 ; pub const GL_GREEN_BIAS : u32 = 3353 ; pub const GL_BLUE_SCALE : u32 = 3354 ; pub const GL_BLUE_BIAS : u32 = 3355 ; pub const GL_ALPHA_SCALE : u32 = 3356 ; pub const GL_ALPHA_BIAS : u32 = 3357 ; pub const GL_DEPTH_SCALE : u32 = 3358 ; pub const GL_DEPTH_BIAS : u32 = 3359 ; pub const GL_MAX_EVAL_ORDER : u32 = 3376 ; pub const GL_MAX_LIGHTS : u32 = 3377 ; pub const GL_MAX_CLIP_PLANES : u32 = 3378 ; pub const GL_MAX_PIXEL_MAP_TABLE : u32 = 3380 ; pub const GL_MAX_ATTRIB_STACK_DEPTH : u32 = 3381 ; pub const GL_MAX_MODELVIEW_STACK_DEPTH : u32 = 3382 ; pub const GL_MAX_NAME_STACK_DEPTH : u32 = 3383 ; pub const GL_MAX_PROJECTION_STACK_DEPTH : u32 = 3384 ; pub const GL_MAX_TEXTURE_STACK_DEPTH : u32 = 3385 ; pub const GL_INDEX_BITS : u32 = 3409 ; pub const GL_RED_BITS : u32 = 3410 ; pub const GL_GREEN_BITS : u32 = 3411 ; pub const GL_BLUE_BITS : u32 = 3412 ; pub const GL_ALPHA_BITS : u32 = 3413 ; pub const GL_DEPTH_BITS : u32 = 3414 ; pub const GL_STENCIL_BITS : u32 = 3415 ; pub const GL_ACCUM_RED_BITS : u32 = 3416 ; pub const GL_ACCUM_GREEN_BITS : u32 = 3417 ; pub const GL_ACCUM_BLUE_BITS : u32 = 3418 ; pub const GL_ACCUM_ALPHA_BITS : u32 = 3419 ; pub const GL_NAME_STACK_DEPTH : u32 = 3440 ; pub const GL_AUTO_NORMAL : u32 = 3456 ; pub const GL_MAP1_COLOR_4 : u32 = 3472 ; pub const GL_MAP1_INDEX : u32 = 3473 ; pub const GL_MAP1_NORMAL : u32 = 3474 ; pub const GL_MAP1_TEXTURE_COORD_1 : u32 = 3475 ; pub const GL_MAP1_TEXTURE_COORD_2 : u32 = 3476 ; pub const GL_MAP1_TEXTURE_COORD_3 : u32 = 3477 ; pub const GL_MAP1_TEXTURE_COORD_4 : u32 = 3478 ; pub const GL_MAP1_VERTEX_3 : u32 = 3479 ; pub const GL_MAP1_VERTEX_4 : u32 = 3480 ; pub const GL_MAP2_COLOR_4 : u32 = 3504 ; pub const GL_MAP2_INDEX : u32 = 3505 ; pub const GL_MAP2_NORMAL : u32 = 3506 ; pub const GL_MAP2_TEXTURE_COORD_1 : u32 = 3507 ; pub const GL_MAP2_TEXTURE_COORD_2 : u32 = 3508 ; pub const GL_MAP2_TEXTURE_COORD_3 : u32 = 3509 ; pub const GL_MAP2_TEXTURE_COORD_4 : u32 = 3510 ; pub const GL_MAP2_VERTEX_3 : u32 = 3511 ; pub const GL_MAP2_VERTEX_4 : u32 = 3512 ; pub const GL_MAP1_GRID_DOMAIN : u32 = 3536 ; pub const GL_MAP1_GRID_SEGMENTS : u32 = 3537 ; pub const GL_MAP2_GRID_DOMAIN : u32 = 3538 ; pub const GL_MAP2_GRID_SEGMENTS : u32 = 3539 ; pub const GL_TEXTURE_COMPONENTS : u32 = 4099 ; pub const GL_TEXTURE_BORDER : u32 = 4101 ; pub const GL_AMBIENT : u32 = 4608 ; pub const GL_DIFFUSE : u32 = 4609 ; pub const GL_SPECULAR : u32 = 4610 ; pub const GL_POSITION : u32 = 4611 ; pub const GL_SPOT_DIRECTION : u32 = 4612 ; pub const GL_SPOT_EXPONENT : u32 = 4613 ; pub const GL_SPOT_CUTOFF : u32 = 4614 ; pub const GL_CONSTANT_ATTENUATION : u32 = 4615 ; pub const GL_LINEAR_ATTENUATION : u32 = 4616 ; pub const GL_QUADRATIC_ATTENUATION : u32 = 4617 ; pub const GL_COMPILE : u32 = 4864 ; pub const GL_COMPILE_AND_EXECUTE : u32 = 4865 ; pub const GL_2_BYTES : u32 = 5127 ; pub const GL_3_BYTES : u32 = 5128 ; pub const GL_4_BYTES : u32 = 5129 ; pub const GL_EMISSION : u32 = 5632 ; pub const GL_SHININESS : u32 = 5633 ; pub const GL_AMBIENT_AND_DIFFUSE : u32 = 5634 ; pub const GL_COLOR_INDEXES : u32 = 5635 ; pub const GL_MODELVIEW : u32 = 5888 ; pub const GL_PROJECTION : u32 = 5889 ; pub const GL_COLOR_INDEX : u32 = 6400 ; pub const GL_LUMINANCE : u32 = 6409 ; pub const GL_LUMINANCE_ALPHA : u32 = 6410 ; pub const GL_BITMAP : u32 = 6656 ; pub const GL_RENDER : u32 = 7168 ; pub const GL_FEEDBACK : u32 = 7169 ; pub const GL_SELECT : u32 = 7170 ; pub const GL_FLAT : u32 = 7424 ; pub const GL_SMOOTH : u32 = 7425 ; pub const GL_S : u32 = 8192 ; pub const GL_T : u32 = 8193 ; pub const GL_R : u32 = 8194 ; pub const GL_Q : u32 = 8195 ; pub const GL_MODULATE : u32 = 8448 ; pub const GL_DECAL : u32 = 8449 ; pub const GL_TEXTURE_ENV_MODE : u32 = 8704 ; pub const GL_TEXTURE_ENV_COLOR : u32 = 8705 ; pub const GL_TEXTURE_ENV : u32 = 8960 ; pub const GL_EYE_LINEAR : u32 = 9216 ; pub const GL_OBJECT_LINEAR : u32 = 9217 ; pub const GL_SPHERE_MAP : u32 = 9218 ; pub const GL_TEXTURE_GEN_MODE : u32 = 9472 ; pub const GL_OBJECT_PLANE : u32 = 9473 ; pub const GL_EYE_PLANE : u32 = 9474 ; pub const GL_CLAMP : u32 = 10496 ; pub const GL_CLIP_PLANE0 : u32 = 12288 ; pub const GL_CLIP_PLANE1 : u32 = 12289 ; pub const GL_CLIP_PLANE2 : u32 = 12290 ; pub const GL_CLIP_PLANE3 : u32 = 12291 ; pub const GL_CLIP_PLANE4 : u32 = 12292 ; pub const GL_CLIP_PLANE5 : u32 = 12293 ; pub const GL_LIGHT0 : u32 = 16384 ; pub const GL_LIGHT1 : u32 = 16385 ; pub const GL_LIGHT2 : u32 = 16386 ; pub const GL_LIGHT3 : u32 = 16387 ; pub const GL_LIGHT4 : u32 = 16388 ; pub const GL_LIGHT5 : u32 = 16389 ; pub const GL_LIGHT6 : u32 = 16390 ; pub const GL_LIGHT7 : u32 = 16391 ; pub const GL_COLOR_LOGIC_OP : u32 = 3058 ; pub const GL_POLYGON_OFFSET_UNITS : u32 = 10752 ; pub const GL_POLYGON_OFFSET_POINT : u32 = 10753 ; pub const GL_POLYGON_OFFSET_LINE : u32 = 10754 ; pub const GL_POLYGON_OFFSET_FILL : u32 = 32823 ; pub const GL_POLYGON_OFFSET_FACTOR : u32 = 32824 ; pub const GL_TEXTURE_BINDING_1D : u32 = 32872 ; pub const GL_TEXTURE_BINDING_2D : u32 = 32873 ; pub const GL_TEXTURE_INTERNAL_FORMAT : u32 = 4099 ; pub const GL_TEXTURE_RED_SIZE : u32 = 32860 ; pub const GL_TEXTURE_GREEN_SIZE : u32 = 32861 ; pub const GL_TEXTURE_BLUE_SIZE : u32 = 32862 ; pub const GL_TEXTURE_ALPHA_SIZE : u32 = 32863 ; pub const GL_DOUBLE : u32 = 5130 ; pub const GL_PROXY_TEXTURE_1D : u32 = 32867 ; pub const GL_PROXY_TEXTURE_2D : u32 = 32868 ; pub const GL_R3_G3_B2 : u32 = 10768 ; pub const GL_RGB4 : u32 = 32847 ; pub const GL_RGB5 : u32 = 32848 ; pub const GL_RGB8 : u32 = 32849 ; pub const GL_RGB10 : u32 = 32850 ; pub const GL_RGB12 : u32 = 32851 ; pub const GL_RGB16 : u32 = 32852 ; pub const GL_RGBA2 : u32 = 32853 ; pub const GL_RGBA4 : u32 = 32854 ; pub const GL_RGB5_A1 : u32 = 32855 ; pub const GL_RGBA8 : u32 = 32856 ; pub const GL_RGB10_A2 : u32 = 32857 ; pub const GL_RGBA12 : u32 = 32858 ; pub const GL_RGBA16 : u32 = 32859 ; pub const GL_CLIENT_PIXEL_STORE_BIT : u32 = 1 ; pub const GL_CLIENT_VERTEX_ARRAY_BIT : u32 = 2 ; pub const GL_CLIENT_ALL_ATTRIB_BITS : u32 = 4294967295 ; pub const GL_VERTEX_ARRAY_POINTER : u32 = 32910 ; pub const GL_NORMAL_ARRAY_POINTER : u32 = 32911 ; pub const GL_COLOR_ARRAY_POINTER : u32 = 32912 ; pub const GL_INDEX_ARRAY_POINTER : u32 = 32913 ; pub const GL_TEXTURE_COORD_ARRAY_POINTER : u32 = 32914 ; pub const GL_EDGE_FLAG_ARRAY_POINTER : u32 = 32915 ; pub const GL_FEEDBACK_BUFFER_POINTER : u32 = 3568 ; pub const GL_SELECTION_BUFFER_POINTER : u32 = 3571 ; pub const GL_CLIENT_ATTRIB_STACK_DEPTH : u32 = 2993 ; pub const GL_INDEX_LOGIC_OP : u32 = 3057 ; pub const GL_MAX_CLIENT_ATTRIB_STACK_DEPTH : u32 = 3387 ; pub const GL_FEEDBACK_BUFFER_SIZE : u32 = 3569 ; pub const GL_FEEDBACK_BUFFER_TYPE : u32 = 3570 ; pub const GL_SELECTION_BUFFER_SIZE : u32 = 3572 ; pub const GL_VERTEX_ARRAY : u32 = 32884 ; pub const GL_NORMAL_ARRAY : u32 = 32885 ; pub const GL_COLOR_ARRAY : u32 = 32886 ; pub const GL_INDEX_ARRAY : u32 = 32887 ; pub const GL_TEXTURE_COORD_ARRAY : u32 = 32888 ; pub const GL_EDGE_FLAG_ARRAY : u32 = 32889 ; pub const GL_VERTEX_ARRAY_SIZE : u32 = 32890 ; pub const GL_VERTEX_ARRAY_TYPE : u32 = 32891 ; pub const GL_VERTEX_ARRAY_STRIDE : u32 = 32892 ; pub const GL_NORMAL_ARRAY_TYPE : u32 = 32894 ; pub const GL_NORMAL_ARRAY_STRIDE : u32 = 32895 ; pub const GL_COLOR_ARRAY_SIZE : u32 = 32897 ; pub const GL_COLOR_ARRAY_TYPE : u32 = 32898 ; pub const GL_COLOR_ARRAY_STRIDE : u32 = 32899 ; pub const GL_INDEX_ARRAY_TYPE : u32 = 32901 ; pub const GL_INDEX_ARRAY_STRIDE : u32 = 32902 ; pub const GL_TEXTURE_COORD_ARRAY_SIZE : u32 = 32904 ; pub const GL_TEXTURE_COORD_ARRAY_TYPE : u32 = 32905 ; pub const GL_TEXTURE_COORD_ARRAY_STRIDE : u32 = 32906 ; pub const GL_EDGE_FLAG_ARRAY_STRIDE : u32 = 32908 ; pub const GL_TEXTURE_LUMINANCE_SIZE : u32 = 32864 ; pub const GL_TEXTURE_INTENSITY_SIZE : u32 = 32865 ; pub const GL_TEXTURE_PRIORITY : u32 = 32870 ; pub const GL_TEXTURE_RESIDENT : u32 = 32871 ; pub const GL_ALPHA4 : u32 = 32827 ; pub const GL_ALPHA8 : u32 = 32828 ; pub const GL_ALPHA12 : u32 = 32829 ; pub const GL_ALPHA16 : u32 = 32830 ; pub const GL_LUMINANCE4 : u32 = 32831 ; pub const GL_LUMINANCE8 : u32 = 32832 ; pub const GL_LUMINANCE12 : u32 = 32833 ; pub const GL_LUMINANCE16 : u32 = 32834 ; pub const GL_LUMINANCE4_ALPHA4 : u32 = 32835 ; pub const GL_LUMINANCE6_ALPHA2 : u32 = 32836 ; pub const GL_LUMINANCE8_ALPHA8 : u32 = 32837 ; pub const GL_LUMINANCE12_ALPHA4 : u32 = 32838 ; pub const GL_LUMINANCE12_ALPHA12 : u32 = 32839 ; pub const GL_LUMINANCE16_ALPHA16 : u32 = 32840 ; pub const GL_INTENSITY : u32 = 32841 ; pub const GL_INTENSITY4 : u32 = 32842 ; pub const GL_INTENSITY8 : u32 = 32843 ; pub const GL_INTENSITY12 : u32 = 32844 ; pub const GL_INTENSITY16 : u32 = 32845 ; pub const GL_V2F : u32 = 10784 ; pub const GL_V3F : u32 = 10785 ; pub const GL_C4UB_V2F : u32 = 10786 ; pub const GL_C4UB_V3F : u32 = 10787 ; pub const GL_C3F_V3F : u32 = 10788 ; pub const GL_N3F_V3F : u32 = 10789 ; pub const GL_C4F_N3F_V3F : u32 = 10790 ; pub const GL_T2F_V3F : u32 = 10791 ; pub const GL_T4F_V4F : u32 = 10792 ; pub const GL_T2F_C4UB_V3F : u32 = 10793 ; pub const GL_T2F_C3F_V3F : u32 = 10794 ; pub const GL_T2F_N3F_V3F : u32 = 10795 ; pub const GL_T2F_C4F_N3F_V3F : u32 = 10796 ; pub const GL_T4F_C4F_N3F_V4F : u32 = 10797 ; pub const GL_UNSIGNED_BYTE_3_3_2 : u32 = 32818 ; pub const GL_UNSIGNED_SHORT_4_4_4_4 : u32 = 32819 ; pub const GL_UNSIGNED_SHORT_5_5_5_1 : u32 = 32820 ; pub const GL_UNSIGNED_INT_8_8_8_8 : u32 = 32821 ; pub const GL_UNSIGNED_INT_10_10_10_2 : u32 = 32822 ; pub const GL_TEXTURE_BINDING_3D : u32 = 32874 ; pub const GL_PACK_SKIP_IMAGES : u32 = 32875 ; pub const GL_PACK_IMAGE_HEIGHT : u32 = 32876 ; pub const GL_UNPACK_SKIP_IMAGES : u32 = 32877 ; pub const GL_UNPACK_IMAGE_HEIGHT : u32 = 32878 ; pub const GL_TEXTURE_3D : u32 = 32879 ; pub const GL_PROXY_TEXTURE_3D : u32 = 32880 ; pub const GL_TEXTURE_DEPTH : u32 = 32881 ; pub const GL_TEXTURE_WRAP_R : u32 = 32882 ; pub const GL_MAX_3D_TEXTURE_SIZE : u32 = 32883 ; pub const GL_UNSIGNED_BYTE_2_3_3_REV : u32 = 33634 ; pub const GL_UNSIGNED_SHORT_5_6_5 : u32 = 33635 ; pub const GL_UNSIGNED_SHORT_5_6_5_REV : u32 = 33636 ; pub const GL_UNSIGNED_SHORT_4_4_4_4_REV : u32 = 33637 ; pub const GL_UNSIGNED_SHORT_1_5_5_5_REV : u32 = 33638 ; pub const GL_UNSIGNED_INT_8_8_8_8_REV : u32 = 33639 ; pub const GL_UNSIGNED_INT_2_10_10_10_REV : u32 = 33640 ; pub const GL_BGR : u32 = 32992 ; pub const GL_BGRA : u32 = 32993 ; pub const GL_MAX_ELEMENTS_VERTICES : u32 = 33000 ; pub const GL_MAX_ELEMENTS_INDICES : u32 = 33001 ; pub const GL_CLAMP_TO_EDGE : u32 = 33071 ; pub const GL_TEXTURE_MIN_LOD : u32 = 33082 ; pub const GL_TEXTURE_MAX_LOD : u32 = 33083 ; pub const GL_TEXTURE_BASE_LEVEL : u32 = 33084 ; pub const GL_TEXTURE_MAX_LEVEL : u32 = 33085 ; pub const GL_SMOOTH_POINT_SIZE_RANGE : u32 = 2834 ; pub const GL_SMOOTH_POINT_SIZE_GRANULARITY : u32 = 2835 ; pub const GL_SMOOTH_LINE_WIDTH_RANGE : u32 = 2850 ; pub const GL_SMOOTH_LINE_WIDTH_GRANULARITY : u32 = 2851 ; pub const GL_ALIASED_LINE_WIDTH_RANGE : u32 = 33902 ; pub const GL_RESCALE_NORMAL : u32 = 32826 ; pub const GL_LIGHT_MODEL_COLOR_CONTROL : u32 = 33272 ; pub const GL_SINGLE_COLOR : u32 = 33273 ; pub const GL_SEPARATE_SPECULAR_COLOR : u32 = 33274 ; pub const GL_ALIASED_POINT_SIZE_RANGE : u32 = 33901 ; pub const GL_TEXTURE0 : u32 = 33984 ; pub const GL_TEXTURE1 : u32 = 33985 ; pub const GL_TEXTURE2 : u32 = 33986 ; pub const GL_TEXTURE3 : u32 = 33987 ; pub const GL_TEXTURE4 : u32 = 33988 ; pub const GL_TEXTURE5 : u32 = 33989 ; pub const GL_TEXTURE6 : u32 = 33990 ; pub const GL_TEXTURE7 : u32 = 33991 ; pub const GL_TEXTURE8 : u32 = 33992 ; pub const GL_TEXTURE9 : u32 = 33993 ; pub const GL_TEXTURE10 : u32 = 33994 ; pub const GL_TEXTURE11 : u32 = 33995 ; pub const GL_TEXTURE12 : u32 = 33996 ; pub const GL_TEXTURE13 : u32 = 33997 ; pub const GL_TEXTURE14 : u32 = 33998 ; pub const GL_TEXTURE15 : u32 = 33999 ; pub const GL_TEXTURE16 : u32 = 34000 ; pub const GL_TEXTURE17 : u32 = 34001 ; pub const GL_TEXTURE18 : u32 = 34002 ; pub const GL_TEXTURE19 : u32 = 34003 ; pub const GL_TEXTURE20 : u32 = 34004 ; pub const GL_TEXTURE21 : u32 = 34005 ; pub const GL_TEXTURE22 : u32 = 34006 ; pub const GL_TEXTURE23 : u32 = 34007 ; pub const GL_TEXTURE24 : u32 = 34008 ; pub const GL_TEXTURE25 : u32 = 34009 ; pub const GL_TEXTURE26 : u32 = 34010 ; pub const GL_TEXTURE27 : u32 = 34011 ; pub const GL_TEXTURE28 : u32 = 34012 ; pub const GL_TEXTURE29 : u32 = 34013 ; pub const GL_TEXTURE30 : u32 = 34014 ; pub const GL_TEXTURE31 : u32 = 34015 ; pub const GL_ACTIVE_TEXTURE : u32 = 34016 ; pub const GL_MULTISAMPLE : u32 = 32925 ; pub const GL_SAMPLE_ALPHA_TO_COVERAGE : u32 = 32926 ; pub const GL_SAMPLE_ALPHA_TO_ONE : u32 = 32927 ; pub const GL_SAMPLE_COVERAGE : u32 = 32928 ; pub const GL_SAMPLE_BUFFERS : u32 = 32936 ; pub const GL_SAMPLES : u32 = 32937 ; pub const GL_SAMPLE_COVERAGE_VALUE : u32 = 32938 ; pub const GL_SAMPLE_COVERAGE_INVERT : u32 = 32939 ; pub const GL_TEXTURE_CUBE_MAP : u32 = 34067 ; pub const GL_TEXTURE_BINDING_CUBE_MAP : u32 = 34068 ; pub const GL_TEXTURE_CUBE_MAP_POSITIVE_X : u32 = 34069 ; pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_X : u32 = 34070 ; pub const GL_TEXTURE_CUBE_MAP_POSITIVE_Y : u32 = 34071 ; pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_Y : u32 = 34072 ; pub const GL_TEXTURE_CUBE_MAP_POSITIVE_Z : u32 = 34073 ; pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_Z : u32 = 34074 ; pub const GL_PROXY_TEXTURE_CUBE_MAP : u32 = 34075 ; pub const GL_MAX_CUBE_MAP_TEXTURE_SIZE : u32 = 34076 ; pub const GL_COMPRESSED_RGB : u32 = 34029 ; pub const GL_COMPRESSED_RGBA : u32 = 34030 ; pub const GL_TEXTURE_COMPRESSION_HINT : u32 = 34031 ; pub const GL_TEXTURE_COMPRESSED_IMAGE_SIZE : u32 = 34464 ; pub const GL_TEXTURE_COMPRESSED : u32 = 34465 ; pub const GL_NUM_COMPRESSED_TEXTURE_FORMATS : u32 = 34466 ; pub const GL_COMPRESSED_TEXTURE_FORMATS : u32 = 34467 ; pub const GL_CLAMP_TO_BORDER : u32 = 33069 ; pub const GL_CLIENT_ACTIVE_TEXTURE : u32 = 34017 ; pub const GL_MAX_TEXTURE_UNITS : u32 = 34018 ; pub const GL_TRANSPOSE_MODELVIEW_MATRIX : u32 = 34019 ; pub const GL_TRANSPOSE_PROJECTION_MATRIX : u32 = 34020 ; pub const GL_TRANSPOSE_TEXTURE_MATRIX : u32 = 34021 ; pub const GL_TRANSPOSE_COLOR_MATRIX : u32 = 34022 ; pub const GL_MULTISAMPLE_BIT : u32 = 536870912 ; pub const GL_NORMAL_MAP : u32 = 34065 ; pub const GL_REFLECTION_MAP : u32 = 34066 ; pub const GL_COMPRESSED_ALPHA : u32 = 34025 ; pub const GL_COMPRESSED_LUMINANCE : u32 = 34026 ; pub const GL_COMPRESSED_LUMINANCE_ALPHA : u32 = 34027 ; pub const GL_COMPRESSED_INTENSITY : u32 = 34028 ; pub const GL_COMBINE : u32 = 34160 ; pub const GL_COMBINE_RGB : u32 = 34161 ; pub const GL_COMBINE_ALPHA : u32 = 34162 ; pub const GL_SOURCE0_RGB : u32 = 34176 ; pub const GL_SOURCE1_RGB : u32 = 34177 ; pub const GL_SOURCE2_RGB : u32 = 34178 ; pub const GL_SOURCE0_ALPHA : u32 = 34184 ; pub const GL_SOURCE1_ALPHA : u32 = 34185 ; pub const GL_SOURCE2_ALPHA : u32 = 34186 ; pub const GL_OPERAND0_RGB : u32 = 34192 ; pub const GL_OPERAND1_RGB : u32 = 34193 ; pub const GL_OPERAND2_RGB : u32 = 34194 ; pub const GL_OPERAND0_ALPHA : u32 = 34200 ; pub const GL_OPERAND1_ALPHA : u32 = 34201 ; pub const GL_OPERAND2_ALPHA : u32 = 34202 ; pub const GL_RGB_SCALE : u32 = 34163 ; pub const GL_ADD_SIGNED : u32 = 34164 ; pub const GL_INTERPOLATE : u32 = 34165 ; pub const GL_SUBTRACT : u32 = 34023 ; pub const GL_CONSTANT : u32 = 34166 ; pub const GL_PRIMARY_COLOR : u32 = 34167 ; pub const GL_PREVIOUS : u32 = 34168 ; pub const GL_DOT3_RGB : u32 = 34478 ; pub const GL_DOT3_RGBA : u32 = 34479 ; pub const GL_BLEND_DST_RGB : u32 = 32968 ; pub const GL_BLEND_SRC_RGB : u32 = 32969 ; pub const GL_BLEND_DST_ALPHA : u32 = 32970 ; pub const GL_BLEND_SRC_ALPHA : u32 = 32971 ; pub const GL_POINT_FADE_THRESHOLD_SIZE : u32 = 33064 ; pub const GL_DEPTH_COMPONENT16 : u32 = 33189 ; pub const GL_DEPTH_COMPONENT24 : u32 = 33190 ; pub const GL_DEPTH_COMPONENT32 : u32 = 33191 ; pub const GL_MIRRORED_REPEAT : u32 = 33648 ; pub const GL_MAX_TEXTURE_LOD_BIAS : u32 = 34045 ; pub const GL_TEXTURE_LOD_BIAS : u32 = 34049 ; pub const GL_INCR_WRAP : u32 = 34055 ; pub const GL_DECR_WRAP : u32 = 34056 ; pub const GL_TEXTURE_DEPTH_SIZE : u32 = 34890 ; pub const GL_TEXTURE_COMPARE_MODE : u32 = 34892 ; pub const GL_TEXTURE_COMPARE_FUNC : u32 = 34893 ; pub const GL_POINT_SIZE_MIN : u32 = 33062 ; pub const GL_POINT_SIZE_MAX : u32 = 33063 ; pub const GL_POINT_DISTANCE_ATTENUATION : u32 = 33065 ; pub const GL_GENERATE_MIPMAP : u32 = 33169 ; pub const GL_GENERATE_MIPMAP_HINT : u32 = 33170 ; pub const GL_FOG_COORDINATE_SOURCE : u32 = 33872 ; pub const GL_FOG_COORDINATE : u32 = 33873 ; pub const GL_FRAGMENT_DEPTH : u32 = 33874 ; pub const GL_CURRENT_FOG_COORDINATE : u32 = 33875 ; pub const GL_FOG_COORDINATE_ARRAY_TYPE : u32 = 33876 ; pub const GL_FOG_COORDINATE_ARRAY_STRIDE : u32 = 33877 ; pub const GL_FOG_COORDINATE_ARRAY_POINTER : u32 = 33878 ; pub const GL_FOG_COORDINATE_ARRAY : u32 = 33879 ; pub const GL_COLOR_SUM : u32 = 33880 ; pub const GL_CURRENT_SECONDARY_COLOR : u32 = 33881 ; pub const GL_SECONDARY_COLOR_ARRAY_SIZE : u32 = 33882 ; pub const GL_SECONDARY_COLOR_ARRAY_TYPE : u32 = 33883 ; pub const GL_SECONDARY_COLOR_ARRAY_STRIDE : u32 = 33884 ; pub const GL_SECONDARY_COLOR_ARRAY_POINTER : u32 = 33885 ; pub const GL_SECONDARY_COLOR_ARRAY : u32 = 33886 ; pub const GL_TEXTURE_FILTER_CONTROL : u32 = 34048 ; pub const GL_DEPTH_TEXTURE_MODE : u32 = 34891 ; pub const GL_COMPARE_R_TO_TEXTURE : u32 = 34894 ; pub const GL_BLEND_COLOR : u32 = 32773 ; pub const GL_BLEND_EQUATION : u32 = 32777 ; pub const GL_CONSTANT_COLOR : u32 = 32769 ; pub const GL_ONE_MINUS_CONSTANT_COLOR : u32 = 32770 ; pub const GL_CONSTANT_ALPHA : u32 = 32771 ; pub const GL_ONE_MINUS_CONSTANT_ALPHA : u32 = 32772 ; pub const GL_FUNC_ADD : u32 = 32774 ; pub const GL_FUNC_REVERSE_SUBTRACT : u32 = 32779 ; pub const GL_FUNC_SUBTRACT : u32 = 32778 ; pub const GL_MIN : u32 = 32775 ; pub const GL_MAX : u32 = 32776 ; pub const GL_BUFFER_SIZE : u32 = 34660 ; pub const GL_BUFFER_USAGE : u32 = 34661 ; pub const GL_QUERY_COUNTER_BITS : u32 = 34916 ; pub const GL_CURRENT_QUERY : u32 = 34917 ; pub const GL_QUERY_RESULT : u32 = 34918 ; pub const GL_QUERY_RESULT_AVAILABLE : u32 = 34919 ; pub const GL_ARRAY_BUFFER : u32 = 34962 ; pub const GL_ELEMENT_ARRAY_BUFFER : u32 = 34963 ; pub const GL_ARRAY_BUFFER_BINDING : u32 = 34964 ; pub const GL_ELEMENT_ARRAY_BUFFER_BINDING : u32 = 34965 ; pub const GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING : u32 = 34975 ; pub const GL_READ_ONLY : u32 = 35000 ; pub const GL_WRITE_ONLY : u32 = 35001 ; pub const GL_READ_WRITE : u32 = 35002 ; pub const GL_BUFFER_ACCESS : u32 = 35003 ; pub const GL_BUFFER_MAPPED : u32 = 35004 ; pub const GL_BUFFER_MAP_POINTER : u32 = 35005 ; pub const GL_STREAM_DRAW : u32 = 35040 ; pub const GL_STREAM_READ : u32 = 35041 ; pub const GL_STREAM_COPY : u32 = 35042 ; pub const GL_STATIC_DRAW : u32 = 35044 ; pub const GL_STATIC_READ : u32 = 35045 ; pub const GL_STATIC_COPY : u32 = 35046 ; pub const GL_DYNAMIC_DRAW : u32 = 35048 ; pub const GL_DYNAMIC_READ : u32 = 35049 ; pub const GL_DYNAMIC_COPY : u32 = 35050 ; pub const GL_SAMPLES_PASSED : u32 = 35092 ; pub const GL_SRC1_ALPHA : u32 = 34185 ; pub const GL_VERTEX_ARRAY_BUFFER_BINDING : u32 = 34966 ; pub const GL_NORMAL_ARRAY_BUFFER_BINDING : u32 = 34967 ; pub const GL_COLOR_ARRAY_BUFFER_BINDING : u32 = 34968 ; pub const GL_INDEX_ARRAY_BUFFER_BINDING : u32 = 34969 ; pub const GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING : u32 = 34970 ; pub const GL_EDGE_FLAG_ARRAY_BUFFER_BINDING : u32 = 34971 ; pub const GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING : u32 = 34972 ; pub const GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING : u32 = 34973 ; pub const GL_WEIGHT_ARRAY_BUFFER_BINDING : u32 = 34974 ; pub const GL_FOG_COORD_SRC : u32 = 33872 ; pub const GL_FOG_COORD : u32 = 33873 ; pub const GL_CURRENT_FOG_COORD : u32 = 33875 ; pub const GL_FOG_COORD_ARRAY_TYPE : u32 = 33876 ; pub const GL_FOG_COORD_ARRAY_STRIDE : u32 = 33877 ; pub const GL_FOG_COORD_ARRAY_POINTER : u32 = 33878 ; pub const GL_FOG_COORD_ARRAY : u32 = 33879 ; pub const GL_FOG_COORD_ARRAY_BUFFER_BINDING : u32 = 34973 ; pub const GL_SRC0_RGB : u32 = 34176 ; pub const GL_SRC1_RGB : u32 = 34177 ; pub const GL_SRC2_RGB : u32 = 34178 ; pub const GL_SRC0_ALPHA : u32 = 34184 ; pub const GL_SRC2_ALPHA : u32 = 34186 ; pub const GL_BLEND_EQUATION_RGB : u32 = 32777 ; pub const GL_VERTEX_ATTRIB_ARRAY_ENABLED : u32 = 34338 ; pub const GL_VERTEX_ATTRIB_ARRAY_SIZE : u32 = 34339 ; pub const GL_VERTEX_ATTRIB_ARRAY_STRIDE : u32 = 34340 ; pub const GL_VERTEX_ATTRIB_ARRAY_TYPE : u32 = 34341 ; pub const GL_CURRENT_VERTEX_ATTRIB : u32 = 34342 ; pub const GL_VERTEX_PROGRAM_POINT_SIZE : u32 = 34370 ; pub const GL_VERTEX_ATTRIB_ARRAY_POINTER : u32 = 34373 ; pub const GL_STENCIL_BACK_FUNC : u32 = 34816 ; pub const GL_STENCIL_BACK_FAIL : u32 = 34817 ; pub const GL_STENCIL_BACK_PASS_DEPTH_FAIL : u32 = 34818 ; pub const GL_STENCIL_BACK_PASS_DEPTH_PASS : u32 = 34819 ; pub const GL_MAX_DRAW_BUFFERS : u32 = 34852 ; pub const GL_DRAW_BUFFER0 : u32 = 34853 ; pub const GL_DRAW_BUFFER1 : u32 = 34854 ; pub const GL_DRAW_BUFFER2 : u32 = 34855 ; pub const GL_DRAW_BUFFER3 : u32 = 34856 ; pub const GL_DRAW_BUFFER4 : u32 = 34857 ; pub const GL_DRAW_BUFFER5 : u32 = 34858 ; pub const GL_DRAW_BUFFER6 : u32 = 34859 ; pub const GL_DRAW_BUFFER7 : u32 = 34860 ; pub const GL_DRAW_BUFFER8 : u32 = 34861 ; pub const GL_DRAW_BUFFER9 : u32 = 34862 ; pub const GL_DRAW_BUFFER10 : u32 = 34863 ; pub const GL_DRAW_BUFFER11 : u32 = 34864 ; pub const GL_DRAW_BUFFER12 : u32 = 34865 ; pub const GL_DRAW_BUFFER13 : u32 = 34866 ; pub const GL_DRAW_BUFFER14 : u32 = 34867 ; pub const GL_DRAW_BUFFER15 : u32 = 34868 ; pub const GL_BLEND_EQUATION_ALPHA : u32 = 34877 ; pub const GL_MAX_VERTEX_ATTRIBS : u32 = 34921 ; pub const GL_VERTEX_ATTRIB_ARRAY_NORMALIZED : u32 = 34922 ; pub const GL_MAX_TEXTURE_IMAGE_UNITS : u32 = 34930 ; pub const GL_FRAGMENT_SHADER : u32 = 35632 ; pub const GL_VERTEX_SHADER : u32 = 35633 ; pub const GL_MAX_FRAGMENT_UNIFORM_COMPONENTS : u32 = 35657 ; pub const GL_MAX_VERTEX_UNIFORM_COMPONENTS : u32 = 35658 ; pub const GL_MAX_VARYING_FLOATS : u32 = 35659 ; pub const GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS : u32 = 35660 ; pub const GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS : u32 = 35661 ; pub const GL_SHADER_TYPE : u32 = 35663 ; pub const GL_FLOAT_VEC2 : u32 = 35664 ; pub const GL_FLOAT_VEC3 : u32 = 35665 ; pub const GL_FLOAT_VEC4 : u32 = 35666 ; pub const GL_INT_VEC2 : u32 = 35667 ; pub const GL_INT_VEC3 : u32 = 35668 ; pub const GL_INT_VEC4 : u32 = 35669 ; pub const GL_BOOL : u32 = 35670 ; pub const GL_BOOL_VEC2 : u32 = 35671 ; pub const GL_BOOL_VEC3 : u32 = 35672 ; pub const GL_BOOL_VEC4 : u32 = 35673 ; pub const GL_FLOAT_MAT2 : u32 = 35674 ; pub const GL_FLOAT_MAT3 : u32 = 35675 ; pub const GL_FLOAT_MAT4 : u32 = 35676 ; pub const GL_SAMPLER_1D : u32 = 35677 ; pub const GL_SAMPLER_2D : u32 = 35678 ; pub const GL_SAMPLER_3D : u32 = 35679 ; pub const GL_SAMPLER_CUBE : u32 = 35680 ; pub const GL_SAMPLER_1D_SHADOW : u32 = 35681 ; pub const GL_SAMPLER_2D_SHADOW : u32 = 35682 ; pub const GL_DELETE_STATUS : u32 = 35712 ; pub const GL_COMPILE_STATUS : u32 = 35713 ; pub const GL_LINK_STATUS : u32 = 35714 ; pub const GL_VALIDATE_STATUS : u32 = 35715 ; pub const GL_INFO_LOG_LENGTH : u32 = 35716 ; pub const GL_ATTACHED_SHADERS : u32 = 35717 ; pub const GL_ACTIVE_UNIFORMS : u32 = 35718 ; pub const GL_ACTIVE_UNIFORM_MAX_LENGTH : u32 = 35719 ; pub const GL_SHADER_SOURCE_LENGTH : u32 = 35720 ; pub const GL_ACTIVE_ATTRIBUTES : u32 = 35721 ; pub const GL_ACTIVE_ATTRIBUTE_MAX_LENGTH : u32 = 35722 ; pub const GL_FRAGMENT_SHADER_DERIVATIVE_HINT : u32 = 35723 ; pub const GL_SHADING_LANGUAGE_VERSION : u32 = 35724 ; pub const GL_CURRENT_PROGRAM : u32 = 35725 ; pub const GL_POINT_SPRITE_COORD_ORIGIN : u32 = 36000 ; pub const GL_LOWER_LEFT : u32 = 36001 ; pub const GL_UPPER_LEFT : u32 = 36002 ; pub const GL_STENCIL_BACK_REF : u32 = 36003 ; pub const GL_STENCIL_BACK_VALUE_MASK : u32 = 36004 ; pub const GL_STENCIL_BACK_WRITEMASK : u32 = 36005 ; pub const GL_VERTEX_PROGRAM_TWO_SIDE : u32 = 34371 ; pub const GL_POINT_SPRITE : u32 = 34913 ; pub const GL_COORD_REPLACE : u32 = 34914 ; pub const GL_MAX_TEXTURE_COORDS : u32 = 34929 ; pub const GL_PIXEL_PACK_BUFFER : u32 = 35051 ; pub const GL_PIXEL_UNPACK_BUFFER : u32 = 35052 ; pub const GL_PIXEL_PACK_BUFFER_BINDING : u32 = 35053 ; pub const GL_PIXEL_UNPACK_BUFFER_BINDING : u32 = 35055 ; pub const GL_FLOAT_MAT2x3 : u32 = 35685 ; pub const GL_FLOAT_MAT2x4 : u32 = 35686 ; pub const GL_FLOAT_MAT3x2 : u32 = 35687 ; pub const GL_FLOAT_MAT3x4 : u32 = 35688 ; pub const GL_FLOAT_MAT4x2 : u32 = 35689 ; pub const GL_FLOAT_MAT4x3 : u32 = 35690 ; pub const GL_SRGB : u32 = 35904 ; pub const GL_SRGB8 : u32 = 35905 ; pub const GL_SRGB_ALPHA : u32 = 35906 ; pub const GL_SRGB8_ALPHA8 : u32 = 35907 ; pub const GL_COMPRESSED_SRGB : u32 = 35912 ; pub const GL_COMPRESSED_SRGB_ALPHA : u32 = 35913 ; pub const GL_CURRENT_RASTER_SECONDARY_COLOR : u32 = 33887 ; pub const GL_SLUMINANCE_ALPHA : u32 = 35908 ; pub const GL_SLUMINANCE8_ALPHA8 : u32 = 35909 ; pub const GL_SLUMINANCE : u32 = 35910 ; pub const GL_SLUMINANCE8 : u32 = 35911 ; pub const GL_COMPRESSED_SLUMINANCE : u32 = 35914 ; pub const GL_COMPRESSED_SLUMINANCE_ALPHA : u32 = 35915 ; pub const GL_COMPARE_REF_TO_TEXTURE : u32 = 34894 ; pub const GL_CLIP_DISTANCE0 : u32 = 12288 ; pub const GL_CLIP_DISTANCE1 : u32 = 12289 ; pub const GL_CLIP_DISTANCE2 : u32 = 12290 ; pub const GL_CLIP_DISTANCE3 : u32 = 12291 ; pub const GL_CLIP_DISTANCE4 : u32 = 12292 ; pub const GL_CLIP_DISTANCE5 : u32 = 12293 ; pub const GL_CLIP_DISTANCE6 : u32 = 12294 ; pub const GL_CLIP_DISTANCE7 : u32 = 12295 ; pub const GL_MAX_CLIP_DISTANCES : u32 = 3378 ; pub const GL_MAJOR_VERSION : u32 = 33307 ; pub const GL_MINOR_VERSION : u32 = 33308 ; pub const GL_NUM_EXTENSIONS : u32 = 33309 ; pub const GL_CONTEXT_FLAGS : u32 = 33310 ; pub const GL_COMPRESSED_RED : u32 = 33317 ; pub const GL_COMPRESSED_RG : u32 = 33318 ; pub const GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT : u32 = 1 ; pub const GL_RGBA32F : u32 = 34836 ; pub const GL_RGB32F : u32 = 34837 ; pub const GL_RGBA16F : u32 = 34842 ; pub const GL_RGB16F : u32 = 34843 ; pub const GL_VERTEX_ATTRIB_ARRAY_INTEGER : u32 = 35069 ; pub const GL_MAX_ARRAY_TEXTURE_LAYERS : u32 = 35071 ; pub const GL_MIN_PROGRAM_TEXEL_OFFSET : u32 = 35076 ; pub const GL_MAX_PROGRAM_TEXEL_OFFSET : u32 = 35077 ; pub const GL_CLAMP_READ_COLOR : u32 = 35100 ; pub const GL_FIXED_ONLY : u32 = 35101 ; pub const GL_MAX_VARYING_COMPONENTS : u32 = 35659 ; pub const GL_TEXTURE_1D_ARRAY : u32 = 35864 ; pub const GL_PROXY_TEXTURE_1D_ARRAY : u32 = 35865 ; pub const GL_TEXTURE_2D_ARRAY : u32 = 35866 ; pub const GL_PROXY_TEXTURE_2D_ARRAY : u32 = 35867 ; pub const GL_TEXTURE_BINDING_1D_ARRAY : u32 = 35868 ; pub const GL_TEXTURE_BINDING_2D_ARRAY : u32 = 35869 ; pub const GL_R11F_G11F_B10F : u32 = 35898 ; pub const GL_UNSIGNED_INT_10F_11F_11F_REV : u32 = 35899 ; pub const GL_RGB9_E5 : u32 = 35901 ; pub const GL_UNSIGNED_INT_5_9_9_9_REV : u32 = 35902 ; pub const GL_TEXTURE_SHARED_SIZE : u32 = 35903 ; pub const GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH : u32 = 35958 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_MODE : u32 = 35967 ; pub const GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS : u32 = 35968 ; pub const GL_TRANSFORM_FEEDBACK_VARYINGS : u32 = 35971 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_START : u32 = 35972 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_SIZE : u32 = 35973 ; pub const GL_PRIMITIVES_GENERATED : u32 = 35975 ; pub const GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN : u32 = 35976 ; pub const GL_RASTERIZER_DISCARD : u32 = 35977 ; pub const GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS : u32 = 35978 ; pub const GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS : u32 = 35979 ; pub const GL_INTERLEAVED_ATTRIBS : u32 = 35980 ; pub const GL_SEPARATE_ATTRIBS : u32 = 35981 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER : u32 = 35982 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_BINDING : u32 = 35983 ; pub const GL_RGBA32UI : u32 = 36208 ; pub const GL_RGB32UI : u32 = 36209 ; pub const GL_RGBA16UI : u32 = 36214 ; pub const GL_RGB16UI : u32 = 36215 ; pub const GL_RGBA8UI : u32 = 36220 ; pub const GL_RGB8UI : u32 = 36221 ; pub const GL_RGBA32I : u32 = 36226 ; pub const GL_RGB32I : u32 = 36227 ; pub const GL_RGBA16I : u32 = 36232 ; pub const GL_RGB16I : u32 = 36233 ; pub const GL_RGBA8I : u32 = 36238 ; pub const GL_RGB8I : u32 = 36239 ; pub const GL_RED_INTEGER : u32 = 36244 ; pub const GL_GREEN_INTEGER : u32 = 36245 ; pub const GL_BLUE_INTEGER : u32 = 36246 ; pub const GL_RGB_INTEGER : u32 = 36248 ; pub const GL_RGBA_INTEGER : u32 = 36249 ; pub const GL_BGR_INTEGER : u32 = 36250 ; pub const GL_BGRA_INTEGER : u32 = 36251 ; pub const GL_SAMPLER_1D_ARRAY : u32 = 36288 ; pub const GL_SAMPLER_2D_ARRAY : u32 = 36289 ; pub const GL_SAMPLER_1D_ARRAY_SHADOW : u32 = 36291 ; pub const GL_SAMPLER_2D_ARRAY_SHADOW : u32 = 36292 ; pub const GL_SAMPLER_CUBE_SHADOW : u32 = 36293 ; pub const GL_UNSIGNED_INT_VEC2 : u32 = 36294 ; pub const GL_UNSIGNED_INT_VEC3 : u32 = 36295 ; pub const GL_UNSIGNED_INT_VEC4 : u32 = 36296 ; pub const GL_INT_SAMPLER_1D : u32 = 36297 ; pub const GL_INT_SAMPLER_2D : u32 = 36298 ; pub const GL_INT_SAMPLER_3D : u32 = 36299 ; pub const GL_INT_SAMPLER_CUBE : u32 = 36300 ; pub const GL_INT_SAMPLER_1D_ARRAY : u32 = 36302 ; pub const GL_INT_SAMPLER_2D_ARRAY : u32 = 36303 ; pub const GL_UNSIGNED_INT_SAMPLER_1D : u32 = 36305 ; pub const GL_UNSIGNED_INT_SAMPLER_2D : u32 = 36306 ; pub const GL_UNSIGNED_INT_SAMPLER_3D : u32 = 36307 ; pub const GL_UNSIGNED_INT_SAMPLER_CUBE : u32 = 36308 ; pub const GL_UNSIGNED_INT_SAMPLER_1D_ARRAY : u32 = 36310 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_ARRAY : u32 = 36311 ; pub const GL_QUERY_WAIT : u32 = 36371 ; pub const GL_QUERY_NO_WAIT : u32 = 36372 ; pub const GL_QUERY_BY_REGION_WAIT : u32 = 36373 ; pub const GL_QUERY_BY_REGION_NO_WAIT : u32 = 36374 ; pub const GL_BUFFER_ACCESS_FLAGS : u32 = 37151 ; pub const GL_BUFFER_MAP_LENGTH : u32 = 37152 ; pub const GL_BUFFER_MAP_OFFSET : u32 = 37153 ; pub const GL_DEPTH_COMPONENT32F : u32 = 36012 ; pub const GL_DEPTH32F_STENCIL8 : u32 = 36013 ; pub const GL_FLOAT_32_UNSIGNED_INT_24_8_REV : u32 = 36269 ; pub const GL_INVALID_FRAMEBUFFER_OPERATION : u32 = 1286 ; pub const GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING : u32 = 33296 ; pub const GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE : u32 = 33297 ; pub const GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE : u32 = 33298 ; pub const GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE : u32 = 33299 ; pub const GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE : u32 = 33300 ; pub const GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE : u32 = 33301 ; pub const GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE : u32 = 33302 ; pub const GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE : u32 = 33303 ; pub const GL_FRAMEBUFFER_DEFAULT : u32 = 33304 ; pub const GL_FRAMEBUFFER_UNDEFINED : u32 = 33305 ; pub const GL_DEPTH_STENCIL_ATTACHMENT : u32 = 33306 ; pub const GL_MAX_RENDERBUFFER_SIZE : u32 = 34024 ; pub const GL_DEPTH_STENCIL : u32 = 34041 ; pub const GL_UNSIGNED_INT_24_8 : u32 = 34042 ; pub const GL_DEPTH24_STENCIL8 : u32 = 35056 ; pub const GL_TEXTURE_STENCIL_SIZE : u32 = 35057 ; pub const GL_TEXTURE_RED_TYPE : u32 = 35856 ; pub const GL_TEXTURE_GREEN_TYPE : u32 = 35857 ; pub const GL_TEXTURE_BLUE_TYPE : u32 = 35858 ; pub const GL_TEXTURE_ALPHA_TYPE : u32 = 35859 ; pub const GL_TEXTURE_DEPTH_TYPE : u32 = 35862 ; pub const GL_UNSIGNED_NORMALIZED : u32 = 35863 ; pub const GL_FRAMEBUFFER_BINDING : u32 = 36006 ; pub const GL_DRAW_FRAMEBUFFER_BINDING : u32 = 36006 ; pub const GL_RENDERBUFFER_BINDING : u32 = 36007 ; pub const GL_READ_FRAMEBUFFER : u32 = 36008 ; pub const GL_DRAW_FRAMEBUFFER : u32 = 36009 ; pub const GL_READ_FRAMEBUFFER_BINDING : u32 = 36010 ; pub const GL_RENDERBUFFER_SAMPLES : u32 = 36011 ; pub const GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE : u32 = 36048 ; pub const GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME : u32 = 36049 ; pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL : u32 = 36050 ; pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE : u32 = 36051 ; pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER : u32 = 36052 ; pub const GL_FRAMEBUFFER_COMPLETE : u32 = 36053 ; pub const GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT : u32 = 36054 ; pub const GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT : u32 = 36055 ; pub const GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER : u32 = 36059 ; pub const GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER : u32 = 36060 ; pub const GL_FRAMEBUFFER_UNSUPPORTED : u32 = 36061 ; pub const GL_MAX_COLOR_ATTACHMENTS : u32 = 36063 ; pub const GL_COLOR_ATTACHMENT0 : u32 = 36064 ; pub const GL_COLOR_ATTACHMENT1 : u32 = 36065 ; pub const GL_COLOR_ATTACHMENT2 : u32 = 36066 ; pub const GL_COLOR_ATTACHMENT3 : u32 = 36067 ; pub const GL_COLOR_ATTACHMENT4 : u32 = 36068 ; pub const GL_COLOR_ATTACHMENT5 : u32 = 36069 ; pub const GL_COLOR_ATTACHMENT6 : u32 = 36070 ; pub const GL_COLOR_ATTACHMENT7 : u32 = 36071 ; pub const GL_COLOR_ATTACHMENT8 : u32 = 36072 ; pub const GL_COLOR_ATTACHMENT9 : u32 = 36073 ; pub const GL_COLOR_ATTACHMENT10 : u32 = 36074 ; pub const GL_COLOR_ATTACHMENT11 : u32 = 36075 ; pub const GL_COLOR_ATTACHMENT12 : u32 = 36076 ; pub const GL_COLOR_ATTACHMENT13 : u32 = 36077 ; pub const GL_COLOR_ATTACHMENT14 : u32 = 36078 ; pub const GL_COLOR_ATTACHMENT15 : u32 = 36079 ; pub const GL_COLOR_ATTACHMENT16 : u32 = 36080 ; pub const GL_COLOR_ATTACHMENT17 : u32 = 36081 ; pub const GL_COLOR_ATTACHMENT18 : u32 = 36082 ; pub const GL_COLOR_ATTACHMENT19 : u32 = 36083 ; pub const GL_COLOR_ATTACHMENT20 : u32 = 36084 ; pub const GL_COLOR_ATTACHMENT21 : u32 = 36085 ; pub const GL_COLOR_ATTACHMENT22 : u32 = 36086 ; pub const GL_COLOR_ATTACHMENT23 : u32 = 36087 ; pub const GL_COLOR_ATTACHMENT24 : u32 = 36088 ; pub const GL_COLOR_ATTACHMENT25 : u32 = 36089 ; pub const GL_COLOR_ATTACHMENT26 : u32 = 36090 ; pub const GL_COLOR_ATTACHMENT27 : u32 = 36091 ; pub const GL_COLOR_ATTACHMENT28 : u32 = 36092 ; pub const GL_COLOR_ATTACHMENT29 : u32 = 36093 ; pub const GL_COLOR_ATTACHMENT30 : u32 = 36094 ; pub const GL_COLOR_ATTACHMENT31 : u32 = 36095 ; pub const GL_DEPTH_ATTACHMENT : u32 = 36096 ; pub const GL_STENCIL_ATTACHMENT : u32 = 36128 ; pub const GL_FRAMEBUFFER : u32 = 36160 ; pub const GL_RENDERBUFFER : u32 = 36161 ; pub const GL_RENDERBUFFER_WIDTH : u32 = 36162 ; pub const GL_RENDERBUFFER_HEIGHT : u32 = 36163 ; pub const GL_RENDERBUFFER_INTERNAL_FORMAT : u32 = 36164 ; pub const GL_STENCIL_INDEX1 : u32 = 36166 ; pub const GL_STENCIL_INDEX4 : u32 = 36167 ; pub const GL_STENCIL_INDEX8 : u32 = 36168 ; pub const GL_STENCIL_INDEX16 : u32 = 36169 ; pub const GL_RENDERBUFFER_RED_SIZE : u32 = 36176 ; pub const GL_RENDERBUFFER_GREEN_SIZE : u32 = 36177 ; pub const GL_RENDERBUFFER_BLUE_SIZE : u32 = 36178 ; pub const GL_RENDERBUFFER_ALPHA_SIZE : u32 = 36179 ; pub const GL_RENDERBUFFER_DEPTH_SIZE : u32 = 36180 ; pub const GL_RENDERBUFFER_STENCIL_SIZE : u32 = 36181 ; pub const GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE : u32 = 36182 ; pub const GL_MAX_SAMPLES : u32 = 36183 ; pub const GL_INDEX : u32 = 33314 ; pub const GL_TEXTURE_LUMINANCE_TYPE : u32 = 35860 ; pub const GL_TEXTURE_INTENSITY_TYPE : u32 = 35861 ; pub const GL_FRAMEBUFFER_SRGB : u32 = 36281 ; pub const GL_HALF_FLOAT : u32 = 5131 ; pub const GL_MAP_READ_BIT : u32 = 1 ; pub const GL_MAP_WRITE_BIT : u32 = 2 ; pub const GL_MAP_INVALIDATE_RANGE_BIT : u32 = 4 ; pub const GL_MAP_INVALIDATE_BUFFER_BIT : u32 = 8 ; pub const GL_MAP_FLUSH_EXPLICIT_BIT : u32 = 16 ; pub const GL_MAP_UNSYNCHRONIZED_BIT : u32 = 32 ; pub const GL_COMPRESSED_RED_RGTC1 : u32 = 36283 ; pub const GL_COMPRESSED_SIGNED_RED_RGTC1 : u32 = 36284 ; pub const GL_COMPRESSED_RG_RGTC2 : u32 = 36285 ; pub const GL_COMPRESSED_SIGNED_RG_RGTC2 : u32 = 36286 ; pub const GL_RG : u32 = 33319 ; pub const GL_RG_INTEGER : u32 = 33320 ; pub const GL_R8 : u32 = 33321 ; pub const GL_R16 : u32 = 33322 ; pub const GL_RG8 : u32 = 33323 ; pub const GL_RG16 : u32 = 33324 ; pub const GL_R16F : u32 = 33325 ; pub const GL_R32F : u32 = 33326 ; pub const GL_RG16F : u32 = 33327 ; pub const GL_RG32F : u32 = 33328 ; pub const GL_R8I : u32 = 33329 ; pub const GL_R8UI : u32 = 33330 ; pub const GL_R16I : u32 = 33331 ; pub const GL_R16UI : u32 = 33332 ; pub const GL_R32I : u32 = 33333 ; pub const GL_R32UI : u32 = 33334 ; pub const GL_RG8I : u32 = 33335 ; pub const GL_RG8UI : u32 = 33336 ; pub const GL_RG16I : u32 = 33337 ; pub const GL_RG16UI : u32 = 33338 ; pub const GL_RG32I : u32 = 33339 ; pub const GL_RG32UI : u32 = 33340 ; pub const GL_VERTEX_ARRAY_BINDING : u32 = 34229 ; pub const GL_CLAMP_VERTEX_COLOR : u32 = 35098 ; pub const GL_CLAMP_FRAGMENT_COLOR : u32 = 35099 ; pub const GL_ALPHA_INTEGER : u32 = 36247 ; pub const GL_SAMPLER_2D_RECT : u32 = 35683 ; pub const GL_SAMPLER_2D_RECT_SHADOW : u32 = 35684 ; pub const GL_SAMPLER_BUFFER : u32 = 36290 ; pub const GL_INT_SAMPLER_2D_RECT : u32 = 36301 ; pub const GL_INT_SAMPLER_BUFFER : u32 = 36304 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_RECT : u32 = 36309 ; pub const GL_UNSIGNED_INT_SAMPLER_BUFFER : u32 = 36312 ; pub const GL_TEXTURE_BUFFER : u32 = 35882 ; pub const GL_MAX_TEXTURE_BUFFER_SIZE : u32 = 35883 ; pub const GL_TEXTURE_BINDING_BUFFER : u32 = 35884 ; pub const GL_TEXTURE_BUFFER_DATA_STORE_BINDING : u32 = 35885 ; pub const GL_TEXTURE_RECTANGLE : u32 = 34037 ; pub const GL_TEXTURE_BINDING_RECTANGLE : u32 = 34038 ; pub const GL_PROXY_TEXTURE_RECTANGLE : u32 = 34039 ; pub const GL_MAX_RECTANGLE_TEXTURE_SIZE : u32 = 34040 ; pub const GL_R8_SNORM : u32 = 36756 ; pub const GL_RG8_SNORM : u32 = 36757 ; pub const GL_RGB8_SNORM : u32 = 36758 ; pub const GL_RGBA8_SNORM : u32 = 36759 ; pub const GL_R16_SNORM : u32 = 36760 ; pub const GL_RG16_SNORM : u32 = 36761 ; pub const GL_RGB16_SNORM : u32 = 36762 ; pub const GL_RGBA16_SNORM : u32 = 36763 ; pub const GL_SIGNED_NORMALIZED : u32 = 36764 ; pub const GL_PRIMITIVE_RESTART : u32 = 36765 ; pub const GL_PRIMITIVE_RESTART_INDEX : u32 = 36766 ; pub const GL_COPY_READ_BUFFER : u32 = 36662 ; pub const GL_COPY_WRITE_BUFFER : u32 = 36663 ; pub const GL_UNIFORM_BUFFER : u32 = 35345 ; pub const GL_UNIFORM_BUFFER_BINDING : u32 = 35368 ; pub const GL_UNIFORM_BUFFER_START : u32 = 35369 ; pub const GL_UNIFORM_BUFFER_SIZE : u32 = 35370 ; pub const GL_MAX_VERTEX_UNIFORM_BLOCKS : u32 = 35371 ; pub const GL_MAX_GEOMETRY_UNIFORM_BLOCKS : u32 = 35372 ; pub const GL_MAX_FRAGMENT_UNIFORM_BLOCKS : u32 = 35373 ; pub const GL_MAX_COMBINED_UNIFORM_BLOCKS : u32 = 35374 ; pub const GL_MAX_UNIFORM_BUFFER_BINDINGS : u32 = 35375 ; pub const GL_MAX_UNIFORM_BLOCK_SIZE : u32 = 35376 ; pub const GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS : u32 = 35377 ; pub const GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS : u32 = 35378 ; pub const GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS : u32 = 35379 ; pub const GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT : u32 = 35380 ; pub const GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH : u32 = 35381 ; pub const GL_ACTIVE_UNIFORM_BLOCKS : u32 = 35382 ; pub const GL_UNIFORM_TYPE : u32 = 35383 ; pub const GL_UNIFORM_SIZE : u32 = 35384 ; pub const GL_UNIFORM_NAME_LENGTH : u32 = 35385 ; pub const GL_UNIFORM_BLOCK_INDEX : u32 = 35386 ; pub const GL_UNIFORM_OFFSET : u32 = 35387 ; pub const GL_UNIFORM_ARRAY_STRIDE : u32 = 35388 ; pub const GL_UNIFORM_MATRIX_STRIDE : u32 = 35389 ; pub const GL_UNIFORM_IS_ROW_MAJOR : u32 = 35390 ; pub const GL_UNIFORM_BLOCK_BINDING : u32 = 35391 ; pub const GL_UNIFORM_BLOCK_DATA_SIZE : u32 = 35392 ; pub const GL_UNIFORM_BLOCK_NAME_LENGTH : u32 = 35393 ; pub const GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS : u32 = 35394 ; pub const GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES : u32 = 35395 ; pub const GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER : u32 = 35396 ; pub const GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER : u32 = 35397 ; pub const GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER : u32 = 35398 ; pub const GL_INVALID_INDEX : u32 = 4294967295 ; pub const GL_CONTEXT_CORE_PROFILE_BIT : u32 = 1 ; pub const GL_CONTEXT_COMPATIBILITY_PROFILE_BIT : u32 = 2 ; pub const GL_LINES_ADJACENCY : u32 = 10 ; pub const GL_LINE_STRIP_ADJACENCY : u32 = 11 ; pub const GL_TRIANGLES_ADJACENCY : u32 = 12 ; pub const GL_TRIANGLE_STRIP_ADJACENCY : u32 = 13 ; pub const GL_PROGRAM_POINT_SIZE : u32 = 34370 ; pub const GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS : u32 = 35881 ; pub const GL_FRAMEBUFFER_ATTACHMENT_LAYERED : u32 = 36263 ; pub const GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS : u32 = 36264 ; pub const GL_GEOMETRY_SHADER : u32 = 36313 ; pub const GL_GEOMETRY_VERTICES_OUT : u32 = 35094 ; pub const GL_GEOMETRY_INPUT_TYPE : u32 = 35095 ; pub const GL_GEOMETRY_OUTPUT_TYPE : u32 = 35096 ; pub const GL_MAX_GEOMETRY_UNIFORM_COMPONENTS : u32 = 36319 ; pub const GL_MAX_GEOMETRY_OUTPUT_VERTICES : u32 = 36320 ; pub const GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS : u32 = 36321 ; pub const GL_MAX_VERTEX_OUTPUT_COMPONENTS : u32 = 37154 ; pub const GL_MAX_GEOMETRY_INPUT_COMPONENTS : u32 = 37155 ; pub const GL_MAX_GEOMETRY_OUTPUT_COMPONENTS : u32 = 37156 ; pub const GL_MAX_FRAGMENT_INPUT_COMPONENTS : u32 = 37157 ; pub const GL_CONTEXT_PROFILE_MASK : u32 = 37158 ; pub const GL_DEPTH_CLAMP : u32 = 34383 ; pub const GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION : u32 = 36428 ; pub const GL_FIRST_VERTEX_CONVENTION : u32 = 36429 ; pub const GL_LAST_VERTEX_CONVENTION : u32 = 36430 ; pub const GL_PROVOKING_VERTEX : u32 = 36431 ; pub const GL_TEXTURE_CUBE_MAP_SEAMLESS : u32 = 34895 ; pub const GL_MAX_SERVER_WAIT_TIMEOUT : u32 = 37137 ; pub const GL_OBJECT_TYPE : u32 = 37138 ; pub const GL_SYNC_CONDITION : u32 = 37139 ; pub const GL_SYNC_STATUS : u32 = 37140 ; pub const GL_SYNC_FLAGS : u32 = 37141 ; pub const GL_SYNC_FENCE : u32 = 37142 ; pub const GL_SYNC_GPU_COMMANDS_COMPLETE : u32 = 37143 ; pub const GL_UNSIGNALED : u32 = 37144 ; pub const GL_SIGNALED : u32 = 37145 ; pub const GL_ALREADY_SIGNALED : u32 = 37146 ; pub const GL_TIMEOUT_EXPIRED : u32 = 37147 ; pub const GL_CONDITION_SATISFIED : u32 = 37148 ; pub const GL_WAIT_FAILED : u32 = 37149 ; pub const GL_TIMEOUT_IGNORED : i32 = -1 ; pub const GL_SYNC_FLUSH_COMMANDS_BIT : u32 = 1 ; pub const GL_SAMPLE_POSITION : u32 = 36432 ; pub const GL_SAMPLE_MASK : u32 = 36433 ; pub const GL_SAMPLE_MASK_VALUE : u32 = 36434 ; pub const GL_MAX_SAMPLE_MASK_WORDS : u32 = 36441 ; pub const GL_TEXTURE_2D_MULTISAMPLE : u32 = 37120 ; pub const GL_PROXY_TEXTURE_2D_MULTISAMPLE : u32 = 37121 ; pub const GL_TEXTURE_2D_MULTISAMPLE_ARRAY : u32 = 37122 ; pub const GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY : u32 = 37123 ; pub const GL_TEXTURE_BINDING_2D_MULTISAMPLE : u32 = 37124 ; pub const GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY : u32 = 37125 ; pub const GL_TEXTURE_SAMPLES : u32 = 37126 ; pub const GL_TEXTURE_FIXED_SAMPLE_LOCATIONS : u32 = 37127 ; pub const GL_SAMPLER_2D_MULTISAMPLE : u32 = 37128 ; pub const GL_INT_SAMPLER_2D_MULTISAMPLE : u32 = 37129 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE : u32 = 37130 ; pub const GL_SAMPLER_2D_MULTISAMPLE_ARRAY : u32 = 37131 ; pub const GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY : u32 = 37132 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY : u32 = 37133 ; pub const GL_MAX_COLOR_TEXTURE_SAMPLES : u32 = 37134 ; pub const GL_MAX_DEPTH_TEXTURE_SAMPLES : u32 = 37135 ; pub const GL_MAX_INTEGER_SAMPLES : u32 = 37136 ; pub const GL_VERTEX_ATTRIB_ARRAY_DIVISOR : u32 = 35070 ; pub const GL_SRC1_COLOR : u32 = 35065 ; pub const GL_ONE_MINUS_SRC1_COLOR : u32 = 35066 ; pub const GL_ONE_MINUS_SRC1_ALPHA : u32 = 35067 ; pub const GL_MAX_DUAL_SOURCE_DRAW_BUFFERS : u32 = 35068 ; pub const GL_ANY_SAMPLES_PASSED : u32 = 35887 ; pub const GL_SAMPLER_BINDING : u32 = 35097 ; pub const GL_RGB10_A2UI : u32 = 36975 ; pub const GL_TEXTURE_SWIZZLE_R : u32 = 36418 ; pub const GL_TEXTURE_SWIZZLE_G : u32 = 36419 ; pub const GL_TEXTURE_SWIZZLE_B : u32 = 36420 ; pub const GL_TEXTURE_SWIZZLE_A : u32 = 36421 ; pub const GL_TEXTURE_SWIZZLE_RGBA : u32 = 36422 ; pub const GL_TIME_ELAPSED : u32 = 35007 ; pub const GL_TIMESTAMP : u32 = 36392 ; pub const GL_INT_2_10_10_10_REV : u32 = 36255 ; pub const GL_VERSION_1_0 : u32 = 1 ; pub const GL_VERSION_1_1 : u32 = 1 ; pub const GL_VERSION_1_2 : u32 = 1 ; pub const GL_VERSION_1_3 : u32 = 1 ; pub const GL_VERSION_1_4 : u32 = 1 ; pub const GL_VERSION_1_5 : u32 = 1 ; pub const GL_VERSION_2_0 : u32 = 1 ; pub const GL_VERSION_2_1 : u32 = 1 ; pub const GL_VERSION_3_0 : u32 = 1 ; pub const GL_VERSION_3_1 : u32 = 1 ; pub const GL_VERSION_3_2 : u32 = 1 ; pub const GL_VERSION_3_3 : u32 = 1 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const RF_PI : f64 = 3.141592653589793 ; pub const RF_DEG2RAD : f64 = 0.017453292519943295 ; pub const RF_RAD2DEG : f64 = 57.29577951308232 ; pub const rf_max_text_buffer_length : u32 = 1024 ; pub const rf_max_text_unicode_chars : u32 = 512 ; pub const rf_textsplit_max_text_buffer_length : u32 = 1024 ; pub const rf_textsplit_max_substrings_count : u32 = 128 ; pub const rf_max_batch_elements : u32 = 8192 ; pub const rf_max_batch_buffering : u32 = 1 ; pub const rf_max_matrix_stack_size : u32 = 32 ; pub const rf_max_drawcall_registered : u32 = 256 ; pub const rf_max_shader_locations : u32 = 32 ; pub const rf_max_material_maps : u32 = 12 ; pub const GL_TEXTURE_ANISOTROPIC_FILTER : u32 = 12288 ; pub const GL_MIRROR_CLAMP_EXT : u32 = 34626 ; pub const DEFAULT_ATTRIB_POSITION_NAME : & 'static [ u8 ; 15usize ] = b"vertexPosition\0" ; pub const DEFAULT_ATTRIB_TEXCOORD_NAME : & 'static [ u8 ; 15usize ] = b"vertexTexCoord\0" ; pub const DEFAULT_ATTRIB_NORMAL_NAME : & 'static [ u8 ; 13usize ] = b"vertexNormal\0" ; pub const DEFAULT_ATTRIB_COLOR_NAME : & 'static [ u8 ; 12usize ] = b"vertexColor\0" ; pub const DEFAULT_ATTRIB_TANGENT_NAME : & 'static [ u8 ; 14usize ] = b"vertexTangent\0" ; pub const DEFAULT_ATTRIB_TEXCOORD2_NAME : & 'static [ u8 ; 16usize ] = b"vertexTexCoord2\0" ; pub const RF_LOG_TRACE : u32 = 0 ; pub const RF_LOG_DEBUG : u32 = 1 ; pub const RF_LOG_INFO : u32 = 2 ; pub const RF_LOG_WARNING : u32 = 3 ; pub const RF_LOG_ERROR : u32 = 4 ; pub const RF_LOG_FATAL : u32 = 5 ; pub const _MATH_H : u32 = 1 ; pub const _BITS_LIBM_SIMD_DECL_STUBS_H : u32 = 1 ; pub const __HAVE_FLOAT128 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 0 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const __FP_LOGB0_IS_MIN : u32 = 1 ; pub const __FP_LOGBNAN_IS_MIN : u32 = 1 ; pub const FP_ILOGB0 : i32 = -2147483648 ; pub const FP_ILOGBNAN : i32 = -2147483648 ; pub const __MATH_DECLARING_DOUBLE : u32 = 1 ; pub const __MATH_DECLARING_FLOATN : u32 = 0 ; pub const __MATH_DECLARE_LDOUBLE : u32 = 1 ; pub const 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 _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 __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; 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 __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : 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 __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [ u8 ; 6usize ] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const __timespec_defined : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _SYS_SYSMACROS_H : u32 = 1 ; pub const _BITS_SYSMACROS_H : u32 = 1 ; 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 __PTHREAD_MUTEX_LOCK_ELISION : u32 = 1 ; pub const __PTHREAD_MUTEX_NUSERS_AFTER_KIND : u32 = 0 ; pub const __PTHREAD_MUTEX_USE_UNION : u32 = 0 ; pub const __PTHREAD_RWLOCK_INT_FLAGS_SHARED : 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 TINYOBJ_FLAG_TRIANGULATE : u32 = 1 ; pub const TINYOBJ_INVALID_INDEX : u32 = 2147483648 ; pub const TINYOBJ_SUCCESS : u32 = 0 ; pub const TINYOBJ_ERROR_EMPTY : i32 = -1 ; pub const TINYOBJ_ERROR_INVALID_PARAMETER : i32 = -2 ; pub const TINYOBJ_ERROR_FILE_OPERATION : i32 = -3 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [ u8 ; 5usize ] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _ASSERT_H : u32 = 1 ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; 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 TINYOBJ_MAX_FACES_PER_F_LINE : u32 = 16 ; pub const HASH_TABLE_ERROR : u32 = 1 ; pub const HASH_TABLE_SUCCESS : u32 = 0 ; pub const HASH_TABLE_DEFAULT_SIZE : u32 = 10 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const CGLTF_ERROR_JSON : i32 = -1 ; pub const CGLTF_ERROR_NOMEM : i32 = -2 ; pub const CGLTF_ERROR_LEGACY : i32 = -3 ; pub const PAR_PI : f64 = 3.14159265359 ; pub const STRETCH_CONSTANT_2D : f64 = -0.211324865405187 ; pub const SQUISH_CONSTANT_2D : f64 = 0.366025403784439 ; pub const STRETCH_CONSTANT_3D : f64 = -0.16666666666666666 ; pub const SQUISH_CONSTANT_3D : f64 = 0.3333333333333333 ; pub const STRETCH_CONSTANT_4D : f64 = -0.138196601125011 ; pub const SQUISH_CONSTANT_4D : f64 = 0.309016994374947 ; pub const NORM_CONSTANT_2D : f64 = 47.0 ; pub const NORM_CONSTANT_3D : f64 = 103.0 ; pub const NORM_CONSTANT_4D : f64 = 30.0 ; pub const DEFAULT_SEED : u32 = 0 ; pub const STBI_VERSION : u32 = 1 ; pub const _MM_HINT_ET0 : u32 = 7 ; pub const _MM_HINT_ET1 : u32 = 6 ; pub const _MM_HINT_T0 : u32 = 3 ; pub const _MM_HINT_T1 : u32 = 2 ; pub const _MM_HINT_T2 : u32 = 1 ; pub const _MM_HINT_NTA : u32 = 0 ; pub const _MM_EXCEPT_INVALID : u32 = 1 ; pub const _MM_EXCEPT_DENORM : u32 = 2 ; pub const _MM_EXCEPT_DIV_ZERO : u32 = 4 ; pub const _MM_EXCEPT_OVERFLOW : u32 = 8 ; pub const _MM_EXCEPT_UNDERFLOW : u32 = 16 ; pub const _MM_EXCEPT_INEXACT : u32 = 32 ; pub const _MM_EXCEPT_MASK : u32 = 63 ; pub const _MM_MASK_INVALID : u32 = 128 ; pub const _MM_MASK_DENORM : u32 = 256 ; pub const _MM_MASK_DIV_ZERO : u32 = 512 ; pub const _MM_MASK_OVERFLOW : u32 = 1024 ; pub const _MM_MASK_UNDERFLOW : u32 = 2048 ; pub const _MM_MASK_INEXACT : u32 = 4096 ; pub const _MM_MASK_MASK : u32 = 8064 ; pub const _MM_ROUND_NEAREST : u32 = 0 ; pub const _MM_ROUND_DOWN : u32 = 8192 ; pub const _MM_ROUND_UP : u32 = 16384 ; pub const _MM_ROUND_TOWARD_ZERO : u32 = 24576 ; pub const _MM_ROUND_MASK : u32 = 24576 ; pub const _MM_FLUSH_ZERO_MASK : u32 = 32768 ; pub const _MM_FLUSH_ZERO_ON : u32 = 32768 ; pub const _MM_FLUSH_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_ON : u32 = 64 ; pub const _MM_DENORMALS_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_MASK : u32 = 64 ; pub const FAST_BITS : u32 = 9 ; pub const STBI__MARKER_none : u32 = 255 ; pub const STBI__ZFAST_BITS : u32 = 9 ; pub const STBI__ZFAST_MASK : u32 = 511 ; pub const STBI__HDR_BUFLEN : u32 = 1024 ; pub const stbiw__ZHASH : u32 = 16384 ; pub const STBIR_ALPHA_CHANNEL_NONE : i32 = -1 ; pub const STBIR_FLAG_ALPHA_PREMULTIPLIED : u32 = 1 ; pub const STBIR_FLAG_ALPHA_USES_COLORSPACE : u32 = 2 ; pub const STBIR_MAX_CHANNELS : u32 = 64 ; pub const STB_RECT_PACK_VERSION : u32 = 1 ; pub const STBRP__MAXVAL : u32 = 65535 ; pub const STBTT_MACSTYLE_DONTCARE : u32 = 0 ; pub const STBTT_MACSTYLE_BOLD : u32 = 1 ; pub const STBTT_MACSTYLE_ITALIC : u32 = 2 ; pub const STBTT_MACSTYLE_UNDERSCORE : u32 = 4 ; pub const STBTT_MACSTYLE_NONE : u32 = 8 ; pub const STBTT_MAX_OVERSAMPLE : u32 = 8 ; pub const STBTT_RASTERIZER_VERSION : u32 = 2 ; pub const STBTT__OVER_MASK : u32 = 7 ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_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 __struct_tm_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const rf_max_filepath_length : u32 = 512 ; pub const rf_max_filenamewithoutext_length : u32 = 128 ; pub const rf_default_ttf_fontsize : u32 = 32 ; pub const rf_default_ttf_numchars : u32 = 95 ; pub const rf_default_first_char : u32 = 32 ; pub const rf_max_fontchars : u32 = 256 ; pub const rf_sdf_char_padding : u32 = 4 ; pub const rf_sdf_on_edge_value : u32 = 128 ; pub const rf_sdf_pixel_dist_scale : f64 = 64.0 ; pub const rf_bitmap_alpha_threshold : u32 = 80 ; pub const GL_COMPRESSED_RGB_S3TC_DXT1_EXT : u32 = 33776 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT1_EXT : u32 = 33777 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT3_EXT : u32 = 33778 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT5_EXT : u32 = 33779 ; pub const GL_ETC1_RGB8_OES : u32 = 36196 ; pub const GL_COMPRESSED_RGB8_ETC2 : u32 = 37492 ; pub const GL_COMPRESSED_RGBA8_ETC2_EAC : u32 = 37496 ; pub const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG : u32 = 35840 ; pub const GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG : u32 = 35842 ; pub const GL_COMPRESSED_RGBA_ASTC_4x4_KHR : u32 = 37808 ; pub const GL_COMPRESSED_RGBA_ASTC_8x8_KHR : u32 = 37815 ; pub const GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34047 ; pub const GL_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34046 ; pub const MAX_MIPMAP_LEVELS : u32 = 5 ; pub const rf_camera_mouse_move_sensitivity : f64 = 0.003 ; pub const rf_camera_mouse_scroll_sensitivity : f64 = 1.5 ; pub const rf_camera_free_mouse_sensitivity : f64 = 0.01 ; pub const rf_camera_free_distance_min_clamp : f64 = 0.3 ; pub const rf_camera_free_distance_max_clamp : f64 = 120.0 ; pub const rf_camera_free_min_clamp : f64 = 85.0 ; pub const rf_camera_free_max_clamp : f64 = -85.0 ; pub const rf_camera_free_smooth_zoom_sensitivity : f64 = 0.05 ; pub const rf_camera_free_panning_divider : f64 = 5.1 ; pub const rf_camera_orbital_speed : f64 = 0.01 ; pub const rf_camera_first_person_focus_distance : f64 = 25.0 ; pub const rf_camera_first_person_min_clamp : f64 = 85.0 ; pub const rf_camera_first_person_max_clamp : f64 = -85.0 ; pub const rf_camera_first_person_step_trigonometric_divider : f64 = 5.0 ; pub const rf_camera_first_person_step_divider : f64 = 30.0 ; pub const rf_camera_first_person_waving_divider : f64 = 200.0 ; pub const rf_camera_third_person_distance_clamp : f64 = 1.2 ; pub const rf_camera_third_person_min_clamp : f64 = 5.0 ; pub const rf_camera_third_person_max_clamp : f64 = -85.0 ; pub const rf_player_movement_sensitivity : f64 = 20.0 ; pub const rf_max_mesh_vbo : u32 = 7 ; pub const rf_iqm_magic : & 'static [ u8 ; 16usize ] = b"INTERQUAKEMODEL\0" ; pub const rf_iqm_version : u32 = 2 ; pub const rf_epsilon : f64 = 0.000001 ; pub const rf_bone_name_length : u32 = 32 ; pub const rf_mesh_name_length : u32 = 32 ; pub const rf_line_divisions : u32 = 24 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct gladGLversionStruct { pub major : :: std :: os :: raw :: c_int , pub minor : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_gladGLversionStruct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < gladGLversionStruct > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( gladGLversionStruct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < gladGLversionStruct > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( gladGLversionStruct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < gladGLversionStruct > ( ) ) ) . major as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( gladGLversionStruct ) , "::" , stringify ! ( major ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < gladGLversionStruct > ( ) ) ) . minor as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( gladGLversionStruct ) , "::" , stringify ! ( minor ) ) ) ; } pub type GLADloadproc = :: std :: option :: Option < unsafe extern "C" fn ( name : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut GLVersion : gladGLversionStruct ; } extern "C" { pub fn gladLoadGL ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gladLoadGLLoader ( arg1 : GLADloadproc ) -> :: 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 __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __fsid_t { pub __val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __fsid_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type khronos_int32_t = i32 ; pub type khronos_uint32_t = u32 ; pub type khronos_int64_t = i64 ; pub type khronos_uint64_t = u64 ; pub type khronos_int8_t = :: std :: os :: raw :: c_schar ; pub type khronos_uint8_t = :: std :: os :: raw :: c_uchar ; pub type khronos_int16_t = :: std :: os :: raw :: c_short ; pub type khronos_uint16_t = :: std :: os :: raw :: c_ushort ; pub type khronos_intptr_t = :: std :: os :: raw :: c_long ; pub type khronos_uintptr_t = :: std :: os :: raw :: c_ulong ; pub type khronos_ssize_t = :: std :: os :: raw :: c_long ; pub type khronos_usize_t = :: std :: os :: raw :: c_ulong ; pub type khronos_float_t = f32 ; pub type khronos_utime_nanoseconds_t = khronos_uint64_t ; pub type khronos_stime_nanoseconds_t = khronos_int64_t ; pub const khronos_boolean_enum_t_KHRONOS_FALSE : khronos_boolean_enum_t = 0 ; pub const khronos_boolean_enum_t_KHRONOS_TRUE : khronos_boolean_enum_t = 1 ; pub const khronos_boolean_enum_t_KHRONOS_BOOLEAN_ENUM_FORCE_SIZE : khronos_boolean_enum_t = 2147483647 ; pub type khronos_boolean_enum_t = u32 ; pub type GLenum = :: std :: os :: raw :: c_uint ; pub type GLboolean = :: std :: os :: raw :: c_uchar ; pub type GLbitfield = :: std :: os :: raw :: c_uint ; pub type GLvoid = :: std :: os :: raw :: c_void ; pub type GLbyte = khronos_int8_t ; pub type GLubyte = khronos_uint8_t ; pub type GLshort = khronos_int16_t ; pub type GLushort = khronos_uint16_t ; pub type GLint = :: std :: os :: raw :: c_int ; pub type GLuint = :: std :: os :: raw :: c_uint ; pub type GLclampx = khronos_int32_t ; pub type GLsizei = :: std :: os :: raw :: c_int ; pub type GLfloat = khronos_float_t ; pub type GLclampf = khronos_float_t ; pub type GLdouble = f64 ; pub type GLclampd = f64 ; pub type GLeglClientBufferEXT = * mut :: std :: os :: raw :: c_void ; pub type GLeglImageOES = * mut :: std :: os :: raw :: c_void ; pub type GLchar = :: std :: os :: raw :: c_char ; pub type GLcharARB = :: std :: os :: raw :: c_char ; pub type GLhandleARB = :: std :: os :: raw :: c_uint ; pub type GLhalf = khronos_uint16_t ; pub type GLhalfARB = khronos_uint16_t ; pub type GLfixed = khronos_int32_t ; pub type GLintptr = khronos_intptr_t ; pub type GLintptrARB = khronos_intptr_t ; pub type GLsizeiptr = khronos_ssize_t ; pub type GLsizeiptrARB = khronos_ssize_t ; pub type GLint64 = khronos_int64_t ; pub type GLint64EXT = khronos_int64_t ; pub type GLuint64 = khronos_uint64_t ; pub type GLuint64EXT = khronos_uint64_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __GLsync { _unused : [ u8 ; 0 ] , } pub type GLsync = * mut __GLsync ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _cl_context { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _cl_event { _unused : [ u8 ; 0 ] , } pub type GLDEBUGPROC = :: std :: option :: Option < unsafe extern "C" fn ( source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void ) > ; pub type GLDEBUGPROCARB = :: std :: option :: Option < unsafe extern "C" fn ( source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void ) > ; pub type GLDEBUGPROCKHR = :: std :: option :: Option < unsafe extern "C" fn ( source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void ) > ; pub type GLDEBUGPROCAMD = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , category : GLenum , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * mut :: std :: os :: raw :: c_void ) > ; pub type GLhalfNV = :: std :: os :: raw :: c_ushort ; pub type GLvdpauSurfaceNV = GLintptr ; pub type GLVULKANPROCNV = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut GLAD_GL_VERSION_1_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCULLFACEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glCullFace : PFNGLCULLFACEPROC ; } pub type PFNGLFRONTFACEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glFrontFace : PFNGLFRONTFACEPROC ; } pub type PFNGLHINTPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , mode : GLenum ) > ; extern "C" { pub static mut glad_glHint : PFNGLHINTPROC ; } pub type PFNGLLINEWIDTHPROC = :: std :: option :: Option < unsafe extern "C" fn ( width : GLfloat ) > ; extern "C" { pub static mut glad_glLineWidth : PFNGLLINEWIDTHPROC ; } pub type PFNGLPOINTSIZEPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLfloat ) > ; extern "C" { pub static mut glad_glPointSize : PFNGLPOINTSIZEPROC ; } pub type PFNGLPOLYGONMODEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , mode : GLenum ) > ; extern "C" { pub static mut glad_glPolygonMode : PFNGLPOLYGONMODEPROC ; } pub type PFNGLSCISSORPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glScissor : PFNGLSCISSORPROC ; } pub type PFNGLTEXPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glTexParameterf : PFNGLTEXPARAMETERFPROC ; } pub type PFNGLTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexParameterfv : PFNGLTEXPARAMETERFVPROC ; } pub type PFNGLTEXPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glTexParameteri : PFNGLTEXPARAMETERIPROC ; } pub type PFNGLTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexParameteriv : PFNGLTEXPARAMETERIVPROC ; } pub type PFNGLTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexImage1D : PFNGLTEXIMAGE1DPROC ; } pub type PFNGLTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexImage2D : PFNGLTEXIMAGE2DPROC ; } pub type PFNGLDRAWBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( buf : GLenum ) > ; extern "C" { pub static mut glad_glDrawBuffer : PFNGLDRAWBUFFERPROC ; } pub type PFNGLCLEARPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLbitfield ) > ; extern "C" { pub static mut glad_glClear : PFNGLCLEARPROC ; } pub type PFNGLCLEARCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glClearColor : PFNGLCLEARCOLORPROC ; } pub type PFNGLCLEARSTENCILPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint ) > ; extern "C" { pub static mut glad_glClearStencil : PFNGLCLEARSTENCILPROC ; } pub type PFNGLCLEARDEPTHPROC = :: std :: option :: Option < unsafe extern "C" fn ( depth : GLdouble ) > ; extern "C" { pub static mut glad_glClearDepth : PFNGLCLEARDEPTHPROC ; } pub type PFNGLSTENCILMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilMask : PFNGLSTENCILMASKPROC ; } pub type PFNGLCOLORMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLboolean , green : GLboolean , blue : GLboolean , alpha : GLboolean ) > ; extern "C" { pub static mut glad_glColorMask : PFNGLCOLORMASKPROC ; } pub type PFNGLDEPTHMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( flag : GLboolean ) > ; extern "C" { pub static mut glad_glDepthMask : PFNGLDEPTHMASKPROC ; } pub type PFNGLDISABLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( cap : GLenum ) > ; extern "C" { pub static mut glad_glDisable : PFNGLDISABLEPROC ; } pub type PFNGLENABLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( cap : GLenum ) > ; extern "C" { pub static mut glad_glEnable : PFNGLENABLEPROC ; } pub type PFNGLFINISHPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glFinish : PFNGLFINISHPROC ; } pub type PFNGLFLUSHPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glFlush : PFNGLFLUSHPROC ; } pub type PFNGLBLENDFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sfactor : GLenum , dfactor : GLenum ) > ; extern "C" { pub static mut glad_glBlendFunc : PFNGLBLENDFUNCPROC ; } pub type PFNGLLOGICOPPROC = :: std :: option :: Option < unsafe extern "C" fn ( opcode : GLenum ) > ; extern "C" { pub static mut glad_glLogicOp : PFNGLLOGICOPPROC ; } pub type PFNGLSTENCILFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( func : GLenum , ref_ : GLint , mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilFunc : PFNGLSTENCILFUNCPROC ; } pub type PFNGLSTENCILOPPROC = :: std :: option :: Option < unsafe extern "C" fn ( fail : GLenum , zfail : GLenum , zpass : GLenum ) > ; extern "C" { pub static mut glad_glStencilOp : PFNGLSTENCILOPPROC ; } pub type PFNGLDEPTHFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( func : GLenum ) > ; extern "C" { pub static mut glad_glDepthFunc : PFNGLDEPTHFUNCPROC ; } pub type PFNGLPIXELSTOREFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glPixelStoref : PFNGLPIXELSTOREFPROC ; } pub type PFNGLPIXELSTOREIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glPixelStorei : PFNGLPIXELSTOREIPROC ; } pub type PFNGLREADBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( src : GLenum ) > ; extern "C" { pub static mut glad_glReadBuffer : PFNGLREADBUFFERPROC ; } pub type PFNGLREADPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glReadPixels : PFNGLREADPIXELSPROC ; } pub type PFNGLGETBOOLEANVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLboolean ) > ; extern "C" { pub static mut glad_glGetBooleanv : PFNGLGETBOOLEANVPROC ; } pub type PFNGLGETDOUBLEVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetDoublev : PFNGLGETDOUBLEVPROC ; } pub type PFNGLGETERRORPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) -> GLenum > ; extern "C" { pub static mut glad_glGetError : PFNGLGETERRORPROC ; } pub type PFNGLGETFLOATVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetFloatv : PFNGLGETFLOATVPROC ; } pub type PFNGLGETINTEGERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLint ) > ; extern "C" { pub static mut glad_glGetIntegerv : PFNGLGETINTEGERVPROC ; } pub type PFNGLGETSTRINGPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLenum ) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetString : PFNGLGETSTRINGPROC ; } pub type PFNGLGETTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetTexImage : PFNGLGETTEXIMAGEPROC ; } pub type PFNGLGETTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexParameterfv : PFNGLGETTEXPARAMETERFVPROC ; } pub type PFNGLGETTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexParameteriv : PFNGLGETTEXPARAMETERIVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexLevelParameterfv : PFNGLGETTEXLEVELPARAMETERFVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexLevelParameteriv : PFNGLGETTEXLEVELPARAMETERIVPROC ; } pub type PFNGLISENABLEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( cap : GLenum ) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabled : PFNGLISENABLEDPROC ; } pub type PFNGLDEPTHRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLdouble , f : GLdouble ) > ; extern "C" { pub static mut glad_glDepthRange : PFNGLDEPTHRANGEPROC ; } pub type PFNGLVIEWPORTPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glViewport : PFNGLVIEWPORTPROC ; } pub type PFNGLNEWLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint , mode : GLenum ) > ; extern "C" { pub static mut glad_glNewList : PFNGLNEWLISTPROC ; } pub type PFNGLENDLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEndList : PFNGLENDLISTPROC ; } pub type PFNGLCALLLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint ) > ; extern "C" { pub static mut glad_glCallList : PFNGLCALLLISTPROC ; } pub type PFNGLCALLLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , type_ : GLenum , lists : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCallLists : PFNGLCALLLISTSPROC ; } pub type PFNGLDELETELISTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint , range : GLsizei ) > ; extern "C" { pub static mut glad_glDeleteLists : PFNGLDELETELISTSPROC ; } pub type PFNGLGENLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( range : GLsizei ) -> GLuint > ; extern "C" { pub static mut glad_glGenLists : PFNGLGENLISTSPROC ; } pub type PFNGLLISTBASEPROC = :: std :: option :: Option < unsafe extern "C" fn ( base : GLuint ) > ; extern "C" { pub static mut glad_glListBase : PFNGLLISTBASEPROC ; } pub type PFNGLBEGINPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glBegin : PFNGLBEGINPROC ; } pub type PFNGLBITMAPPROC = :: std :: option :: Option < unsafe extern "C" fn ( width : GLsizei , height : GLsizei , xorig : GLfloat , yorig : GLfloat , xmove : GLfloat , ymove : GLfloat , bitmap : * const GLubyte ) > ; extern "C" { pub static mut glad_glBitmap : PFNGLBITMAPPROC ; } pub type PFNGLCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLbyte , green : GLbyte , blue : GLbyte ) > ; extern "C" { pub static mut glad_glColor3b : PFNGLCOLOR3BPROC ; } pub type PFNGLCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glColor3bv : PFNGLCOLOR3BVPROC ; } pub type PFNGLCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLdouble , green : GLdouble , blue : GLdouble ) > ; extern "C" { pub static mut glad_glColor3d : PFNGLCOLOR3DPROC ; } pub type PFNGLCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glColor3dv : PFNGLCOLOR3DVPROC ; } pub type PFNGLCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat ) > ; extern "C" { pub static mut glad_glColor3f : PFNGLCOLOR3FPROC ; } pub type PFNGLCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glColor3fv : PFNGLCOLOR3FVPROC ; } pub type PFNGLCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLint , green : GLint , blue : GLint ) > ; extern "C" { pub static mut glad_glColor3i : PFNGLCOLOR3IPROC ; } pub type PFNGLCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glColor3iv : PFNGLCOLOR3IVPROC ; } pub type PFNGLCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLshort , green : GLshort , blue : GLshort ) > ; extern "C" { pub static mut glad_glColor3s : PFNGLCOLOR3SPROC ; } pub type PFNGLCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glColor3sv : PFNGLCOLOR3SVPROC ; } pub type PFNGLCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLubyte , green : GLubyte , blue : GLubyte ) > ; extern "C" { pub static mut glad_glColor3ub : PFNGLCOLOR3UBPROC ; } pub type PFNGLCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLubyte ) > ; extern "C" { pub static mut glad_glColor3ubv : PFNGLCOLOR3UBVPROC ; } pub type PFNGLCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLuint , green : GLuint , blue : GLuint ) > ; extern "C" { pub static mut glad_glColor3ui : PFNGLCOLOR3UIPROC ; } pub type PFNGLCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLuint ) > ; extern "C" { pub static mut glad_glColor3uiv : PFNGLCOLOR3UIVPROC ; } pub type PFNGLCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLushort , green : GLushort , blue : GLushort ) > ; extern "C" { pub static mut glad_glColor3us : PFNGLCOLOR3USPROC ; } pub type PFNGLCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLushort ) > ; extern "C" { pub static mut glad_glColor3usv : PFNGLCOLOR3USVPROC ; } pub type PFNGLCOLOR4BPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLbyte , green : GLbyte , blue : GLbyte , alpha : GLbyte ) > ; extern "C" { pub static mut glad_glColor4b : PFNGLCOLOR4BPROC ; } pub type PFNGLCOLOR4BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glColor4bv : PFNGLCOLOR4BVPROC ; } pub type PFNGLCOLOR4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLdouble , green : GLdouble , blue : GLdouble , alpha : GLdouble ) > ; extern "C" { pub static mut glad_glColor4d : PFNGLCOLOR4DPROC ; } pub type PFNGLCOLOR4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glColor4dv : PFNGLCOLOR4DVPROC ; } pub type PFNGLCOLOR4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glColor4f : PFNGLCOLOR4FPROC ; } pub type PFNGLCOLOR4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glColor4fv : PFNGLCOLOR4FVPROC ; } pub type PFNGLCOLOR4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLint , green : GLint , blue : GLint , alpha : GLint ) > ; extern "C" { pub static mut glad_glColor4i : PFNGLCOLOR4IPROC ; } pub type PFNGLCOLOR4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glColor4iv : PFNGLCOLOR4IVPROC ; } pub type PFNGLCOLOR4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLshort , green : GLshort , blue : GLshort , alpha : GLshort ) > ; extern "C" { pub static mut glad_glColor4s : PFNGLCOLOR4SPROC ; } pub type PFNGLCOLOR4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glColor4sv : PFNGLCOLOR4SVPROC ; } pub type PFNGLCOLOR4UBPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLubyte , green : GLubyte , blue : GLubyte , alpha : GLubyte ) > ; extern "C" { pub static mut glad_glColor4ub : PFNGLCOLOR4UBPROC ; } pub type PFNGLCOLOR4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLubyte ) > ; extern "C" { pub static mut glad_glColor4ubv : PFNGLCOLOR4UBVPROC ; } pub type PFNGLCOLOR4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLuint , green : GLuint , blue : GLuint , alpha : GLuint ) > ; extern "C" { pub static mut glad_glColor4ui : PFNGLCOLOR4UIPROC ; } pub type PFNGLCOLOR4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLuint ) > ; extern "C" { pub static mut glad_glColor4uiv : PFNGLCOLOR4UIVPROC ; } pub type PFNGLCOLOR4USPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLushort , green : GLushort , blue : GLushort , alpha : GLushort ) > ; extern "C" { pub static mut glad_glColor4us : PFNGLCOLOR4USPROC ; } pub type PFNGLCOLOR4USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLushort ) > ; extern "C" { pub static mut glad_glColor4usv : PFNGLCOLOR4USVPROC ; } pub type PFNGLEDGEFLAGPROC = :: std :: option :: Option < unsafe extern "C" fn ( flag : GLboolean ) > ; extern "C" { pub static mut glad_glEdgeFlag : PFNGLEDGEFLAGPROC ; } pub type PFNGLEDGEFLAGVPROC = :: std :: option :: Option < unsafe extern "C" fn ( flag : * const GLboolean ) > ; extern "C" { pub static mut glad_glEdgeFlagv : PFNGLEDGEFLAGVPROC ; } pub type PFNGLENDPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEnd : PFNGLENDPROC ; } pub type PFNGLINDEXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLdouble ) > ; extern "C" { pub static mut glad_glIndexd : PFNGLINDEXDPROC ; } pub type PFNGLINDEXDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLdouble ) > ; extern "C" { pub static mut glad_glIndexdv : PFNGLINDEXDVPROC ; } pub type PFNGLINDEXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLfloat ) > ; extern "C" { pub static mut glad_glIndexf : PFNGLINDEXFPROC ; } pub type PFNGLINDEXFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLfloat ) > ; extern "C" { pub static mut glad_glIndexfv : PFNGLINDEXFVPROC ; } pub type PFNGLINDEXIPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLint ) > ; extern "C" { pub static mut glad_glIndexi : PFNGLINDEXIPROC ; } pub type PFNGLINDEXIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLint ) > ; extern "C" { pub static mut glad_glIndexiv : PFNGLINDEXIVPROC ; } pub type PFNGLINDEXSPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLshort ) > ; extern "C" { pub static mut glad_glIndexs : PFNGLINDEXSPROC ; } pub type PFNGLINDEXSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLshort ) > ; extern "C" { pub static mut glad_glIndexsv : PFNGLINDEXSVPROC ; } pub type PFNGLNORMAL3BPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLbyte , ny : GLbyte , nz : GLbyte ) > ; extern "C" { pub static mut glad_glNormal3b : PFNGLNORMAL3BPROC ; } pub type PFNGLNORMAL3BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glNormal3bv : PFNGLNORMAL3BVPROC ; } pub type PFNGLNORMAL3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLdouble , ny : GLdouble , nz : GLdouble ) > ; extern "C" { pub static mut glad_glNormal3d : PFNGLNORMAL3DPROC ; } pub type PFNGLNORMAL3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glNormal3dv : PFNGLNORMAL3DVPROC ; } pub type PFNGLNORMAL3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLfloat , ny : GLfloat , nz : GLfloat ) > ; extern "C" { pub static mut glad_glNormal3f : PFNGLNORMAL3FPROC ; } pub type PFNGLNORMAL3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glNormal3fv : PFNGLNORMAL3FVPROC ; } pub type PFNGLNORMAL3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLint , ny : GLint , nz : GLint ) > ; extern "C" { pub static mut glad_glNormal3i : PFNGLNORMAL3IPROC ; } pub type PFNGLNORMAL3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glNormal3iv : PFNGLNORMAL3IVPROC ; } pub type PFNGLNORMAL3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLshort , ny : GLshort , nz : GLshort ) > ; extern "C" { pub static mut glad_glNormal3s : PFNGLNORMAL3SPROC ; } pub type PFNGLNORMAL3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glNormal3sv : PFNGLNORMAL3SVPROC ; } pub type PFNGLRASTERPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos2d : PFNGLRASTERPOS2DPROC ; } pub type PFNGLRASTERPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos2dv : PFNGLRASTERPOS2DVPROC ; } pub type PFNGLRASTERPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos2f : PFNGLRASTERPOS2FPROC ; } pub type PFNGLRASTERPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos2fv : PFNGLRASTERPOS2FVPROC ; } pub type PFNGLRASTERPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glRasterPos2i : PFNGLRASTERPOS2IPROC ; } pub type PFNGLRASTERPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glRasterPos2iv : PFNGLRASTERPOS2IVPROC ; } pub type PFNGLRASTERPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glRasterPos2s : PFNGLRASTERPOS2SPROC ; } pub type PFNGLRASTERPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glRasterPos2sv : PFNGLRASTERPOS2SVPROC ; } pub type PFNGLRASTERPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos3d : PFNGLRASTERPOS3DPROC ; } pub type PFNGLRASTERPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos3dv : PFNGLRASTERPOS3DVPROC ; } pub type PFNGLRASTERPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos3f : PFNGLRASTERPOS3FPROC ; } pub type PFNGLRASTERPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos3fv : PFNGLRASTERPOS3FVPROC ; } pub type PFNGLRASTERPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glRasterPos3i : PFNGLRASTERPOS3IPROC ; } pub type PFNGLRASTERPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glRasterPos3iv : PFNGLRASTERPOS3IVPROC ; } pub type PFNGLRASTERPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glRasterPos3s : PFNGLRASTERPOS3SPROC ; } pub type PFNGLRASTERPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glRasterPos3sv : PFNGLRASTERPOS3SVPROC ; } pub type PFNGLRASTERPOS4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos4d : PFNGLRASTERPOS4DPROC ; } pub type PFNGLRASTERPOS4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos4dv : PFNGLRASTERPOS4DVPROC ; } pub type PFNGLRASTERPOS4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos4f : PFNGLRASTERPOS4FPROC ; } pub type PFNGLRASTERPOS4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos4fv : PFNGLRASTERPOS4FVPROC ; } pub type PFNGLRASTERPOS4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint , w : GLint ) > ; extern "C" { pub static mut glad_glRasterPos4i : PFNGLRASTERPOS4IPROC ; } pub type PFNGLRASTERPOS4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glRasterPos4iv : PFNGLRASTERPOS4IVPROC ; } pub type PFNGLRASTERPOS4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort , w : GLshort ) > ; extern "C" { pub static mut glad_glRasterPos4s : PFNGLRASTERPOS4SPROC ; } pub type PFNGLRASTERPOS4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glRasterPos4sv : PFNGLRASTERPOS4SVPROC ; } pub type PFNGLRECTDPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLdouble , y1 : GLdouble , x2 : GLdouble , y2 : GLdouble ) > ; extern "C" { pub static mut glad_glRectd : PFNGLRECTDPROC ; } pub type PFNGLRECTDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLdouble , v2 : * const GLdouble ) > ; extern "C" { pub static mut glad_glRectdv : PFNGLRECTDVPROC ; } pub type PFNGLRECTFPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLfloat , y1 : GLfloat , x2 : GLfloat , y2 : GLfloat ) > ; extern "C" { pub static mut glad_glRectf : PFNGLRECTFPROC ; } pub type PFNGLRECTFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLfloat , v2 : * const GLfloat ) > ; extern "C" { pub static mut glad_glRectfv : PFNGLRECTFVPROC ; } pub type PFNGLRECTIPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLint , y1 : GLint , x2 : GLint , y2 : GLint ) > ; extern "C" { pub static mut glad_glRecti : PFNGLRECTIPROC ; } pub type PFNGLRECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLint , v2 : * const GLint ) > ; extern "C" { pub static mut glad_glRectiv : PFNGLRECTIVPROC ; } pub type PFNGLRECTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLshort , y1 : GLshort , x2 : GLshort , y2 : GLshort ) > ; extern "C" { pub static mut glad_glRects : PFNGLRECTSPROC ; } pub type PFNGLRECTSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLshort , v2 : * const GLshort ) > ; extern "C" { pub static mut glad_glRectsv : PFNGLRECTSVPROC ; } pub type PFNGLTEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord1d : PFNGLTEXCOORD1DPROC ; } pub type PFNGLTEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord1dv : PFNGLTEXCOORD1DVPROC ; } pub type PFNGLTEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord1f : PFNGLTEXCOORD1FPROC ; } pub type PFNGLTEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord1fv : PFNGLTEXCOORD1FVPROC ; } pub type PFNGLTEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint ) > ; extern "C" { pub static mut glad_glTexCoord1i : PFNGLTEXCOORD1IPROC ; } pub type PFNGLTEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord1iv : PFNGLTEXCOORD1IVPROC ; } pub type PFNGLTEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord1s : PFNGLTEXCOORD1SPROC ; } pub type PFNGLTEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord1sv : PFNGLTEXCOORD1SVPROC ; } pub type PFNGLTEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble , t : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord2d : PFNGLTEXCOORD2DPROC ; } pub type PFNGLTEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord2dv : PFNGLTEXCOORD2DVPROC ; } pub type PFNGLTEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat , t : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord2f : PFNGLTEXCOORD2FPROC ; } pub type PFNGLTEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord2fv : PFNGLTEXCOORD2FVPROC ; } pub type PFNGLTEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint , t : GLint ) > ; extern "C" { pub static mut glad_glTexCoord2i : PFNGLTEXCOORD2IPROC ; } pub type PFNGLTEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord2iv : PFNGLTEXCOORD2IVPROC ; } pub type PFNGLTEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort , t : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord2s : PFNGLTEXCOORD2SPROC ; } pub type PFNGLTEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord2sv : PFNGLTEXCOORD2SVPROC ; } pub type PFNGLTEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble , t : GLdouble , r : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord3d : PFNGLTEXCOORD3DPROC ; } pub type PFNGLTEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord3dv : PFNGLTEXCOORD3DVPROC ; } pub type PFNGLTEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat , t : GLfloat , r : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord3f : PFNGLTEXCOORD3FPROC ; } pub type PFNGLTEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord3fv : PFNGLTEXCOORD3FVPROC ; } pub type PFNGLTEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint , t : GLint , r : GLint ) > ; extern "C" { pub static mut glad_glTexCoord3i : PFNGLTEXCOORD3IPROC ; } pub type PFNGLTEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord3iv : PFNGLTEXCOORD3IVPROC ; } pub type PFNGLTEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort , t : GLshort , r : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord3s : PFNGLTEXCOORD3SPROC ; } pub type PFNGLTEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord3sv : PFNGLTEXCOORD3SVPROC ; } pub type PFNGLTEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord4d : PFNGLTEXCOORD4DPROC ; } pub type PFNGLTEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord4dv : PFNGLTEXCOORD4DVPROC ; } pub type PFNGLTEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord4f : PFNGLTEXCOORD4FPROC ; } pub type PFNGLTEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord4fv : PFNGLTEXCOORD4FVPROC ; } pub type PFNGLTEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint , t : GLint , r : GLint , q : GLint ) > ; extern "C" { pub static mut glad_glTexCoord4i : PFNGLTEXCOORD4IPROC ; } pub type PFNGLTEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord4iv : PFNGLTEXCOORD4IVPROC ; } pub type PFNGLTEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort , t : GLshort , r : GLshort , q : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord4s : PFNGLTEXCOORD4SPROC ; } pub type PFNGLTEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord4sv : PFNGLTEXCOORD4SVPROC ; } pub type PFNGLVERTEX2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glVertex2d : PFNGLVERTEX2DPROC ; } pub type PFNGLVERTEX2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertex2dv : PFNGLVERTEX2DVPROC ; } pub type PFNGLVERTEX2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glVertex2f : PFNGLVERTEX2FPROC ; } pub type PFNGLVERTEX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertex2fv : PFNGLVERTEX2FVPROC ; } pub type PFNGLVERTEX2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glVertex2i : PFNGLVERTEX2IPROC ; } pub type PFNGLVERTEX2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glVertex2iv : PFNGLVERTEX2IVPROC ; } pub type PFNGLVERTEX2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glVertex2s : PFNGLVERTEX2SPROC ; } pub type PFNGLVERTEX2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertex2sv : PFNGLVERTEX2SVPROC ; } pub type PFNGLVERTEX3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glVertex3d : PFNGLVERTEX3DPROC ; } pub type PFNGLVERTEX3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertex3dv : PFNGLVERTEX3DVPROC ; } pub type PFNGLVERTEX3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glVertex3f : PFNGLVERTEX3FPROC ; } pub type PFNGLVERTEX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertex3fv : PFNGLVERTEX3FVPROC ; } pub type PFNGLVERTEX3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glVertex3i : PFNGLVERTEX3IPROC ; } pub type PFNGLVERTEX3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glVertex3iv : PFNGLVERTEX3IVPROC ; } pub type PFNGLVERTEX3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glVertex3s : PFNGLVERTEX3SPROC ; } pub type PFNGLVERTEX3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertex3sv : PFNGLVERTEX3SVPROC ; } pub type PFNGLVERTEX4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble ) > ; extern "C" { pub static mut glad_glVertex4d : PFNGLVERTEX4DPROC ; } pub type PFNGLVERTEX4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertex4dv : PFNGLVERTEX4DVPROC ; } pub type PFNGLVERTEX4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat ) > ; extern "C" { pub static mut glad_glVertex4f : PFNGLVERTEX4FPROC ; } pub type PFNGLVERTEX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertex4fv : PFNGLVERTEX4FVPROC ; } pub type PFNGLVERTEX4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint , w : GLint ) > ; extern "C" { pub static mut glad_glVertex4i : PFNGLVERTEX4IPROC ; } pub type PFNGLVERTEX4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glVertex4iv : PFNGLVERTEX4IVPROC ; } pub type PFNGLVERTEX4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort , w : GLshort ) > ; extern "C" { pub static mut glad_glVertex4s : PFNGLVERTEX4SPROC ; } pub type PFNGLVERTEX4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertex4sv : PFNGLVERTEX4SVPROC ; } pub type PFNGLCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn ( plane : GLenum , equation : * const GLdouble ) > ; extern "C" { pub static mut glad_glClipPlane : PFNGLCLIPPLANEPROC ; } pub type PFNGLCOLORMATERIALPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , mode : GLenum ) > ; extern "C" { pub static mut glad_glColorMaterial : PFNGLCOLORMATERIALPROC ; } pub type PFNGLFOGFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glFogf : PFNGLFOGFPROC ; } pub type PFNGLFOGFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glFogfv : PFNGLFOGFVPROC ; } pub type PFNGLFOGIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glFogi : PFNGLFOGIPROC ; } pub type PFNGLFOGIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glFogiv : PFNGLFOGIVPROC ; } pub type PFNGLLIGHTFPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glLightf : PFNGLLIGHTFPROC ; } pub type PFNGLLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glLightfv : PFNGLLIGHTFVPROC ; } pub type PFNGLLIGHTIPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glLighti : PFNGLLIGHTIPROC ; } pub type PFNGLLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glLightiv : PFNGLLIGHTIVPROC ; } pub type PFNGLLIGHTMODELFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glLightModelf : PFNGLLIGHTMODELFPROC ; } pub type PFNGLLIGHTMODELFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glLightModelfv : PFNGLLIGHTMODELFVPROC ; } pub type PFNGLLIGHTMODELIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glLightModeli : PFNGLLIGHTMODELIPROC ; } pub type PFNGLLIGHTMODELIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glLightModeliv : PFNGLLIGHTMODELIVPROC ; } pub type PFNGLLINESTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( factor : GLint , pattern : GLushort ) > ; extern "C" { pub static mut glad_glLineStipple : PFNGLLINESTIPPLEPROC ; } pub type PFNGLMATERIALFPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glMaterialf : PFNGLMATERIALFPROC ; } pub type PFNGLMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glMaterialfv : PFNGLMATERIALFVPROC ; } pub type PFNGLMATERIALIPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glMateriali : PFNGLMATERIALIPROC ; } pub type PFNGLMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glMaterialiv : PFNGLMATERIALIVPROC ; } pub type PFNGLPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : * const GLubyte ) > ; extern "C" { pub static mut glad_glPolygonStipple : PFNGLPOLYGONSTIPPLEPROC ; } pub type PFNGLSHADEMODELPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glShadeModel : PFNGLSHADEMODELPROC ; } pub type PFNGLTEXENVFPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glTexEnvf : PFNGLTEXENVFPROC ; } pub type PFNGLTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexEnvfv : PFNGLTEXENVFVPROC ; } pub type PFNGLTEXENVIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glTexEnvi : PFNGLTEXENVIPROC ; } pub type PFNGLTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexEnviv : PFNGLTEXENVIVPROC ; } pub type PFNGLTEXGENDPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , param : GLdouble ) > ; extern "C" { pub static mut glad_glTexGend : PFNGLTEXGENDPROC ; } pub type PFNGLTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexGendv : PFNGLTEXGENDVPROC ; } pub type PFNGLTEXGENFPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glTexGenf : PFNGLTEXGENFPROC ; } pub type PFNGLTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexGenfv : PFNGLTEXGENFVPROC ; } pub type PFNGLTEXGENIPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glTexGeni : PFNGLTEXGENIPROC ; } pub type PFNGLTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexGeniv : PFNGLTEXGENIVPROC ; } pub type PFNGLFEEDBACKBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLsizei , type_ : GLenum , buffer : * mut GLfloat ) > ; extern "C" { pub static mut glad_glFeedbackBuffer : PFNGLFEEDBACKBUFFERPROC ; } pub type PFNGLSELECTBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLsizei , buffer : * mut GLuint ) > ; extern "C" { pub static mut glad_glSelectBuffer : PFNGLSELECTBUFFERPROC ; } pub type PFNGLRENDERMODEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) -> GLint > ; extern "C" { pub static mut glad_glRenderMode : PFNGLRENDERMODEPROC ; } pub type PFNGLINITNAMESPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glInitNames : PFNGLINITNAMESPROC ; } pub type PFNGLLOADNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLuint ) > ; extern "C" { pub static mut glad_glLoadName : PFNGLLOADNAMEPROC ; } pub type PFNGLPASSTHROUGHPROC = :: std :: option :: Option < unsafe extern "C" fn ( token : GLfloat ) > ; extern "C" { pub static mut glad_glPassThrough : PFNGLPASSTHROUGHPROC ; } pub type PFNGLPOPNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopName : PFNGLPOPNAMEPROC ; } pub type PFNGLPUSHNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLuint ) > ; extern "C" { pub static mut glad_glPushName : PFNGLPUSHNAMEPROC ; } pub type PFNGLCLEARACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glClearAccum : PFNGLCLEARACCUMPROC ; } pub type PFNGLCLEARINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLfloat ) > ; extern "C" { pub static mut glad_glClearIndex : PFNGLCLEARINDEXPROC ; } pub type PFNGLINDEXMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLuint ) > ; extern "C" { pub static mut glad_glIndexMask : PFNGLINDEXMASKPROC ; } pub type PFNGLACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn ( op : GLenum , value : GLfloat ) > ; extern "C" { pub static mut glad_glAccum : PFNGLACCUMPROC ; } pub type PFNGLPOPATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopAttrib : PFNGLPOPATTRIBPROC ; } pub type PFNGLPUSHATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLbitfield ) > ; extern "C" { pub static mut glad_glPushAttrib : PFNGLPUSHATTRIBPROC ; } pub type PFNGLMAP1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLdouble , u2 : GLdouble , stride : GLint , order : GLint , points : * const GLdouble ) > ; extern "C" { pub static mut glad_glMap1d : PFNGLMAP1DPROC ; } pub type PFNGLMAP1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLfloat , u2 : GLfloat , stride : GLint , order : GLint , points : * const GLfloat ) > ; extern "C" { pub static mut glad_glMap1f : PFNGLMAP1FPROC ; } pub type PFNGLMAP2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLdouble , u2 : GLdouble , ustride : GLint , uorder : GLint , v1 : GLdouble , v2 : GLdouble , vstride : GLint , vorder : GLint , points : * const GLdouble ) > ; extern "C" { pub static mut glad_glMap2d : PFNGLMAP2DPROC ; } pub type PFNGLMAP2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLfloat , u2 : GLfloat , ustride : GLint , uorder : GLint , v1 : GLfloat , v2 : GLfloat , vstride : GLint , vorder : GLint , points : * const GLfloat ) > ; extern "C" { pub static mut glad_glMap2f : PFNGLMAP2FPROC ; } pub type PFNGLMAPGRID1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLdouble , u2 : GLdouble ) > ; extern "C" { pub static mut glad_glMapGrid1d : PFNGLMAPGRID1DPROC ; } pub type PFNGLMAPGRID1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLfloat , u2 : GLfloat ) > ; extern "C" { pub static mut glad_glMapGrid1f : PFNGLMAPGRID1FPROC ; } pub type PFNGLMAPGRID2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLdouble , u2 : GLdouble , vn : GLint , v1 : GLdouble , v2 : GLdouble ) > ; extern "C" { pub static mut glad_glMapGrid2d : PFNGLMAPGRID2DPROC ; } pub type PFNGLMAPGRID2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLfloat , u2 : GLfloat , vn : GLint , v1 : GLfloat , v2 : GLfloat ) > ; extern "C" { pub static mut glad_glMapGrid2f : PFNGLMAPGRID2FPROC ; } pub type PFNGLEVALCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord1d : PFNGLEVALCOORD1DPROC ; } pub type PFNGLEVALCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord1dv : PFNGLEVALCOORD1DVPROC ; } pub type PFNGLEVALCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord1f : PFNGLEVALCOORD1FPROC ; } pub type PFNGLEVALCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord1fv : PFNGLEVALCOORD1FVPROC ; } pub type PFNGLEVALCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLdouble , v : GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord2d : PFNGLEVALCOORD2DPROC ; } pub type PFNGLEVALCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord2dv : PFNGLEVALCOORD2DVPROC ; } pub type PFNGLEVALCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLfloat , v : GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord2f : PFNGLEVALCOORD2FPROC ; } pub type PFNGLEVALCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord2fv : PFNGLEVALCOORD2FVPROC ; } pub type PFNGLEVALMESH1PROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , i1 : GLint , i2 : GLint ) > ; extern "C" { pub static mut glad_glEvalMesh1 : PFNGLEVALMESH1PROC ; } pub type PFNGLEVALPOINT1PROC = :: std :: option :: Option < unsafe extern "C" fn ( i : GLint ) > ; extern "C" { pub static mut glad_glEvalPoint1 : PFNGLEVALPOINT1PROC ; } pub type PFNGLEVALMESH2PROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , i1 : GLint , i2 : GLint , j1 : GLint , j2 : GLint ) > ; extern "C" { pub static mut glad_glEvalMesh2 : PFNGLEVALMESH2PROC ; } pub type PFNGLEVALPOINT2PROC = :: std :: option :: Option < unsafe extern "C" fn ( i : GLint , j : GLint ) > ; extern "C" { pub static mut glad_glEvalPoint2 : PFNGLEVALPOINT2PROC ; } pub type PFNGLALPHAFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( func : GLenum , ref_ : GLfloat ) > ; extern "C" { pub static mut glad_glAlphaFunc : PFNGLALPHAFUNCPROC ; } pub type PFNGLPIXELZOOMPROC = :: std :: option :: Option < unsafe extern "C" fn ( xfactor : GLfloat , yfactor : GLfloat ) > ; extern "C" { pub static mut glad_glPixelZoom : PFNGLPIXELZOOMPROC ; } pub type PFNGLPIXELTRANSFERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glPixelTransferf : PFNGLPIXELTRANSFERFPROC ; } pub type PFNGLPIXELTRANSFERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glPixelTransferi : PFNGLPIXELTRANSFERIPROC ; } pub type PFNGLPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , mapsize : GLsizei , values : * const GLfloat ) > ; extern "C" { pub static mut glad_glPixelMapfv : PFNGLPIXELMAPFVPROC ; } pub type PFNGLPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , mapsize : GLsizei , values : * const GLuint ) > ; extern "C" { pub static mut glad_glPixelMapuiv : PFNGLPIXELMAPUIVPROC ; } pub type PFNGLPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , mapsize : GLsizei , values : * const GLushort ) > ; extern "C" { pub static mut glad_glPixelMapusv : PFNGLPIXELMAPUSVPROC ; } pub type PFNGLCOPYPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei , type_ : GLenum ) > ; extern "C" { pub static mut glad_glCopyPixels : PFNGLCOPYPIXELSPROC ; } pub type PFNGLDRAWPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn ( width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glDrawPixels : PFNGLDRAWPIXELSPROC ; } pub type PFNGLGETCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn ( plane : GLenum , equation : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetClipPlane : PFNGLGETCLIPPLANEPROC ; } pub type PFNGLGETLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetLightfv : PFNGLGETLIGHTFVPROC ; } pub type PFNGLGETLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetLightiv : PFNGLGETLIGHTIVPROC ; } pub type PFNGLGETMAPDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , query : GLenum , v : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetMapdv : PFNGLGETMAPDVPROC ; } pub type PFNGLGETMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , query : GLenum , v : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetMapfv : PFNGLGETMAPFVPROC ; } pub type PFNGLGETMAPIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , query : GLenum , v : * mut GLint ) > ; extern "C" { pub static mut glad_glGetMapiv : PFNGLGETMAPIVPROC ; } pub type PFNGLGETMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetMaterialfv : PFNGLGETMATERIALFVPROC ; } pub type PFNGLGETMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetMaterialiv : PFNGLGETMATERIALIVPROC ; } pub type PFNGLGETPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , values : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetPixelMapfv : PFNGLGETPIXELMAPFVPROC ; } pub type PFNGLGETPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , values : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetPixelMapuiv : PFNGLGETPIXELMAPUIVPROC ; } pub type PFNGLGETPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , values : * mut GLushort ) > ; extern "C" { pub static mut glad_glGetPixelMapusv : PFNGLGETPIXELMAPUSVPROC ; } pub type PFNGLGETPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : * mut GLubyte ) > ; extern "C" { pub static mut glad_glGetPolygonStipple : PFNGLGETPOLYGONSTIPPLEPROC ; } pub type PFNGLGETTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexEnvfv : PFNGLGETTEXENVFVPROC ; } pub type PFNGLGETTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexEnviv : PFNGLGETTEXENVIVPROC ; } pub type PFNGLGETTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetTexGendv : PFNGLGETTEXGENDVPROC ; } pub type PFNGLGETTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexGenfv : PFNGLGETTEXGENFVPROC ; } pub type PFNGLGETTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexGeniv : PFNGLGETTEXGENIVPROC ; } pub type PFNGLISLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsList : PFNGLISLISTPROC ; } pub type PFNGLFRUSTUMPROC = :: std :: option :: Option < unsafe extern "C" fn ( left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble ) > ; extern "C" { pub static mut glad_glFrustum : PFNGLFRUSTUMPROC ; } pub type PFNGLLOADIDENTITYPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glLoadIdentity : PFNGLLOADIDENTITYPROC ; } pub type PFNGLLOADMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glLoadMatrixf : PFNGLLOADMATRIXFPROC ; } pub type PFNGLLOADMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glLoadMatrixd : PFNGLLOADMATRIXDPROC ; } pub type PFNGLMATRIXMODEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glMatrixMode : PFNGLMATRIXMODEPROC ; } pub type PFNGLMULTMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultMatrixf : PFNGLMULTMATRIXFPROC ; } pub type PFNGLMULTMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultMatrixd : PFNGLMULTMATRIXDPROC ; } pub type PFNGLORTHOPROC = :: std :: option :: Option < unsafe extern "C" fn ( left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble ) > ; extern "C" { pub static mut glad_glOrtho : PFNGLORTHOPROC ; } pub type PFNGLPOPMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopMatrix : PFNGLPOPMATRIXPROC ; } pub type PFNGLPUSHMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPushMatrix : PFNGLPUSHMATRIXPROC ; } pub type PFNGLROTATEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( angle : GLdouble , x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glRotated : PFNGLROTATEDPROC ; } pub type PFNGLROTATEFPROC = :: std :: option :: Option < unsafe extern "C" fn ( angle : GLfloat , x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glRotatef : PFNGLROTATEFPROC ; } pub type PFNGLSCALEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glScaled : PFNGLSCALEDPROC ; } pub type PFNGLSCALEFPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glScalef : PFNGLSCALEFPROC ; } pub type PFNGLTRANSLATEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glTranslated : PFNGLTRANSLATEDPROC ; } pub type PFNGLTRANSLATEFPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glTranslatef : PFNGLTRANSLATEFPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , first : GLint , count : GLsizei ) > ; extern "C" { pub static mut glad_glDrawArrays : PFNGLDRAWARRAYSPROC ; } pub type PFNGLDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glDrawElements : PFNGLDRAWELEMENTSPROC ; } pub type PFNGLGETPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetPointerv : PFNGLGETPOINTERVPROC ; } pub type PFNGLPOLYGONOFFSETPROC = :: std :: option :: Option < unsafe extern "C" fn ( factor : GLfloat , units : GLfloat ) > ; extern "C" { pub static mut glad_glPolygonOffset : PFNGLPOLYGONOFFSETPROC ; } pub type PFNGLCOPYTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , border : GLint ) > ; extern "C" { pub static mut glad_glCopyTexImage1D : PFNGLCOPYTEXIMAGE1DPROC ; } pub type PFNGLCOPYTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , height : GLsizei , border : GLint ) > ; extern "C" { pub static mut glad_glCopyTexImage2D : PFNGLCOPYTEXIMAGE2DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , x : GLint , y : GLint , width : GLsizei ) > ; extern "C" { pub static mut glad_glCopyTexSubImage1D : PFNGLCOPYTEXSUBIMAGE1DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glCopyTexSubImage2D : PFNGLCOPYTEXSUBIMAGE2DPROC ; } pub type PFNGLTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexSubImage1D : PFNGLTEXSUBIMAGE1DPROC ; } pub type PFNGLTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexSubImage2D : PFNGLTEXSUBIMAGE2DPROC ; } pub type PFNGLBINDTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , texture : GLuint ) > ; extern "C" { pub static mut glad_glBindTexture : PFNGLBINDTEXTUREPROC ; } pub type PFNGLDELETETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteTextures : PFNGLDELETETEXTURESPROC ; } pub type PFNGLGENTEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenTextures : PFNGLGENTEXTURESPROC ; } pub type PFNGLISTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsTexture : PFNGLISTEXTUREPROC ; } pub type PFNGLARRAYELEMENTPROC = :: std :: option :: Option < unsafe extern "C" fn ( i : GLint ) > ; extern "C" { pub static mut glad_glArrayElement : PFNGLARRAYELEMENTPROC ; } pub type PFNGLCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glColorPointer : PFNGLCOLORPOINTERPROC ; } pub type PFNGLDISABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLenum ) > ; extern "C" { pub static mut glad_glDisableClientState : PFNGLDISABLECLIENTSTATEPROC ; } pub type PFNGLEDGEFLAGPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glEdgeFlagPointer : PFNGLEDGEFLAGPOINTERPROC ; } pub type PFNGLENABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLenum ) > ; extern "C" { pub static mut glad_glEnableClientState : PFNGLENABLECLIENTSTATEPROC ; } pub type PFNGLINDEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glIndexPointer : PFNGLINDEXPOINTERPROC ; } pub type PFNGLINTERLEAVEDARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( format : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glInterleavedArrays : PFNGLINTERLEAVEDARRAYSPROC ; } pub type PFNGLNORMALPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glNormalPointer : PFNGLNORMALPOINTERPROC ; } pub type PFNGLTEXCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexCoordPointer : PFNGLTEXCOORDPOINTERPROC ; } pub type PFNGLVERTEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glVertexPointer : PFNGLVERTEXPOINTERPROC ; } pub type PFNGLARETEXTURESRESIDENTPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * const GLuint , residences : * mut GLboolean ) -> GLboolean > ; extern "C" { pub static mut glad_glAreTexturesResident : PFNGLARETEXTURESRESIDENTPROC ; } pub type PFNGLPRIORITIZETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * const GLuint , priorities : * const GLfloat ) > ; extern "C" { pub static mut glad_glPrioritizeTextures : PFNGLPRIORITIZETEXTURESPROC ; } pub type PFNGLINDEXUBPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLubyte ) > ; extern "C" { pub static mut glad_glIndexub : PFNGLINDEXUBPROC ; } pub type PFNGLINDEXUBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLubyte ) > ; extern "C" { pub static mut glad_glIndexubv : PFNGLINDEXUBVPROC ; } pub type PFNGLPOPCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopClientAttrib : PFNGLPOPCLIENTATTRIBPROC ; } pub type PFNGLPUSHCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLbitfield ) > ; extern "C" { pub static mut glad_glPushClientAttrib : PFNGLPUSHCLIENTATTRIBPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWRANGEELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glDrawRangeElements : PFNGLDRAWRANGEELEMENTSPROC ; } pub type PFNGLTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexImage3D : PFNGLTEXIMAGE3DPROC ; } pub type PFNGLTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexSubImage3D : PFNGLTEXSUBIMAGE3DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glCopyTexSubImage3D : PFNGLCOPYTEXSUBIMAGE3DPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum ) > ; extern "C" { pub static mut glad_glActiveTexture : PFNGLACTIVETEXTUREPROC ; } pub type PFNGLSAMPLECOVERAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( value : GLfloat , invert : GLboolean ) > ; extern "C" { pub static mut glad_glSampleCoverage : PFNGLSAMPLECOVERAGEPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexImage3D : PFNGLCOMPRESSEDTEXIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexImage2D : PFNGLCOMPRESSEDTEXIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexImage1D : PFNGLCOMPRESSEDTEXIMAGE1DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexSubImage3D : PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexSubImage2D : PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexSubImage1D : PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC ; } pub type PFNGLGETCOMPRESSEDTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , img : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetCompressedTexImage : PFNGLGETCOMPRESSEDTEXIMAGEPROC ; } pub type PFNGLCLIENTACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum ) > ; extern "C" { pub static mut glad_glClientActiveTexture : PFNGLCLIENTACTIVETEXTUREPROC ; } pub type PFNGLMULTITEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord1d : PFNGLMULTITEXCOORD1DPROC ; } pub type PFNGLMULTITEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord1dv : PFNGLMULTITEXCOORD1DVPROC ; } pub type PFNGLMULTITEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord1f : PFNGLMULTITEXCOORD1FPROC ; } pub type PFNGLMULTITEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord1fv : PFNGLMULTITEXCOORD1FVPROC ; } pub type PFNGLMULTITEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord1i : PFNGLMULTITEXCOORD1IPROC ; } pub type PFNGLMULTITEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord1iv : PFNGLMULTITEXCOORD1IVPROC ; } pub type PFNGLMULTITEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord1s : PFNGLMULTITEXCOORD1SPROC ; } pub type PFNGLMULTITEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord1sv : PFNGLMULTITEXCOORD1SVPROC ; } pub type PFNGLMULTITEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble , t : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord2d : PFNGLMULTITEXCOORD2DPROC ; } pub type PFNGLMULTITEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord2dv : PFNGLMULTITEXCOORD2DVPROC ; } pub type PFNGLMULTITEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat , t : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord2f : PFNGLMULTITEXCOORD2FPROC ; } pub type PFNGLMULTITEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord2fv : PFNGLMULTITEXCOORD2FVPROC ; } pub type PFNGLMULTITEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint , t : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord2i : PFNGLMULTITEXCOORD2IPROC ; } pub type PFNGLMULTITEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord2iv : PFNGLMULTITEXCOORD2IVPROC ; } pub type PFNGLMULTITEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort , t : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord2s : PFNGLMULTITEXCOORD2SPROC ; } pub type PFNGLMULTITEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord2sv : PFNGLMULTITEXCOORD2SVPROC ; } pub type PFNGLMULTITEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord3d : PFNGLMULTITEXCOORD3DPROC ; } pub type PFNGLMULTITEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord3dv : PFNGLMULTITEXCOORD3DVPROC ; } pub type PFNGLMULTITEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord3f : PFNGLMULTITEXCOORD3FPROC ; } pub type PFNGLMULTITEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord3fv : PFNGLMULTITEXCOORD3FVPROC ; } pub type PFNGLMULTITEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint , t : GLint , r : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord3i : PFNGLMULTITEXCOORD3IPROC ; } pub type PFNGLMULTITEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord3iv : PFNGLMULTITEXCOORD3IVPROC ; } pub type PFNGLMULTITEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort , t : GLshort , r : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord3s : PFNGLMULTITEXCOORD3SPROC ; } pub type PFNGLMULTITEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord3sv : PFNGLMULTITEXCOORD3SVPROC ; } pub type PFNGLMULTITEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord4d : PFNGLMULTITEXCOORD4DPROC ; } pub type PFNGLMULTITEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord4dv : PFNGLMULTITEXCOORD4DVPROC ; } pub type PFNGLMULTITEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord4f : PFNGLMULTITEXCOORD4FPROC ; } pub type PFNGLMULTITEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord4fv : PFNGLMULTITEXCOORD4FVPROC ; } pub type PFNGLMULTITEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint , t : GLint , r : GLint , q : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord4i : PFNGLMULTITEXCOORD4IPROC ; } pub type PFNGLMULTITEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord4iv : PFNGLMULTITEXCOORD4IVPROC ; } pub type PFNGLMULTITEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort , t : GLshort , r : GLshort , q : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord4s : PFNGLMULTITEXCOORD4SPROC ; } pub type PFNGLMULTITEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord4sv : PFNGLMULTITEXCOORD4SVPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixf : PFNGLLOADTRANSPOSEMATRIXFPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixd : PFNGLLOADTRANSPOSEMATRIXDPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultTransposeMatrixf : PFNGLMULTTRANSPOSEMATRIXFPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultTransposeMatrixd : PFNGLMULTTRANSPOSEMATRIXDPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_4 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( sfactorRGB : GLenum , dfactorRGB : GLenum , sfactorAlpha : GLenum , dfactorAlpha : GLenum ) > ; extern "C" { pub static mut glad_glBlendFuncSeparate : PFNGLBLENDFUNCSEPARATEPROC ; } pub type PFNGLMULTIDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , first : * const GLint , count : * const GLsizei , drawcount : GLsizei ) > ; extern "C" { pub static mut glad_glMultiDrawArrays : PFNGLMULTIDRAWARRAYSPROC ; } pub type PFNGLMULTIDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei ) > ; extern "C" { pub static mut glad_glMultiDrawElements : PFNGLMULTIDRAWELEMENTSPROC ; } pub type PFNGLPOINTPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glPointParameterf : PFNGLPOINTPARAMETERFPROC ; } pub type PFNGLPOINTPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glPointParameterfv : PFNGLPOINTPARAMETERFVPROC ; } pub type PFNGLPOINTPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glPointParameteri : PFNGLPOINTPARAMETERIPROC ; } pub type PFNGLPOINTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glPointParameteriv : PFNGLPOINTPARAMETERIVPROC ; } pub type PFNGLFOGCOORDFPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLfloat ) > ; extern "C" { pub static mut glad_glFogCoordf : PFNGLFOGCOORDFPROC ; } pub type PFNGLFOGCOORDFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : * const GLfloat ) > ; extern "C" { pub static mut glad_glFogCoordfv : PFNGLFOGCOORDFVPROC ; } pub type PFNGLFOGCOORDDPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLdouble ) > ; extern "C" { pub static mut glad_glFogCoordd : PFNGLFOGCOORDDPROC ; } pub type PFNGLFOGCOORDDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : * const GLdouble ) > ; extern "C" { pub static mut glad_glFogCoorddv : PFNGLFOGCOORDDVPROC ; } pub type PFNGLFOGCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glFogCoordPointer : PFNGLFOGCOORDPOINTERPROC ; } pub type PFNGLSECONDARYCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLbyte , green : GLbyte , blue : GLbyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3b : PFNGLSECONDARYCOLOR3BPROC ; } pub type PFNGLSECONDARYCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3bv : PFNGLSECONDARYCOLOR3BVPROC ; } pub type PFNGLSECONDARYCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLdouble , green : GLdouble , blue : GLdouble ) > ; extern "C" { pub static mut glad_glSecondaryColor3d : PFNGLSECONDARYCOLOR3DPROC ; } pub type PFNGLSECONDARYCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glSecondaryColor3dv : PFNGLSECONDARYCOLOR3DVPROC ; } pub type PFNGLSECONDARYCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat ) > ; extern "C" { pub static mut glad_glSecondaryColor3f : PFNGLSECONDARYCOLOR3FPROC ; } pub type PFNGLSECONDARYCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glSecondaryColor3fv : PFNGLSECONDARYCOLOR3FVPROC ; } pub type PFNGLSECONDARYCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLint , green : GLint , blue : GLint ) > ; extern "C" { pub static mut glad_glSecondaryColor3i : PFNGLSECONDARYCOLOR3IPROC ; } pub type PFNGLSECONDARYCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glSecondaryColor3iv : PFNGLSECONDARYCOLOR3IVPROC ; } pub type PFNGLSECONDARYCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLshort , green : GLshort , blue : GLshort ) > ; extern "C" { pub static mut glad_glSecondaryColor3s : PFNGLSECONDARYCOLOR3SPROC ; } pub type PFNGLSECONDARYCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glSecondaryColor3sv : PFNGLSECONDARYCOLOR3SVPROC ; } pub type PFNGLSECONDARYCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLubyte , green : GLubyte , blue : GLubyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3ub : PFNGLSECONDARYCOLOR3UBPROC ; } pub type PFNGLSECONDARYCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLubyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3ubv : PFNGLSECONDARYCOLOR3UBVPROC ; } pub type PFNGLSECONDARYCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLuint , green : GLuint , blue : GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColor3ui : PFNGLSECONDARYCOLOR3UIPROC ; } pub type PFNGLSECONDARYCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColor3uiv : PFNGLSECONDARYCOLOR3UIVPROC ; } pub type PFNGLSECONDARYCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLushort , green : GLushort , blue : GLushort ) > ; extern "C" { pub static mut glad_glSecondaryColor3us : PFNGLSECONDARYCOLOR3USPROC ; } pub type PFNGLSECONDARYCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLushort ) > ; extern "C" { pub static mut glad_glSecondaryColor3usv : PFNGLSECONDARYCOLOR3USVPROC ; } pub type PFNGLSECONDARYCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glSecondaryColorPointer : PFNGLSECONDARYCOLORPOINTERPROC ; } pub type PFNGLWINDOWPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos2d : PFNGLWINDOWPOS2DPROC ; } pub type PFNGLWINDOWPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos2dv : PFNGLWINDOWPOS2DVPROC ; } pub type PFNGLWINDOWPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos2f : PFNGLWINDOWPOS2FPROC ; } pub type PFNGLWINDOWPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos2fv : PFNGLWINDOWPOS2FVPROC ; } pub type PFNGLWINDOWPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glWindowPos2i : PFNGLWINDOWPOS2IPROC ; } pub type PFNGLWINDOWPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glWindowPos2iv : PFNGLWINDOWPOS2IVPROC ; } pub type PFNGLWINDOWPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glWindowPos2s : PFNGLWINDOWPOS2SPROC ; } pub type PFNGLWINDOWPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glWindowPos2sv : PFNGLWINDOWPOS2SVPROC ; } pub type PFNGLWINDOWPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos3d : PFNGLWINDOWPOS3DPROC ; } pub type PFNGLWINDOWPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos3dv : PFNGLWINDOWPOS3DVPROC ; } pub type PFNGLWINDOWPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos3f : PFNGLWINDOWPOS3FPROC ; } pub type PFNGLWINDOWPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos3fv : PFNGLWINDOWPOS3FVPROC ; } pub type PFNGLWINDOWPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glWindowPos3i : PFNGLWINDOWPOS3IPROC ; } pub type PFNGLWINDOWPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glWindowPos3iv : PFNGLWINDOWPOS3IVPROC ; } pub type PFNGLWINDOWPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glWindowPos3s : PFNGLWINDOWPOS3SPROC ; } pub type PFNGLWINDOWPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glWindowPos3sv : PFNGLWINDOWPOS3SVPROC ; } pub type PFNGLBLENDCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glBlendColor : PFNGLBLENDCOLORPROC ; } pub type PFNGLBLENDEQUATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glBlendEquation : PFNGLBLENDEQUATIONPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_5 : :: std :: os :: raw :: c_int ; } pub type PFNGLGENQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , ids : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenQueries : PFNGLGENQUERIESPROC ; } pub type PFNGLDELETEQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , ids : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteQueries : PFNGLDELETEQUERIESPROC ; } pub type PFNGLISQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsQuery : PFNGLISQUERYPROC ; } pub type PFNGLBEGINQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , id : GLuint ) > ; extern "C" { pub static mut glad_glBeginQuery : PFNGLBEGINQUERYPROC ; } pub type PFNGLENDQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) > ; extern "C" { pub static mut glad_glEndQuery : PFNGLENDQUERYPROC ; } pub type PFNGLGETQUERYIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetQueryiv : PFNGLGETQUERYIVPROC ; } pub type PFNGLGETQUERYOBJECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetQueryObjectiv : PFNGLGETQUERYOBJECTIVPROC ; } pub type PFNGLGETQUERYOBJECTUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetQueryObjectuiv : PFNGLGETQUERYOBJECTUIVPROC ; } pub type PFNGLBINDBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , buffer : GLuint ) > ; extern "C" { pub static mut glad_glBindBuffer : PFNGLBINDBUFFERPROC ; } pub type PFNGLDELETEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , buffers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteBuffers : PFNGLDELETEBUFFERSPROC ; } pub type PFNGLGENBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , buffers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenBuffers : PFNGLGENBUFFERSPROC ; } pub type PFNGLISBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsBuffer : PFNGLISBUFFERPROC ; } pub type PFNGLBUFFERDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void , usage : GLenum ) > ; extern "C" { pub static mut glad_glBufferData : PFNGLBUFFERDATAPROC ; } pub type PFNGLBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glBufferSubData : PFNGLBUFFERSUBDATAPROC ; } pub type PFNGLGETBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetBufferSubData : PFNGLGETBUFFERSUBDATAPROC ; } pub type PFNGLMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , access : GLenum ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBuffer : PFNGLMAPBUFFERPROC ; } pub type PFNGLUNMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) -> GLboolean > ; extern "C" { pub static mut glad_glUnmapBuffer : PFNGLUNMAPBUFFERPROC ; } pub type PFNGLGETBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetBufferParameteriv : PFNGLGETBUFFERPARAMETERIVPROC ; } pub type PFNGLGETBUFFERPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetBufferPointerv : PFNGLGETBUFFERPOINTERVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDEQUATIONSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( modeRGB : GLenum , modeAlpha : GLenum ) > ; extern "C" { pub static mut glad_glBlendEquationSeparate : PFNGLBLENDEQUATIONSEPARATEPROC ; } pub type PFNGLDRAWBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , bufs : * const GLenum ) > ; extern "C" { pub static mut glad_glDrawBuffers : PFNGLDRAWBUFFERSPROC ; } pub type PFNGLSTENCILOPSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , sfail : GLenum , dpfail : GLenum , dppass : GLenum ) > ; extern "C" { pub static mut glad_glStencilOpSeparate : PFNGLSTENCILOPSEPARATEPROC ; } pub type PFNGLSTENCILFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , func : GLenum , ref_ : GLint , mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilFuncSeparate : PFNGLSTENCILFUNCSEPARATEPROC ; } pub type PFNGLSTENCILMASKSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilMaskSeparate : PFNGLSTENCILMASKSEPARATEPROC ; } pub type PFNGLATTACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , shader : GLuint ) > ; extern "C" { pub static mut glad_glAttachShader : PFNGLATTACHSHADERPROC ; } pub type PFNGLBINDATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , name : * const GLchar ) > ; extern "C" { pub static mut glad_glBindAttribLocation : PFNGLBINDATTRIBLOCATIONPROC ; } pub type PFNGLCOMPILESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint ) > ; extern "C" { pub static mut glad_glCompileShader : PFNGLCOMPILESHADERPROC ; } pub type PFNGLCREATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) -> GLuint > ; extern "C" { pub static mut glad_glCreateProgram : PFNGLCREATEPROGRAMPROC ; } pub type PFNGLCREATESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum ) -> GLuint > ; extern "C" { pub static mut glad_glCreateShader : PFNGLCREATESHADERPROC ; } pub type PFNGLDELETEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glDeleteProgram : PFNGLDELETEPROGRAMPROC ; } pub type PFNGLDELETESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint ) > ; extern "C" { pub static mut glad_glDeleteShader : PFNGLDELETESHADERPROC ; } pub type PFNGLDETACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , shader : GLuint ) > ; extern "C" { pub static mut glad_glDetachShader : PFNGLDETACHSHADERPROC ; } pub type PFNGLDISABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint ) > ; extern "C" { pub static mut glad_glDisableVertexAttribArray : PFNGLDISABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLENABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint ) > ; extern "C" { pub static mut glad_glEnableVertexAttribArray : PFNGLENABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLGETACTIVEATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveAttrib : PFNGLGETACTIVEATTRIBPROC ; } pub type PFNGLGETACTIVEUNIFORMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveUniform : PFNGLGETACTIVEUNIFORMPROC ; } pub type PFNGLGETATTACHEDSHADERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , maxCount : GLsizei , count : * mut GLsizei , shaders : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetAttachedShaders : PFNGLGETATTACHEDSHADERSPROC ; } pub type PFNGLGETATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetAttribLocation : PFNGLGETATTRIBLOCATIONPROC ; } pub type PFNGLGETPROGRAMIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetProgramiv : PFNGLGETPROGRAMIVPROC ; } pub type PFNGLGETPROGRAMINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetProgramInfoLog : PFNGLGETPROGRAMINFOLOGPROC ; } pub type PFNGLGETSHADERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetShaderiv : PFNGLGETSHADERIVPROC ; } pub type PFNGLGETSHADERINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetShaderInfoLog : PFNGLGETSHADERINFOLOGPROC ; } pub type PFNGLGETSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , source : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetShaderSource : PFNGLGETSHADERSOURCEPROC ; } pub type PFNGLGETUNIFORMLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetUniformLocation : PFNGLGETUNIFORMLOCATIONPROC ; } pub type PFNGLGETUNIFORMFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , location : GLint , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetUniformfv : PFNGLGETUNIFORMFVPROC ; } pub type PFNGLGETUNIFORMIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , location : GLint , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetUniformiv : PFNGLGETUNIFORMIVPROC ; } pub type PFNGLGETVERTEXATTRIBDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetVertexAttribdv : PFNGLGETVERTEXATTRIBDVPROC ; } pub type PFNGLGETVERTEXATTRIBFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetVertexAttribfv : PFNGLGETVERTEXATTRIBFVPROC ; } pub type PFNGLGETVERTEXATTRIBIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetVertexAttribiv : PFNGLGETVERTEXATTRIBIVPROC ; } pub type PFNGLGETVERTEXATTRIBPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , pointer : * mut * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetVertexAttribPointerv : PFNGLGETVERTEXATTRIBPOINTERVPROC ; } pub type PFNGLISPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsProgram : PFNGLISPROGRAMPROC ; } pub type PFNGLISSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsShader : PFNGLISSHADERPROC ; } pub type PFNGLLINKPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glLinkProgram : PFNGLLINKPROGRAMPROC ; } pub type PFNGLSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , count : GLsizei , string : * const * const GLchar , length : * const GLint ) > ; extern "C" { pub static mut glad_glShaderSource : PFNGLSHADERSOURCEPROC ; } pub type PFNGLUSEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glUseProgram : PFNGLUSEPROGRAMPROC ; } pub type PFNGLUNIFORM1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform1f : PFNGLUNIFORM1FPROC ; } pub type PFNGLUNIFORM2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat , v1 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform2f : PFNGLUNIFORM2FPROC ; } pub type PFNGLUNIFORM3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform3f : PFNGLUNIFORM3FPROC ; } pub type PFNGLUNIFORM4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat , v3 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform4f : PFNGLUNIFORM4FPROC ; } pub type PFNGLUNIFORM1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint ) > ; extern "C" { pub static mut glad_glUniform1i : PFNGLUNIFORM1IPROC ; } pub type PFNGLUNIFORM2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint , v1 : GLint ) > ; extern "C" { pub static mut glad_glUniform2i : PFNGLUNIFORM2IPROC ; } pub type PFNGLUNIFORM3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint , v1 : GLint , v2 : GLint ) > ; extern "C" { pub static mut glad_glUniform3i : PFNGLUNIFORM3IPROC ; } pub type PFNGLUNIFORM4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint , v1 : GLint , v2 : GLint , v3 : GLint ) > ; extern "C" { pub static mut glad_glUniform4i : PFNGLUNIFORM4IPROC ; } pub type PFNGLUNIFORM1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform1fv : PFNGLUNIFORM1FVPROC ; } pub type PFNGLUNIFORM2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform2fv : PFNGLUNIFORM2FVPROC ; } pub type PFNGLUNIFORM3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform3fv : PFNGLUNIFORM3FVPROC ; } pub type PFNGLUNIFORM4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform4fv : PFNGLUNIFORM4FVPROC ; } pub type PFNGLUNIFORM1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform1iv : PFNGLUNIFORM1IVPROC ; } pub type PFNGLUNIFORM2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform2iv : PFNGLUNIFORM2IVPROC ; } pub type PFNGLUNIFORM3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform3iv : PFNGLUNIFORM3IVPROC ; } pub type PFNGLUNIFORM4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform4iv : PFNGLUNIFORM4IVPROC ; } pub type PFNGLUNIFORMMATRIX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix2fv : PFNGLUNIFORMMATRIX2FVPROC ; } pub type PFNGLUNIFORMMATRIX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix3fv : PFNGLUNIFORMMATRIX3FVPROC ; } pub type PFNGLUNIFORMMATRIX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix4fv : PFNGLUNIFORMMATRIX4FVPROC ; } pub type PFNGLVALIDATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glValidateProgram : PFNGLVALIDATEPROGRAMPROC ; } pub type PFNGLVERTEXATTRIB1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib1d : PFNGLVERTEXATTRIB1DPROC ; } pub type PFNGLVERTEXATTRIB1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib1dv : PFNGLVERTEXATTRIB1DVPROC ; } pub type PFNGLVERTEXATTRIB1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib1f : PFNGLVERTEXATTRIB1FPROC ; } pub type PFNGLVERTEXATTRIB1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib1fv : PFNGLVERTEXATTRIB1FVPROC ; } pub type PFNGLVERTEXATTRIB1SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib1s : PFNGLVERTEXATTRIB1SPROC ; } pub type PFNGLVERTEXATTRIB1SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib1sv : PFNGLVERTEXATTRIB1SVPROC ; } pub type PFNGLVERTEXATTRIB2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib2d : PFNGLVERTEXATTRIB2DPROC ; } pub type PFNGLVERTEXATTRIB2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib2dv : PFNGLVERTEXATTRIB2DVPROC ; } pub type PFNGLVERTEXATTRIB2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib2f : PFNGLVERTEXATTRIB2FPROC ; } pub type PFNGLVERTEXATTRIB2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib2fv : PFNGLVERTEXATTRIB2FVPROC ; } pub type PFNGLVERTEXATTRIB2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib2s : PFNGLVERTEXATTRIB2SPROC ; } pub type PFNGLVERTEXATTRIB2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib2sv : PFNGLVERTEXATTRIB2SVPROC ; } pub type PFNGLVERTEXATTRIB3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib3d : PFNGLVERTEXATTRIB3DPROC ; } pub type PFNGLVERTEXATTRIB3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib3dv : PFNGLVERTEXATTRIB3DVPROC ; } pub type PFNGLVERTEXATTRIB3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib3f : PFNGLVERTEXATTRIB3FPROC ; } pub type PFNGLVERTEXATTRIB3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib3fv : PFNGLVERTEXATTRIB3FVPROC ; } pub type PFNGLVERTEXATTRIB3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib3s : PFNGLVERTEXATTRIB3SPROC ; } pub type PFNGLVERTEXATTRIB3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib3sv : PFNGLVERTEXATTRIB3SVPROC ; } pub type PFNGLVERTEXATTRIB4NBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLbyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nbv : PFNGLVERTEXATTRIB4NBVPROC ; } pub type PFNGLVERTEXATTRIB4NIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttrib4Niv : PFNGLVERTEXATTRIB4NIVPROC ; } pub type PFNGLVERTEXATTRIB4NSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nsv : PFNGLVERTEXATTRIB4NSVPROC ; } pub type PFNGLVERTEXATTRIB4NUBPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLubyte , y : GLubyte , z : GLubyte , w : GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nub : PFNGLVERTEXATTRIB4NUBPROC ; } pub type PFNGLVERTEXATTRIB4NUBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nubv : PFNGLVERTEXATTRIB4NUBVPROC ; } pub type PFNGLVERTEXATTRIB4NUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nuiv : PFNGLVERTEXATTRIB4NUIVPROC ; } pub type PFNGLVERTEXATTRIB4NUSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLushort ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nusv : PFNGLVERTEXATTRIB4NUSVPROC ; } pub type PFNGLVERTEXATTRIB4BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLbyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4bv : PFNGLVERTEXATTRIB4BVPROC ; } pub type PFNGLVERTEXATTRIB4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib4d : PFNGLVERTEXATTRIB4DPROC ; } pub type PFNGLVERTEXATTRIB4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib4dv : PFNGLVERTEXATTRIB4DVPROC ; } pub type PFNGLVERTEXATTRIB4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib4f : PFNGLVERTEXATTRIB4FPROC ; } pub type PFNGLVERTEXATTRIB4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib4fv : PFNGLVERTEXATTRIB4FVPROC ; } pub type PFNGLVERTEXATTRIB4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttrib4iv : PFNGLVERTEXATTRIB4IVPROC ; } pub type PFNGLVERTEXATTRIB4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort , y : GLshort , z : GLshort , w : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib4s : PFNGLVERTEXATTRIB4SPROC ; } pub type PFNGLVERTEXATTRIB4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib4sv : PFNGLVERTEXATTRIB4SVPROC ; } pub type PFNGLVERTEXATTRIB4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4ubv : PFNGLVERTEXATTRIB4UBVPROC ; } pub type PFNGLVERTEXATTRIB4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttrib4uiv : PFNGLVERTEXATTRIB4UIVPROC ; } pub type PFNGLVERTEXATTRIB4USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLushort ) > ; extern "C" { pub static mut glad_glVertexAttrib4usv : PFNGLVERTEXATTRIB4USVPROC ; } pub type PFNGLVERTEXATTRIBPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , size : GLint , type_ : GLenum , normalized : GLboolean , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glVertexAttribPointer : PFNGLVERTEXATTRIBPOINTERPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLUNIFORMMATRIX2X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix2x3fv : PFNGLUNIFORMMATRIX2X3FVPROC ; } pub type PFNGLUNIFORMMATRIX3X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix3x2fv : PFNGLUNIFORMMATRIX3X2FVPROC ; } pub type PFNGLUNIFORMMATRIX2X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix2x4fv : PFNGLUNIFORMMATRIX2X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix4x2fv : PFNGLUNIFORMMATRIX4X2FVPROC ; } pub type PFNGLUNIFORMMATRIX3X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix3x4fv : PFNGLUNIFORMMATRIX3X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix4x3fv : PFNGLUNIFORMMATRIX4X3FVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCOLORMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , r : GLboolean , g : GLboolean , b : GLboolean , a : GLboolean ) > ; extern "C" { pub static mut glad_glColorMaski : PFNGLCOLORMASKIPROC ; } pub type PFNGLGETBOOLEANI_VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , data : * mut GLboolean ) > ; extern "C" { pub static mut glad_glGetBooleani_v : PFNGLGETBOOLEANI_VPROC ; } pub type PFNGLGETINTEGERI_VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , data : * mut GLint ) > ; extern "C" { pub static mut glad_glGetIntegeri_v : PFNGLGETINTEGERI_VPROC ; } pub type PFNGLENABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint ) > ; extern "C" { pub static mut glad_glEnablei : PFNGLENABLEIPROC ; } pub type PFNGLDISABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint ) > ; extern "C" { pub static mut glad_glDisablei : PFNGLDISABLEIPROC ; } pub type PFNGLISENABLEDIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabledi : PFNGLISENABLEDIPROC ; } pub type PFNGLBEGINTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn ( primitiveMode : GLenum ) > ; extern "C" { pub static mut glad_glBeginTransformFeedback : PFNGLBEGINTRANSFORMFEEDBACKPROC ; } pub type PFNGLENDTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEndTransformFeedback : PFNGLENDTRANSFORMFEEDBACKPROC ; } pub type PFNGLBINDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , buffer : GLuint , offset : GLintptr , size : GLsizeiptr ) > ; extern "C" { pub static mut glad_glBindBufferRange : PFNGLBINDBUFFERRANGEPROC ; } pub type PFNGLBINDBUFFERBASEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , buffer : GLuint ) > ; extern "C" { pub static mut glad_glBindBufferBase : PFNGLBINDBUFFERBASEPROC ; } pub type PFNGLTRANSFORMFEEDBACKVARYINGSPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , count : GLsizei , varyings : * const * const GLchar , bufferMode : GLenum ) > ; extern "C" { pub static mut glad_glTransformFeedbackVaryings : PFNGLTRANSFORMFEEDBACKVARYINGSPROC ; } pub type PFNGLGETTRANSFORMFEEDBACKVARYINGPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLsizei , type_ : * mut GLenum , name : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetTransformFeedbackVarying : PFNGLGETTRANSFORMFEEDBACKVARYINGPROC ; } pub type PFNGLCLAMPCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , clamp : GLenum ) > ; extern "C" { pub static mut glad_glClampColor : PFNGLCLAMPCOLORPROC ; } pub type PFNGLBEGINCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , mode : GLenum ) > ; extern "C" { pub static mut glad_glBeginConditionalRender : PFNGLBEGINCONDITIONALRENDERPROC ; } pub type PFNGLENDCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEndConditionalRender : PFNGLENDCONDITIONALRENDERPROC ; } pub type PFNGLVERTEXATTRIBIPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glVertexAttribIPointer : PFNGLVERTEXATTRIBIPOINTERPROC ; } pub type PFNGLGETVERTEXATTRIBIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetVertexAttribIiv : PFNGLGETVERTEXATTRIBIIVPROC ; } pub type PFNGLGETVERTEXATTRIBIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetVertexAttribIuiv : PFNGLGETVERTEXATTRIBIUIVPROC ; } pub type PFNGLVERTEXATTRIBI1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI1i : PFNGLVERTEXATTRIBI1IPROC ; } pub type PFNGLVERTEXATTRIBI2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI2i : PFNGLVERTEXATTRIBI2IPROC ; } pub type PFNGLVERTEXATTRIBI3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI3i : PFNGLVERTEXATTRIBI3IPROC ; } pub type PFNGLVERTEXATTRIBI4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint , y : GLint , z : GLint , w : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI4i : PFNGLVERTEXATTRIBI4IPROC ; } pub type PFNGLVERTEXATTRIBI1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI1ui : PFNGLVERTEXATTRIBI1UIPROC ; } pub type PFNGLVERTEXATTRIBI2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint , y : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI2ui : PFNGLVERTEXATTRIBI2UIPROC ; } pub type PFNGLVERTEXATTRIBI3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint , y : GLuint , z : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI3ui : PFNGLVERTEXATTRIBI3UIPROC ; } pub type PFNGLVERTEXATTRIBI4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint , y : GLuint , z : GLuint , w : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI4ui : PFNGLVERTEXATTRIBI4UIPROC ; } pub type PFNGLVERTEXATTRIBI1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI1iv : PFNGLVERTEXATTRIBI1IVPROC ; } pub type PFNGLVERTEXATTRIBI2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI2iv : PFNGLVERTEXATTRIBI2IVPROC ; } pub type PFNGLVERTEXATTRIBI3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI3iv : PFNGLVERTEXATTRIBI3IVPROC ; } pub type PFNGLVERTEXATTRIBI4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI4iv : PFNGLVERTEXATTRIBI4IVPROC ; } pub type PFNGLVERTEXATTRIBI1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI1uiv : PFNGLVERTEXATTRIBI1UIVPROC ; } pub type PFNGLVERTEXATTRIBI2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI2uiv : PFNGLVERTEXATTRIBI2UIVPROC ; } pub type PFNGLVERTEXATTRIBI3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI3uiv : PFNGLVERTEXATTRIBI3UIVPROC ; } pub type PFNGLVERTEXATTRIBI4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI4uiv : PFNGLVERTEXATTRIBI4UIVPROC ; } pub type PFNGLVERTEXATTRIBI4BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLbyte ) > ; extern "C" { pub static mut glad_glVertexAttribI4bv : PFNGLVERTEXATTRIBI4BVPROC ; } pub type PFNGLVERTEXATTRIBI4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttribI4sv : PFNGLVERTEXATTRIBI4SVPROC ; } pub type PFNGLVERTEXATTRIBI4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttribI4ubv : PFNGLVERTEXATTRIBI4UBVPROC ; } pub type PFNGLVERTEXATTRIBI4USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLushort ) > ; extern "C" { pub static mut glad_glVertexAttribI4usv : PFNGLVERTEXATTRIBI4USVPROC ; } pub type PFNGLGETUNIFORMUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , location : GLint , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetUniformuiv : PFNGLGETUNIFORMUIVPROC ; } pub type PFNGLBINDFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , color : GLuint , name : * const GLchar ) > ; extern "C" { pub static mut glad_glBindFragDataLocation : PFNGLBINDFRAGDATALOCATIONPROC ; } pub type PFNGLGETFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataLocation : PFNGLGETFRAGDATALOCATIONPROC ; } pub type PFNGLUNIFORM1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint ) > ; extern "C" { pub static mut glad_glUniform1ui : PFNGLUNIFORM1UIPROC ; } pub type PFNGLUNIFORM2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint , v1 : GLuint ) > ; extern "C" { pub static mut glad_glUniform2ui : PFNGLUNIFORM2UIPROC ; } pub type PFNGLUNIFORM3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint ) > ; extern "C" { pub static mut glad_glUniform3ui : PFNGLUNIFORM3UIPROC ; } pub type PFNGLUNIFORM4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint , v3 : GLuint ) > ; extern "C" { pub static mut glad_glUniform4ui : PFNGLUNIFORM4UIPROC ; } pub type PFNGLUNIFORM1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform1uiv : PFNGLUNIFORM1UIVPROC ; } pub type PFNGLUNIFORM2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform2uiv : PFNGLUNIFORM2UIVPROC ; } pub type PFNGLUNIFORM3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform3uiv : PFNGLUNIFORM3UIVPROC ; } pub type PFNGLUNIFORM4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform4uiv : PFNGLUNIFORM4UIVPROC ; } pub type PFNGLTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexParameterIiv : PFNGLTEXPARAMETERIIVPROC ; } pub type PFNGLTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLuint ) > ; extern "C" { pub static mut glad_glTexParameterIuiv : PFNGLTEXPARAMETERIUIVPROC ; } pub type PFNGLGETTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexParameterIiv : PFNGLGETTEXPARAMETERIIVPROC ; } pub type PFNGLGETTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetTexParameterIuiv : PFNGLGETTEXPARAMETERIUIVPROC ; } pub type PFNGLCLEARBUFFERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , value : * const GLint ) > ; extern "C" { pub static mut glad_glClearBufferiv : PFNGLCLEARBUFFERIVPROC ; } pub type PFNGLCLEARBUFFERUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , value : * const GLuint ) > ; extern "C" { pub static mut glad_glClearBufferuiv : PFNGLCLEARBUFFERUIVPROC ; } pub type PFNGLCLEARBUFFERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glClearBufferfv : PFNGLCLEARBUFFERFVPROC ; } pub type PFNGLCLEARBUFFERFIPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , depth : GLfloat , stencil : GLint ) > ; extern "C" { pub static mut glad_glClearBufferfi : PFNGLCLEARBUFFERFIPROC ; } pub type PFNGLGETSTRINGIPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLenum , index : GLuint ) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetStringi : PFNGLGETSTRINGIPROC ; } pub type PFNGLISRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( renderbuffer : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsRenderbuffer : PFNGLISRENDERBUFFERPROC ; } pub type PFNGLBINDRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , renderbuffer : GLuint ) > ; extern "C" { pub static mut glad_glBindRenderbuffer : PFNGLBINDRENDERBUFFERPROC ; } pub type PFNGLDELETERENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , renderbuffers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteRenderbuffers : PFNGLDELETERENDERBUFFERSPROC ; } pub type PFNGLGENRENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , renderbuffers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenRenderbuffers : PFNGLGENRENDERBUFFERSPROC ; } pub type PFNGLRENDERBUFFERSTORAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , internalformat : GLenum , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glRenderbufferStorage : PFNGLRENDERBUFFERSTORAGEPROC ; } pub type PFNGLGETRENDERBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetRenderbufferParameteriv : PFNGLGETRENDERBUFFERPARAMETERIVPROC ; } pub type PFNGLISFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( framebuffer : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsFramebuffer : PFNGLISFRAMEBUFFERPROC ; } pub type PFNGLBINDFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , framebuffer : GLuint ) > ; extern "C" { pub static mut glad_glBindFramebuffer : PFNGLBINDFRAMEBUFFERPROC ; } pub type PFNGLDELETEFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , framebuffers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteFramebuffers : PFNGLDELETEFRAMEBUFFERSPROC ; } pub type PFNGLGENFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , framebuffers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenFramebuffers : PFNGLGENFRAMEBUFFERSPROC ; } pub type PFNGLCHECKFRAMEBUFFERSTATUSPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) -> GLenum > ; extern "C" { pub static mut glad_glCheckFramebufferStatus : PFNGLCHECKFRAMEBUFFERSTATUSPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture1D : PFNGLFRAMEBUFFERTEXTURE1DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture2D : PFNGLFRAMEBUFFERTEXTURE2DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint , zoffset : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture3D : PFNGLFRAMEBUFFERTEXTURE3DPROC ; } pub type PFNGLFRAMEBUFFERRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , renderbuffertarget : GLenum , renderbuffer : GLuint ) > ; extern "C" { pub static mut glad_glFramebufferRenderbuffer : PFNGLFRAMEBUFFERRENDERBUFFERPROC ; } pub type PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetFramebufferAttachmentParameteriv : PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC ; } pub type PFNGLGENERATEMIPMAPPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) > ; extern "C" { pub static mut glad_glGenerateMipmap : PFNGLGENERATEMIPMAPPROC ; } pub type PFNGLBLITFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( srcX0 : GLint , srcY0 : GLint , srcX1 : GLint , srcY1 : GLint , dstX0 : GLint , dstY0 : GLint , dstX1 : GLint , dstY1 : GLint , mask : GLbitfield , filter : GLenum ) > ; extern "C" { pub static mut glad_glBlitFramebuffer : PFNGLBLITFRAMEBUFFERPROC ; } pub type PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glRenderbufferStorageMultisample : PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC ; } pub type PFNGLFRAMEBUFFERTEXTURELAYERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , texture : GLuint , level : GLint , layer : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTextureLayer : PFNGLFRAMEBUFFERTEXTURELAYERPROC ; } pub type PFNGLMAPBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , length : GLsizeiptr , access : GLbitfield ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBufferRange : PFNGLMAPBUFFERRANGEPROC ; } pub type PFNGLFLUSHMAPPEDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , length : GLsizeiptr ) > ; extern "C" { pub static mut glad_glFlushMappedBufferRange : PFNGLFLUSHMAPPEDBUFFERRANGEPROC ; } pub type PFNGLBINDVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLuint ) > ; extern "C" { pub static mut glad_glBindVertexArray : PFNGLBINDVERTEXARRAYPROC ; } pub type PFNGLDELETEVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , arrays : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteVertexArrays : PFNGLDELETEVERTEXARRAYSPROC ; } pub type PFNGLGENVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , arrays : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenVertexArrays : PFNGLGENVERTEXARRAYSPROC ; } pub type PFNGLISVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsVertexArray : PFNGLISVERTEXARRAYPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , first : GLint , count : GLsizei , instancecount : GLsizei ) > ; extern "C" { pub static mut glad_glDrawArraysInstanced : PFNGLDRAWARRAYSINSTANCEDPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei ) > ; extern "C" { pub static mut glad_glDrawElementsInstanced : PFNGLDRAWELEMENTSINSTANCEDPROC ; } pub type PFNGLTEXBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , internalformat : GLenum , buffer : GLuint ) > ; extern "C" { pub static mut glad_glTexBuffer : PFNGLTEXBUFFERPROC ; } pub type PFNGLPRIMITIVERESTARTINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint ) > ; extern "C" { pub static mut glad_glPrimitiveRestartIndex : PFNGLPRIMITIVERESTARTINDEXPROC ; } pub type PFNGLCOPYBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( readTarget : GLenum , writeTarget : GLenum , readOffset : GLintptr , writeOffset : GLintptr , size : GLsizeiptr ) > ; extern "C" { pub static mut glad_glCopyBufferSubData : PFNGLCOPYBUFFERSUBDATAPROC ; } pub type PFNGLGETUNIFORMINDICESPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformCount : GLsizei , uniformNames : * const * const GLchar , uniformIndices : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetUniformIndices : PFNGLGETUNIFORMINDICESPROC ; } pub type PFNGLGETACTIVEUNIFORMSIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformCount : GLsizei , uniformIndices : * const GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetActiveUniformsiv : PFNGLGETACTIVEUNIFORMSIVPROC ; } pub type PFNGLGETACTIVEUNIFORMNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformName : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveUniformName : PFNGLGETACTIVEUNIFORMNAMEPROC ; } pub type PFNGLGETUNIFORMBLOCKINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockName : * const GLchar ) -> GLuint > ; extern "C" { pub static mut glad_glGetUniformBlockIndex : PFNGLGETUNIFORMBLOCKINDEXPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockIndex : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockiv : PFNGLGETACTIVEUNIFORMBLOCKIVPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformBlockName : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockName : PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC ; } pub type PFNGLUNIFORMBLOCKBINDINGPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockIndex : GLuint , uniformBlockBinding : GLuint ) > ; extern "C" { pub static mut glad_glUniformBlockBinding : PFNGLUNIFORMBLOCKBINDINGPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint ) > ; extern "C" { pub static mut glad_glDrawElementsBaseVertex : PFNGLDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint ) > ; extern "C" { pub static mut glad_glDrawRangeElementsBaseVertex : PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei , basevertex : GLint ) > ; extern "C" { pub static mut glad_glDrawElementsInstancedBaseVertex : PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC ; } pub type PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei , basevertex : * const GLint ) > ; extern "C" { pub static mut glad_glMultiDrawElementsBaseVertex : PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLPROVOKINGVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glProvokingVertex : PFNGLPROVOKINGVERTEXPROC ; } pub type PFNGLFENCESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( condition : GLenum , flags : GLbitfield ) -> GLsync > ; extern "C" { pub static mut glad_glFenceSync : PFNGLFENCESYNCPROC ; } pub type PFNGLISSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync ) -> GLboolean > ; extern "C" { pub static mut glad_glIsSync : PFNGLISSYNCPROC ; } pub type PFNGLDELETESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync ) > ; extern "C" { pub static mut glad_glDeleteSync : PFNGLDELETESYNCPROC ; } pub type PFNGLCLIENTWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync , flags : GLbitfield , timeout : GLuint64 ) -> GLenum > ; extern "C" { pub static mut glad_glClientWaitSync : PFNGLCLIENTWAITSYNCPROC ; } pub type PFNGLWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync , flags : GLbitfield , timeout : GLuint64 ) > ; extern "C" { pub static mut glad_glWaitSync : PFNGLWAITSYNCPROC ; } pub type PFNGLGETINTEGER64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetInteger64v : PFNGLGETINTEGER64VPROC ; } pub type PFNGLGETSYNCIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync , pname : GLenum , count : GLsizei , length : * mut GLsizei , values : * mut GLint ) > ; extern "C" { pub static mut glad_glGetSynciv : PFNGLGETSYNCIVPROC ; } pub type PFNGLGETINTEGER64I_VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , data : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetInteger64i_v : PFNGLGETINTEGER64I_VPROC ; } pub type PFNGLGETBUFFERPARAMETERI64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetBufferParameteri64v : PFNGLGETBUFFERPARAMETERI64VPROC ; } pub type PFNGLFRAMEBUFFERTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , texture : GLuint , level : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture : PFNGLFRAMEBUFFERTEXTUREPROC ; } pub type PFNGLTEXIMAGE2DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , fixedsamplelocations : GLboolean ) > ; extern "C" { pub static mut glad_glTexImage2DMultisample : PFNGLTEXIMAGE2DMULTISAMPLEPROC ; } pub type PFNGLTEXIMAGE3DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , fixedsamplelocations : GLboolean ) > ; extern "C" { pub static mut glad_glTexImage3DMultisample : PFNGLTEXIMAGE3DMULTISAMPLEPROC ; } pub type PFNGLGETMULTISAMPLEFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , index : GLuint , val : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetMultisamplefv : PFNGLGETMULTISAMPLEFVPROC ; } pub type PFNGLSAMPLEMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn ( maskNumber : GLuint , mask : GLbitfield ) > ; extern "C" { pub static mut glad_glSampleMaski : PFNGLSAMPLEMASKIPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLBINDFRAGDATALOCATIONINDEXEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , colorNumber : GLuint , index : GLuint , name : * const GLchar ) > ; extern "C" { pub static mut glad_glBindFragDataLocationIndexed : PFNGLBINDFRAGDATALOCATIONINDEXEDPROC ; } pub type PFNGLGETFRAGDATAINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataIndex : PFNGLGETFRAGDATAINDEXPROC ; } pub type PFNGLGENSAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( count : GLsizei , samplers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenSamplers : PFNGLGENSAMPLERSPROC ; } pub type PFNGLDELETESAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( count : GLsizei , samplers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteSamplers : PFNGLDELETESAMPLERSPROC ; } pub type PFNGLISSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsSampler : PFNGLISSAMPLERPROC ; } pub type PFNGLBINDSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn ( unit : GLuint , sampler : GLuint ) > ; extern "C" { pub static mut glad_glBindSampler : PFNGLBINDSAMPLERPROC ; } pub type PFNGLSAMPLERPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glSamplerParameteri : PFNGLSAMPLERPARAMETERIPROC ; } pub type PFNGLSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLint ) > ; extern "C" { pub static mut glad_glSamplerParameteriv : PFNGLSAMPLERPARAMETERIVPROC ; } pub type PFNGLSAMPLERPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glSamplerParameterf : PFNGLSAMPLERPARAMETERFPROC ; } pub type PFNGLSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLfloat ) > ; extern "C" { pub static mut glad_glSamplerParameterfv : PFNGLSAMPLERPARAMETERFVPROC ; } pub type PFNGLSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLint ) > ; extern "C" { pub static mut glad_glSamplerParameterIiv : PFNGLSAMPLERPARAMETERIIVPROC ; } pub type PFNGLSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLuint ) > ; extern "C" { pub static mut glad_glSamplerParameterIuiv : PFNGLSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetSamplerParameteriv : PFNGLGETSAMPLERPARAMETERIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetSamplerParameterIiv : PFNGLGETSAMPLERPARAMETERIIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetSamplerParameterfv : PFNGLGETSAMPLERPARAMETERFVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetSamplerParameterIuiv : PFNGLGETSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLQUERYCOUNTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , target : GLenum ) > ; extern "C" { pub static mut glad_glQueryCounter : PFNGLQUERYCOUNTERPROC ; } pub type PFNGLGETQUERYOBJECTI64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetQueryObjecti64v : PFNGLGETQUERYOBJECTI64VPROC ; } pub type PFNGLGETQUERYOBJECTUI64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLuint64 ) > ; extern "C" { pub static mut glad_glGetQueryObjectui64v : PFNGLGETQUERYOBJECTUI64VPROC ; } pub type PFNGLVERTEXATTRIBDIVISORPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , divisor : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribDivisor : PFNGLVERTEXATTRIBDIVISORPROC ; } pub type PFNGLVERTEXATTRIBP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP1ui : PFNGLVERTEXATTRIBP1UIPROC ; } pub type PFNGLVERTEXATTRIBP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP1uiv : PFNGLVERTEXATTRIBP1UIVPROC ; } pub type PFNGLVERTEXATTRIBP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP2ui : PFNGLVERTEXATTRIBP2UIPROC ; } pub type PFNGLVERTEXATTRIBP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP2uiv : PFNGLVERTEXATTRIBP2UIVPROC ; } pub type PFNGLVERTEXATTRIBP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP3ui : PFNGLVERTEXATTRIBP3UIPROC ; } pub type PFNGLVERTEXATTRIBP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP3uiv : PFNGLVERTEXATTRIBP3UIVPROC ; } pub type PFNGLVERTEXATTRIBP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP4ui : PFNGLVERTEXATTRIBP4UIPROC ; } pub type PFNGLVERTEXATTRIBP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP4uiv : PFNGLVERTEXATTRIBP4UIVPROC ; } pub type PFNGLVERTEXP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexP2ui : PFNGLVERTEXP2UIPROC ; } pub type PFNGLVERTEXP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexP2uiv : PFNGLVERTEXP2UIVPROC ; } pub type PFNGLVERTEXP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexP3ui : PFNGLVERTEXP3UIPROC ; } pub type PFNGLVERTEXP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexP3uiv : PFNGLVERTEXP3UIVPROC ; } pub type PFNGLVERTEXP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexP4ui : PFNGLVERTEXP4UIPROC ; } pub type PFNGLVERTEXP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexP4uiv : PFNGLVERTEXP4UIVPROC ; } pub type PFNGLTEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP1ui : PFNGLTEXCOORDP1UIPROC ; } pub type PFNGLTEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP1uiv : PFNGLTEXCOORDP1UIVPROC ; } pub type PFNGLTEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP2ui : PFNGLTEXCOORDP2UIPROC ; } pub type PFNGLTEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP2uiv : PFNGLTEXCOORDP2UIVPROC ; } pub type PFNGLTEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP3ui : PFNGLTEXCOORDP3UIPROC ; } pub type PFNGLTEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP3uiv : PFNGLTEXCOORDP3UIVPROC ; } pub type PFNGLTEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP4ui : PFNGLTEXCOORDP4UIPROC ; } pub type PFNGLTEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP4uiv : PFNGLTEXCOORDP4UIVPROC ; } pub type PFNGLMULTITEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP1ui : PFNGLMULTITEXCOORDP1UIPROC ; } pub type PFNGLMULTITEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP1uiv : PFNGLMULTITEXCOORDP1UIVPROC ; } pub type PFNGLMULTITEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP2ui : PFNGLMULTITEXCOORDP2UIPROC ; } pub type PFNGLMULTITEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP2uiv : PFNGLMULTITEXCOORDP2UIVPROC ; } pub type PFNGLMULTITEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP3ui : PFNGLMULTITEXCOORDP3UIPROC ; } pub type PFNGLMULTITEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP3uiv : PFNGLMULTITEXCOORDP3UIVPROC ; } pub type PFNGLMULTITEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP4ui : PFNGLMULTITEXCOORDP4UIPROC ; } pub type PFNGLMULTITEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP4uiv : PFNGLMULTITEXCOORDP4UIVPROC ; } pub type PFNGLNORMALP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glNormalP3ui : PFNGLNORMALP3UIPROC ; } pub type PFNGLNORMALP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glNormalP3uiv : PFNGLNORMALP3UIVPROC ; } pub type PFNGLCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : GLuint ) > ; extern "C" { pub static mut glad_glColorP3ui : PFNGLCOLORP3UIPROC ; } pub type PFNGLCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : * const GLuint ) > ; extern "C" { pub static mut glad_glColorP3uiv : PFNGLCOLORP3UIVPROC ; } pub type PFNGLCOLORP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : GLuint ) > ; extern "C" { pub static mut glad_glColorP4ui : PFNGLCOLORP4UIPROC ; } pub type PFNGLCOLORP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : * const GLuint ) > ; extern "C" { pub static mut glad_glColorP4uiv : PFNGLCOLORP4UIVPROC ; } pub type PFNGLSECONDARYCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColorP3ui : PFNGLSECONDARYCOLORP3UIPROC ; } pub type PFNGLSECONDARYCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : * const GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColorP3uiv : PFNGLSECONDARYCOLORP3UIVPROC ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_sizei { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_sizei ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_sizei > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_sizei ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_sizei > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_sizei ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizei > ( ) ) ) . width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizei ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizei > ( ) ) ) . height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizei ) , "::" , stringify ! ( height ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_sizef { pub width : f32 , pub height : f32 , } # [ test ] fn bindgen_test_layout_rf_sizef ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_sizef > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_sizef ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_sizef > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_sizef ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizef > ( ) ) ) . width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizef ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizef > ( ) ) ) . height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizef ) , "::" , stringify ! ( height ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_vector2 { pub x : f32 , pub y : f32 , } # [ test ] fn bindgen_test_layout_rf_vector2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_vector2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_vector2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_vector2 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_vector2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector2 > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector2 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector2 > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector2 ) , "::" , stringify ! ( y ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_vector3 { pub x : f32 , pub y : f32 , pub z : f32 , } # [ test ] fn bindgen_test_layout_rf_vector3 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_vector3 > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( rf_vector3 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_vector3 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_vector3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector3 > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector3 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector3 > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector3 ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector3 > ( ) ) ) . z as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector3 ) , "::" , stringify ! ( z ) ) ) ; } pub type rf_quaternion = rf_vector4 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_vector4 { pub x : f32 , pub y : f32 , pub z : f32 , pub w : f32 , } # [ test ] fn bindgen_test_layout_rf_vector4 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_vector4 > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_vector4 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_vector4 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_vector4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . z as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . w as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( w ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_matrix { pub m0 : f32 , pub m4 : f32 , pub m8 : f32 , pub m12 : f32 , pub m1 : f32 , pub m5 : f32 , pub m9 : f32 , pub m13 : f32 , pub m2 : f32 , pub m6 : f32 , pub m10 : f32 , pub m14 : f32 , pub m3 : f32 , pub m7 : f32 , pub m11 : f32 , pub m15 : f32 , } # [ test ] fn bindgen_test_layout_rf_matrix ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_matrix > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( rf_matrix ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_matrix > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m4 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m8 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m8 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m12 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m12 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m5 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m9 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m9 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m13 as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m13 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m2 as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m6 as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m10 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m10 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m14 as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m14 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m3 as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m7 as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m7 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m11 as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m11 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m15 as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m15 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_rectangle { pub x : f32 , pub y : f32 , pub width : f32 , pub height : f32 , } # [ test ] fn bindgen_test_layout_rf_rectangle ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_rectangle > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_rectangle ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_rectangle > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_rectangle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . width as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . height as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( height ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_float3 { pub v : [ f32 ; 3usize ] , } # [ test ] fn bindgen_test_layout_rf_float3 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_float3 > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( rf_float3 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_float3 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_float3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_float3 > ( ) ) ) . v as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_float3 ) , "::" , stringify ! ( v ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_float16 { pub v : [ f32 ; 16usize ] , } # [ test ] fn bindgen_test_layout_rf_float16 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_float16 > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( rf_float16 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_float16 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_float16 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_float16 > ( ) ) ) . v as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_float16 ) , "::" , stringify ! ( v ) ) ) ; } extern "C" { pub fn rf_clamp ( value : f32 , min : f32 , max : f32 ) -> f32 ; } extern "C" { pub fn rf_lerp ( start : f32 , end : f32 , amount : f32 ) -> f32 ; } extern "C" { pub fn rf_vector2_zero ( ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_one ( ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_add ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_substract ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_length ( v : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_dot_product ( v1 : rf_vector2 , v2 : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_distance ( v1 : rf_vector2 , v2 : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_angle ( v1 : rf_vector2 , v2 : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_scale ( v : rf_vector2 , scale : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_multiply_v ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_negate ( v : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide ( v : rf_vector2 , div : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide_v ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_normalize ( v : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_lerp ( v1 : rf_vector2 , v2 : rf_vector2 , amount : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector3_zero ( ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_one ( ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_add ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_substract ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply ( v : rf_vector3 , scalar : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply_v ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_cross_product ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_perpendicular ( v : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_length ( v : rf_vector3 ) -> f32 ; } extern "C" { pub fn rf_vector3_dot_product ( v1 : rf_vector3 , v2 : rf_vector3 ) -> f32 ; } extern "C" { pub fn rf_vector3_distance ( v1 : rf_vector3 , v2 : rf_vector3 ) -> f32 ; } extern "C" { pub fn rf_vector3_scale ( v : rf_vector3 , scale : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_negate ( v : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide ( v : rf_vector3 , div : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide_v ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_normalize ( v : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_ortho_normalize ( v1 : * mut rf_vector3 , v2 : * mut rf_vector3 ) ; } extern "C" { pub fn rf_vector3_transform ( v : rf_vector3 , mat : rf_matrix ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_rotate_by_quaternion ( v : rf_vector3 , q : rf_quaternion ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_lerp ( v1 : rf_vector3 , v2 : rf_vector3 , amount : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_reflect ( v : rf_vector3 , normal : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_min ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_max ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_barycenter ( p : rf_vector3 , a : rf_vector3 , b : rf_vector3 , c : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_to_float_v ( v : rf_vector3 ) -> rf_float3 ; } extern "C" { pub fn rf_matrix_determinant ( mat : rf_matrix ) -> f32 ; } extern "C" { pub fn rf_matrix_trace ( mat : rf_matrix ) -> f32 ; } extern "C" { pub fn rf_matrix_transpose ( mat : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_invert ( mat : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_normalize ( mat : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_identity ( ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_add ( left : rf_matrix , right : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_subtract ( left : rf_matrix , right : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_translate ( x : f32 , y : f32 , z : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate ( axis : rf_vector3 , angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_xyz ( ang : rf_vector3 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_x ( angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_y ( angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_z ( angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_scale ( x : f32 , y : f32 , z : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_multiply ( left : rf_matrix , right : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_frustum ( left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_perspective ( fovy : f64 , aspect : f64 , near_val : f64 , far_val : f64 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_ortho ( left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_look_at ( eye : rf_vector3 , target : rf_vector3 , up : rf_vector3 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_to_floatv ( mat : rf_matrix ) -> rf_float16 ; } extern "C" { pub fn rf_quaternion_identity ( ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_length ( q : rf_quaternion ) -> f32 ; } extern "C" { pub fn rf_quaternion_normalize ( q : rf_quaternion ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_invert ( q : rf_quaternion ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_multiply ( q1 : rf_quaternion , q2 : rf_quaternion ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_lerp ( q1 : rf_quaternion , q2 : rf_quaternion , amount : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_nlerp ( q1 : rf_quaternion , q2 : rf_quaternion , amount : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_slerp ( q1 : rf_quaternion , q2 : rf_quaternion , amount : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_vector3_to_vector3 ( from : rf_vector3 , to : rf_vector3 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_matrix ( mat : rf_matrix ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_matrix ( q : rf_quaternion ) -> rf_matrix ; } extern "C" { pub fn rf_quaternion_from_axis_angle ( axis : rf_vector3 , angle : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_axis_angle ( q : rf_quaternion , outAxis : * mut rf_vector3 , outAngle : * mut f32 ) ; } extern "C" { pub fn rf_quaternion_from_euler ( roll : f32 , pitch : f32 , yaw : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_euler ( q : rf_quaternion ) -> rf_vector3 ; } extern "C" { pub fn rf_quaternion_transform ( q : rf_quaternion , mat : rf_matrix ) -> rf_quaternion ; } extern "C" { pub fn rf_check_collision_recs ( rec1 : rf_rectangle , rec2 : rf_rectangle ) -> bool ; } extern "C" { pub fn rf_check_collision_circles ( center1 : rf_vector2 , radius1 : f32 , center2 : rf_vector2 , radius2 : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_circle_rec ( center : rf_vector2 , radius : f32 , rec : rf_rectangle ) -> bool ; } extern "C" { pub fn rf_get_collision_rec ( rec1 : rf_rectangle , rec2 : rf_rectangle ) -> rf_rectangle ; } extern "C" { pub fn rf_check_collision_point_rec ( point : rf_vector2 , rec : rf_rectangle ) -> bool ; } extern "C" { pub fn rf_check_collision_point_circle ( point : rf_vector2 , center : rf_vector2 , radius : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_point_triangle ( point : rf_vector2 , p1 : rf_vector2 , p2 : rf_vector2 , p3 : rf_vector2 ) -> bool ; } extern "C" { pub fn rf_get_random_value ( min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_input_state_for_update_camera { pub mouse_position : rf_vector2 , pub mouse_wheel_move : :: std :: os :: raw :: c_int , pub is_camera_pan_control_key_down : bool , pub is_camera_alt_control_key_down : bool , pub is_camera_smooth_zoom_control_key : bool , pub direction_keys : [ bool ; 6usize ] , } # [ test ] fn bindgen_test_layout_rf_input_state_for_update_camera ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_input_state_for_update_camera > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_input_state_for_update_camera ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_input_state_for_update_camera > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_input_state_for_update_camera ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . mouse_position as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( mouse_position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . mouse_wheel_move as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( mouse_wheel_move ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . is_camera_pan_control_key_down as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( is_camera_pan_control_key_down ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . is_camera_alt_control_key_down as * const _ as usize } , 13usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( is_camera_alt_control_key_down ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . is_camera_smooth_zoom_control_key as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( is_camera_smooth_zoom_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . direction_keys as * const _ as usize } , 15usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( direction_keys ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_color { pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_rf_color ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_color > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( rf_color ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_color > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( rf_color ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . r as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( r ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . g as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( g ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . b as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . a as * const _ as usize } , 3usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( a ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_image { pub data : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_image ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_image > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_image ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_image > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . width as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . height as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . mipmaps as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( mipmaps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . format as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( format ) ) ) ; } pub type rf_texture = rf_texture2d ; pub type rf_texture_cubemap = rf_texture2d ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_texture2d { pub id : :: std :: os :: raw :: c_uint , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_texture2d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_texture2d > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( rf_texture2d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_texture2d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_texture2d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . width as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . height as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . mipmaps as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( mipmaps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . format as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( format ) ) ) ; } pub type rf_render_texture = rf_render_texture2d ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_render_texture2d { pub id : :: std :: os :: raw :: c_uint , pub texture : rf_texture2d , pub depth : rf_texture2d , pub depth_texture : bool , } # [ test ] fn bindgen_test_layout_rf_render_texture2d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_render_texture2d > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( rf_render_texture2d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_render_texture2d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_render_texture2d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . texture as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . depth as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( depth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . depth_texture as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( depth_texture ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_npatch_info { pub source_rec : rf_rectangle , pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub right : :: std :: os :: raw :: c_int , pub bottom : :: std :: os :: raw :: c_int , pub type_ : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_npatch_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_npatch_info > ( ) , 36usize , concat ! ( "Size of: " , stringify ! ( rf_npatch_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_npatch_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_npatch_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . source_rec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( source_rec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . left as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . top as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . right as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . bottom as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . type_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_char_info { pub value : :: std :: os :: raw :: c_int , pub offset_x : :: std :: os :: raw :: c_int , pub offset_y : :: std :: os :: raw :: c_int , pub advance_x : :: std :: os :: raw :: c_int , pub image : rf_image , } # [ test ] fn bindgen_test_layout_rf_char_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_char_info > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( rf_char_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_char_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_char_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . offset_x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( offset_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . offset_y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( offset_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . advance_x as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( advance_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . image as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( image ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_font { pub base_size : :: std :: os :: raw :: c_int , pub chars_count : :: std :: os :: raw :: c_int , pub texture : rf_texture2d , pub recs : * mut rf_rectangle , pub chars : * mut rf_char_info , } # [ test ] fn bindgen_test_layout_rf_font ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_font > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( rf_font ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_font > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_font ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . base_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( base_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . chars_count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( chars_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . texture as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . recs as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( recs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . chars as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_load_font_async_result { pub font : rf_font , pub atlas : rf_image , } # [ test ] fn bindgen_test_layout_rf_load_font_async_result ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_load_font_async_result > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( rf_load_font_async_result ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_load_font_async_result > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_load_font_async_result ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_load_font_async_result > ( ) ) ) . font as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_load_font_async_result ) , "::" , stringify ! ( font ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_load_font_async_result > ( ) ) ) . atlas as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_load_font_async_result ) , "::" , stringify ! ( atlas ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_camera3d { pub position : rf_vector3 , pub target : rf_vector3 , pub up : rf_vector3 , pub fovy : f32 , pub type_ : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_camera3d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_camera3d > ( ) , 44usize , concat ! ( "Size of: " , stringify ! ( rf_camera3d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_camera3d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_camera3d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . position as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . target as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( target ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . up as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . fovy as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( fovy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . type_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_camera2d { pub offset : rf_vector2 , pub target : rf_vector2 , pub rotation : f32 , pub zoom : f32 , } # [ test ] fn bindgen_test_layout_rf_camera2d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_camera2d > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_camera2d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_camera2d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_camera2d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . target as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( target ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . rotation as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . zoom as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( zoom ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_mesh { pub vertex_count : :: std :: os :: raw :: c_int , pub triangle_count : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub texcoords2 : * mut f32 , pub normals : * mut f32 , pub tangents : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_ushort , pub anim_vertices : * mut f32 , pub anim_normals : * mut f32 , pub bone_ids : * mut :: std :: os :: raw :: c_int , pub bone_weights : * mut f32 , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : * mut :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_rf_mesh ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_mesh > ( ) , 112usize , concat ! ( "Size of: " , stringify ! ( rf_mesh ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_mesh > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_mesh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vertex_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vertex_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . triangle_count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( triangle_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vertices as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . texcoords as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . texcoords2 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( texcoords2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . normals as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . tangents as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( tangents ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . colors as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( colors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . indices as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( indices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . anim_vertices as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( anim_vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . anim_normals as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( anim_normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . bone_ids as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( bone_ids ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . bone_weights as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( bone_weights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vao_id as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vao_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vbo_id as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vbo_id ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_shader { pub id : :: std :: os :: raw :: c_uint , pub locs : * mut :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_shader ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_shader > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_shader ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_shader > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_shader > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_shader ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_shader > ( ) ) ) . locs as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_shader ) , "::" , stringify ! ( locs ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_material_map { pub texture : rf_texture2d , pub color : rf_color , pub value : f32 , } # [ test ] fn bindgen_test_layout_rf_material_map ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_material_map > ( ) , 28usize , concat ! ( "Size of: " , stringify ! ( rf_material_map ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_material_map > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_material_map ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material_map > ( ) ) ) . texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_material_map ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material_map > ( ) ) ) . color as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_material_map ) , "::" , stringify ! ( color ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material_map > ( ) ) ) . value as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_material_map ) , "::" , stringify ! ( value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_material { pub shader : rf_shader , pub maps : * mut rf_material_map , pub params : * mut f32 , } # [ test ] fn bindgen_test_layout_rf_material ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_material > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( rf_material ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_material > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material > ( ) ) ) . shader as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_material ) , "::" , stringify ! ( shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material > ( ) ) ) . maps as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_material ) , "::" , stringify ! ( maps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material > ( ) ) ) . params as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_material ) , "::" , stringify ! ( params ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_transform { pub translation : rf_vector3 , pub rotation : rf_quaternion , pub scale : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_transform ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_transform > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( rf_transform ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_transform > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_transform > ( ) ) ) . translation as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_transform ) , "::" , stringify ! ( translation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_transform > ( ) ) ) . rotation as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_transform ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_transform > ( ) ) ) . scale as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( rf_transform ) , "::" , stringify ! ( scale ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_bone_info { pub name : [ :: std :: os :: raw :: c_char ; 32usize ] , pub parent : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_bone_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_bone_info > ( ) , 36usize , concat ! ( "Size of: " , stringify ! ( rf_bone_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_bone_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_bone_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bone_info > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_bone_info ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bone_info > ( ) ) ) . parent as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_bone_info ) , "::" , stringify ! ( parent ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_model { pub transform : rf_matrix , pub mesh_count : :: std :: os :: raw :: c_int , pub meshes : * mut rf_mesh , pub material_count : :: std :: os :: raw :: c_int , pub materials : * mut rf_material , pub mesh_material : * mut :: std :: os :: raw :: c_int , pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub bind_pose : * mut rf_transform , } # [ test ] fn bindgen_test_layout_rf_model ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_model > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( rf_model ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_model > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_model ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . transform as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . mesh_count as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( mesh_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . meshes as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( meshes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . material_count as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( material_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . materials as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( materials ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . mesh_material as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( mesh_material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . bone_count as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( bone_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . bones as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( bones ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . bind_pose as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( bind_pose ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_model_animation { pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub frame_count : :: std :: os :: raw :: c_int , pub frame_poses : * mut * mut rf_transform , } # [ test ] fn bindgen_test_layout_rf_model_animation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_model_animation > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( rf_model_animation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_model_animation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_model_animation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . bone_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( bone_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . bones as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( bones ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . frame_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( frame_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . frame_poses as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( frame_poses ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_ray { pub position : rf_vector3 , pub direction : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_ray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_ray > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_ray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_ray > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_ray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray > ( ) ) ) . position as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray > ( ) ) ) . direction as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray ) , "::" , stringify ! ( direction ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_ray_hit_info { pub hit : bool , pub distance : f32 , pub position : rf_vector3 , pub normal : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_ray_hit_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_ray_hit_info > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( rf_ray_hit_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_ray_hit_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_ray_hit_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . hit as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( hit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . distance as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( distance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . position as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . normal as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( normal ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_bounding_box { pub min : rf_vector3 , pub max : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_bounding_box ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_bounding_box > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_bounding_box ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_bounding_box > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_bounding_box ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bounding_box > ( ) ) ) . min as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_bounding_box ) , "::" , stringify ! ( min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bounding_box > ( ) ) ) . max as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_bounding_box ) , "::" , stringify ! ( max ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_dynamic_buffer { pub vCounter : :: std :: os :: raw :: c_int , pub tcCounter : :: std :: os :: raw :: c_int , pub cCounter : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_uint , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : [ :: std :: os :: raw :: c_uint ; 4usize ] , } # [ test ] fn bindgen_test_layout_rf_dynamic_buffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_dynamic_buffer > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( rf_dynamic_buffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_dynamic_buffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_dynamic_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vCounter as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vCounter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . tcCounter as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( tcCounter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . cCounter as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( cCounter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vertices as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . texcoords as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . colors as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( colors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . indices as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( indices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vao_id as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vao_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vbo_id as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vbo_id ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_draw_call { pub mode : :: std :: os :: raw :: c_int , pub vertex_count : :: std :: os :: raw :: c_int , pub vertexAlignment : :: std :: os :: raw :: c_int , pub textureId : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_rf_draw_call ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_draw_call > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_draw_call ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_draw_call > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_draw_call ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . mode as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . vertex_count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( vertex_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . vertexAlignment as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( vertexAlignment ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . textureId as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( textureId ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_gl_context { pub stack : [ rf_matrix ; 32usize ] , pub stack_counter : :: std :: os :: raw :: c_int , pub modelview : rf_matrix , pub projection : rf_matrix , pub current_matrix : * mut rf_matrix , pub current_matrix_mode : :: std :: os :: raw :: c_int , pub current_depth : f32 , pub vertex_data : [ rf_dynamic_buffer ; 1usize ] , pub current_buffer : :: std :: os :: raw :: c_int , pub transform_matrix : rf_matrix , pub use_transform_matrix : bool , pub draws : * mut rf_draw_call , pub draws_counter : :: std :: os :: raw :: c_int , pub default_texture_id : :: std :: os :: raw :: c_uint , pub default_vertex_shader_id : :: std :: os :: raw :: c_uint , pub default_frag_shader_id : :: std :: os :: raw :: c_uint , pub default_shader : rf_shader , pub current_shader : rf_shader , pub vao_supported : bool , pub tex_comp_dxt_supported : bool , pub tex_comp_etc1_supported : bool , pub tex_comp_etc2_supported : bool , pub tex_comp_pvrt_supported : bool , pub tex_comp_astc_supported : bool , pub tex_npot_supported : bool , pub tex_float_supported : bool , pub tex_depth_supported : bool , pub max_depth_bits : :: std :: os :: raw :: c_int , pub tex_mirror_clamp_supported : bool , pub tex_anisotropic_filter_supported : bool , pub max_anisotropic_level : f32 , pub debug_marker_supported : bool , pub blend_mode : :: std :: os :: raw :: c_int , pub framebuffer_width : :: std :: os :: raw :: c_int , pub framebuffer_height : :: std :: os :: raw :: c_int , pub camera_angle : rf_vector2 , pub camera_target_distance : f32 , pub player_eyes_position : f32 , pub camera_move_control : [ :: std :: os :: raw :: c_int ; 6usize ] , pub camera_pan_control_key : :: std :: os :: raw :: c_int , pub camera_alt_control_key : :: std :: os :: raw :: c_int , pub camera_smooth_zoom_control_key : :: std :: os :: raw :: c_int , pub camera_mode : :: std :: os :: raw :: c_int , pub tex_shapes : rf_texture2d , pub rec_tex_shapes : rf_rectangle , } # [ test ] fn bindgen_test_layout_rf_gl_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_gl_context > ( ) , 2536usize , concat ! ( "Size of: " , stringify ! ( rf_gl_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_gl_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_gl_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . stack as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( stack ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . stack_counter as * const _ as usize } , 2048usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( stack_counter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . modelview as * const _ as usize } , 2052usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( modelview ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . projection as * const _ as usize } , 2116usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( projection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_matrix as * const _ as usize } , 2184usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_matrix_mode as * const _ as usize } , 2192usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_matrix_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_depth as * const _ as usize } , 2196usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_depth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . vertex_data as * const _ as usize } , 2200usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( vertex_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_buffer as * const _ as usize } , 2272usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . transform_matrix as * const _ as usize } , 2276usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( transform_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . use_transform_matrix as * const _ as usize } , 2340usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( use_transform_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . draws as * const _ as usize } , 2344usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( draws ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . draws_counter as * const _ as usize } , 2352usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( draws_counter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_texture_id as * const _ as usize } , 2356usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_texture_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_vertex_shader_id as * const _ as usize } , 2360usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_vertex_shader_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_frag_shader_id as * const _ as usize } , 2364usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_frag_shader_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_shader as * const _ as usize } , 2368usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_shader as * const _ as usize } , 2384usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . vao_supported as * const _ as usize } , 2400usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( vao_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_dxt_supported as * const _ as usize } , 2401usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_dxt_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_etc1_supported as * const _ as usize } , 2402usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_etc1_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_etc2_supported as * const _ as usize } , 2403usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_etc2_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_pvrt_supported as * const _ as usize } , 2404usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_pvrt_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_astc_supported as * const _ as usize } , 2405usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_astc_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_npot_supported as * const _ as usize } , 2406usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_npot_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_float_supported as * const _ as usize } , 2407usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_float_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_depth_supported as * const _ as usize } , 2408usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_depth_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . max_depth_bits as * const _ as usize } , 2412usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( max_depth_bits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_mirror_clamp_supported as * const _ as usize } , 2416usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_mirror_clamp_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_anisotropic_filter_supported as * const _ as usize } , 2417usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_anisotropic_filter_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . max_anisotropic_level as * const _ as usize } , 2420usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( max_anisotropic_level ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . debug_marker_supported as * const _ as usize } , 2424usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( debug_marker_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . blend_mode as * const _ as usize } , 2428usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( blend_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . framebuffer_width as * const _ as usize } , 2432usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( framebuffer_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . framebuffer_height as * const _ as usize } , 2436usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( framebuffer_height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_angle as * const _ as usize } , 2440usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_angle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_target_distance as * const _ as usize } , 2448usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_target_distance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . player_eyes_position as * const _ as usize } , 2452usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( player_eyes_position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_move_control as * const _ as usize } , 2456usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_move_control ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_pan_control_key as * const _ as usize } , 2480usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_pan_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_alt_control_key as * const _ as usize } , 2484usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_alt_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_smooth_zoom_control_key as * const _ as usize } , 2488usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_smooth_zoom_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_mode as * const _ as usize } , 2492usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_shapes as * const _ as usize } , 2496usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_shapes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . rec_tex_shapes as * const _ as usize } , 2516usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( rec_tex_shapes ) ) ) ; } pub type rf_byte = :: std :: os :: raw :: c_uchar ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct rf_context { pub __bindgen_anon_1 : rf_context__bindgen_ty_1 , pub __bindgen_anon_2 : rf_context__bindgen_ty_2 , pub __bindgen_anon_3 : rf_context__bindgen_ty_3 , pub __bindgen_anon_4 : rf_context__bindgen_ty_4 , pub render_offset_x : :: std :: os :: raw :: c_int , pub render_offset_y : :: std :: os :: raw :: c_int , pub screen_scaling : rf_matrix , pub base_time : :: std :: os :: raw :: c_ulonglong , pub current_time : f64 , pub previous_time : f64 , pub update_time : f64 , pub draw_time : f64 , pub frame_time : f64 , pub target_time : f64 , pub default_font : rf_font , pub gl_ctx : rf_gl_context , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_1 { pub display_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_1__bindgen_ty_1 { pub display_width : :: std :: os :: raw :: c_int , pub display_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_1__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . display_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( display_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . display_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( display_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_1 > ( ) ) ) . display_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_1 ) , "::" , stringify ! ( display_size ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_2 { pub screen_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_2__bindgen_ty_1 { pub screen_width : :: std :: os :: raw :: c_int , pub screen_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_2__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . screen_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( screen_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . screen_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( screen_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_2 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_2 > ( ) ) ) . screen_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_2 ) , "::" , stringify ! ( screen_size ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_3 { pub render_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_3__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_3__bindgen_ty_1 { pub render_width : :: std :: os :: raw :: c_int , pub render_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_3__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) ) ) . render_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) , "::" , stringify ! ( render_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) ) ) . render_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) , "::" , stringify ! ( render_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_3 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_3 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_3 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_3 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_3 > ( ) ) ) . render_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_3 ) , "::" , stringify ! ( render_size ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_4 { pub current_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_4__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_4__bindgen_ty_1 { pub current_width : :: std :: os :: raw :: c_int , pub current_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_4__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) ) ) . current_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) , "::" , stringify ! ( current_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) ) ) . current_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) , "::" , stringify ! ( current_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_4 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_4 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_4 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_4 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_4 > ( ) ) ) . current_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_4 ) , "::" , stringify ! ( current_size ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context > ( ) , 2744usize , concat ! ( "Size of: " , stringify ! ( rf_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . render_offset_x as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( render_offset_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . render_offset_y as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( render_offset_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . screen_scaling as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( screen_scaling ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . base_time as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( base_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . current_time as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( current_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . previous_time as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( previous_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . update_time as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( update_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . draw_time as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( draw_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . frame_time as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( frame_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . target_time as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( target_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . default_font as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( default_font ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . gl_ctx as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( gl_ctx ) ) ) ; } pub const rf_shader_location_index_rf_loc_vertex_position : rf_shader_location_index = 0 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord01 : rf_shader_location_index = 1 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord02 : rf_shader_location_index = 2 ; pub const rf_shader_location_index_rf_loc_vertex_normal : rf_shader_location_index = 3 ; pub const rf_shader_location_index_rf_loc_vertex_tangent : rf_shader_location_index = 4 ; pub const rf_shader_location_index_rf_loc_vertex_color : rf_shader_location_index = 5 ; pub const rf_shader_location_index_rf_loc_matrix_mvp : rf_shader_location_index = 6 ; pub const rf_shader_location_index_rf_loc_matrix_model : rf_shader_location_index = 7 ; pub const rf_shader_location_index_rf_loc_matrix_view : rf_shader_location_index = 8 ; pub const rf_shader_location_index_rf_loc_matrix_projection : rf_shader_location_index = 9 ; pub const rf_shader_location_index_rf_loc_vector_view : rf_shader_location_index = 10 ; pub const rf_shader_location_index_rf_loc_color_diffuse : rf_shader_location_index = 11 ; pub const rf_shader_location_index_rf_loc_color_specular : rf_shader_location_index = 12 ; pub const rf_shader_location_index_rf_loc_color_ambient : rf_shader_location_index = 13 ; pub const rf_shader_location_index_rf_loc_map_albedo : rf_shader_location_index = 14 ; pub const rf_shader_location_index_rf_loc_map_metalness : rf_shader_location_index = 15 ; pub const rf_shader_location_index_rf_loc_map_normal : rf_shader_location_index = 16 ; pub const rf_shader_location_index_rf_loc_map_roughness : rf_shader_location_index = 17 ; pub const rf_shader_location_index_rf_loc_map_occlusion : rf_shader_location_index = 18 ; pub const rf_shader_location_index_rf_loc_map_emission : rf_shader_location_index = 19 ; pub const rf_shader_location_index_rf_loc_map_height : rf_shader_location_index = 20 ; pub const rf_shader_location_index_rf_loc_map_cubemap : rf_shader_location_index = 21 ; pub const rf_shader_location_index_rf_loc_map_irradiance : rf_shader_location_index = 22 ; pub const rf_shader_location_index_rf_loc_map_prefilter : rf_shader_location_index = 23 ; pub const rf_shader_location_index_rf_loc_map_brdf : rf_shader_location_index = 24 ; pub type rf_shader_location_index = u32 ; pub const rf_shader_uniform_data_type_rf_uniform_float : rf_shader_uniform_data_type = 0 ; pub const rf_shader_uniform_data_type_rf_uniform_vec2 : rf_shader_uniform_data_type = 1 ; pub const rf_shader_uniform_data_type_rf_uniform_vec3 : rf_shader_uniform_data_type = 2 ; pub const rf_shader_uniform_data_type_rf_uniform_vec4 : rf_shader_uniform_data_type = 3 ; pub const rf_shader_uniform_data_type_rf_uniform_int : rf_shader_uniform_data_type = 4 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec2 : rf_shader_uniform_data_type = 5 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec3 : rf_shader_uniform_data_type = 6 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec4 : rf_shader_uniform_data_type = 7 ; pub const rf_shader_uniform_data_type_rf_uniform_sampler2d : rf_shader_uniform_data_type = 8 ; pub type rf_shader_uniform_data_type = u32 ; pub const rf_material_map_type_rf_map_albedo : rf_material_map_type = 0 ; pub const rf_material_map_type_rf_map_metalness : rf_material_map_type = 1 ; pub const rf_material_map_type_rf_map_normal : rf_material_map_type = 2 ; pub const rf_material_map_type_rf_map_roughness : rf_material_map_type = 3 ; pub const rf_material_map_type_rf_map_occlusion : rf_material_map_type = 4 ; pub const rf_material_map_type_rf_map_emission : rf_material_map_type = 5 ; pub const rf_material_map_type_rf_map_height : rf_material_map_type = 6 ; pub const rf_material_map_type_rf_map_cubemap : rf_material_map_type = 7 ; pub const rf_material_map_type_rf_map_irradiance : rf_material_map_type = 8 ; pub const rf_material_map_type_rf_map_prefilter : rf_material_map_type = 9 ; pub const rf_material_map_type_rf_map_brdf : rf_material_map_type = 10 ; pub type rf_material_map_type = u32 ; pub const rf_pixel_format_rf_uncompressed_grayscale : rf_pixel_format = 1 ; pub const rf_pixel_format_rf_uncompressed_gray_alpha : rf_pixel_format = 2 ; pub const rf_pixel_format_rf_uncompressed_r5g6b5 : rf_pixel_format = 3 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8 : rf_pixel_format = 4 ; pub const rf_pixel_format_rf_uncompressed_r5g5b5a1 : rf_pixel_format = 5 ; pub const rf_pixel_format_rf_uncompressed_r4g4b4a4 : rf_pixel_format = 6 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8a8 : rf_pixel_format = 7 ; pub const rf_pixel_format_rf_uncompressed_r32 : rf_pixel_format = 8 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32 : rf_pixel_format = 9 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32a32 : rf_pixel_format = 10 ; pub const rf_pixel_format_rf_compressed_dxt1_rgb : rf_pixel_format = 11 ; pub const rf_pixel_format_rf_compressed_dxt1_rgba : rf_pixel_format = 12 ; pub const rf_pixel_format_rf_compressed_dxt3_rgba : rf_pixel_format = 13 ; pub const rf_pixel_format_rf_compressed_dxt5_rgba : rf_pixel_format = 14 ; pub const rf_pixel_format_rf_compressed_etc1_rgb : rf_pixel_format = 15 ; pub const rf_pixel_format_rf_compressed_etc2_rgb : rf_pixel_format = 16 ; pub const rf_pixel_format_rf_compressed_etc2_eac_rgba : rf_pixel_format = 17 ; pub const rf_pixel_format_rf_compressed_pvrt_rgb : rf_pixel_format = 18 ; pub const rf_pixel_format_rf_compressed_pvrt_rgba : rf_pixel_format = 19 ; pub const rf_pixel_format_rf_compressed_astc_4x4_rgba : rf_pixel_format = 20 ; pub const rf_pixel_format_rf_compressed_astc_8x8_rgba : rf_pixel_format = 21 ; pub type rf_pixel_format = u32 ; pub const rf_texture_filter_mode_rf_filter_point : rf_texture_filter_mode = 0 ; pub const rf_texture_filter_mode_rf_filter_bilinear : rf_texture_filter_mode = 1 ; pub const rf_texture_filter_mode_rf_filter_trilinear : rf_texture_filter_mode = 2 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_4x : rf_texture_filter_mode = 3 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_8x : rf_texture_filter_mode = 4 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_16x : rf_texture_filter_mode = 5 ; pub type rf_texture_filter_mode = u32 ; pub const rf_cubemap_layout_type_rf_cubemap_auto_detect : rf_cubemap_layout_type = 0 ; pub const rf_cubemap_layout_type_rf_cubemap_line_vertical : rf_cubemap_layout_type = 1 ; pub const rf_cubemap_layout_type_rf_cubemap_line_horizontal : rf_cubemap_layout_type = 2 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_three_by_four : rf_cubemap_layout_type = 3 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_four_by_three : rf_cubemap_layout_type = 4 ; pub const rf_cubemap_layout_type_rf_cubemap_panorama : rf_cubemap_layout_type = 5 ; pub type rf_cubemap_layout_type = u32 ; pub const rf_texture_wrap_mode_rf_wrap_repeat : rf_texture_wrap_mode = 0 ; pub const rf_texture_wrap_mode_rf_wrap_clamp : rf_texture_wrap_mode = 1 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_repeat : rf_texture_wrap_mode = 2 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_clamp : rf_texture_wrap_mode = 3 ; pub type rf_texture_wrap_mode = u32 ; pub const rf_font_type_rf_font_default : rf_font_type = 0 ; pub const rf_font_type_rf_font_bitmap : rf_font_type = 1 ; pub const rf_font_type_rf_font_sdf : rf_font_type = 2 ; pub type rf_font_type = u32 ; pub const rf_blend_mode_rf_blend_alpha : rf_blend_mode = 0 ; pub const rf_blend_mode_rf_blend_additive : rf_blend_mode = 1 ; pub const rf_blend_mode_rf_blend_multiplied : rf_blend_mode = 2 ; pub type rf_blend_mode = u32 ; pub const rf_camera_mode_rf_camera_custom : rf_camera_mode = 0 ; pub const rf_camera_mode_rf_camera_free : rf_camera_mode = 1 ; pub const rf_camera_mode_rf_camera_orbital : rf_camera_mode = 2 ; pub const rf_camera_mode_rf_camera_first_person : rf_camera_mode = 3 ; pub const rf_camera_mode_rf_camera_third_person : rf_camera_mode = 4 ; pub type rf_camera_mode = u32 ; pub const rf_camera_type_rf_camera_perspective : rf_camera_type = 0 ; pub const rf_camera_type_rf_camera_orthographic : rf_camera_type = 1 ; pub type rf_camera_type = u32 ; pub const rf_ninepatch_type_rf_npt_9patch : rf_ninepatch_type = 0 ; pub const rf_ninepatch_type_rf_npt_3patch_vertical : rf_ninepatch_type = 1 ; pub const rf_ninepatch_type_rf_npt_3patch_horizontal : rf_ninepatch_type = 2 ; pub type rf_ninepatch_type = u32 ; extern "C" { pub fn rf_wait ( arg1 : f32 ) ; } extern "C" { pub fn rf_get_time ( ) -> f64 ; } extern "C" { pub fn rf_get_file_size ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_load_file_into_buffer ( filename : * const :: std :: os :: raw :: c_char , buffer : * mut rf_byte , buffer_size : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_context_init ( rf_ctx : * mut rf_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_global_context_ptr ( rf_ctx : * mut rf_context ) ; } extern "C" { pub fn rf_load_font_default ( ) ; } extern "C" { pub fn rf_clear_background ( color : rf_color ) ; } extern "C" { pub fn rf_begin_drawing ( ) ; } extern "C" { pub fn rf_end_drawing ( ) ; } extern "C" { pub fn rf_begin_mode2d ( camera : rf_camera2d ) ; } extern "C" { pub fn rf_end_mode2d ( ) ; } extern "C" { pub fn rf_begin_mode3d ( camera : rf_camera3d ) ; } extern "C" { pub fn rf_end_mode3d ( ) ; } extern "C" { pub fn rf_begin_texture_mode ( target : rf_render_texture2d ) ; } extern "C" { pub fn rf_end_texture_mode ( ) ; } extern "C" { pub fn rf_begin_scissor_mode ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_end_scissor_mode ( ) ; } extern "C" { pub fn rf_get_mouse_ray ( screen_size : rf_sizei , mouse_position : rf_vector2 , camera : rf_camera3d ) -> rf_ray ; } extern "C" { pub fn rf_get_camera_matrix ( camera : rf_camera3d ) -> rf_matrix ; } extern "C" { pub fn rf_get_camera_matrix2d ( camera : rf_camera2d ) -> rf_matrix ; } extern "C" { pub fn rf_get_world_to_screen ( screen_size : rf_sizei , position : rf_vector3 , camera : rf_camera3d ) -> rf_vector2 ; } extern "C" { pub fn rf_get_world_to_screen2d ( position : rf_vector2 , camera : rf_camera2d ) -> rf_vector2 ; } extern "C" { pub fn rf_get_screen_to_world2d ( position : rf_vector2 , camera : rf_camera2d ) -> rf_vector2 ; } extern "C" { pub fn rf_set_target_fps ( fps : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_get_fps ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_frame_time ( ) -> f32 ; } extern "C" { pub fn rf_color_to_int ( color : rf_color ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_color_normalize ( color : rf_color ) -> rf_vector4 ; } extern "C" { pub fn rf_color_from_normalized ( normalized : rf_vector4 ) -> rf_color ; } extern "C" { pub fn rf_color_to_hsv ( color : rf_color ) -> rf_vector3 ; } extern "C" { pub fn rf_color_from_hsv ( hsv : rf_vector3 ) -> rf_color ; } extern "C" { pub fn rf_color_from_int ( hexValue : :: std :: os :: raw :: c_int ) -> rf_color ; } extern "C" { pub fn rf_fade ( color : rf_color , alpha : f32 ) -> rf_color ; } extern "C" { pub fn rf_set_camera_mode ( camera : rf_camera3d , mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_update_camera3d ( camera : * mut rf_camera3d , inputState : rf_input_state_for_update_camera ) ; } extern "C" { pub fn rf_set_camera_pan_control ( panKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_camera_alt_control ( altKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_camera_smooth_zoom_control ( szKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_camera_move_controls ( frontKey : :: std :: os :: raw :: c_int , backKey : :: std :: os :: raw :: c_int , rightKey : :: std :: os :: raw :: c_int , leftKey : :: std :: os :: raw :: c_int , upKey : :: std :: os :: raw :: c_int , downKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_draw_pixel ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_pixel_v ( position : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line ( startPosX : :: std :: os :: raw :: c_int , startPosY : :: std :: os :: raw :: c_int , endPosX : :: std :: os :: raw :: c_int , endPosY : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_v ( startPos : rf_vector2 , endPos : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_ex ( startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_bezier ( startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_strip ( points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle ( centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_sector ( center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_sector_lines ( center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_gradient ( centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color1 : rf_color , color2 : rf_color ) ; } extern "C" { pub fn rf_draw_circle_v ( center : rf_vector2 , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_lines ( centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_ring ( center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_ring_lines ( center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_v ( position : rf_vector2 , size : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_rec ( rec : rf_rectangle , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_pro ( rec : rf_rectangle , origin : rf_vector2 , rotation : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_gradient_v ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_gradient_h ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_gradient_ex ( rec : rf_rectangle , col1 : rf_color , col2 : rf_color , col3 : rf_color , col4 : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_lines ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_lines_ex ( rec : rf_rectangle , lineThick : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_rounded ( rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_rounded_lines ( rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , lineThick : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle ( v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle_lines ( v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle_fan ( points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle_strip ( points : * mut rf_vector2 , pointsCount : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_poly ( center : rf_vector2 , sides : :: std :: os :: raw :: c_int , radius : f32 , rotation : f32 , color : rf_color ) ; } extern "C" { pub fn rf_set_shapes_texture ( texture : rf_texture2d , source : rf_rectangle ) ; } extern "C" { pub fn rf_load_image ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_image ; } extern "C" { pub fn rf_load_image_ex ( pixels : * mut rf_color , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_load_image_pro ( data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_load_image_raw ( fileName : * const :: std :: os :: raw :: c_char , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , headerSize : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_export_image ( image : rf_image , fileName : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn rf_load_texture ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_from_image ( image : rf_image ) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_cubemap ( image : rf_image , layoutType : :: std :: os :: raw :: c_int ) -> rf_texture_cubemap ; } extern "C" { pub fn rf_load_render_texture ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> rf_render_texture2d ; } extern "C" { pub fn rf_unload_image ( image : rf_image ) ; } extern "C" { pub fn rf_unload_texture ( texture : rf_texture2d ) ; } extern "C" { pub fn rf_unload_render_texture ( target : rf_render_texture2d ) ; } extern "C" { pub fn rf_get_image_data ( image : rf_image ) -> * mut rf_color ; } extern "C" { pub fn rf_get_image_data_normalized ( image : rf_image ) -> * mut rf_vector4 ; } extern "C" { pub fn rf_get_image_alpha_border ( image : rf_image , threshold : f32 ) -> rf_rectangle ; } extern "C" { pub fn rf_get_pixel_data_size ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_texture_data ( texture : rf_texture2d ) -> rf_image ; } extern "C" { pub fn rf_get_screen_data ( ) -> rf_image ; } extern "C" { pub fn rf_update_texture ( texture : rf_texture2d , pixels : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn rf_image_copy ( image : rf_image ) -> rf_image ; } extern "C" { pub fn rf_image_from_image ( image : rf_image , rec : rf_rectangle ) -> rf_image ; } extern "C" { pub fn rf_image_to_pot ( image : * mut rf_image , fillColor : rf_color ) ; } extern "C" { pub fn rf_image_format ( image : * mut rf_image , newFormat : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_alpha_mask ( image : * mut rf_image , alphaMask : rf_image ) ; } extern "C" { pub fn rf_image_alpha_clear ( image : * mut rf_image , color : rf_color , threshold : f32 ) ; } extern "C" { pub fn rf_image_alpha_crop ( image : * mut rf_image , threshold : f32 ) ; } extern "C" { pub fn rf_image_alpha_premultiply ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_crop ( image : * mut rf_image , crop : rf_rectangle ) ; } extern "C" { pub fn rf_image_resize ( image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_resize_nn ( image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_resize_canvas ( image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_image_mipmaps ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_dither ( image : * mut rf_image , rBpp : :: std :: os :: raw :: c_int , gBpp : :: std :: os :: raw :: c_int , bBpp : :: std :: os :: raw :: c_int , aBpp : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_extract_palette ( image : rf_image , maxPaletteSize : :: std :: os :: raw :: c_int , extractCount : * mut :: std :: os :: raw :: c_int ) -> * mut rf_color ; } extern "C" { pub fn rf_image_text ( text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color ) -> rf_image ; } extern "C" { pub fn rf_image_text_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , tint : rf_color ) -> rf_image ; } extern "C" { pub fn rf_image_draw ( dst : * mut rf_image , src : rf_image , srcRec : rf_rectangle , dstRec : rf_rectangle , tint : rf_color ) ; } extern "C" { pub fn rf_image_draw_rectangle ( dst : * mut rf_image , rec : rf_rectangle , color : rf_color ) ; } extern "C" { pub fn rf_image_draw_rectangle_lines ( dst : * mut rf_image , rec : rf_rectangle , thick : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_image_draw_text ( dst : * mut rf_image , position : rf_vector2 , text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_image_draw_text_ex ( dst : * mut rf_image , position : rf_vector2 , font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , color : rf_color ) ; } extern "C" { pub fn rf_image_flip_vertical ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_flip_horizontal ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_rotate_cw ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_rotate_ccw ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_color_tint ( image : * mut rf_image , color : rf_color ) ; } extern "C" { pub fn rf_image_color_invert ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_color_grayscale ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_color_contrast ( image : * mut rf_image , contrast : f32 ) ; } extern "C" { pub fn rf_image_color_brightness ( image : * mut rf_image , brightness : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_color_replace ( image : * mut rf_image , color : rf_color , replace : rf_color ) ; } extern "C" { pub fn rf_gen_image_color ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_v ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , top : rf_color , bottom : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_h ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , left : rf_color , right : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_radial ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , density : f32 , inner : rf_color , outer : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_checked ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , checksX : :: std :: os :: raw :: c_int , checksY : :: std :: os :: raw :: c_int , col1 : rf_color , col2 : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_white_noise ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , factor : f32 ) -> rf_image ; } extern "C" { pub fn rf_gen_image_perlin_noise ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , scale : f32 ) -> rf_image ; } extern "C" { pub fn rf_gen_image_cellular ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , tileSize : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_gen_texture_mipmaps ( texture : * mut rf_texture2d ) ; } extern "C" { pub fn rf_set_texture_filter ( texture : rf_texture2d , filterMode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_texture_wrap ( texture : rf_texture2d , wrapMode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_draw_texture ( texture : rf_texture2d , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_v ( texture : rf_texture2d , position : rf_vector2 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_ex ( texture : rf_texture2d , position : rf_vector2 , rotation : f32 , scale : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_rec ( texture : rf_texture2d , source_rec : rf_rectangle , position : rf_vector2 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_quad ( texture : rf_texture2d , tiling : rf_vector2 , offset : rf_vector2 , quad : rf_rectangle , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_pro ( texture : rf_texture2d , source_rec : rf_rectangle , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_npatch ( texture : rf_texture2d , nPatchInfo : rf_npatch_info , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_get_font_default ( ) -> rf_font ; } extern "C" { pub fn rf_load_font ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_font ; } extern "C" { pub fn rf_load_font_ex ( fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int ) -> rf_font ; } extern "C" { pub fn rf_load_font_async ( fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int ) -> rf_load_font_async_result ; } extern "C" { pub fn rf_finish_load_font_async ( fontJobResult : rf_load_font_async_result ) -> rf_font ; } extern "C" { pub fn rf_load_font_from_image ( image : rf_image , key : rf_color , firstChar : :: std :: os :: raw :: c_int ) -> rf_font ; } extern "C" { pub fn rf_load_font_data ( fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int ) -> * mut rf_char_info ; } extern "C" { pub fn rf_gen_image_font_atlas ( chars : * const rf_char_info , recs : * mut * mut rf_rectangle , chars_count : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , padding : :: std :: os :: raw :: c_int , packMethod : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_unload_font ( font : rf_font ) ; } extern "C" { pub fn rf_unload_font_default ( ) ; } extern "C" { pub fn rf_draw_fps ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_draw_text ( text : * const :: std :: os :: raw :: c_char , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_text_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_text_from_buffer ( font : rf_font , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_text_rec ( font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color ) ; } extern "C" { pub fn rf_draw_text_rec_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color , selectStart : :: std :: os :: raw :: c_int , selectLength : :: std :: os :: raw :: c_int , selectText : rf_color , selectBack : rf_color ) ; } extern "C" { pub fn rf_measure_text ( text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_text_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_measure_text_from_buffer ( font : rf_font , text : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , fontSize : f32 , spacing : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_get_glyph_index ( font : rf_font , character : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_height_of_text_in_container ( font : rf_font , fontSize : f32 , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , container_width : f32 ) -> f32 ; } extern "C" { pub fn rf_draw_line3d ( startPos : rf_vector3 , endPos : rf_vector3 , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle3d ( center : rf_vector3 , radius : f32 , rotationAxis : rf_vector3 , rotationAngle : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube ( position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_v ( position : rf_vector3 , size : rf_vector3 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_wires ( position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_wires_v ( position : rf_vector3 , size : rf_vector3 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_texture ( texture : rf_texture2d , position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_sphere ( centerPos : rf_vector3 , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_sphere_ex ( centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_sphere_wires ( centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_cylinder ( position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_cylinder_wires ( position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_plane ( centerPos : rf_vector3 , size : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_ray ( ray : rf_ray , color : rf_color ) ; } extern "C" { pub fn rf_draw_grid ( slices : :: std :: os :: raw :: c_int , spacing : f32 ) ; } extern "C" { pub fn rf_draw_gizmo ( position : rf_vector3 ) ; } extern "C" { pub fn rf_load_model ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_model ; } extern "C" { pub fn rf_load_model_from_mesh ( mesh : rf_mesh ) -> rf_model ; } extern "C" { pub fn rf_unload_model ( model : rf_model ) ; } extern "C" { pub fn rf_load_meshes ( fileName : * const :: std :: os :: raw :: c_char , mesh_count : * mut :: std :: os :: raw :: c_int ) -> * mut rf_mesh ; } extern "C" { pub fn rf_export_mesh ( mesh : rf_mesh , fileName : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn rf_unload_mesh ( mesh : rf_mesh ) ; } extern "C" { pub fn rf_load_materials ( fileName : * const :: std :: os :: raw :: c_char , material_count : * mut :: std :: os :: raw :: c_int ) -> * mut rf_material ; } extern "C" { pub fn rf_load_material_default ( ) -> rf_material ; } extern "C" { pub fn rf_unload_material ( material : rf_material ) ; } extern "C" { pub fn rf_set_material_texture ( material : * mut rf_material , mapType : :: std :: os :: raw :: c_int , texture : rf_texture2d ) ; } extern "C" { pub fn rf_set_model_mesh_material ( model : * mut rf_model , meshId : :: std :: os :: raw :: c_int , materialId : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_load_model_animations ( fileName : * const :: std :: os :: raw :: c_char , animsCount : * mut :: std :: os :: raw :: c_int ) -> * mut rf_model_animation ; } extern "C" { pub fn rf_update_model_animation ( model : rf_model , anim : rf_model_animation , frame : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_unload_model_animation ( anim : rf_model_animation ) ; } extern "C" { pub fn rf_is_model_animation_valid ( model : rf_model , anim : rf_model_animation ) -> bool ; } extern "C" { pub fn rf_gen_mesh_poly ( sides : :: std :: os :: raw :: c_int , radius : f32 ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_plane ( width : f32 , length : f32 , resX : :: std :: os :: raw :: c_int , resZ : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cube ( width : f32 , height : f32 , length : f32 ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_sphere ( radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_hemi_sphere ( radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cylinder ( radius : f32 , height : f32 , slices : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_torus ( radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_knot ( radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_heightmap ( heightmap : rf_image , size : rf_vector3 ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cubicmap ( cubicmap : rf_image , cubeSize : rf_vector3 ) -> rf_mesh ; } extern "C" { pub fn rf_mesh_bounding_box ( mesh : rf_mesh ) -> rf_bounding_box ; } extern "C" { pub fn rf_mesh_tangents ( mesh : * mut rf_mesh ) ; } extern "C" { pub fn rf_mesh_binormals ( mesh : * mut rf_mesh ) ; } extern "C" { pub fn rf_draw_model ( model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_model_ex ( model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_model_wires ( model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_model_wires_ex ( model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_bounding_box ( box_ : rf_bounding_box , color : rf_color ) ; } extern "C" { pub fn rf_draw_billboard ( camera : rf_camera3d , texture : rf_texture2d , center : rf_vector3 , size : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_billboard_rec ( camera : rf_camera3d , texture : rf_texture2d , source_rec : rf_rectangle , center : rf_vector3 , size : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_check_collision_spheres ( centerA : rf_vector3 , radiusA : f32 , centerB : rf_vector3 , radiusB : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_boxes ( box1 : rf_bounding_box , box2 : rf_bounding_box ) -> bool ; } extern "C" { pub fn rf_check_collision_box_sphere ( box_ : rf_bounding_box , center : rf_vector3 , radius : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere ( ray : rf_ray , center : rf_vector3 , radius : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere_ex ( ray : rf_ray , center : rf_vector3 , radius : f32 , collisionPoint : * mut rf_vector3 ) -> bool ; } extern "C" { pub fn rf_check_collision_ray_box ( ray : rf_ray , box_ : rf_bounding_box ) -> bool ; } extern "C" { pub fn rf_get_collision_ray_model ( ray : rf_ray , model : rf_model ) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_triangle ( ray : rf_ray , p1 : rf_vector3 , p2 : rf_vector3 , p3 : rf_vector3 ) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_ground ( ray : rf_ray , groundHeight : f32 ) -> rf_ray_hit_info ; } extern "C" { pub fn rf_load_shader ( vsFileName : * const :: std :: os :: raw :: c_char , fsFileName : * const :: std :: os :: raw :: c_char ) -> rf_shader ; } extern "C" { pub fn rf_load_shader_code ( vsCode : * const :: std :: os :: raw :: c_char , fsCode : * const :: std :: os :: raw :: c_char ) -> rf_shader ; } extern "C" { pub fn rf_unload_shader ( shader : rf_shader ) ; } extern "C" { pub fn rf_get_shader_default ( ) -> rf_shader ; } extern "C" { pub fn rf_get_texture_default ( ) -> rf_texture2d ; } extern "C" { pub fn rf_get_shader_location ( shader : rf_shader , uniformName : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_set_shader_value ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_shader_value_v ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int , count : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_shader_value_matrix ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , mat : rf_matrix ) ; } extern "C" { pub fn rf_set_shader_value_texture ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , texture : rf_texture2d ) ; } extern "C" { pub fn rf_set_matrix_projection ( proj : rf_matrix ) ; } extern "C" { pub fn rf_set_matrix_modelview ( view : rf_matrix ) ; } extern "C" { pub fn rf_get_matrix_modelview ( ) -> rf_matrix ; } extern "C" { pub fn rf_get_matrix_projection ( ) -> rf_matrix ; } extern "C" { pub fn rf_gen_texture_cubemap ( shader : rf_shader , skyHDR : rf_texture2d , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_irradiance ( shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_prefilter ( shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_brdf ( shader : rf_shader , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_begin_shader_mode ( shader : rf_shader ) ; } extern "C" { pub fn rf_end_shader_mode ( ) ; } extern "C" { pub fn rf_begin_blend_mode ( mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_end_blend_mode ( ) ; } extern "C" { pub fn rf_matrix_mode ( mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_push_matrix ( ) ; } extern "C" { pub fn rf_pop_matrix ( ) ; } extern "C" { pub fn rf_load_identity ( ) ; } extern "C" { pub fn rf_translatef ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_rotatef ( angleDeg : f32 , x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_scalef ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_mult_matrixf ( matf : * mut f32 ) ; } extern "C" { pub fn rf_frustum ( left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64 ) ; } extern "C" { pub fn rf_ortho ( left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64 ) ; } extern "C" { pub fn rf_gl_viewport ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_begin ( mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_end ( ) ; } extern "C" { pub fn rf_gl_vertex2i ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_vertex2f ( x : f32 , y : f32 ) ; } extern "C" { pub fn rf_gl_vertex3f ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_gl_tex_coord2f ( x : f32 , y : f32 ) ; } extern "C" { pub fn rf_gl_normal3f ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_gl_color4ub ( r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte ) ; } extern "C" { pub fn rf_gl_color3f ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_gl_color4f ( x : f32 , y : f32 , z : f32 , w : f32 ) ; } extern "C" { pub fn rf_gl_enable_texture ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_disable_texture ( ) ; } extern "C" { pub fn rf_gl_texture_parameters ( id : :: std :: os :: raw :: c_uint , param : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_enable_render_texture ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_disable_render_texture ( ) ; } extern "C" { pub fn rf_gl_enable_depth_test ( ) ; } extern "C" { pub fn rf_gl_disable_depth_test ( ) ; } extern "C" { pub fn rf_gl_enable_backface_culling ( ) ; } extern "C" { pub fn rf_gl_disable_backface_culling ( ) ; } extern "C" { pub fn rf_gl_enable_scissor_test ( ) ; } extern "C" { pub fn rf_gl_disable_scissor_test ( ) ; } extern "C" { pub fn rf_gl_scissor ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_enable_wire_mode ( ) ; } extern "C" { pub fn rf_gl_disable_wire_mode ( ) ; } extern "C" { pub fn rf_gl_delete_textures ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_delete_render_textures ( target : rf_render_texture2d ) ; } extern "C" { pub fn rf_gl_delete_shader ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_delete_vertex_arrays ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_delete_buffers ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_clear_color ( r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte ) ; } extern "C" { pub fn rf_gl_clear_screen_buffers ( ) ; } extern "C" { pub fn rf_gl_update_buffer ( bufferId : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , dataSize : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_load_attrib_buffer ( vao_id : :: std :: os :: raw :: c_uint , shaderLoc : :: std :: os :: raw :: c_int , buffer : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , dynamic : bool ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_close ( ) ; } extern "C" { pub fn rf_gl_draw ( ) ; } extern "C" { pub fn rf_gl_check_buffer_limit ( vCount : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn rf_gl_set_debug_marker ( text : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn rf_gl_load_extensions ( loader : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn rf_gl_unproject ( source : rf_vector3 , proj : rf_matrix , view : rf_matrix ) -> rf_vector3 ; } extern "C" { pub fn rf_gl_load_texture ( data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , mipmapCount : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_depth ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bits : :: std :: os :: raw :: c_int , useRenderBuffer : bool ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_cubemap ( data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_update_texture ( id : :: std :: os :: raw :: c_uint , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn rf_gl_get_gl_texture_formats ( format : :: std :: os :: raw :: c_int , glInternalFormat : * mut :: std :: os :: raw :: c_uint , glFormat : * mut :: std :: os :: raw :: c_uint , glType : * mut :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_unload_texture ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_generate_mipmaps ( texture : * mut rf_texture2d ) ; } extern "C" { pub fn rf_gl_read_texture_pixels ( texture : rf_texture2d ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rf_gl_read_screen_pixels ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn rf_gl_load_render_texture ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , depthBits : :: std :: os :: raw :: c_int , useDepthTexture : bool ) -> rf_render_texture2d ; } extern "C" { pub fn rf_gl_render_texture_attach ( target : rf_render_texture , id : :: std :: os :: raw :: c_uint , attachType : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_render_texture_complete ( target : rf_render_texture ) -> bool ; } extern "C" { pub fn rf_gl_load_mesh ( mesh : * mut rf_mesh , dynamic : bool ) ; } extern "C" { pub fn rf_gl_update_mesh ( mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_update_mesh_at ( mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_draw_mesh ( mesh : rf_mesh , material : rf_material , transform : rf_matrix ) ; } extern "C" { pub fn rf_gl_unload_mesh ( mesh : rf_mesh ) ; } extern "C" { pub static mut _rf_global_context_ptr : * mut rf_context ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig ( __x : f64 , __y : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acos ( __x : f64 ) -> f64 ; } extern "C" { pub fn asin ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asin ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atan ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan2 ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn __atan2 ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn cos ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cos ( __x : f64 ) -> f64 ; } extern "C" { pub fn sin ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sin ( __x : f64 ) -> f64 ; } extern "C" { pub fn tan ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tan ( __x : f64 ) -> f64 ; } extern "C" { pub fn cosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn sinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn tanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn acosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn asinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn atanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp ( __x : f64 ) -> f64 ; } extern "C" { pub fn frexp ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __frexp ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ldexp ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __ldexp ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn log ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log ( __x : f64 ) -> f64 ; } extern "C" { pub fn log10 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log10 ( __x : f64 ) -> f64 ; } extern "C" { pub fn modf ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn __modf ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn expm1 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __expm1 ( __x : f64 ) -> f64 ; } extern "C" { pub fn log1p ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log1p ( __x : f64 ) -> f64 ; } extern "C" { pub fn logb ( __x : f64 ) -> f64 ; } extern "C" { pub fn __logb ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn log2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn pow ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __pow ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn sqrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sqrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn hypot ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __hypot ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn cbrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cbrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn ceil ( __x : f64 ) -> f64 ; } extern "C" { pub fn __ceil ( __x : f64 ) -> f64 ; } extern "C" { pub fn fabs ( __x : f64 ) -> f64 ; } extern "C" { pub fn __fabs ( __x : f64 ) -> f64 ; } extern "C" { pub fn floor ( __x : f64 ) -> f64 ; } extern "C" { pub fn __floor ( __x : f64 ) -> f64 ; } extern "C" { pub fn fmod ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmod ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn isinf ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __drem ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn significand ( __x : f64 ) -> f64 ; } extern "C" { pub fn __significand ( __x : f64 ) -> f64 ; } extern "C" { pub fn copysign ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __copysign ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nan ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn __nan ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn isnan ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn j1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn jn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __jn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn y0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn y1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn yn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __yn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn erf ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erf ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn erfc ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erfc ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __lgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn tgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __tgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn gamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __gamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgamma_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __lgamma_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn rint ( __x : f64 ) -> f64 ; } extern "C" { pub fn __rint ( __x : f64 ) -> f64 ; } extern "C" { pub fn nextafter ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __nextafter ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nexttoward ( __x : f64 , __y : u128 ) -> f64 ; } extern "C" { pub fn __nexttoward ( __x : f64 , __y : u128 ) -> f64 ; } extern "C" { pub fn remainder ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __remainder ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn scalbn ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __scalbn ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ilogb ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn __scalbln ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn nearbyint ( __x : f64 ) -> f64 ; } extern "C" { pub fn __nearbyint ( __x : f64 ) -> f64 ; } extern "C" { pub fn round ( __x : f64 ) -> f64 ; } extern "C" { pub fn __round ( __x : f64 ) -> f64 ; } extern "C" { pub fn trunc ( __x : f64 ) -> f64 ; } extern "C" { pub fn __trunc ( __x : f64 ) -> f64 ; } extern "C" { pub fn remquo ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __remquo ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn lrint ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fdim ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmax ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmax ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmin ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmin ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fma ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn __fma ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn scalb ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __scalb ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __fpclassifyf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf ( __x : f32 , __y : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __acosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn asinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __asinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __atanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atan2f ( __y : f32 , __x : f32 ) -> f32 ; } extern "C" { pub fn __atan2f ( __y : f32 , __x : f32 ) -> f32 ; } extern "C" { pub fn cosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __cosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn sinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn tanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __tanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn coshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __coshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn sinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn tanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __tanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn acoshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __acoshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn asinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __asinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __atanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn expf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __expf ( __x : f32 ) -> f32 ; } extern "C" { pub fn frexpf ( __x : f32 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __frexpf ( __x : f32 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn ldexpf ( __x : f32 , __exponent : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __ldexpf ( __x : f32 , __exponent : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn logf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __logf ( __x : f32 ) -> f32 ; } extern "C" { pub fn log10f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log10f ( __x : f32 ) -> f32 ; } extern "C" { pub fn modff ( __x : f32 , __iptr : * mut f32 ) -> f32 ; } extern "C" { pub fn __modff ( __x : f32 , __iptr : * mut f32 ) -> f32 ; } extern "C" { pub fn expm1f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __expm1f ( __x : f32 ) -> f32 ; } extern "C" { pub fn log1pf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log1pf ( __x : f32 ) -> f32 ; } extern "C" { pub fn logbf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __logbf ( __x : f32 ) -> f32 ; } extern "C" { pub fn exp2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __exp2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn log2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn powf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __powf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn sqrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sqrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn hypotf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __hypotf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn cbrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __cbrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn ceilf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __ceilf ( __x : f32 ) -> f32 ; } extern "C" { pub fn fabsf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __fabsf ( __x : f32 ) -> f32 ; } extern "C" { pub fn floorf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __floorf ( __x : f32 ) -> f32 ; } extern "C" { pub fn fmodf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fmodf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn isinff ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __dremf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn significandf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __significandf ( __x : f32 ) -> f32 ; } extern "C" { pub fn copysignf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __copysignf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn nanf ( __tagb : * const :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn __nanf ( __tagb : * const :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn isnanf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __j0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn j1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __j1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn jnf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn __jnf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn y0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __y0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn y1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __y1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn ynf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn __ynf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn erff ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __erff ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn erfcf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __erfcf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn lgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __lgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn tgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __tgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn gammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __gammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn lgammaf_r ( arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __lgammaf_r ( arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn rintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __rintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn nextafterf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __nextafterf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn nexttowardf ( __x : f32 , __y : u128 ) -> f32 ; } extern "C" { pub fn __nexttowardf ( __x : f32 , __y : u128 ) -> f32 ; } extern "C" { pub fn remainderf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __remainderf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn scalbnf ( __x : f32 , __n : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __scalbnf ( __x : f32 , __n : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn ilogbf ( __x : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf ( __x : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf ( __x : f32 , __n : :: std :: os :: raw :: c_long ) -> f32 ; } extern "C" { pub fn __scalblnf ( __x : f32 , __n : :: std :: os :: raw :: c_long ) -> f32 ; } extern "C" { pub fn nearbyintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __nearbyintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn roundf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __roundf ( __x : f32 ) -> f32 ; } extern "C" { pub fn truncf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __truncf ( __x : f32 ) -> f32 ; } extern "C" { pub fn remquof ( __x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __remquof ( __x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn lrintf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fdimf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fmaxf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fmaxf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fminf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fminf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fmaf ( __x : f32 , __y : f32 , __z : f32 ) -> f32 ; } extern "C" { pub fn __fmaf ( __x : f32 , __y : f32 , __z : f32 ) -> f32 ; } extern "C" { pub fn scalbf ( __x : f32 , __n : f32 ) -> f32 ; } extern "C" { pub fn __scalbf ( __x : f32 , __n : f32 ) -> f32 ; } extern "C" { pub fn __fpclassifyl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl ( __x : u128 , __y : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __acosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn asinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __asinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn atanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __atanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn atan2l ( __y : u128 , __x : u128 ) -> u128 ; } extern "C" { pub fn __atan2l ( __y : u128 , __x : u128 ) -> u128 ; } extern "C" { pub fn cosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __cosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn sinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __sinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn tanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __tanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn coshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __coshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn sinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __sinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn tanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __tanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn acoshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __acoshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn asinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __asinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn atanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __atanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn expl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __expl ( __x : u128 ) -> u128 ; } extern "C" { pub fn frexpl ( __x : u128 , __exponent : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __frexpl ( __x : u128 , __exponent : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn ldexpl ( __x : u128 , __exponent : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __ldexpl ( __x : u128 , __exponent : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn logl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __logl ( __x : u128 ) -> u128 ; } extern "C" { pub fn log10l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __log10l ( __x : u128 ) -> u128 ; } extern "C" { pub fn modfl ( __x : u128 , __iptr : * mut u128 ) -> u128 ; } extern "C" { pub fn __modfl ( __x : u128 , __iptr : * mut u128 ) -> u128 ; } extern "C" { pub fn expm1l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __expm1l ( __x : u128 ) -> u128 ; } extern "C" { pub fn log1pl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __log1pl ( __x : u128 ) -> u128 ; } extern "C" { pub fn logbl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __logbl ( __x : u128 ) -> u128 ; } extern "C" { pub fn exp2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __exp2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn log2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __log2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn powl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __powl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn sqrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __sqrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn hypotl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __hypotl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn cbrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __cbrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn ceill ( __x : u128 ) -> u128 ; } extern "C" { pub fn __ceill ( __x : u128 ) -> u128 ; } extern "C" { pub fn fabsl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __fabsl ( __x : u128 ) -> u128 ; } extern "C" { pub fn floorl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __floorl ( __x : u128 ) -> u128 ; } extern "C" { pub fn fmodl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fmodl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn isinfl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __dreml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn significandl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __significandl ( __x : u128 ) -> u128 ; } extern "C" { pub fn copysignl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __copysignl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn nanl ( __tagb : * const :: std :: os :: raw :: c_char ) -> u128 ; } extern "C" { pub fn __nanl ( __tagb : * const :: std :: os :: raw :: c_char ) -> u128 ; } extern "C" { pub fn isnanl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __j0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn j1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __j1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn jnl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn __jnl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn y0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __y0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn y1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __y1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn ynl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn __ynl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn erfl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __erfl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn erfcl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __erfcl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn lgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __lgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn tgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __tgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn gammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __gammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn lgammal_r ( arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __lgammal_r ( arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn rintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __rintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn nextafterl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __nextafterl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn nexttowardl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __nexttowardl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn remainderl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __remainderl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn scalbnl ( __x : u128 , __n : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __scalbnl ( __x : u128 , __n : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn ilogbl ( __x : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl ( __x : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl ( __x : u128 , __n : :: std :: os :: raw :: c_long ) -> u128 ; } extern "C" { pub fn __scalblnl ( __x : u128 , __n : :: std :: os :: raw :: c_long ) -> u128 ; } extern "C" { pub fn nearbyintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __nearbyintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn roundl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __roundl ( __x : u128 ) -> u128 ; } extern "C" { pub fn truncl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __truncl ( __x : u128 ) -> u128 ; } extern "C" { pub fn remquol ( __x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __remquol ( __x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn lrintl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fdiml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn fmaxl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fmaxl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn fminl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fminl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn fmal ( __x : u128 , __y : u128 , __z : u128 ) -> u128 ; } extern "C" { pub fn __fmal ( __x : u128 , __y : u128 , __z : u128 ) -> u128 ; } extern "C" { pub fn scalbl ( __x : u128 , __n : u128 ) -> u128 ; } extern "C" { pub fn __scalbl ( __x : u128 , __n : u128 ) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pub const FP_ZERO : _bindgen_ty_1 = 2 ; pub const FP_SUBNORMAL : _bindgen_ty_1 = 3 ; pub const FP_NORMAL : _bindgen_ty_1 = 4 ; pub type _bindgen_ty_1 = u32 ; pub type wchar_t = :: std :: os :: raw :: c_int ; pub const idtype_t_P_ALL : idtype_t = 0 ; pub const idtype_t_P_PID : idtype_t = 1 ; pub const idtype_t_P_PGID : idtype_t = 2 ; pub type idtype_t = u32 ; # [ 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 ) -> u128 ; } extern "C" { pub fn strtol ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn strtoul ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strtoq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtouq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn strtoll ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtoull ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn l64a ( __n : :: std :: os :: raw :: c_long ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn a64l ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type clock_t = __clock_t ; pub type clockid_t = __clockid_t ; pub type time_t = __time_t ; pub type timer_t = __timer_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = :: std :: os :: raw :: c_uchar ; pub type u_int16_t = :: std :: os :: raw :: c_ushort ; pub type u_int32_t = :: std :: os :: raw :: c_uint ; pub type u_int64_t = :: std :: os :: raw :: c_ulong ; 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 ) ) ) ; } # [ 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 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 ; } extern "C" { pub fn gnu_dev_major ( __dev : __dev_t ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn gnu_dev_minor ( __dev : __dev_t ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn gnu_dev_makedev ( __major : :: std :: os :: raw :: c_uint , __minor : :: std :: os :: raw :: c_uint ) -> __dev_t ; } 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 ( 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 ( 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_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 ( Copy , Clone ) ] pub struct __pthread_cond_s { pub __bindgen_anon_1 : __pthread_cond_s__bindgen_ty_1 , pub __bindgen_anon_2 : __pthread_cond_s__bindgen_ty_2 , 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 ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __pthread_cond_s__bindgen_ty_1 { pub __wseq : :: std :: os :: raw :: c_ulonglong , pub __wseq32 : __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1 > ( ) ) ) . __wseq as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) , "::" , stringify ! ( __wseq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1 > ( ) ) ) . __wseq32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) , "::" , stringify ! ( __wseq32 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __pthread_cond_s__bindgen_ty_2 { pub __g1_start : :: std :: os :: raw :: c_ulonglong , pub __g1_start32 : __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2 > ( ) ) ) . __g1_start as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) , "::" , stringify ! ( __g1_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2 > ( ) ) ) . __g1_start32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) , "::" , stringify ! ( __g1_start32 ) ) ) ; } # [ 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 > ( ) ) ) . __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 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 malloc ( __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc ( __nmemb : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc ( __ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free ( __ptr : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn alloca ( __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn valloc ( __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn posix_memalign ( __memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : usize , __size : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn aligned_alloc ( __alignment : 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 : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qfcvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qgcvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ecvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fcvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qecvt_r ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qfcvt_r ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mblen ( __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbtowc ( __pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wctomb ( __s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbstowcs ( __pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> usize ; } extern "C" { pub fn wcstombs ( __s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : usize ) -> usize ; } extern "C" { pub fn rpmatch ( __response : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsubopt ( __optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * mut :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getloadavg ( __loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ repr ( align ( 16 ) ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [ test ] fn bindgen_test_layout_max_align_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce1 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_material_t { pub name : * mut :: std :: os :: raw :: c_char , pub ambient : [ f32 ; 3usize ] , pub diffuse : [ f32 ; 3usize ] , pub specular : [ f32 ; 3usize ] , pub transmittance : [ f32 ; 3usize ] , pub emission : [ f32 ; 3usize ] , pub shininess : f32 , pub ior : f32 , pub dissolve : f32 , pub illum : :: std :: os :: raw :: c_int , pub pad0 : :: std :: os :: raw :: c_int , pub ambient_texname : * mut :: std :: os :: raw :: c_char , pub diffuse_texname : * mut :: std :: os :: raw :: c_char , pub specular_texname : * mut :: std :: os :: raw :: c_char , pub specular_highlight_texname : * mut :: std :: os :: raw :: c_char , pub bump_texname : * mut :: std :: os :: raw :: c_char , pub displacement_texname : * mut :: std :: os :: raw :: c_char , pub alpha_texname : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_tinyobj_material_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_material_t > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( tinyobj_material_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_material_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_material_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . ambient as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( ambient ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . diffuse as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( diffuse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . specular as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( specular ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . transmittance as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( transmittance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . emission as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( emission ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . shininess as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( shininess ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . ior as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( ior ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . dissolve as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( dissolve ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . illum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( illum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . pad0 as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . ambient_texname as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( ambient_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . diffuse_texname as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( diffuse_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . specular_texname as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( specular_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . specular_highlight_texname as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( specular_highlight_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . bump_texname as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( bump_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . displacement_texname as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( displacement_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . alpha_texname as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( alpha_texname ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_shape_t { pub name : * mut :: std :: os :: raw :: c_char , pub face_offset : :: std :: os :: raw :: c_uint , pub length : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_tinyobj_shape_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_shape_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( tinyobj_shape_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_shape_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_shape_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_shape_t > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_shape_t ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_shape_t > ( ) ) ) . face_offset as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_shape_t ) , "::" , stringify ! ( face_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_shape_t > ( ) ) ) . length as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_shape_t ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_vertex_index_t { pub v_idx : :: std :: os :: raw :: c_int , pub vt_idx : :: std :: os :: raw :: c_int , pub vn_idx : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_tinyobj_vertex_index_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_vertex_index_t > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( tinyobj_vertex_index_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_vertex_index_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_vertex_index_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_vertex_index_t > ( ) ) ) . v_idx as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_vertex_index_t ) , "::" , stringify ! ( v_idx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_vertex_index_t > ( ) ) ) . vt_idx as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_vertex_index_t ) , "::" , stringify ! ( vt_idx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_vertex_index_t > ( ) ) ) . vn_idx as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_vertex_index_t ) , "::" , stringify ! ( vn_idx ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_attrib_t { pub num_vertices : :: std :: os :: raw :: c_uint , pub num_normals : :: std :: os :: raw :: c_uint , pub num_texcoords : :: std :: os :: raw :: c_uint , pub num_faces : :: std :: os :: raw :: c_uint , pub num_face_num_verts : :: std :: os :: raw :: c_uint , pub pad0 : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub normals : * mut f32 , pub texcoords : * mut f32 , pub faces : * mut tinyobj_vertex_index_t , pub face_num_verts : * mut :: std :: os :: raw :: c_int , pub material_ids : * mut :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_tinyobj_attrib_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_attrib_t > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( tinyobj_attrib_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_attrib_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_attrib_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_vertices as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_normals as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_texcoords as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_faces as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_faces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_face_num_verts as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_face_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . pad0 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . vertices as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . normals as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . texcoords as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . faces as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( faces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . face_num_verts as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( face_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . material_ids as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( material_ids ) ) ) ; } extern "C" { pub fn tinyobj_parse_obj ( attrib : * mut tinyobj_attrib_t , shapes : * mut * mut tinyobj_shape_t , num_shapes : * mut usize , materials : * mut * mut tinyobj_material_t , num_materials : * mut usize , buf : * const :: std :: os :: raw :: c_char , len : usize , flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tinyobj_parse_mtl_file ( materials_out : * mut * mut tinyobj_material_t , num_materials_out : * mut usize , filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tinyobj_attrib_init ( attrib : * mut tinyobj_attrib_t ) ; } extern "C" { pub fn tinyobj_attrib_free ( attrib : * mut tinyobj_attrib_t ) ; } extern "C" { pub fn tinyobj_shapes_free ( shapes : * mut tinyobj_shape_t , num_shapes : usize ) ; } extern "C" { pub fn tinyobj_materials_free ( materials : * mut tinyobj_material_t , num_materials : usize ) ; } pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [ :: std :: os :: raw :: c_char ; 4usize ] , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout___mbstate_t__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wch as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wchb as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wchb ) ) ) ; } # [ test ] fn bindgen_test_layout___mbstate_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __value as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __state ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos64_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos64_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos64_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __state ) ) ) ; } pub type va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [ :: std :: os :: raw :: c_char ; 1usize ] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_FILE > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_FILE > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_ptr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_end as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_base as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_base as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_ptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_end as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_base as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_end as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_base as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_backup_base as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_backup_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_end as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _markers as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _markers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _chain as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _chain ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _fileno as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _fileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags2 as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _old_offset as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _old_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _cur_column as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _cur_column ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _vtable_offset as * const _ as usize } , 130usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _vtable_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _shortbuf as * const _ as usize } , 131usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _shortbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _lock as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _offset as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad5 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _mode as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _unused2 as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _unused2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_FILE ; } extern "C" { pub fn remove ( __filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rename ( __old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn renameat ( __oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tmpfile ( ) -> * mut FILE ; } extern "C" { pub fn tmpnam ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tmpnam_r ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tempnam ( __dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn freopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> * mut FILE ; } extern "C" { pub fn fdopen ( __fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn fmemopen ( __s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub static mut sys_nerr : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut sys_errlist : [ * const :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub fn fileno ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fileno_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn popen ( __command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn pclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ctermid ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn flockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn ftrylockfile ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn funlockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn __assert_fail ( __assertion : * const :: std :: os :: raw :: c_char , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_uint , __function : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn __assert_perror_fail ( __errnum : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_uint , __function : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn __assert ( __assertion : * const :: std :: os :: raw :: c_char , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn memcpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memmove ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memccpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : 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 : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memcmp ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn memchr ( __s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcoll ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_ulong ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { 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 strcoll_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm_l ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize , __l : locale_t ) -> usize ; } extern "C" { pub fn strdup ( __s : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strndup ( __string : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strrchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn 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 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 : :: std :: os :: raw :: c_ulong ) ; } extern "C" { pub fn index ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn rindex ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ffs ( __i : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsl ( __l : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsll ( __ll : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn explicit_bzero ( __s : * mut :: std :: os :: raw :: c_void , __n : usize ) ; } extern "C" { pub fn strsep ( __stringp : * mut * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strsignal ( __sig : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __errno_location ( ) -> * mut :: std :: os :: raw :: c_int ; } extern "C" { pub fn dynamic_fgets ( buf : * mut * mut :: std :: os :: raw :: c_char , size : * mut usize , file : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct hash_table_entry_t { pub hash : :: std :: os :: raw :: c_ulong , pub filled : :: std :: os :: raw :: c_int , pub pad0 : :: std :: os :: raw :: c_int , pub value : :: std :: os :: raw :: c_long , pub next : * mut hash_table_entry_t , } # [ test ] fn bindgen_test_layout_hash_table_entry_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < hash_table_entry_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( hash_table_entry_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < hash_table_entry_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( hash_table_entry_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . hash as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . filled as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( filled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . pad0 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . value as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( next ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct hash_table_t { pub hashes : * mut :: std :: os :: raw :: c_ulong , pub entries : * mut hash_table_entry_t , pub capacity : usize , pub n : usize , } # [ test ] fn bindgen_test_layout_hash_table_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < hash_table_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( hash_table_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < hash_table_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( hash_table_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . hashes as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( hashes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . entries as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( entries ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . capacity as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( capacity ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . n as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( n ) ) ) ; } pub const CommandType_COMMAND_EMPTY : CommandType = 0 ; pub const CommandType_COMMAND_V : CommandType = 1 ; pub const CommandType_COMMAND_VN : CommandType = 2 ; pub const CommandType_COMMAND_VT : CommandType = 3 ; pub const CommandType_COMMAND_F : CommandType = 4 ; pub const CommandType_COMMAND_G : CommandType = 5 ; pub const CommandType_COMMAND_O : CommandType = 6 ; pub const CommandType_COMMAND_USEMTL : CommandType = 7 ; pub const CommandType_COMMAND_MTLLIB : CommandType = 8 ; pub type CommandType = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct Command { pub vx : f32 , pub vy : f32 , pub vz : f32 , pub nx : f32 , pub ny : f32 , pub nz : f32 , pub tx : f32 , pub ty : f32 , pub f : [ tinyobj_vertex_index_t ; 16usize ] , pub num_f : usize , pub f_num_verts : [ :: std :: os :: raw :: c_int ; 16usize ] , pub num_f_num_verts : usize , pub group_name : * const :: std :: os :: raw :: c_char , pub group_name_len : :: std :: os :: raw :: c_uint , pub pad0 : :: std :: os :: raw :: c_int , pub object_name : * const :: std :: os :: raw :: c_char , pub object_name_len : :: std :: os :: raw :: c_uint , pub pad1 : :: std :: os :: raw :: c_int , pub material_name : * const :: std :: os :: raw :: c_char , pub material_name_len : :: std :: os :: raw :: c_uint , pub pad2 : :: std :: os :: raw :: c_int , pub mtllib_name : * const :: std :: os :: raw :: c_char , pub mtllib_name_len : :: std :: os :: raw :: c_uint , pub type_ : CommandType , } # [ test ] fn bindgen_test_layout_Command ( ) { assert_eq ! ( :: std :: mem :: size_of :: < Command > ( ) , 368usize , concat ! ( "Size of: " , stringify ! ( Command ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < Command > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( Command ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . vx as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( vx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . vy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( vy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . vz as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( vz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . nx as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( nx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . ny as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( ny ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . nz as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( nz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . tx as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( tx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . ty as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( ty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . f as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( f ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . num_f as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( num_f ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . f_num_verts as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( f_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . num_f_num_verts as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( num_f_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . group_name as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( group_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . group_name_len as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( group_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . pad0 as * const _ as usize } , 316usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . object_name as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( object_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . object_name_len as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( object_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . pad1 as * const _ as usize } , 332usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . material_name as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( material_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . material_name_len as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( material_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . pad2 as * const _ as usize } , 348usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . mtllib_name as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( mtllib_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . mtllib_name_len as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( mtllib_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . type_ as * const _ as usize } , 364usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct LineInfo { pub pos : usize , pub len : usize , } # [ test ] fn bindgen_test_layout_LineInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < LineInfo > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( LineInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < LineInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( LineInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < LineInfo > ( ) ) ) . pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( LineInfo ) , "::" , stringify ! ( pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < LineInfo > ( ) ) ) . len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( LineInfo ) , "::" , stringify ! ( len ) ) ) ; } pub type cgltf_size = usize ; pub type cgltf_float = f32 ; pub type cgltf_int = :: std :: os :: raw :: c_int ; pub type cgltf_bool = :: std :: os :: raw :: c_int ; pub const cgltf_file_type_cgltf_file_type_invalid : cgltf_file_type = 0 ; pub const cgltf_file_type_cgltf_file_type_gltf : cgltf_file_type = 1 ; pub const cgltf_file_type_cgltf_file_type_glb : cgltf_file_type = 2 ; pub type cgltf_file_type = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_options { pub type_ : cgltf_file_type , pub json_token_count : cgltf_size , pub memory_alloc : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , size : cgltf_size ) -> * mut :: std :: os :: raw :: c_void > , pub memory_free : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , ptr : * mut :: std :: os :: raw :: c_void ) > , pub memory_user_data : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_cgltf_options ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_options > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_options ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_options > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_options ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . json_token_count as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( json_token_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . memory_alloc as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( memory_alloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . memory_free as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( memory_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . memory_user_data as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( memory_user_data ) ) ) ; } pub const cgltf_result_cgltf_result_success : cgltf_result = 0 ; pub const cgltf_result_cgltf_result_data_too_short : cgltf_result = 1 ; pub const cgltf_result_cgltf_result_unknown_format : cgltf_result = 2 ; pub const cgltf_result_cgltf_result_invalid_json : cgltf_result = 3 ; pub const cgltf_result_cgltf_result_invalid_gltf : cgltf_result = 4 ; pub const cgltf_result_cgltf_result_invalid_options : cgltf_result = 5 ; pub const cgltf_result_cgltf_result_file_not_found : cgltf_result = 6 ; pub const cgltf_result_cgltf_result_io_error : cgltf_result = 7 ; pub const cgltf_result_cgltf_result_out_of_memory : cgltf_result = 8 ; pub const cgltf_result_cgltf_result_legacy_gltf : cgltf_result = 9 ; pub type cgltf_result = u32 ; pub const cgltf_buffer_view_type_cgltf_buffer_view_type_invalid : cgltf_buffer_view_type = 0 ; pub const cgltf_buffer_view_type_cgltf_buffer_view_type_indices : cgltf_buffer_view_type = 1 ; pub const cgltf_buffer_view_type_cgltf_buffer_view_type_vertices : cgltf_buffer_view_type = 2 ; pub type cgltf_buffer_view_type = u32 ; pub const cgltf_attribute_type_cgltf_attribute_type_invalid : cgltf_attribute_type = 0 ; pub const cgltf_attribute_type_cgltf_attribute_type_position : cgltf_attribute_type = 1 ; pub const cgltf_attribute_type_cgltf_attribute_type_normal : cgltf_attribute_type = 2 ; pub const cgltf_attribute_type_cgltf_attribute_type_tangent : cgltf_attribute_type = 3 ; pub const cgltf_attribute_type_cgltf_attribute_type_texcoord : cgltf_attribute_type = 4 ; pub const cgltf_attribute_type_cgltf_attribute_type_color : cgltf_attribute_type = 5 ; pub const cgltf_attribute_type_cgltf_attribute_type_joints : cgltf_attribute_type = 6 ; pub const cgltf_attribute_type_cgltf_attribute_type_weights : cgltf_attribute_type = 7 ; pub type cgltf_attribute_type = u32 ; pub const cgltf_component_type_cgltf_component_type_invalid : cgltf_component_type = 0 ; pub const cgltf_component_type_cgltf_component_type_r_8 : cgltf_component_type = 1 ; pub const cgltf_component_type_cgltf_component_type_r_8u : cgltf_component_type = 2 ; pub const cgltf_component_type_cgltf_component_type_r_16 : cgltf_component_type = 3 ; pub const cgltf_component_type_cgltf_component_type_r_16u : cgltf_component_type = 4 ; pub const cgltf_component_type_cgltf_component_type_r_32u : cgltf_component_type = 5 ; pub const cgltf_component_type_cgltf_component_type_r_32f : cgltf_component_type = 6 ; pub type cgltf_component_type = u32 ; pub const cgltf_type_cgltf_type_invalid : cgltf_type = 0 ; pub const cgltf_type_cgltf_type_scalar : cgltf_type = 1 ; pub const cgltf_type_cgltf_type_vec2 : cgltf_type = 2 ; pub const cgltf_type_cgltf_type_vec3 : cgltf_type = 3 ; pub const cgltf_type_cgltf_type_vec4 : cgltf_type = 4 ; pub const cgltf_type_cgltf_type_mat2 : cgltf_type = 5 ; pub const cgltf_type_cgltf_type_mat3 : cgltf_type = 6 ; pub const cgltf_type_cgltf_type_mat4 : cgltf_type = 7 ; pub type cgltf_type = u32 ; pub const cgltf_primitive_type_cgltf_primitive_type_points : cgltf_primitive_type = 0 ; pub const cgltf_primitive_type_cgltf_primitive_type_lines : cgltf_primitive_type = 1 ; pub const cgltf_primitive_type_cgltf_primitive_type_line_loop : cgltf_primitive_type = 2 ; pub const cgltf_primitive_type_cgltf_primitive_type_line_strip : cgltf_primitive_type = 3 ; pub const cgltf_primitive_type_cgltf_primitive_type_triangles : cgltf_primitive_type = 4 ; pub const cgltf_primitive_type_cgltf_primitive_type_triangle_strip : cgltf_primitive_type = 5 ; pub const cgltf_primitive_type_cgltf_primitive_type_triangle_fan : cgltf_primitive_type = 6 ; pub type cgltf_primitive_type = u32 ; pub const cgltf_alpha_mode_cgltf_alpha_mode_opaque : cgltf_alpha_mode = 0 ; pub const cgltf_alpha_mode_cgltf_alpha_mode_mask : cgltf_alpha_mode = 1 ; pub const cgltf_alpha_mode_cgltf_alpha_mode_blend : cgltf_alpha_mode = 2 ; pub type cgltf_alpha_mode = u32 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_invalid : cgltf_animation_path_type = 0 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_translation : cgltf_animation_path_type = 1 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_rotation : cgltf_animation_path_type = 2 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_scale : cgltf_animation_path_type = 3 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_weights : cgltf_animation_path_type = 4 ; pub type cgltf_animation_path_type = u32 ; pub const cgltf_interpolation_type_cgltf_interpolation_type_linear : cgltf_interpolation_type = 0 ; pub const cgltf_interpolation_type_cgltf_interpolation_type_step : cgltf_interpolation_type = 1 ; pub const cgltf_interpolation_type_cgltf_interpolation_type_cubic_spline : cgltf_interpolation_type = 2 ; pub type cgltf_interpolation_type = u32 ; pub const cgltf_camera_type_cgltf_camera_type_invalid : cgltf_camera_type = 0 ; pub const cgltf_camera_type_cgltf_camera_type_perspective : cgltf_camera_type = 1 ; pub const cgltf_camera_type_cgltf_camera_type_orthographic : cgltf_camera_type = 2 ; pub type cgltf_camera_type = u32 ; pub const cgltf_light_type_cgltf_light_type_invalid : cgltf_light_type = 0 ; pub const cgltf_light_type_cgltf_light_type_directional : cgltf_light_type = 1 ; pub const cgltf_light_type_cgltf_light_type_point : cgltf_light_type = 2 ; pub const cgltf_light_type_cgltf_light_type_spot : cgltf_light_type = 3 ; pub type cgltf_light_type = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_extras { pub start_offset : cgltf_size , pub end_offset : cgltf_size , } # [ test ] fn bindgen_test_layout_cgltf_extras ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_extras > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( cgltf_extras ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_extras > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_extras > ( ) ) ) . start_offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_extras ) , "::" , stringify ! ( start_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_extras > ( ) ) ) . end_offset as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_extras ) , "::" , stringify ! ( end_offset ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_buffer { pub size : cgltf_size , pub uri : * mut :: std :: os :: raw :: c_char , pub data : * mut :: std :: os :: raw :: c_void , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_buffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_buffer > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_buffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_buffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . uri as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( uri ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_buffer_view { pub buffer : * mut cgltf_buffer , pub offset : cgltf_size , pub size : cgltf_size , pub stride : cgltf_size , pub type_ : cgltf_buffer_view_type , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_buffer_view ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_buffer_view > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( cgltf_buffer_view ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_buffer_view > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . buffer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . offset as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . stride as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( stride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . type_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . extras as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_accessor_sparse { pub count : cgltf_size , pub indices_buffer_view : * mut cgltf_buffer_view , pub indices_byte_offset : cgltf_size , pub indices_component_type : cgltf_component_type , pub values_buffer_view : * mut cgltf_buffer_view , pub values_byte_offset : cgltf_size , pub extras : cgltf_extras , pub indices_extras : cgltf_extras , pub values_extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_accessor_sparse ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_accessor_sparse > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( cgltf_accessor_sparse ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_accessor_sparse > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_accessor_sparse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_buffer_view as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_byte_offset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_byte_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_component_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_component_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . values_buffer_view as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( values_buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . values_byte_offset as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( values_byte_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . extras as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_extras as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . values_extras as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( values_extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_accessor { pub component_type : cgltf_component_type , pub normalized : cgltf_bool , pub type_ : cgltf_type , pub offset : cgltf_size , pub count : cgltf_size , pub stride : cgltf_size , pub buffer_view : * mut cgltf_buffer_view , pub has_min : cgltf_bool , pub min : [ cgltf_float ; 16usize ] , pub has_max : cgltf_bool , pub max : [ cgltf_float ; 16usize ] , pub is_sparse : cgltf_bool , pub sparse : cgltf_accessor_sparse , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_accessor ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_accessor > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( cgltf_accessor ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_accessor > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_accessor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . component_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( component_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . normalized as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( normalized ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . offset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . stride as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( stride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . buffer_view as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . has_min as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( has_min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . min as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . has_max as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( has_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . max as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . is_sparse as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( is_sparse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . sparse as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( sparse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . extras as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_attribute { pub name : * mut :: std :: os :: raw :: c_char , pub type_ : cgltf_attribute_type , pub index : cgltf_int , pub data : * mut cgltf_accessor , } # [ test ] fn bindgen_test_layout_cgltf_attribute ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_attribute > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( cgltf_attribute ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_attribute > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_attribute ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . index as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( data ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_image { pub name : * mut :: std :: os :: raw :: c_char , pub uri : * mut :: std :: os :: raw :: c_char , pub buffer_view : * mut cgltf_buffer_view , pub mime_type : * mut :: std :: os :: raw :: c_char , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_image ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_image > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( cgltf_image ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_image > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . uri as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( uri ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . buffer_view as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . mime_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( mime_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . extras as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_sampler { pub mag_filter : cgltf_int , pub min_filter : cgltf_int , pub wrap_s : cgltf_int , pub wrap_t : cgltf_int , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_sampler ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_sampler > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_sampler ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_sampler > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . mag_filter as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( mag_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . min_filter as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( min_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . wrap_s as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( wrap_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . wrap_t as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( wrap_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . extras as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_texture { pub name : * mut :: std :: os :: raw :: c_char , pub image : * mut cgltf_image , pub sampler : * mut cgltf_sampler , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_texture ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_texture > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_texture ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_texture > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . image as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . sampler as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_texture_transform { pub offset : [ cgltf_float ; 2usize ] , pub rotation : cgltf_float , pub scale : [ cgltf_float ; 2usize ] , pub texcoord : cgltf_int , } # [ test ] fn bindgen_test_layout_cgltf_texture_transform ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_texture_transform > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( cgltf_texture_transform ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_texture_transform > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( cgltf_texture_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . rotation as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . scale as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . texcoord as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( texcoord ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_texture_view { pub texture : * mut cgltf_texture , pub texcoord : cgltf_int , pub scale : cgltf_float , pub has_transform : cgltf_bool , pub transform : cgltf_texture_transform , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_texture_view ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_texture_view > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( cgltf_texture_view ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_texture_view > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_texture_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . texcoord as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( texcoord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . scale as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . has_transform as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( has_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . transform as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . extras as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_pbr_metallic_roughness { pub base_color_texture : cgltf_texture_view , pub metallic_roughness_texture : cgltf_texture_view , pub base_color_factor : [ cgltf_float ; 4usize ] , pub metallic_factor : cgltf_float , pub roughness_factor : cgltf_float , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_pbr_metallic_roughness ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_pbr_metallic_roughness > ( ) , 168usize , concat ! ( "Size of: " , stringify ! ( cgltf_pbr_metallic_roughness ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_pbr_metallic_roughness > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_pbr_metallic_roughness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . base_color_texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( base_color_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . metallic_roughness_texture as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( metallic_roughness_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . base_color_factor as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( base_color_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . metallic_factor as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( metallic_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . roughness_factor as * const _ as usize } , 148usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( roughness_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . extras as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_pbr_specular_glossiness { pub diffuse_texture : cgltf_texture_view , pub specular_glossiness_texture : cgltf_texture_view , pub diffuse_factor : [ cgltf_float ; 4usize ] , pub specular_factor : [ cgltf_float ; 3usize ] , pub glossiness_factor : cgltf_float , } # [ test ] fn bindgen_test_layout_cgltf_pbr_specular_glossiness ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_pbr_specular_glossiness > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( cgltf_pbr_specular_glossiness ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_pbr_specular_glossiness > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_pbr_specular_glossiness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . diffuse_texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( diffuse_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . specular_glossiness_texture as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( specular_glossiness_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . diffuse_factor as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( diffuse_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . specular_factor as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( specular_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . glossiness_factor as * const _ as usize } , 156usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( glossiness_factor ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_material { pub name : * mut :: std :: os :: raw :: c_char , pub has_pbr_metallic_roughness : cgltf_bool , pub has_pbr_specular_glossiness : cgltf_bool , pub pbr_metallic_roughness : cgltf_pbr_metallic_roughness , pub pbr_specular_glossiness : cgltf_pbr_specular_glossiness , pub normal_texture : cgltf_texture_view , pub occlusion_texture : cgltf_texture_view , pub emissive_texture : cgltf_texture_view , pub emissive_factor : [ cgltf_float ; 3usize ] , pub alpha_mode : cgltf_alpha_mode , pub alpha_cutoff : cgltf_float , pub double_sided : cgltf_bool , pub unlit : cgltf_bool , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_material ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_material > ( ) , 584usize , concat ! ( "Size of: " , stringify ! ( cgltf_material ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_material > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . has_pbr_metallic_roughness as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( has_pbr_metallic_roughness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . has_pbr_specular_glossiness as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( has_pbr_specular_glossiness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . pbr_metallic_roughness as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( pbr_metallic_roughness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . pbr_specular_glossiness as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( pbr_specular_glossiness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . normal_texture as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( normal_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . occlusion_texture as * const _ as usize } , 408usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( occlusion_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . emissive_texture as * const _ as usize } , 472usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( emissive_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . emissive_factor as * const _ as usize } , 536usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( emissive_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . alpha_mode as * const _ as usize } , 548usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( alpha_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . alpha_cutoff as * const _ as usize } , 552usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( alpha_cutoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . double_sided as * const _ as usize } , 556usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( double_sided ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . unlit as * const _ as usize } , 560usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( unlit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . extras as * const _ as usize } , 568usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_morph_target { pub attributes : * mut cgltf_attribute , pub attributes_count : cgltf_size , } # [ test ] fn bindgen_test_layout_cgltf_morph_target ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_morph_target > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( cgltf_morph_target ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_morph_target > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_morph_target ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_morph_target > ( ) ) ) . attributes as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_morph_target ) , "::" , stringify ! ( attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_morph_target > ( ) ) ) . attributes_count as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_morph_target ) , "::" , stringify ! ( attributes_count ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_primitive { pub type_ : cgltf_primitive_type , pub indices : * mut cgltf_accessor , pub material : * mut cgltf_material , pub attributes : * mut cgltf_attribute , pub attributes_count : cgltf_size , pub targets : * mut cgltf_morph_target , pub targets_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_primitive ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_primitive > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( cgltf_primitive ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_primitive > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_primitive ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . indices as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( indices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . material as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . attributes as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . attributes_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( attributes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . targets as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( targets ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . targets_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( targets_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . extras as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_mesh { pub name : * mut :: std :: os :: raw :: c_char , pub primitives : * mut cgltf_primitive , pub primitives_count : cgltf_size , pub weights : * mut cgltf_float , pub weights_count : cgltf_size , pub target_names : * mut * mut :: std :: os :: raw :: c_char , pub target_names_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_mesh ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_mesh > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( cgltf_mesh ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_mesh > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_mesh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . primitives as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( primitives ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . primitives_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( primitives_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . weights as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( weights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . weights_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( weights_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . target_names as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( target_names ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . target_names_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( target_names_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . extras as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_skin { pub name : * mut :: std :: os :: raw :: c_char , pub joints : * mut * mut cgltf_node , pub joints_count : cgltf_size , pub skeleton : * mut cgltf_node , pub inverse_bind_matrices : * mut cgltf_accessor , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_skin ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_skin > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( cgltf_skin ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_skin > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_skin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . joints as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( joints ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . joints_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( joints_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . skeleton as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( skeleton ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . inverse_bind_matrices as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( inverse_bind_matrices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . extras as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_camera_perspective { pub aspect_ratio : cgltf_float , pub yfov : cgltf_float , pub zfar : cgltf_float , pub znear : cgltf_float , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_camera_perspective ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera_perspective > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera_perspective ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera_perspective > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera_perspective ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . aspect_ratio as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( aspect_ratio ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . yfov as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( yfov ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . zfar as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( zfar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . znear as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( znear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . extras as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_camera_orthographic { pub xmag : cgltf_float , pub ymag : cgltf_float , pub zfar : cgltf_float , pub znear : cgltf_float , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_camera_orthographic ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera_orthographic > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera_orthographic ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera_orthographic > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera_orthographic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . xmag as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( xmag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . ymag as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( ymag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . zfar as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( zfar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . znear as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( znear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . extras as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct cgltf_camera { pub name : * mut :: std :: os :: raw :: c_char , pub type_ : cgltf_camera_type , pub data : cgltf_camera__bindgen_ty_1 , pub extras : cgltf_extras , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union cgltf_camera__bindgen_ty_1 { pub perspective : cgltf_camera_perspective , pub orthographic : cgltf_camera_orthographic , _bindgen_union_align : [ u64 ; 4usize ] , } # [ test ] fn bindgen_test_layout_cgltf_camera__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera__bindgen_ty_1 > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera__bindgen_ty_1 > ( ) ) ) . perspective as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera__bindgen_ty_1 ) , "::" , stringify ! ( perspective ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera__bindgen_ty_1 > ( ) ) ) . orthographic as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera__bindgen_ty_1 ) , "::" , stringify ! ( orthographic ) ) ) ; } # [ test ] fn bindgen_test_layout_cgltf_camera ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . extras as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_light { pub name : * mut :: std :: os :: raw :: c_char , pub color : [ cgltf_float ; 3usize ] , pub intensity : cgltf_float , pub type_ : cgltf_light_type , pub range : cgltf_float , pub spot_inner_cone_angle : cgltf_float , pub spot_outer_cone_angle : cgltf_float , } # [ test ] fn bindgen_test_layout_cgltf_light ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_light > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_light ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_light > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_light ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . color as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( color ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . intensity as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( intensity ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . type_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . range as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . spot_inner_cone_angle as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( spot_inner_cone_angle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . spot_outer_cone_angle as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( spot_outer_cone_angle ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_node { pub name : * mut :: std :: os :: raw :: c_char , pub parent : * mut cgltf_node , pub children : * mut * mut cgltf_node , pub children_count : cgltf_size , pub skin : * mut cgltf_skin , pub mesh : * mut cgltf_mesh , pub camera : * mut cgltf_camera , pub light : * mut cgltf_light , pub weights : * mut cgltf_float , pub weights_count : cgltf_size , pub has_translation : cgltf_bool , pub has_rotation : cgltf_bool , pub has_scale : cgltf_bool , pub has_matrix : cgltf_bool , pub translation : [ cgltf_float ; 3usize ] , pub rotation : [ cgltf_float ; 4usize ] , pub scale : [ cgltf_float ; 3usize ] , pub matrix : [ cgltf_float ; 16usize ] , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_node ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_node > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( cgltf_node ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_node > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_node ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . parent as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . children as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( children ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . children_count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( children_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . skin as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( skin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . mesh as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( mesh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . camera as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( camera ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . light as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( light ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . weights as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( weights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . weights_count as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( weights_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_translation as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_translation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_rotation as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_scale as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_matrix as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . translation as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( translation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . rotation as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . scale as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . matrix as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . extras as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_scene { pub name : * mut :: std :: os :: raw :: c_char , pub nodes : * mut * mut cgltf_node , pub nodes_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_scene ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_scene > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_scene ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_scene > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_scene ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . nodes as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . nodes_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( nodes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_animation_sampler { pub input : * mut cgltf_accessor , pub output : * mut cgltf_accessor , pub interpolation : cgltf_interpolation_type , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_animation_sampler ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_animation_sampler > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_animation_sampler ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_animation_sampler > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_animation_sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . input as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( input ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . output as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( output ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . interpolation as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( interpolation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_animation_channel { pub sampler : * mut cgltf_animation_sampler , pub target_node : * mut cgltf_node , pub target_path : cgltf_animation_path_type , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_animation_channel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_animation_channel > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_animation_channel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_animation_channel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_animation_channel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . sampler as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . target_node as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( target_node ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . target_path as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( target_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_animation { pub name : * mut :: std :: os :: raw :: c_char , pub samplers : * mut cgltf_animation_sampler , pub samplers_count : cgltf_size , pub channels : * mut cgltf_animation_channel , pub channels_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_animation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_animation > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( cgltf_animation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_animation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_animation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . samplers as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( samplers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . samplers_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( samplers_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . channels as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( channels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . channels_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( channels_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . extras as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_asset { pub copyright : * mut :: std :: os :: raw :: c_char , pub generator : * mut :: std :: os :: raw :: c_char , pub version : * mut :: std :: os :: raw :: c_char , pub min_version : * mut :: std :: os :: raw :: c_char , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_asset ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_asset > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( cgltf_asset ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_asset > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_asset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . copyright as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( copyright ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . generator as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( generator ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . version as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . min_version as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( min_version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . extras as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_data { pub file_type : cgltf_file_type , pub file_data : * mut :: std :: os :: raw :: c_void , pub asset : cgltf_asset , pub meshes : * mut cgltf_mesh , pub meshes_count : cgltf_size , pub materials : * mut cgltf_material , pub materials_count : cgltf_size , pub accessors : * mut cgltf_accessor , pub accessors_count : cgltf_size , pub buffer_views : * mut cgltf_buffer_view , pub buffer_views_count : cgltf_size , pub buffers : * mut cgltf_buffer , pub buffers_count : cgltf_size , pub images : * mut cgltf_image , pub images_count : cgltf_size , pub textures : * mut cgltf_texture , pub textures_count : cgltf_size , pub samplers : * mut cgltf_sampler , pub samplers_count : cgltf_size , pub skins : * mut cgltf_skin , pub skins_count : cgltf_size , pub cameras : * mut cgltf_camera , pub cameras_count : cgltf_size , pub lights : * mut cgltf_light , pub lights_count : cgltf_size , pub nodes : * mut cgltf_node , pub nodes_count : cgltf_size , pub scenes : * mut cgltf_scene , pub scenes_count : cgltf_size , pub scene : * mut cgltf_scene , pub animations : * mut cgltf_animation , pub animations_count : cgltf_size , pub extras : cgltf_extras , pub extensions_used : * mut * mut :: std :: os :: raw :: c_char , pub extensions_used_count : cgltf_size , pub extensions_required : * mut * mut :: std :: os :: raw :: c_char , pub extensions_required_count : cgltf_size , pub json : * const :: std :: os :: raw :: c_char , pub json_size : cgltf_size , pub bin : * const :: std :: os :: raw :: c_void , pub bin_size : cgltf_size , pub memory_free : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , ptr : * mut :: std :: os :: raw :: c_void ) > , pub memory_user_data : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_cgltf_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_data > ( ) , 392usize , concat ! ( "Size of: " , stringify ! ( cgltf_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_data > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . file_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( file_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . file_data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( file_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . asset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( asset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . meshes as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( meshes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . meshes_count as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( meshes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . materials as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( materials ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . materials_count as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( materials_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . accessors as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( accessors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . accessors_count as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( accessors_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffer_views as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffer_views ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffer_views_count as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffer_views_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffers as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffers_count as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffers_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . images as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( images ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . images_count as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( images_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . textures as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( textures ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . textures_count as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( textures_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . samplers as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( samplers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . samplers_count as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( samplers_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . skins as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( skins ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . skins_count as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( skins_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . cameras as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( cameras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . cameras_count as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( cameras_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . lights as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( lights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . lights_count as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( lights_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . nodes as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . nodes_count as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( nodes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . scenes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( scenes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . scenes_count as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( scenes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . scene as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( scene ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . animations as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( animations ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . animations_count as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( animations_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extras as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_used as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_used ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_used_count as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_used_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_required as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_required ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_required_count as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_required_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . json as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( json ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . json_size as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( json_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . bin as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( bin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . bin_size as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( bin_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . memory_free as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( memory_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . memory_user_data as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( memory_user_data ) ) ) ; } extern "C" { pub fn cgltf_parse ( options : * const cgltf_options , data : * const :: std :: os :: raw :: c_void , size : cgltf_size , out_data : * mut * mut cgltf_data ) -> cgltf_result ; } extern "C" { pub fn cgltf_parse_file ( options : * const cgltf_options , path : * const :: std :: os :: raw :: c_char , out_data : * mut * mut cgltf_data ) -> cgltf_result ; } extern "C" { pub fn cgltf_load_buffers ( options : * const cgltf_options , data : * mut cgltf_data , gltf_path : * const :: std :: os :: raw :: c_char ) -> cgltf_result ; } extern "C" { pub fn cgltf_load_buffer_base64 ( options : * const cgltf_options , size : cgltf_size , base64 : * const :: std :: os :: raw :: c_char , out_data : * mut * mut :: std :: os :: raw :: c_void ) -> cgltf_result ; } extern "C" { pub fn cgltf_validate ( data : * mut cgltf_data ) -> cgltf_result ; } extern "C" { pub fn cgltf_free ( data : * mut cgltf_data ) ; } extern "C" { pub fn cgltf_node_transform_local ( node : * const cgltf_node , out_matrix : * mut cgltf_float ) ; } extern "C" { pub fn cgltf_node_transform_world ( node : * const cgltf_node , out_matrix : * mut cgltf_float ) ; } extern "C" { pub fn cgltf_accessor_read_float ( accessor : * const cgltf_accessor , index : cgltf_size , out : * mut cgltf_float , element_size : cgltf_size ) -> cgltf_bool ; } extern "C" { pub fn cgltf_accessor_read_index ( accessor : * const cgltf_accessor , index : cgltf_size ) -> cgltf_size ; } extern "C" { pub fn cgltf_num_components ( type_ : cgltf_type ) -> cgltf_size ; } extern "C" { pub fn cgltf_accessor_unpack_floats ( accessor : * const cgltf_accessor , out : * mut cgltf_float , float_count : cgltf_size ) -> cgltf_size ; } extern "C" { pub fn cgltf_copy_extras_json ( data : * const cgltf_data , extras : * const cgltf_extras , dest : * mut :: std :: os :: raw :: c_char , dest_size : * mut cgltf_size ) -> cgltf_result ; } pub const jsmntype_t_JSMN_UNDEFINED : jsmntype_t = 0 ; pub const jsmntype_t_JSMN_OBJECT : jsmntype_t = 1 ; pub const jsmntype_t_JSMN_ARRAY : jsmntype_t = 2 ; pub const jsmntype_t_JSMN_STRING : jsmntype_t = 3 ; pub const jsmntype_t_JSMN_PRIMITIVE : jsmntype_t = 4 ; pub type jsmntype_t = u32 ; pub const jsmnerr_JSMN_ERROR_NOMEM : jsmnerr = -1 ; pub const jsmnerr_JSMN_ERROR_INVAL : jsmnerr = -2 ; pub const jsmnerr_JSMN_ERROR_PART : jsmnerr = -3 ; pub type jsmnerr = i32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct jsmntok_t { pub type_ : jsmntype_t , pub start : :: std :: os :: raw :: c_int , pub end : :: std :: os :: raw :: c_int , pub size : :: std :: os :: raw :: c_int , pub parent : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_jsmntok_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < jsmntok_t > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( jsmntok_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < jsmntok_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( jsmntok_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . start as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . end as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . size as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . parent as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( parent ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct jsmn_parser { pub pos : :: std :: os :: raw :: c_uint , pub toknext : :: std :: os :: raw :: c_uint , pub toksuper : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_jsmn_parser ( ) { assert_eq ! ( :: std :: mem :: size_of :: < jsmn_parser > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( jsmn_parser ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < jsmn_parser > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( jsmn_parser ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmn_parser > ( ) ) ) . pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( jsmn_parser ) , "::" , stringify ! ( pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmn_parser > ( ) ) ) . toknext as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( jsmn_parser ) , "::" , stringify ! ( toknext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmn_parser > ( ) ) ) . toksuper as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( jsmn_parser ) , "::" , stringify ! ( toksuper ) ) ) ; } pub const GlbHeaderSize : cgltf_size = 12 ; pub const GlbChunkHeaderSize : cgltf_size = 8 ; pub const GlbVersion : u32 = 2 ; pub const GlbMagic : u32 = 1179937895 ; pub const GlbMagicJsonChunk : u32 = 1313821514 ; pub const GlbMagicBinChunk : u32 = 5130562 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes_mesh_s { pub points : * mut f32 , pub npoints : :: std :: os :: raw :: c_int , pub triangles : * mut u16 , pub ntriangles : :: std :: os :: raw :: c_int , pub normals : * mut f32 , pub tcoords : * mut f32 , } # [ test ] fn bindgen_test_layout_par_shapes_mesh_s ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes_mesh_s > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( par_shapes_mesh_s ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes_mesh_s > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes_mesh_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . points as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( points ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . npoints as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( npoints ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . triangles as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( triangles ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . ntriangles as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( ntriangles ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . normals as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . tcoords as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( tcoords ) ) ) ; } pub type par_shapes_mesh = par_shapes_mesh_s ; extern "C" { pub fn par_shapes_free_mesh ( arg1 : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_create_cylinder ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_cone ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_torus ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int , radius : f32 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_parametric_sphere ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_subdivided_sphere ( nsubdivisions : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_klein_bottle ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_trefoil_knot ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int , radius : f32 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_hemisphere ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_plane ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } pub type par_shapes_fn = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const f32 , arg2 : * mut f32 , arg3 : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub fn par_shapes_create_parametric ( arg1 : par_shapes_fn , slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int , userdata : * mut :: std :: os :: raw :: c_void ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_icosahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_dodecahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_octahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_tetrahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_cube ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_disk ( radius : f32 , slices : :: std :: os :: raw :: c_int , center : * const f32 , normal : * const f32 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_empty ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_rock ( seed : :: std :: os :: raw :: c_int , nsubdivisions : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_lsystem ( program : * const :: std :: os :: raw :: c_char , slices : :: std :: os :: raw :: c_int , maxdepth : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_export ( arg1 : * const par_shapes_mesh , objfile : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn par_shapes_compute_aabb ( mesh : * const par_shapes_mesh , aabb : * mut f32 ) ; } extern "C" { pub fn par_shapes_clone ( mesh : * const par_shapes_mesh , target : * mut par_shapes_mesh ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_merge ( dst : * mut par_shapes_mesh , src : * const par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_translate ( arg1 : * mut par_shapes_mesh , x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn par_shapes_rotate ( arg1 : * mut par_shapes_mesh , radians : f32 , axis : * const f32 ) ; } extern "C" { pub fn par_shapes_scale ( arg1 : * mut par_shapes_mesh , x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn par_shapes_merge_and_free ( dst : * mut par_shapes_mesh , src : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_invert ( arg1 : * mut par_shapes_mesh , startface : :: std :: os :: raw :: c_int , nfaces : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn par_shapes_remove_degenerate ( arg1 : * mut par_shapes_mesh , minarea : f32 ) ; } extern "C" { pub fn par_shapes_unweld ( mesh : * mut par_shapes_mesh , create_indices : bool ) ; } extern "C" { pub fn par_shapes_weld ( arg1 : * const par_shapes_mesh , epsilon : f32 , mapping : * mut u16 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_compute_normals ( m : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_set_epsilon_welded_normals ( epsilon : f32 ) ; } extern "C" { pub fn par_shapes_set_epsilon_degenerate_sphere ( epsilon : f32 ) ; } extern "C" { pub fn par_shapes__compute_welded_normals ( m : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes__connect ( scene : * mut par_shapes_mesh , cylinder : * mut par_shapes_mesh , slices : :: std :: os :: raw :: c_int ) ; } pub const par_shapes__epsilon_welded_normals : f32 = 0.0010000000474974513 ; pub const par_shapes__epsilon_degenerate_sphere : f32 = 0.00009999999747378752 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes__command { pub cmd : * mut :: std :: os :: raw :: c_char , pub arg : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_par_shapes__command ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes__command > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( par_shapes__command ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes__command > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes__command ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__command > ( ) ) ) . cmd as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__command ) , "::" , stringify ! ( cmd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__command > ( ) ) ) . arg as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__command ) , "::" , stringify ! ( arg ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes__rule { pub name : * const :: std :: os :: raw :: c_char , pub weight : :: std :: os :: raw :: c_int , pub ncommands : :: std :: os :: raw :: c_int , pub commands : * mut par_shapes__command , } # [ test ] fn bindgen_test_layout_par_shapes__rule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes__rule > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( par_shapes__rule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes__rule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes__rule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . weight as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( weight ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . ncommands as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( ncommands ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . commands as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( commands ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes__stackframe { pub pc : :: std :: os :: raw :: c_int , pub position : [ f32 ; 3usize ] , pub scale : [ f32 ; 3usize ] , pub orientation : * mut par_shapes_mesh , pub rule : * mut par_shapes__rule , } # [ test ] fn bindgen_test_layout_par_shapes__stackframe ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes__stackframe > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( par_shapes__stackframe ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes__stackframe > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes__stackframe ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . pc as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( pc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . position as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . scale as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . orientation as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( orientation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . rule as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( rule ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _bindgen_ty_2 { pub points : * const f32 , pub gridsize : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _bindgen_ty_2 > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _bindgen_ty_2 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _bindgen_ty_2 > ( ) ) ) . points as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _bindgen_ty_2 ) , "::" , stringify ! ( points ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _bindgen_ty_2 > ( ) ) ) . gridsize as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _bindgen_ty_2 ) , "::" , stringify ! ( gridsize ) ) ) ; } extern "C" { pub static mut par_shapes__sort_context : _bindgen_ty_2 ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct osn_context { pub perm : * mut i16 , pub permGradIndex3D : * mut i16 , } # [ test ] fn bindgen_test_layout_osn_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < osn_context > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( osn_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < osn_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( osn_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < osn_context > ( ) ) ) . perm as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( osn_context ) , "::" , stringify ! ( perm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < osn_context > ( ) ) ) . permGradIndex3D as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( osn_context ) , "::" , stringify ! ( permGradIndex3D ) ) ) ; } extern "C" { pub static mut gradients2D : [ i8 ; 16usize ] ; } extern "C" { pub static mut gradients3D : [ :: std :: os :: raw :: c_schar ; 72usize ] ; } extern "C" { pub static mut gradients4D : [ :: std :: os :: raw :: c_schar ; 256usize ] ; } pub const STBI_default : _bindgen_ty_3 = 0 ; pub const STBI_grey : _bindgen_ty_3 = 1 ; pub const STBI_grey_alpha : _bindgen_ty_3 = 2 ; pub const STBI_rgb : _bindgen_ty_3 = 3 ; pub const STBI_rgb_alpha : _bindgen_ty_3 = 4 ; pub type _bindgen_ty_3 = u32 ; pub type stbi_uc = :: std :: os :: raw :: c_uchar ; pub type stbi_us = :: std :: os :: raw :: c_ushort ; # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi_io_callbacks { pub read : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > , pub skip : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , n : :: std :: os :: raw :: c_int ) > , pub eof : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > , } # [ test ] fn bindgen_test_layout_stbi_io_callbacks ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi_io_callbacks > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stbi_io_callbacks ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi_io_callbacks > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi_io_callbacks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi_io_callbacks > ( ) ) ) . read as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi_io_callbacks ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi_io_callbacks > ( ) ) ) . skip as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi_io_callbacks ) , "::" , stringify ! ( skip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi_io_callbacks > ( ) ) ) . eof as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi_io_callbacks ) , "::" , stringify ! ( eof ) ) ) ; } extern "C" { # [ doc = "" ] pub fn stbi_load_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load_from_file ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load_gif_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , delays : * mut * mut :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , z : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int , req_comp : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { # [ doc = "" ] pub fn stbi_load_16_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_load_16_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_load_16 ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_load_from_file_16 ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_loadf_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_loadf_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_loadf ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_loadf_from_file ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_hdr_to_ldr_gamma ( gamma : f32 ) ; } extern "C" { pub fn stbi_hdr_to_ldr_scale ( scale : f32 ) ; } extern "C" { pub fn stbi_ldr_to_hdr_gamma ( gamma : f32 ) ; } extern "C" { pub fn stbi_ldr_to_hdr_scale ( scale : f32 ) ; } extern "C" { pub fn stbi_is_hdr_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_hdr_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_hdr ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_hdr_from_file ( f : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_failure_reason ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_image_free ( retval_from_stbi_load : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn stbi_info_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_info_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_info ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_info_from_file ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit_from_file ( f : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_set_unpremultiply_on_load ( flag_true_if_should_unpremultiply : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbi_convert_iphone_png_to_rgb ( flag_true_if_should_convert : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbi_set_flip_vertically_on_load ( flag_true_if_should_flip : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbi_zlib_decode_malloc_guesssize ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , initial_size : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_malloc_guesssize_headerflag ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , initial_size : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int , parse_header : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_malloc ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_buffer ( obuffer : * mut :: std :: os :: raw :: c_char , olen : :: std :: os :: raw :: c_int , ibuffer : * const :: std :: os :: raw :: c_char , ilen : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_zlib_decode_noheader_malloc ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_noheader_buffer ( obuffer : * mut :: std :: os :: raw :: c_char , olen : :: std :: os :: raw :: c_int , ibuffer : * const :: std :: os :: raw :: c_char , ilen : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type stbi__uint16 = u16 ; pub type stbi__int16 = i16 ; pub type stbi__uint32 = u32 ; pub type stbi__int32 = i32 ; pub type validate_uint32 = [ :: std :: os :: raw :: c_uchar ; 1usize ] ; pub type __m64 = [ :: std :: os :: raw :: c_longlong ; 1usize ] ; pub type __v1di = [ :: std :: os :: raw :: c_longlong ; 1usize ] ; pub type __v2si = [ :: std :: os :: raw :: c_int ; 2usize ] ; pub type __v4hi = [ :: std :: os :: raw :: c_short ; 4usize ] ; pub type __v8qi = [ :: std :: os :: raw :: c_char ; 8usize ] ; pub type __v4si = [ :: std :: os :: raw :: c_int ; 4usize ] ; pub type __v4sf = [ f32 ; 4usize ] ; pub type __m128 = [ f32 ; 4usize ] ; pub type __v4su = [ :: std :: os :: raw :: c_uint ; 4usize ] ; extern "C" { pub fn _mm_sfence ( ) ; } extern "C" { pub fn _mm_getcsr ( ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn _mm_setcsr ( __i : :: std :: os :: raw :: c_uint ) ; } pub type __m128d = [ f64 ; 2usize ] ; pub type __m128i = [ :: std :: os :: raw :: c_longlong ; 2usize ] ; pub type __v2df = [ f64 ; 2usize ] ; pub type __v2di = [ :: std :: os :: raw :: c_longlong ; 2usize ] ; pub type __v8hi = [ :: std :: os :: raw :: c_short ; 8usize ] ; pub type __v16qi = [ :: std :: os :: raw :: c_char ; 16usize ] ; pub type __v2du = [ :: std :: os :: raw :: c_ulonglong ; 2usize ] ; pub type __v8hu = [ :: std :: os :: raw :: c_ushort ; 8usize ] ; pub type __v16qu = [ :: std :: os :: raw :: c_uchar ; 16usize ] ; pub type __v16qs = [ :: std :: os :: raw :: c_schar ; 16usize ] ; extern "C" { pub fn _mm_clflush ( __p : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn _mm_lfence ( ) ; } extern "C" { pub fn _mm_mfence ( ) ; } extern "C" { pub fn _mm_pause ( ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__context { pub img_x : stbi__uint32 , pub img_y : stbi__uint32 , pub img_n : :: std :: os :: raw :: c_int , pub img_out_n : :: std :: os :: raw :: c_int , pub io : stbi_io_callbacks , pub io_user_data : * mut :: std :: os :: raw :: c_void , pub read_from_callbacks : :: std :: os :: raw :: c_int , pub buflen : :: std :: os :: raw :: c_int , pub buffer_start : [ stbi_uc ; 128usize ] , pub img_buffer : * mut stbi_uc , pub img_buffer_end : * mut stbi_uc , pub img_buffer_original : * mut stbi_uc , pub img_buffer_original_end : * mut stbi_uc , } # [ test ] fn bindgen_test_layout_stbi__context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__context > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( stbi__context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_n as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_out_n as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_out_n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . io as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( io ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . io_user_data as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( io_user_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . read_from_callbacks as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( read_from_callbacks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . buflen as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( buflen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . buffer_start as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( buffer_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer_end as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer_original as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer_original ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer_original_end as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer_original_end ) ) ) ; } extern "C" { pub static mut stbi__stdio_callbacks : stbi_io_callbacks ; } pub const STBI_ORDER_RGB : _bindgen_ty_4 = 0 ; pub const STBI_ORDER_BGR : _bindgen_ty_4 = 1 ; pub type _bindgen_ty_4 = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__result_info { pub bits_per_channel : :: std :: os :: raw :: c_int , pub num_channels : :: std :: os :: raw :: c_int , pub channel_order : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__result_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__result_info > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( stbi__result_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__result_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__result_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__result_info > ( ) ) ) . bits_per_channel as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__result_info ) , "::" , stringify ! ( bits_per_channel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__result_info > ( ) ) ) . num_channels as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__result_info ) , "::" , stringify ! ( num_channels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__result_info > ( ) ) ) . channel_order as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__result_info ) , "::" , stringify ! ( channel_order ) ) ) ; } extern "C" { pub static mut stbi__g_failure_reason : * const :: std :: os :: raw :: c_char ; } pub const stbi__vertically_flip_on_load : :: std :: os :: raw :: c_int = 0 ; pub const stbi__l2h_gamma : f32 = 2.200000047683716 ; pub const stbi__l2h_scale : f32 = 1.0 ; pub const stbi__h2l_gamma_i : f32 = 0.45454543828964233 ; pub const stbi__h2l_scale_i : f32 = 1.0 ; pub const STBI__SCAN_load : _bindgen_ty_5 = 0 ; pub const STBI__SCAN_type : _bindgen_ty_5 = 1 ; pub const STBI__SCAN_header : _bindgen_ty_5 = 2 ; # [ doc = "" ] pub type _bindgen_ty_5 = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__huffman { pub fast : [ stbi_uc ; 512usize ] , pub code : [ stbi__uint16 ; 256usize ] , pub values : [ stbi_uc ; 256usize ] , pub size : [ stbi_uc ; 257usize ] , pub maxcode : [ :: std :: os :: raw :: c_uint ; 18usize ] , pub delta : [ :: std :: os :: raw :: c_int ; 17usize ] , } # [ test ] fn bindgen_test_layout_stbi__huffman ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__huffman > ( ) , 1680usize , concat ! ( "Size of: " , stringify ! ( stbi__huffman ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__huffman > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__huffman ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . fast as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( fast ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . code as * const _ as usize } , 512usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( code ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . values as * const _ as usize } , 1024usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( values ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . size as * const _ as usize } , 1280usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . maxcode as * const _ as usize } , 1540usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( maxcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . delta as * const _ as usize } , 1612usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( delta ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__jpeg { pub s : * mut stbi__context , pub huff_dc : [ stbi__huffman ; 4usize ] , pub huff_ac : [ stbi__huffman ; 4usize ] , pub dequant : [ [ stbi__uint16 ; 64usize ] ; 4usize ] , pub fast_ac : [ [ stbi__int16 ; 512usize ] ; 4usize ] , pub img_h_max : :: std :: os :: raw :: c_int , pub img_v_max : :: std :: os :: raw :: c_int , pub img_mcu_x : :: std :: os :: raw :: c_int , pub img_mcu_y : :: std :: os :: raw :: c_int , pub img_mcu_w : :: std :: os :: raw :: c_int , pub img_mcu_h : :: std :: os :: raw :: c_int , pub img_comp : [ stbi__jpeg__bindgen_ty_1 ; 4usize ] , pub code_buffer : stbi__uint32 , pub code_bits : :: std :: os :: raw :: c_int , pub marker : :: std :: os :: raw :: c_uchar , pub nomore : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , pub spec_start : :: std :: os :: raw :: c_int , pub spec_end : :: std :: os :: raw :: c_int , pub succ_high : :: std :: os :: raw :: c_int , pub succ_low : :: std :: os :: raw :: c_int , pub eob_run : :: std :: os :: raw :: c_int , pub jfif : :: std :: os :: raw :: c_int , pub app14_color_transform : :: std :: os :: raw :: c_int , pub rgb : :: std :: os :: raw :: c_int , pub scan_n : :: std :: os :: raw :: c_int , pub order : [ :: std :: os :: raw :: c_int ; 4usize ] , pub restart_interval : :: std :: os :: raw :: c_int , pub todo : :: std :: os :: raw :: c_int , pub idct_block_kernel : :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , out_stride : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_short ) > , pub YCbCr_to_RGB_kernel : :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , y : * const stbi_uc , pcb : * const stbi_uc , pcr : * const stbi_uc , count : :: std :: os :: raw :: c_int , step : :: std :: os :: raw :: c_int ) > , pub resample_row_hv_2_kernel : :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , in_near : * mut stbi_uc , in_far : * mut stbi_uc , w : :: std :: os :: raw :: c_int , hs : :: std :: os :: raw :: c_int ) -> * mut stbi_uc > , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__jpeg__bindgen_ty_1 { pub id : :: std :: os :: raw :: c_int , pub h : :: std :: os :: raw :: c_int , pub v : :: std :: os :: raw :: c_int , pub tq : :: std :: os :: raw :: c_int , pub hd : :: std :: os :: raw :: c_int , pub ha : :: std :: os :: raw :: c_int , pub dc_pred : :: std :: os :: raw :: c_int , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub w2 : :: std :: os :: raw :: c_int , pub h2 : :: std :: os :: raw :: c_int , pub data : * mut stbi_uc , pub raw_data : * mut :: std :: os :: raw :: c_void , pub raw_coeff : * mut :: std :: os :: raw :: c_void , pub linebuf : * mut stbi_uc , pub coeff : * mut :: std :: os :: raw :: c_short , pub coeff_w : :: std :: os :: raw :: c_int , pub coeff_h : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__jpeg__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__jpeg__bindgen_ty_1 > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__jpeg__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . h as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . v as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( v ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . tq as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( tq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . hd as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( hd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . ha as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( ha ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . dc_pred as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( dc_pred ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . x as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . y as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . w2 as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( w2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . h2 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( h2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . data as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . raw_data as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( raw_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . raw_coeff as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( raw_coeff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . linebuf as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( linebuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . coeff as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( coeff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . coeff_w as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( coeff_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . coeff_h as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( coeff_h ) ) ) ; } # [ test ] fn bindgen_test_layout_stbi__jpeg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__jpeg > ( ) , 18568usize , concat ! ( "Size of: " , stringify ! ( stbi__jpeg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__jpeg > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__jpeg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . huff_dc as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( huff_dc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . huff_ac as * const _ as usize } , 6728usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( huff_ac ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . dequant as * const _ as usize } , 13448usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( dequant ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . fast_ac as * const _ as usize } , 13960usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( fast_ac ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_h_max as * const _ as usize } , 18056usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_h_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_v_max as * const _ as usize } , 18060usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_v_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_x as * const _ as usize } , 18064usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_y as * const _ as usize } , 18068usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_w as * const _ as usize } , 18072usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_h as * const _ as usize } , 18076usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_comp as * const _ as usize } , 18080usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_comp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . code_buffer as * const _ as usize } , 18464usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( code_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . code_bits as * const _ as usize } , 18468usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( code_bits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . marker as * const _ as usize } , 18472usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . nomore as * const _ as usize } , 18476usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( nomore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . progressive as * const _ as usize } , 18480usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( progressive ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . spec_start as * const _ as usize } , 18484usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( spec_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . spec_end as * const _ as usize } , 18488usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( spec_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . succ_high as * const _ as usize } , 18492usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( succ_high ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . succ_low as * const _ as usize } , 18496usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( succ_low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . eob_run as * const _ as usize } , 18500usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( eob_run ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . jfif as * const _ as usize } , 18504usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( jfif ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . app14_color_transform as * const _ as usize } , 18508usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( app14_color_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . rgb as * const _ as usize } , 18512usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( rgb ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . scan_n as * const _ as usize } , 18516usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( scan_n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . order as * const _ as usize } , 18520usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( order ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . restart_interval as * const _ as usize } , 18536usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( restart_interval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . todo as * const _ as usize } , 18540usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( todo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . idct_block_kernel as * const _ as usize } , 18544usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( idct_block_kernel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . YCbCr_to_RGB_kernel as * const _ as usize } , 18552usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( YCbCr_to_RGB_kernel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . resample_row_hv_2_kernel as * const _ as usize } , 18560usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( resample_row_hv_2_kernel ) ) ) ; } extern "C" { pub static mut stbi__bmask : [ stbi__uint32 ; 17usize ] ; } extern "C" { pub static mut stbi__jbias : [ :: std :: os :: raw :: c_int ; 16usize ] ; } extern "C" { pub static mut stbi__jpeg_dezigzag : [ stbi_uc ; 79usize ] ; } pub type resample_row_func = :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , in0 : * mut stbi_uc , in1 : * mut stbi_uc , w : :: std :: os :: raw :: c_int , hs : :: std :: os :: raw :: c_int ) -> * mut stbi_uc > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__resample { pub resample : resample_row_func , pub line0 : * mut stbi_uc , pub line1 : * mut stbi_uc , pub hs : :: std :: os :: raw :: c_int , pub vs : :: std :: os :: raw :: c_int , pub w_lores : :: std :: os :: raw :: c_int , pub ystep : :: std :: os :: raw :: c_int , pub ypos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__resample ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__resample > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( stbi__resample ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__resample > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__resample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . resample as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( resample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . line0 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( line0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . line1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( line1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . hs as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( hs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . vs as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( vs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . w_lores as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( w_lores ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . ystep as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( ystep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . ypos as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( ypos ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__zhuffman { pub fast : [ stbi__uint16 ; 512usize ] , pub firstcode : [ stbi__uint16 ; 16usize ] , pub maxcode : [ :: std :: os :: raw :: c_int ; 17usize ] , pub firstsymbol : [ stbi__uint16 ; 16usize ] , pub size : [ stbi_uc ; 288usize ] , pub value : [ stbi__uint16 ; 288usize ] , } # [ test ] fn bindgen_test_layout_stbi__zhuffman ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__zhuffman > ( ) , 2020usize , concat ! ( "Size of: " , stringify ! ( stbi__zhuffman ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__zhuffman > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__zhuffman ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . fast as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( fast ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . firstcode as * const _ as usize } , 1024usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( firstcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . maxcode as * const _ as usize } , 1056usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( maxcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . firstsymbol as * const _ as usize } , 1124usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( firstsymbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . size as * const _ as usize } , 1156usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . value as * const _ as usize } , 1444usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__zbuf { pub zbuffer : * mut stbi_uc , pub zbuffer_end : * mut stbi_uc , pub num_bits : :: std :: os :: raw :: c_int , pub code_buffer : stbi__uint32 , pub zout : * mut :: std :: os :: raw :: c_char , pub zout_start : * mut :: std :: os :: raw :: c_char , pub zout_end : * mut :: std :: os :: raw :: c_char , pub z_expandable : :: std :: os :: raw :: c_int , pub z_length : stbi__zhuffman , pub z_distance : stbi__zhuffman , } # [ test ] fn bindgen_test_layout_stbi__zbuf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__zbuf > ( ) , 4096usize , concat ! ( "Size of: " , stringify ! ( stbi__zbuf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__zbuf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__zbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zbuffer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zbuffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zbuffer_end as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zbuffer_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . num_bits as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( num_bits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . code_buffer as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( code_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zout as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zout_start as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zout_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zout_end as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zout_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . z_expandable as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( z_expandable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . z_length as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( z_length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . z_distance as * const _ as usize } , 2072usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( z_distance ) ) ) ; } extern "C" { pub static mut stbi__zlength_base : [ :: std :: os :: raw :: c_int ; 31usize ] ; } extern "C" { pub static mut stbi__zlength_extra : [ :: std :: os :: raw :: c_int ; 31usize ] ; } extern "C" { pub static mut stbi__zdist_base : [ :: std :: os :: raw :: c_int ; 32usize ] ; } extern "C" { pub static mut stbi__zdist_extra : [ :: std :: os :: raw :: c_int ; 32usize ] ; } extern "C" { pub static mut stbi__zdefault_length : [ stbi_uc ; 288usize ] ; } extern "C" { pub static mut stbi__zdefault_distance : [ stbi_uc ; 32usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__pngchunk { pub length : stbi__uint32 , pub type_ : stbi__uint32 , } # [ test ] fn bindgen_test_layout_stbi__pngchunk ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__pngchunk > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbi__pngchunk ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__pngchunk > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__pngchunk ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pngchunk > ( ) ) ) . length as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pngchunk ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pngchunk > ( ) ) ) . type_ as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pngchunk ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__png { pub s : * mut stbi__context , pub idata : * mut stbi_uc , pub expanded : * mut stbi_uc , pub out : * mut stbi_uc , pub depth : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__png ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__png > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( stbi__png ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__png > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__png ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . idata as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( idata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . expanded as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( expanded ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . out as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( out ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . depth as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( depth ) ) ) ; } pub const STBI__F_none : _bindgen_ty_6 = 0 ; pub const STBI__F_sub : _bindgen_ty_6 = 1 ; pub const STBI__F_up : _bindgen_ty_6 = 2 ; pub const STBI__F_avg : _bindgen_ty_6 = 3 ; pub const STBI__F_paeth : _bindgen_ty_6 = 4 ; pub const STBI__F_avg_first : _bindgen_ty_6 = 5 ; pub const STBI__F_paeth_first : _bindgen_ty_6 = 6 ; pub type _bindgen_ty_6 = u32 ; extern "C" { pub static mut first_row_filter : [ stbi_uc ; 5usize ] ; } extern "C" { pub static mut stbi__depth_scale_table : [ stbi_uc ; 9usize ] ; } pub const stbi__unpremultiply_on_load : :: std :: os :: raw :: c_int = 0 ; pub const stbi__de_iphone_flag : :: std :: os :: raw :: c_int = 0 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__bmp_data { pub bpp : :: std :: os :: raw :: c_int , pub offset : :: std :: os :: raw :: c_int , pub hsz : :: std :: os :: raw :: c_int , pub mr : :: std :: os :: raw :: c_uint , pub mg : :: std :: os :: raw :: c_uint , pub mb : :: std :: os :: raw :: c_uint , pub ma : :: std :: os :: raw :: c_uint , pub all_a : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_stbi__bmp_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__bmp_data > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( stbi__bmp_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__bmp_data > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__bmp_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . bpp as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( bpp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . offset as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . hsz as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( hsz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . mr as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( mr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . mg as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( mg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . mb as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( mb ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . ma as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( ma ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . all_a as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( all_a ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__pic_packet { pub size : stbi_uc , pub type_ : stbi_uc , pub channel : stbi_uc , } # [ test ] fn bindgen_test_layout_stbi__pic_packet ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__pic_packet > ( ) , 3usize , concat ! ( "Size of: " , stringify ! ( stbi__pic_packet ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__pic_packet > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( stbi__pic_packet ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pic_packet > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pic_packet ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pic_packet > ( ) ) ) . type_ as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pic_packet ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pic_packet > ( ) ) ) . channel as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pic_packet ) , "::" , stringify ! ( channel ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__gif_lzw { pub prefix : stbi__int16 , pub first : stbi_uc , pub suffix : stbi_uc , } # [ test ] fn bindgen_test_layout_stbi__gif_lzw ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__gif_lzw > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( stbi__gif_lzw ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__gif_lzw > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( stbi__gif_lzw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif_lzw > ( ) ) ) . prefix as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif_lzw ) , "::" , stringify ! ( prefix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif_lzw > ( ) ) ) . first as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif_lzw ) , "::" , stringify ! ( first ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif_lzw > ( ) ) ) . suffix as * const _ as usize } , 3usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif_lzw ) , "::" , stringify ! ( suffix ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__gif { pub w : :: std :: os :: raw :: c_int , pub h : :: std :: os :: raw :: c_int , pub out : * mut stbi_uc , pub background : * mut stbi_uc , pub history : * mut stbi_uc , pub flags : :: std :: os :: raw :: c_int , pub bgindex : :: std :: os :: raw :: c_int , pub ratio : :: std :: os :: raw :: c_int , pub transparent : :: std :: os :: raw :: c_int , pub eflags : :: std :: os :: raw :: c_int , pub pal : [ [ stbi_uc ; 4usize ] ; 256usize ] , pub lpal : [ [ stbi_uc ; 4usize ] ; 256usize ] , pub codes : [ stbi__gif_lzw ; 8192usize ] , pub color_table : * mut stbi_uc , pub parse : :: std :: os :: raw :: c_int , pub step : :: std :: os :: raw :: c_int , pub lflags : :: std :: os :: raw :: c_int , pub start_x : :: std :: os :: raw :: c_int , pub start_y : :: std :: os :: raw :: c_int , pub max_x : :: std :: os :: raw :: c_int , pub max_y : :: std :: os :: raw :: c_int , pub cur_x : :: std :: os :: raw :: c_int , pub cur_y : :: std :: os :: raw :: c_int , pub line_size : :: std :: os :: raw :: c_int , pub delay : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__gif ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__gif > ( ) , 34928usize , concat ! ( "Size of: " , stringify ! ( stbi__gif ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__gif > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__gif ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . w as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . h as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . out as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( out ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . background as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( background ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . history as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( history ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . flags as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . bgindex as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( bgindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . ratio as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( ratio ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . transparent as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( transparent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . eflags as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( eflags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . pal as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( pal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . lpal as * const _ as usize } , 1076usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( lpal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . codes as * const _ as usize } , 2100usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( codes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . color_table as * const _ as usize } , 34872usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( color_table ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . parse as * const _ as usize } , 34880usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( parse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . step as * const _ as usize } , 34884usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( step ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . lflags as * const _ as usize } , 34888usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( lflags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . start_x as * const _ as usize } , 34892usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( start_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . start_y as * const _ as usize } , 34896usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( start_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . max_x as * const _ as usize } , 34900usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( max_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . max_y as * const _ as usize } , 34904usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( max_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . cur_x as * const _ as usize } , 34908usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( cur_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . cur_y as * const _ as usize } , 34912usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( cur_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . line_size as * const _ as usize } , 34916usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( line_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . delay as * const _ as usize } , 34920usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( delay ) ) ) ; } extern "C" { pub static mut stbi_write_tga_with_rle : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut stbi_write_png_compression_level : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut stbi_write_force_png_filter : :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_png ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , stride_in_bytes : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_bmp ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_tga ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_hdr ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_jpg ( filename : * const :: std :: os :: raw :: c_char , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , quality : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type stbi_write_func = :: std :: option :: Option < unsafe extern "C" fn ( context : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int ) > ; extern "C" { pub fn stbi_write_png_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , stride_in_bytes : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_bmp_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_tga_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_hdr_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_jpg_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , quality : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_flip_vertically_on_write ( flip_boolean : :: std :: os :: raw :: c_int ) ; } pub const stbi__flip_vertically_on_write : :: std :: os :: raw :: c_int = 0 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__write_context { pub func : stbi_write_func , pub context : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_stbi__write_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__write_context > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbi__write_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__write_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__write_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__write_context > ( ) ) ) . func as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__write_context ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__write_context > ( ) ) ) . context as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__write_context ) , "::" , stringify ! ( context ) ) ) ; } pub type stbiw_uint32 = :: std :: os :: raw :: c_uint ; pub type stb_image_write_test = [ :: std :: os :: raw :: c_int ; 1usize ] ; extern "C" { pub fn stbi_zlib_compress ( data : * mut :: std :: os :: raw :: c_uchar , data_len : :: std :: os :: raw :: c_int , out_len : * mut :: std :: os :: raw :: c_int , quality : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn stbi_write_png_to_mem ( pixels : * const :: std :: os :: raw :: c_uchar , stride_bytes : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , n : :: std :: os :: raw :: c_int , out_len : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub static mut stbiw__jpg_ZigZag : [ :: std :: os :: raw :: c_uchar ; 64usize ] ; } pub type stbir_uint8 = u8 ; pub type stbir_uint16 = u16 ; pub type stbir_uint32 = u32 ; extern "C" { pub fn stbir_resize_uint8 ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_float ( input_pixels : * const f32 , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut f32 , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_uint8_srgb ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub const stbir_edge_STBIR_EDGE_CLAMP : stbir_edge = 1 ; pub const stbir_edge_STBIR_EDGE_REFLECT : stbir_edge = 2 ; pub const stbir_edge_STBIR_EDGE_WRAP : stbir_edge = 3 ; pub const stbir_edge_STBIR_EDGE_ZERO : stbir_edge = 4 ; pub type stbir_edge = u32 ; extern "C" { pub fn stbir_resize_uint8_srgb_edgemode ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge ) -> :: std :: os :: raw :: c_int ; } pub const stbir_filter_STBIR_FILTER_DEFAULT : stbir_filter = 0 ; pub const stbir_filter_STBIR_FILTER_BOX : stbir_filter = 1 ; pub const stbir_filter_STBIR_FILTER_TRIANGLE : stbir_filter = 2 ; pub const stbir_filter_STBIR_FILTER_CUBICBSPLINE : stbir_filter = 3 ; pub const stbir_filter_STBIR_FILTER_CATMULLROM : stbir_filter = 4 ; pub const stbir_filter_STBIR_FILTER_MITCHELL : stbir_filter = 5 ; # [ doc = "" ] pub type stbir_filter = u32 ; pub const stbir_colorspace_STBIR_COLORSPACE_LINEAR : stbir_colorspace = 0 ; pub const stbir_colorspace_STBIR_COLORSPACE_SRGB : stbir_colorspace = 1 ; pub const stbir_colorspace_STBIR_MAX_COLORSPACES : stbir_colorspace = 2 ; pub type stbir_colorspace = u32 ; extern "C" { pub fn stbir_resize_uint8_generic ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge , filter : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_uint16_generic ( input_pixels : * const stbir_uint16 , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut stbir_uint16 , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge , filter : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_float_generic ( input_pixels : * const f32 , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut f32 , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge , filter : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } pub const stbir_datatype_STBIR_TYPE_UINT8 : stbir_datatype = 0 ; pub const stbir_datatype_STBIR_TYPE_UINT16 : stbir_datatype = 1 ; pub const stbir_datatype_STBIR_TYPE_UINT32 : stbir_datatype = 2 ; pub const stbir_datatype_STBIR_TYPE_FLOAT : stbir_datatype = 3 ; pub const stbir_datatype_STBIR_MAX_TYPES : stbir_datatype = 4 ; # [ doc = "" ] pub type stbir_datatype = u32 ; extern "C" { pub fn stbir_resize ( input_pixels : * const :: std :: os :: raw :: c_void , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_void , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , datatype : stbir_datatype , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_mode_horizontal : stbir_edge , edge_mode_vertical : stbir_edge , filter_horizontal : stbir_filter , filter_vertical : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_subpixel ( input_pixels : * const :: std :: os :: raw :: c_void , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_void , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , datatype : stbir_datatype , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_mode_horizontal : stbir_edge , edge_mode_vertical : stbir_edge , filter_horizontal : stbir_filter , filter_vertical : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void , x_scale : f32 , y_scale : f32 , x_offset : f32 , y_offset : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_region ( input_pixels : * const :: std :: os :: raw :: c_void , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_void , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , datatype : stbir_datatype , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_mode_horizontal : stbir_edge , edge_mode_vertical : stbir_edge , filter_horizontal : stbir_filter , filter_vertical : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void , s0 : f32 , t0 : f32 , s1 : f32 , t1 : f32 ) -> :: std :: os :: raw :: c_int ; } pub type stbir__validate_uint32 = [ :: std :: os :: raw :: c_uchar ; 1usize ] ; extern "C" { pub static mut stbir__type_size : [ :: std :: os :: raw :: c_uchar ; 4usize ] ; } pub type stbir__kernel_fn = :: std :: option :: Option < unsafe extern "C" fn ( x : f32 , scale : f32 ) -> f32 > ; pub type stbir__support_fn = :: std :: option :: Option < unsafe extern "C" fn ( scale : f32 ) -> f32 > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbir__filter_info { pub kernel : stbir__kernel_fn , pub support : stbir__support_fn , } # [ test ] fn bindgen_test_layout_stbir__filter_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__filter_info > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbir__filter_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__filter_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbir__filter_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__filter_info > ( ) ) ) . kernel as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__filter_info ) , "::" , stringify ! ( kernel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__filter_info > ( ) ) ) . support as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbir__filter_info ) , "::" , stringify ! ( support ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbir__contributors { pub n0 : :: std :: os :: raw :: c_int , pub n1 : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbir__contributors ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__contributors > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbir__contributors ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__contributors > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbir__contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__contributors > ( ) ) ) . n0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__contributors ) , "::" , stringify ! ( n0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__contributors > ( ) ) ) . n1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbir__contributors ) , "::" , stringify ! ( n1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbir__info { pub input_data : * const :: std :: os :: raw :: c_void , pub input_w : :: std :: os :: raw :: c_int , pub input_h : :: std :: os :: raw :: c_int , pub input_stride_bytes : :: std :: os :: raw :: c_int , pub output_data : * mut :: std :: os :: raw :: c_void , pub output_w : :: std :: os :: raw :: c_int , pub output_h : :: std :: os :: raw :: c_int , pub output_stride_bytes : :: std :: os :: raw :: c_int , pub s0 : f32 , pub t0 : f32 , pub s1 : f32 , pub t1 : f32 , pub horizontal_shift : f32 , pub vertical_shift : f32 , pub horizontal_scale : f32 , pub vertical_scale : f32 , pub channels : :: std :: os :: raw :: c_int , pub alpha_channel : :: std :: os :: raw :: c_int , pub flags : stbir_uint32 , pub type_ : stbir_datatype , pub horizontal_filter : stbir_filter , pub vertical_filter : stbir_filter , pub edge_horizontal : stbir_edge , pub edge_vertical : stbir_edge , pub colorspace : stbir_colorspace , pub horizontal_contributors : * mut stbir__contributors , pub horizontal_coefficients : * mut f32 , pub vertical_contributors : * mut stbir__contributors , pub vertical_coefficients : * mut f32 , pub decode_buffer_pixels : :: std :: os :: raw :: c_int , pub decode_buffer : * mut f32 , pub horizontal_buffer : * mut f32 , pub horizontal_coefficient_width : :: std :: os :: raw :: c_int , pub vertical_coefficient_width : :: std :: os :: raw :: c_int , pub horizontal_filter_pixel_width : :: std :: os :: raw :: c_int , pub vertical_filter_pixel_width : :: std :: os :: raw :: c_int , pub horizontal_filter_pixel_margin : :: std :: os :: raw :: c_int , pub vertical_filter_pixel_margin : :: std :: os :: raw :: c_int , pub horizontal_num_contributors : :: std :: os :: raw :: c_int , pub vertical_num_contributors : :: std :: os :: raw :: c_int , pub ring_buffer_length_bytes : :: std :: os :: raw :: c_int , pub ring_buffer_num_entries : :: std :: os :: raw :: c_int , pub ring_buffer_first_scanline : :: std :: os :: raw :: c_int , pub ring_buffer_last_scanline : :: std :: os :: raw :: c_int , pub ring_buffer_begin_index : :: std :: os :: raw :: c_int , pub ring_buffer : * mut f32 , pub encode_buffer : * mut f32 , pub horizontal_contributors_size : :: std :: os :: raw :: c_int , pub horizontal_coefficients_size : :: std :: os :: raw :: c_int , pub vertical_contributors_size : :: std :: os :: raw :: c_int , pub vertical_coefficients_size : :: std :: os :: raw :: c_int , pub decode_buffer_size : :: std :: os :: raw :: c_int , pub horizontal_buffer_size : :: std :: os :: raw :: c_int , pub ring_buffer_size : :: std :: os :: raw :: c_int , pub encode_buffer_size : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbir__info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__info > ( ) , 272usize , concat ! ( "Size of: " , stringify ! ( stbir__info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbir__info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_w as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_h as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_stride_bytes as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_stride_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_data as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_w as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_h as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_stride_bytes as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_stride_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . s0 as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( s0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . t0 as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( t0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . s1 as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( s1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . t1 as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( t1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_shift as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_shift ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_shift as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_shift ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_scale as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_scale as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . channels as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( channels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . alpha_channel as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( alpha_channel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . flags as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . type_ as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_filter as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_filter as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . edge_horizontal as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( edge_horizontal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . edge_vertical as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( edge_vertical ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . colorspace as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( colorspace ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_contributors as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_coefficients as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_coefficients ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_contributors as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_coefficients as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_coefficients ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . decode_buffer_pixels as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( decode_buffer_pixels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . decode_buffer as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( decode_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_buffer as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_coefficient_width as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_coefficient_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_coefficient_width as * const _ as usize } , 172usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_coefficient_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_filter_pixel_width as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_filter_pixel_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_filter_pixel_width as * const _ as usize } , 180usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_filter_pixel_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_filter_pixel_margin as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_filter_pixel_margin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_filter_pixel_margin as * const _ as usize } , 188usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_filter_pixel_margin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_num_contributors as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_num_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_num_contributors as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_num_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_length_bytes as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_length_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_num_entries as * const _ as usize } , 204usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_num_entries ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_first_scanline as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_first_scanline ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_last_scanline as * const _ as usize } , 212usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_last_scanline ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_begin_index as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_begin_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . encode_buffer as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( encode_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_contributors_size as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_contributors_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_coefficients_size as * const _ as usize } , 244usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_coefficients_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_contributors_size as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_contributors_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_coefficients_size as * const _ as usize } , 252usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_coefficients_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . decode_buffer_size as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( decode_buffer_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_buffer_size as * const _ as usize } , 260usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_buffer_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_size as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . encode_buffer_size as * const _ as usize } , 268usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( encode_buffer_size ) ) ) ; } pub const stbir__max_uint8_as_float : f32 = 255.0 ; pub const stbir__max_uint16_as_float : f32 = 65535.0 ; pub const stbir__max_uint32_as_float : f64 = 4294967295.0 ; extern "C" { pub static mut stbir__srgb_uchar_to_linear_float : [ f32 ; 256usize ] ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union stbir__FP32 { pub u : stbir_uint32 , pub f : f32 , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_stbir__FP32 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__FP32 > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( stbir__FP32 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__FP32 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbir__FP32 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__FP32 > ( ) ) ) . u as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__FP32 ) , "::" , stringify ! ( u ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__FP32 > ( ) ) ) . f as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__FP32 ) , "::" , stringify ! ( f ) ) ) ; } extern "C" { pub static mut fp32_to_srgb8_tab4 : [ stbir_uint32 ; 104usize ] ; } extern "C" { pub static mut stbir__filter_info_table : [ stbir__filter_info ; 6usize ] ; } extern "C" { pub fn stb_perlin_noise3 ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_ridge_noise3 ( x : f32 , y : f32 , z : f32 , lacunarity : f32 , gain : f32 , offset : f32 , octaves : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_fbm_noise3 ( x : f32 , y : f32 , z : f32 , lacunarity : f32 , gain : f32 , octaves : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_turbulence_noise3 ( x : f32 , y : f32 , z : f32 , lacunarity : f32 , gain : f32 , octaves : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_noise3_wrap_nonpow2 ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int , seed : :: std :: os :: raw :: c_uchar ) -> f32 ; } extern "C" { pub static mut stb__perlin_randtab : [ :: std :: os :: raw :: c_uchar ; 512usize ] ; } extern "C" { pub static mut stb__perlin_randtab_grad_idx : [ :: std :: os :: raw :: c_uchar ; 512usize ] ; } extern "C" { pub fn stb_perlin_noise3_internal ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int , seed : :: std :: os :: raw :: c_uchar ) -> f32 ; } extern "C" { pub fn stb_perlin_noise3_seed ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int , seed : :: std :: os :: raw :: c_int ) -> f32 ; } pub type stbrp_coord = :: std :: os :: raw :: c_ushort ; extern "C" { pub fn stbrp_pack_rects ( context : * mut stbrp_context , rects : * mut stbrp_rect , num_rects : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp_rect { pub id : :: std :: os :: raw :: c_int , pub w : stbrp_coord , pub h : stbrp_coord , pub x : stbrp_coord , pub y : stbrp_coord , pub was_packed : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbrp_rect ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp_rect > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbrp_rect ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp_rect > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbrp_rect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . w as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . h as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . x as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . y as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . was_packed as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( was_packed ) ) ) ; } extern "C" { pub fn stbrp_init_target ( context : * mut stbrp_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , nodes : * mut stbrp_node , num_nodes : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbrp_setup_allow_out_of_mem ( context : * mut stbrp_context , allow_out_of_mem : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbrp_setup_heuristic ( context : * mut stbrp_context , heuristic : :: std :: os :: raw :: c_int ) ; } pub const STBRP_HEURISTIC_Skyline_default : _bindgen_ty_7 = 0 ; pub const STBRP_HEURISTIC_Skyline_BL_sortHeight : _bindgen_ty_7 = 0 ; pub const STBRP_HEURISTIC_Skyline_BF_sortHeight : _bindgen_ty_7 = 1 ; pub type _bindgen_ty_7 = u32 ; # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp_node { pub x : stbrp_coord , pub y : stbrp_coord , pub next : * mut stbrp_node , } # [ test ] fn bindgen_test_layout_stbrp_node ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp_node > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbrp_node ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp_node > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbrp_node ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_node > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_node ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_node > ( ) ) ) . y as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_node ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_node > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_node ) , "::" , stringify ! ( next ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp_context { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub align : :: std :: os :: raw :: c_int , pub init_mode : :: std :: os :: raw :: c_int , pub heuristic : :: std :: os :: raw :: c_int , pub num_nodes : :: std :: os :: raw :: c_int , pub active_head : * mut stbrp_node , pub free_head : * mut stbrp_node , pub extra : [ stbrp_node ; 2usize ] , } # [ test ] fn bindgen_test_layout_stbrp_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp_context > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( stbrp_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbrp_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . align as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( align ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . init_mode as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( init_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . heuristic as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( heuristic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . num_nodes as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( num_nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . active_head as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( active_head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . free_head as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( free_head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . extra as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( extra ) ) ) ; } pub const STBRP__INIT_skyline : _bindgen_ty_8 = 1 ; pub type _bindgen_ty_8 = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp__findresult { pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub prev_link : * mut * mut stbrp_node , } # [ test ] fn bindgen_test_layout_stbrp__findresult ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp__findresult > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbrp__findresult ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp__findresult > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbrp__findresult ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp__findresult > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp__findresult ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp__findresult > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbrp__findresult ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp__findresult > ( ) ) ) . prev_link as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp__findresult ) , "::" , stringify ! ( prev_link ) ) ) ; } pub type stbtt_uint8 = :: std :: os :: raw :: c_uchar ; pub type stbtt_int8 = :: std :: os :: raw :: c_schar ; pub type stbtt_uint16 = :: std :: os :: raw :: c_ushort ; pub type stbtt_int16 = :: std :: os :: raw :: c_short ; pub type stbtt_uint32 = :: std :: os :: raw :: c_uint ; pub type stbtt_int32 = :: std :: os :: raw :: c_int ; pub type stbtt__check_size32 = [ :: std :: os :: raw :: c_char ; 1usize ] ; pub type stbtt__check_size16 = [ :: std :: os :: raw :: c_char ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__buf { pub data : * mut :: std :: os :: raw :: c_uchar , pub cursor : :: std :: os :: raw :: c_int , pub size : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__buf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__buf > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbtt__buf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__buf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__buf > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__buf ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__buf > ( ) ) ) . cursor as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__buf ) , "::" , stringify ! ( cursor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__buf > ( ) ) ) . size as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__buf ) , "::" , stringify ! ( size ) ) ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_bakedchar { pub x0 : :: std :: os :: raw :: c_ushort , pub y0 : :: std :: os :: raw :: c_ushort , pub x1 : :: std :: os :: raw :: c_ushort , pub y1 : :: std :: os :: raw :: c_ushort , pub xoff : f32 , pub yoff : f32 , pub xadvance : f32 , } # [ test ] fn bindgen_test_layout_stbtt_bakedchar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_bakedchar > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( stbtt_bakedchar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_bakedchar > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt_bakedchar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . y0 as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . x1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . y1 as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . xoff as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( xoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . yoff as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( yoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . xadvance as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( xadvance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_aligned_quad { pub x0 : f32 , pub y0 : f32 , pub s0 : f32 , pub t0 : f32 , pub x1 : f32 , pub y1 : f32 , pub s1 : f32 , pub t1 : f32 , } # [ test ] fn bindgen_test_layout_stbtt_aligned_quad ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_aligned_quad > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( stbtt_aligned_quad ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_aligned_quad > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt_aligned_quad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . y0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . s0 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( s0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . t0 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( t0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . x1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . y1 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . s1 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( s1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . t1 as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( t1 ) ) ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_packedchar { pub x0 : :: std :: os :: raw :: c_ushort , pub y0 : :: std :: os :: raw :: c_ushort , pub x1 : :: std :: os :: raw :: c_ushort , pub y1 : :: std :: os :: raw :: c_ushort , pub xoff : f32 , pub yoff : f32 , pub xadvance : f32 , pub xoff2 : f32 , pub yoff2 : f32 , } # [ test ] fn bindgen_test_layout_stbtt_packedchar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_packedchar > ( ) , 28usize , concat ! ( "Size of: " , stringify ! ( stbtt_packedchar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_packedchar > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt_packedchar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . y0 as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . x1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . y1 as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . xoff as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( xoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . yoff as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( yoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . xadvance as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( xadvance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . xoff2 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( xoff2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . yoff2 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( yoff2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_pack_range { pub font_size : f32 , pub first_unicode_codepoint_in_range : :: std :: os :: raw :: c_int , pub array_of_unicode_codepoints : * mut :: std :: os :: raw :: c_int , pub num_chars : :: std :: os :: raw :: c_int , pub chardata_for_range : * mut stbtt_packedchar , pub h_oversample : :: std :: os :: raw :: c_uchar , pub v_oversample : :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_stbtt_pack_range ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_pack_range > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( stbtt_pack_range ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_pack_range > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt_pack_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . font_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( font_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . first_unicode_codepoint_in_range as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( first_unicode_codepoint_in_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . array_of_unicode_codepoints as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( array_of_unicode_codepoints ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . num_chars as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( num_chars ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . chardata_for_range as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( chardata_for_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . h_oversample as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( h_oversample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . v_oversample as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( v_oversample ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_pack_context { pub user_allocator_context : * mut :: std :: os :: raw :: c_void , pub pack_info : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub stride_in_bytes : :: std :: os :: raw :: c_int , pub padding : :: std :: os :: raw :: c_int , pub skip_missing : :: std :: os :: raw :: c_int , pub h_oversample : :: std :: os :: raw :: c_uint , pub v_oversample : :: std :: os :: raw :: c_uint , pub pixels : * mut :: std :: os :: raw :: c_uchar , pub nodes : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_stbtt_pack_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_pack_context > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( stbtt_pack_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_pack_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt_pack_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . user_allocator_context as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( user_allocator_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . pack_info as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( pack_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . width as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . height as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . stride_in_bytes as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( stride_in_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . padding as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( padding ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . skip_missing as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( skip_missing ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . h_oversample as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( h_oversample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . v_oversample as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( v_oversample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . pixels as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( pixels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . nodes as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( nodes ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_fontinfo { pub userdata : * mut :: std :: os :: raw :: c_void , pub data : * mut :: std :: os :: raw :: c_uchar , pub fontstart : :: std :: os :: raw :: c_int , pub numGlyphs : :: std :: os :: raw :: c_int , pub loca : :: std :: os :: raw :: c_int , pub head : :: std :: os :: raw :: c_int , pub glyf : :: std :: os :: raw :: c_int , pub hhea : :: std :: os :: raw :: c_int , pub hmtx : :: std :: os :: raw :: c_int , pub kern : :: std :: os :: raw :: c_int , pub gpos : :: std :: os :: raw :: c_int , pub index_map : :: std :: os :: raw :: c_int , pub indexToLocFormat : :: std :: os :: raw :: c_int , pub cff : stbtt__buf , pub charstrings : stbtt__buf , pub gsubrs : stbtt__buf , pub subrs : stbtt__buf , pub fontdicts : stbtt__buf , pub fdselect : stbtt__buf , } # [ test ] fn bindgen_test_layout_stbtt_fontinfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_fontinfo > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( stbtt_fontinfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_fontinfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt_fontinfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . userdata as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( userdata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . fontstart as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( fontstart ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . numGlyphs as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( numGlyphs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . loca as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( loca ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . head as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . glyf as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( glyf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . hhea as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( hhea ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . hmtx as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( hmtx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . kern as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( kern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . gpos as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( gpos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . index_map as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( index_map ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . indexToLocFormat as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( indexToLocFormat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . cff as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( cff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . charstrings as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( charstrings ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . gsubrs as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( gsubrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . subrs as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( subrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . fontdicts as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( fontdicts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . fdselect as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( fdselect ) ) ) ; } pub const STBTT_vmove : _bindgen_ty_9 = 1 ; pub const STBTT_vline : _bindgen_ty_9 = 2 ; pub const STBTT_vcurve : _bindgen_ty_9 = 3 ; pub const STBTT_vcubic : _bindgen_ty_9 = 4 ; pub type _bindgen_ty_9 = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_vertex { pub x : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub cx : :: std :: os :: raw :: c_short , pub cy : :: std :: os :: raw :: c_short , pub cx1 : :: std :: os :: raw :: c_short , pub cy1 : :: std :: os :: raw :: c_short , pub type_ : :: std :: os :: raw :: c_uchar , pub padding : :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_stbtt_vertex ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_vertex > ( ) , 14usize , concat ! ( "Size of: " , stringify ! ( stbtt_vertex ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_vertex > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( stbtt_vertex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . y as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cx as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cy as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cx1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cx1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cy1 as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cy1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . type_ as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . padding as * const _ as usize } , 13usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( padding ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__bitmap { pub w : :: std :: os :: raw :: c_int , pub h : :: std :: os :: raw :: c_int , pub stride : :: std :: os :: raw :: c_int , pub pixels : * mut :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_stbtt__bitmap ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__bitmap > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stbtt__bitmap ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__bitmap > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__bitmap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . w as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . h as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . stride as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( stride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . pixels as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( pixels ) ) ) ; } pub const STBTT_PLATFORM_ID_UNICODE : _bindgen_ty_10 = 0 ; pub const STBTT_PLATFORM_ID_MAC : _bindgen_ty_10 = 1 ; pub const STBTT_PLATFORM_ID_ISO : _bindgen_ty_10 = 2 ; pub const STBTT_PLATFORM_ID_MICROSOFT : _bindgen_ty_10 = 3 ; pub type _bindgen_ty_10 = u32 ; pub const STBTT_UNICODE_EID_UNICODE_1_0 : _bindgen_ty_11 = 0 ; pub const STBTT_UNICODE_EID_UNICODE_1_1 : _bindgen_ty_11 = 1 ; pub const STBTT_UNICODE_EID_ISO_10646 : _bindgen_ty_11 = 2 ; pub const STBTT_UNICODE_EID_UNICODE_2_0_BMP : _bindgen_ty_11 = 3 ; pub const STBTT_UNICODE_EID_UNICODE_2_0_FULL : _bindgen_ty_11 = 4 ; pub type _bindgen_ty_11 = u32 ; pub const STBTT_MS_EID_SYMBOL : _bindgen_ty_12 = 0 ; pub const STBTT_MS_EID_UNICODE_BMP : _bindgen_ty_12 = 1 ; pub const STBTT_MS_EID_SHIFTJIS : _bindgen_ty_12 = 2 ; pub const STBTT_MS_EID_UNICODE_FULL : _bindgen_ty_12 = 10 ; pub type _bindgen_ty_12 = u32 ; pub const STBTT_MAC_EID_ROMAN : _bindgen_ty_13 = 0 ; pub const STBTT_MAC_EID_ARABIC : _bindgen_ty_13 = 4 ; pub const STBTT_MAC_EID_JAPANESE : _bindgen_ty_13 = 1 ; pub const STBTT_MAC_EID_HEBREW : _bindgen_ty_13 = 5 ; pub const STBTT_MAC_EID_CHINESE_TRAD : _bindgen_ty_13 = 2 ; pub const STBTT_MAC_EID_GREEK : _bindgen_ty_13 = 6 ; pub const STBTT_MAC_EID_KOREAN : _bindgen_ty_13 = 3 ; pub const STBTT_MAC_EID_RUSSIAN : _bindgen_ty_13 = 7 ; pub type _bindgen_ty_13 = u32 ; pub const STBTT_MS_LANG_ENGLISH : _bindgen_ty_14 = 1033 ; pub const STBTT_MS_LANG_ITALIAN : _bindgen_ty_14 = 1040 ; pub const STBTT_MS_LANG_CHINESE : _bindgen_ty_14 = 2052 ; pub const STBTT_MS_LANG_JAPANESE : _bindgen_ty_14 = 1041 ; pub const STBTT_MS_LANG_DUTCH : _bindgen_ty_14 = 1043 ; pub const STBTT_MS_LANG_KOREAN : _bindgen_ty_14 = 1042 ; pub const STBTT_MS_LANG_FRENCH : _bindgen_ty_14 = 1036 ; pub const STBTT_MS_LANG_RUSSIAN : _bindgen_ty_14 = 1049 ; pub const STBTT_MS_LANG_GERMAN : _bindgen_ty_14 = 1031 ; pub const STBTT_MS_LANG_SPANISH : _bindgen_ty_14 = 1033 ; pub const STBTT_MS_LANG_HEBREW : _bindgen_ty_14 = 1037 ; pub const STBTT_MS_LANG_SWEDISH : _bindgen_ty_14 = 1053 ; pub type _bindgen_ty_14 = u32 ; pub const STBTT_MAC_LANG_ENGLISH : _bindgen_ty_15 = 0 ; pub const STBTT_MAC_LANG_JAPANESE : _bindgen_ty_15 = 11 ; pub const STBTT_MAC_LANG_ARABIC : _bindgen_ty_15 = 12 ; pub const STBTT_MAC_LANG_KOREAN : _bindgen_ty_15 = 23 ; pub const STBTT_MAC_LANG_DUTCH : _bindgen_ty_15 = 4 ; pub const STBTT_MAC_LANG_RUSSIAN : _bindgen_ty_15 = 32 ; pub const STBTT_MAC_LANG_FRENCH : _bindgen_ty_15 = 1 ; pub const STBTT_MAC_LANG_SPANISH : _bindgen_ty_15 = 6 ; pub const STBTT_MAC_LANG_GERMAN : _bindgen_ty_15 = 2 ; pub const STBTT_MAC_LANG_SWEDISH : _bindgen_ty_15 = 5 ; pub const STBTT_MAC_LANG_HEBREW : _bindgen_ty_15 = 10 ; pub const STBTT_MAC_LANG_CHINESE_SIMPLIFIED : _bindgen_ty_15 = 33 ; pub const STBTT_MAC_LANG_ITALIAN : _bindgen_ty_15 = 3 ; pub const STBTT_MAC_LANG_CHINESE_TRAD : _bindgen_ty_15 = 19 ; pub type _bindgen_ty_15 = u32 ; pub type stbtt__test_oversample_pow2 = [ :: std :: os :: raw :: c_int ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__csctx { pub bounds : :: std :: os :: raw :: c_int , pub started : :: std :: os :: raw :: c_int , pub first_x : f32 , pub first_y : f32 , pub x : f32 , pub y : f32 , pub min_x : stbtt_int32 , pub max_x : stbtt_int32 , pub min_y : stbtt_int32 , pub max_y : stbtt_int32 , pub pvertices : * mut stbtt_vertex , pub num_vertices : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__csctx ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__csctx > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( stbtt__csctx ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__csctx > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__csctx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . bounds as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( bounds ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . started as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( started ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . first_x as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( first_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . first_y as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( first_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . x as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . y as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . min_x as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( min_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . max_x as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( max_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . min_y as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( min_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . max_y as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( max_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . pvertices as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( pvertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . num_vertices as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( num_vertices ) ) ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__hheap_chunk { pub next : * mut stbtt__hheap_chunk , } # [ test ] fn bindgen_test_layout_stbtt__hheap_chunk ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__hheap_chunk > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbtt__hheap_chunk ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__hheap_chunk > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__hheap_chunk ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap_chunk > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap_chunk ) , "::" , stringify ! ( next ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__hheap { pub head : * mut stbtt__hheap_chunk , pub first_free : * mut :: std :: os :: raw :: c_void , pub num_remaining_in_head_chunk : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__hheap ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__hheap > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stbtt__hheap ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__hheap > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__hheap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap > ( ) ) ) . head as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap ) , "::" , stringify ! ( head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap > ( ) ) ) . first_free as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap ) , "::" , stringify ! ( first_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap > ( ) ) ) . num_remaining_in_head_chunk as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap ) , "::" , stringify ! ( num_remaining_in_head_chunk ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__edge { pub x0 : f32 , pub y0 : f32 , pub x1 : f32 , pub y1 : f32 , pub invert : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__edge ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__edge > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( stbtt__edge ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__edge > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt__edge ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . y0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . x1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . y1 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . invert as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( invert ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__active_edge { pub next : * mut stbtt__active_edge , pub fx : f32 , pub fdx : f32 , pub fdy : f32 , pub direction : f32 , pub sy : f32 , pub ey : f32 , } # [ test ] fn bindgen_test_layout_stbtt__active_edge ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__active_edge > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( stbtt__active_edge ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__active_edge > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__active_edge ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . fx as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( fx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . fdx as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( fdx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . fdy as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( fdy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . direction as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( direction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . sy as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( sy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . ey as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( ey ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__point { pub x : f32 , pub y : f32 , } # [ test ] fn bindgen_test_layout_stbtt__point ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__point > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbtt__point ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__point > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt__point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__point > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__point ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__point > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__point ) , "::" , stringify ! ( y ) ) ) ; } # [ 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 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct sigevent { _unused : [ u8 ; 0 ] , } 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" { pub static mut __tzname : [ * mut :: std :: os :: raw :: c_char ; 2usize ] ; } extern "C" { pub static mut __daylight : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut __timezone : :: std :: os :: raw :: c_long ; } extern "C" { pub static mut tzname : [ * mut :: std :: os :: raw :: c_char ; 2usize ] ; } extern "C" { pub fn tzset ( ) ; } extern "C" { pub static mut daylight : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut timezone : :: std :: os :: raw :: c_long ; } extern "C" { pub fn stime ( __when : * const time_t ) -> :: std :: os :: raw :: c_int ; } 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 const rf_camera_move_rf_move_front : rf_camera_move = 0 ; pub const rf_camera_move_rf_move_back : rf_camera_move = 1 ; pub const rf_camera_move_rf_move_right : rf_camera_move = 2 ; pub const rf_camera_move_rf_move_left : rf_camera_move = 3 ; pub const rf_camera_move_rf_move_up : rf_camera_move = 4 ; pub const rf_camera_move_rf_move_down : rf_camera_move = 5 ; pub type rf_camera_move = u32 ; extern "C" { pub static mut rf_base64_table : [ :: std :: os :: raw :: c_uchar ; 123usize ] ; } pub type RFRSloadproc = :: std :: option :: Option < unsafe extern "C" fn ( name : * const :: std :: os :: raw :: c_char , userdata : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut _rfrsLoadProcUserData : * mut :: std :: os :: raw :: c_void ; } extern "C" { pub static mut _rfrsLoadProcProc : RFRSloadproc ; } extern "C" { pub fn _rfrsGLADLoadGLLoader ( name : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rfrsLoadGL ( proc_ : RFRSloadproc , userdata : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } [INFO] [stderr] | ---------------------------- previous definition of the value `FP_NAN` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_NAN` redefined here [INFO] [stderr] | [INFO] [stderr] = note: `FP_NAN` must be defined only once in the value namespace of this module [INFO] [stderr] [INFO] [stderr] error[E0428]: the name `FP_INFINITE` is defined multiple times [INFO] [stderr] --> /opt/rustwide/target/debug/build/rayfork-sys-ea336cab987eacc3/out/bindings.rs:3:414698 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = -128 ; pub const INT16_MIN : i32 = -32768 ; pub const INT32_MIN : i32 = -2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = -128 ; pub const INT_LEAST16_MIN : i32 = -32768 ; pub const INT_LEAST32_MIN : i32 = -2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = -128 ; pub const INT_FAST16_MIN : i64 = -9223372036854775808 ; pub const INT_FAST32_MIN : i64 = -9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = -1 ; pub const UINT_FAST32_MAX : i32 = -1 ; pub const INTPTR_MIN : i64 = -9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = -1 ; pub const PTRDIFF_MIN : i64 = -9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = -2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = -1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub const KHRONOS_SUPPORT_INT64 : u32 = 1 ; pub const KHRONOS_SUPPORT_FLOAT : u32 = 1 ; pub const KHRONOS_MAX_ENUM : u32 = 2147483647 ; pub const GL_DEPTH_BUFFER_BIT : u32 = 256 ; pub const GL_STENCIL_BUFFER_BIT : u32 = 1024 ; pub const GL_COLOR_BUFFER_BIT : u32 = 16384 ; pub const GL_FALSE : u32 = 0 ; pub const GL_TRUE : u32 = 1 ; pub const GL_POINTS : u32 = 0 ; pub const GL_LINES : u32 = 1 ; pub const GL_LINE_LOOP : u32 = 2 ; pub const GL_LINE_STRIP : u32 = 3 ; pub const GL_TRIANGLES : u32 = 4 ; pub const GL_TRIANGLE_STRIP : u32 = 5 ; pub const GL_TRIANGLE_FAN : u32 = 6 ; pub const GL_QUADS : u32 = 7 ; pub const GL_NEVER : u32 = 512 ; pub const GL_LESS : u32 = 513 ; pub const GL_EQUAL : u32 = 514 ; pub const GL_LEQUAL : u32 = 515 ; pub const GL_GREATER : u32 = 516 ; pub const GL_NOTEQUAL : u32 = 517 ; pub const GL_GEQUAL : u32 = 518 ; pub const GL_ALWAYS : u32 = 519 ; pub const GL_ZERO : u32 = 0 ; pub const GL_ONE : u32 = 1 ; pub const GL_SRC_COLOR : u32 = 768 ; pub const GL_ONE_MINUS_SRC_COLOR : u32 = 769 ; pub const GL_SRC_ALPHA : u32 = 770 ; pub const GL_ONE_MINUS_SRC_ALPHA : u32 = 771 ; pub const GL_DST_ALPHA : u32 = 772 ; pub const GL_ONE_MINUS_DST_ALPHA : u32 = 773 ; pub const GL_DST_COLOR : u32 = 774 ; pub const GL_ONE_MINUS_DST_COLOR : u32 = 775 ; pub const GL_SRC_ALPHA_SATURATE : u32 = 776 ; pub const GL_NONE : u32 = 0 ; pub const GL_FRONT_LEFT : u32 = 1024 ; pub const GL_FRONT_RIGHT : u32 = 1025 ; pub const GL_BACK_LEFT : u32 = 1026 ; pub const GL_BACK_RIGHT : u32 = 1027 ; pub const GL_FRONT : u32 = 1028 ; pub const GL_BACK : u32 = 1029 ; pub const GL_LEFT : u32 = 1030 ; pub const GL_RIGHT : u32 = 1031 ; pub const GL_FRONT_AND_BACK : u32 = 1032 ; pub const GL_NO_ERROR : u32 = 0 ; pub const GL_INVALID_ENUM : u32 = 1280 ; pub const GL_INVALID_VALUE : u32 = 1281 ; pub const GL_INVALID_OPERATION : u32 = 1282 ; pub const GL_OUT_OF_MEMORY : u32 = 1285 ; pub const GL_CW : u32 = 2304 ; pub const GL_CCW : u32 = 2305 ; pub const GL_POINT_SIZE : u32 = 2833 ; pub const GL_POINT_SIZE_RANGE : u32 = 2834 ; pub const GL_POINT_SIZE_GRANULARITY : u32 = 2835 ; pub const GL_LINE_SMOOTH : u32 = 2848 ; pub const GL_LINE_WIDTH : u32 = 2849 ; pub const GL_LINE_WIDTH_RANGE : u32 = 2850 ; pub const GL_LINE_WIDTH_GRANULARITY : u32 = 2851 ; pub const GL_POLYGON_MODE : u32 = 2880 ; pub const GL_POLYGON_SMOOTH : u32 = 2881 ; pub const GL_CULL_FACE : u32 = 2884 ; pub const GL_CULL_FACE_MODE : u32 = 2885 ; pub const GL_FRONT_FACE : u32 = 2886 ; pub const GL_DEPTH_RANGE : u32 = 2928 ; pub const GL_DEPTH_TEST : u32 = 2929 ; pub const GL_DEPTH_WRITEMASK : u32 = 2930 ; pub const GL_DEPTH_CLEAR_VALUE : u32 = 2931 ; pub const GL_DEPTH_FUNC : u32 = 2932 ; pub const GL_STENCIL_TEST : u32 = 2960 ; pub const GL_STENCIL_CLEAR_VALUE : u32 = 2961 ; pub const GL_STENCIL_FUNC : u32 = 2962 ; pub const GL_STENCIL_VALUE_MASK : u32 = 2963 ; pub const GL_STENCIL_FAIL : u32 = 2964 ; pub const GL_STENCIL_PASS_DEPTH_FAIL : u32 = 2965 ; pub const GL_STENCIL_PASS_DEPTH_PASS : u32 = 2966 ; pub const GL_STENCIL_REF : u32 = 2967 ; pub const GL_STENCIL_WRITEMASK : u32 = 2968 ; pub const GL_VIEWPORT : u32 = 2978 ; pub const GL_DITHER : u32 = 3024 ; pub const GL_BLEND_DST : u32 = 3040 ; pub const GL_BLEND_SRC : u32 = 3041 ; pub const GL_BLEND : u32 = 3042 ; pub const GL_LOGIC_OP_MODE : u32 = 3056 ; pub const GL_DRAW_BUFFER : u32 = 3073 ; pub const GL_READ_BUFFER : u32 = 3074 ; pub const GL_SCISSOR_BOX : u32 = 3088 ; pub const GL_SCISSOR_TEST : u32 = 3089 ; pub const GL_COLOR_CLEAR_VALUE : u32 = 3106 ; pub const GL_COLOR_WRITEMASK : u32 = 3107 ; pub const GL_DOUBLEBUFFER : u32 = 3122 ; pub const GL_STEREO : u32 = 3123 ; pub const GL_LINE_SMOOTH_HINT : u32 = 3154 ; pub const GL_POLYGON_SMOOTH_HINT : u32 = 3155 ; pub const GL_UNPACK_SWAP_BYTES : u32 = 3312 ; pub const GL_UNPACK_LSB_FIRST : u32 = 3313 ; pub const GL_UNPACK_ROW_LENGTH : u32 = 3314 ; pub const GL_UNPACK_SKIP_ROWS : u32 = 3315 ; pub const GL_UNPACK_SKIP_PIXELS : u32 = 3316 ; pub const GL_UNPACK_ALIGNMENT : u32 = 3317 ; pub const GL_PACK_SWAP_BYTES : u32 = 3328 ; pub const GL_PACK_LSB_FIRST : u32 = 3329 ; pub const GL_PACK_ROW_LENGTH : u32 = 3330 ; pub const GL_PACK_SKIP_ROWS : u32 = 3331 ; pub const GL_PACK_SKIP_PIXELS : u32 = 3332 ; pub const GL_PACK_ALIGNMENT : u32 = 3333 ; pub const GL_MAX_TEXTURE_SIZE : u32 = 3379 ; pub const GL_MAX_VIEWPORT_DIMS : u32 = 3386 ; pub const GL_SUBPIXEL_BITS : u32 = 3408 ; pub const GL_TEXTURE_1D : u32 = 3552 ; pub const GL_TEXTURE_2D : u32 = 3553 ; pub const GL_TEXTURE_WIDTH : u32 = 4096 ; pub const GL_TEXTURE_HEIGHT : u32 = 4097 ; pub const GL_TEXTURE_BORDER_COLOR : u32 = 4100 ; pub const GL_DONT_CARE : u32 = 4352 ; pub const GL_FASTEST : u32 = 4353 ; pub const GL_NICEST : u32 = 4354 ; pub const GL_BYTE : u32 = 5120 ; pub const GL_UNSIGNED_BYTE : u32 = 5121 ; pub const GL_SHORT : u32 = 5122 ; pub const GL_UNSIGNED_SHORT : u32 = 5123 ; pub const GL_INT : u32 = 5124 ; pub const GL_UNSIGNED_INT : u32 = 5125 ; pub const GL_FLOAT : u32 = 5126 ; pub const GL_STACK_OVERFLOW : u32 = 1283 ; pub const GL_STACK_UNDERFLOW : u32 = 1284 ; pub const GL_CLEAR : u32 = 5376 ; pub const GL_AND : u32 = 5377 ; pub const GL_AND_REVERSE : u32 = 5378 ; pub const GL_COPY : u32 = 5379 ; pub const GL_AND_INVERTED : u32 = 5380 ; pub const GL_NOOP : u32 = 5381 ; pub const GL_XOR : u32 = 5382 ; pub const GL_OR : u32 = 5383 ; pub const GL_NOR : u32 = 5384 ; pub const GL_EQUIV : u32 = 5385 ; pub const GL_INVERT : u32 = 5386 ; pub const GL_OR_REVERSE : u32 = 5387 ; pub const GL_COPY_INVERTED : u32 = 5388 ; pub const GL_OR_INVERTED : u32 = 5389 ; pub const GL_NAND : u32 = 5390 ; pub const GL_SET : u32 = 5391 ; pub const GL_TEXTURE : u32 = 5890 ; pub const GL_COLOR : u32 = 6144 ; pub const GL_DEPTH : u32 = 6145 ; pub const GL_STENCIL : u32 = 6146 ; pub const GL_STENCIL_INDEX : u32 = 6401 ; pub const GL_DEPTH_COMPONENT : u32 = 6402 ; pub const GL_RED : u32 = 6403 ; pub const GL_GREEN : u32 = 6404 ; pub const GL_BLUE : u32 = 6405 ; pub const GL_ALPHA : u32 = 6406 ; pub const GL_RGB : u32 = 6407 ; pub const GL_RGBA : u32 = 6408 ; pub const GL_POINT : u32 = 6912 ; pub const GL_LINE : u32 = 6913 ; pub const GL_FILL : u32 = 6914 ; pub const GL_KEEP : u32 = 7680 ; pub const GL_REPLACE : u32 = 7681 ; pub const GL_INCR : u32 = 7682 ; pub const GL_DECR : u32 = 7683 ; pub const GL_VENDOR : u32 = 7936 ; pub const GL_RENDERER : u32 = 7937 ; pub const GL_VERSION : u32 = 7938 ; pub const GL_EXTENSIONS : u32 = 7939 ; pub const GL_NEAREST : u32 = 9728 ; pub const GL_LINEAR : u32 = 9729 ; pub const GL_NEAREST_MIPMAP_NEAREST : u32 = 9984 ; pub const GL_LINEAR_MIPMAP_NEAREST : u32 = 9985 ; pub const GL_NEAREST_MIPMAP_LINEAR : u32 = 9986 ; pub const GL_LINEAR_MIPMAP_LINEAR : u32 = 9987 ; pub const GL_TEXTURE_MAG_FILTER : u32 = 10240 ; pub const GL_TEXTURE_MIN_FILTER : u32 = 10241 ; pub const GL_TEXTURE_WRAP_S : u32 = 10242 ; pub const GL_TEXTURE_WRAP_T : u32 = 10243 ; pub const GL_REPEAT : u32 = 10497 ; pub const GL_CURRENT_BIT : u32 = 1 ; pub const GL_POINT_BIT : u32 = 2 ; pub const GL_LINE_BIT : u32 = 4 ; pub const GL_POLYGON_BIT : u32 = 8 ; pub const GL_POLYGON_STIPPLE_BIT : u32 = 16 ; pub const GL_PIXEL_MODE_BIT : u32 = 32 ; pub const GL_LIGHTING_BIT : u32 = 64 ; pub const GL_FOG_BIT : u32 = 128 ; pub const GL_ACCUM_BUFFER_BIT : u32 = 512 ; pub const GL_VIEWPORT_BIT : u32 = 2048 ; pub const GL_TRANSFORM_BIT : u32 = 4096 ; pub const GL_ENABLE_BIT : u32 = 8192 ; pub const GL_HINT_BIT : u32 = 32768 ; pub const GL_EVAL_BIT : u32 = 65536 ; pub const GL_LIST_BIT : u32 = 131072 ; pub const GL_TEXTURE_BIT : u32 = 262144 ; pub const GL_SCISSOR_BIT : u32 = 524288 ; pub const GL_ALL_ATTRIB_BITS : u32 = 4294967295 ; pub const GL_QUAD_STRIP : u32 = 8 ; pub const GL_POLYGON : u32 = 9 ; pub const GL_ACCUM : u32 = 256 ; pub const GL_LOAD : u32 = 257 ; pub const GL_RETURN : u32 = 258 ; pub const GL_MULT : u32 = 259 ; pub const GL_ADD : u32 = 260 ; pub const GL_AUX0 : u32 = 1033 ; pub const GL_AUX1 : u32 = 1034 ; pub const GL_AUX2 : u32 = 1035 ; pub const GL_AUX3 : u32 = 1036 ; pub const GL_2D : u32 = 1536 ; pub const GL_3D : u32 = 1537 ; pub const GL_3D_COLOR : u32 = 1538 ; pub const GL_3D_COLOR_TEXTURE : u32 = 1539 ; pub const GL_4D_COLOR_TEXTURE : u32 = 1540 ; pub const GL_PASS_THROUGH_TOKEN : u32 = 1792 ; pub const GL_POINT_TOKEN : u32 = 1793 ; pub const GL_LINE_TOKEN : u32 = 1794 ; pub const GL_POLYGON_TOKEN : u32 = 1795 ; pub const GL_BITMAP_TOKEN : u32 = 1796 ; pub const GL_DRAW_PIXEL_TOKEN : u32 = 1797 ; pub const GL_COPY_PIXEL_TOKEN : u32 = 1798 ; pub const GL_LINE_RESET_TOKEN : u32 = 1799 ; pub const GL_EXP : u32 = 2048 ; pub const GL_EXP2 : u32 = 2049 ; pub const GL_COEFF : u32 = 2560 ; pub const GL_ORDER : u32 = 2561 ; pub const GL_DOMAIN : u32 = 2562 ; pub const GL_PIXEL_MAP_I_TO_I : u32 = 3184 ; pub const GL_PIXEL_MAP_S_TO_S : u32 = 3185 ; pub const GL_PIXEL_MAP_I_TO_R : u32 = 3186 ; pub const GL_PIXEL_MAP_I_TO_G : u32 = 3187 ; pub const GL_PIXEL_MAP_I_TO_B : u32 = 3188 ; pub const GL_PIXEL_MAP_I_TO_A : u32 = 3189 ; pub const GL_PIXEL_MAP_R_TO_R : u32 = 3190 ; pub const GL_PIXEL_MAP_G_TO_G : u32 = 3191 ; pub const GL_PIXEL_MAP_B_TO_B : u32 = 3192 ; pub const GL_PIXEL_MAP_A_TO_A : u32 = 3193 ; pub const GL_CURRENT_COLOR : u32 = 2816 ; pub const GL_CURRENT_INDEX : u32 = 2817 ; pub const GL_CURRENT_NORMAL : u32 = 2818 ; pub const GL_CURRENT_TEXTURE_COORDS : u32 = 2819 ; pub const GL_CURRENT_RASTER_COLOR : u32 = 2820 ; pub const GL_CURRENT_RASTER_INDEX : u32 = 2821 ; pub const GL_CURRENT_RASTER_TEXTURE_COORDS : u32 = 2822 ; pub const GL_CURRENT_RASTER_POSITION : u32 = 2823 ; pub const GL_CURRENT_RASTER_POSITION_VALID : u32 = 2824 ; pub const GL_CURRENT_RASTER_DISTANCE : u32 = 2825 ; pub const GL_POINT_SMOOTH : u32 = 2832 ; pub const GL_LINE_STIPPLE : u32 = 2852 ; pub const GL_LINE_STIPPLE_PATTERN : u32 = 2853 ; pub const GL_LINE_STIPPLE_REPEAT : u32 = 2854 ; pub const GL_LIST_MODE : u32 = 2864 ; pub const GL_MAX_LIST_NESTING : u32 = 2865 ; pub const GL_LIST_BASE : u32 = 2866 ; pub const GL_LIST_INDEX : u32 = 2867 ; pub const GL_POLYGON_STIPPLE : u32 = 2882 ; pub const GL_EDGE_FLAG : u32 = 2883 ; pub const GL_LIGHTING : u32 = 2896 ; pub const GL_LIGHT_MODEL_LOCAL_VIEWER : u32 = 2897 ; pub const GL_LIGHT_MODEL_TWO_SIDE : u32 = 2898 ; pub const GL_LIGHT_MODEL_AMBIENT : u32 = 2899 ; pub const GL_SHADE_MODEL : u32 = 2900 ; pub const GL_COLOR_MATERIAL_FACE : u32 = 2901 ; pub const GL_COLOR_MATERIAL_PARAMETER : u32 = 2902 ; pub const GL_COLOR_MATERIAL : u32 = 2903 ; pub const GL_FOG : u32 = 2912 ; pub const GL_FOG_INDEX : u32 = 2913 ; pub const GL_FOG_DENSITY : u32 = 2914 ; pub const GL_FOG_START : u32 = 2915 ; pub const GL_FOG_END : u32 = 2916 ; pub const GL_FOG_MODE : u32 = 2917 ; pub const GL_FOG_COLOR : u32 = 2918 ; pub const GL_ACCUM_CLEAR_VALUE : u32 = 2944 ; pub const GL_MATRIX_MODE : u32 = 2976 ; pub const GL_NORMALIZE : u32 = 2977 ; pub const GL_MODELVIEW_STACK_DEPTH : u32 = 2979 ; pub const GL_PROJECTION_STACK_DEPTH : u32 = 2980 ; pub const GL_TEXTURE_STACK_DEPTH : u32 = 2981 ; pub const GL_MODELVIEW_MATRIX : u32 = 2982 ; pub const GL_PROJECTION_MATRIX : u32 = 2983 ; pub const GL_TEXTURE_MATRIX : u32 = 2984 ; pub const GL_ATTRIB_STACK_DEPTH : u32 = 2992 ; pub const GL_ALPHA_TEST : u32 = 3008 ; pub const GL_ALPHA_TEST_FUNC : u32 = 3009 ; pub const GL_ALPHA_TEST_REF : u32 = 3010 ; pub const GL_LOGIC_OP : u32 = 3057 ; pub const GL_AUX_BUFFERS : u32 = 3072 ; pub const GL_INDEX_CLEAR_VALUE : u32 = 3104 ; pub const GL_INDEX_WRITEMASK : u32 = 3105 ; pub const GL_INDEX_MODE : u32 = 3120 ; pub const GL_RGBA_MODE : u32 = 3121 ; pub const GL_RENDER_MODE : u32 = 3136 ; pub const GL_PERSPECTIVE_CORRECTION_HINT : u32 = 3152 ; pub const GL_POINT_SMOOTH_HINT : u32 = 3153 ; pub const GL_FOG_HINT : u32 = 3156 ; pub const GL_TEXTURE_GEN_S : u32 = 3168 ; pub const GL_TEXTURE_GEN_T : u32 = 3169 ; pub const GL_TEXTURE_GEN_R : u32 = 3170 ; pub const GL_TEXTURE_GEN_Q : u32 = 3171 ; pub const GL_PIXEL_MAP_I_TO_I_SIZE : u32 = 3248 ; pub const GL_PIXEL_MAP_S_TO_S_SIZE : u32 = 3249 ; pub const GL_PIXEL_MAP_I_TO_R_SIZE : u32 = 3250 ; pub const GL_PIXEL_MAP_I_TO_G_SIZE : u32 = 3251 ; pub const GL_PIXEL_MAP_I_TO_B_SIZE : u32 = 3252 ; pub const GL_PIXEL_MAP_I_TO_A_SIZE : u32 = 3253 ; pub const GL_PIXEL_MAP_R_TO_R_SIZE : u32 = 3254 ; pub const GL_PIXEL_MAP_G_TO_G_SIZE : u32 = 3255 ; pub const GL_PIXEL_MAP_B_TO_B_SIZE : u32 = 3256 ; pub const GL_PIXEL_MAP_A_TO_A_SIZE : u32 = 3257 ; pub const GL_MAP_COLOR : u32 = 3344 ; pub const GL_MAP_STENCIL : u32 = 3345 ; pub const GL_INDEX_SHIFT : u32 = 3346 ; pub const GL_INDEX_OFFSET : u32 = 3347 ; pub const GL_RED_SCALE : u32 = 3348 ; pub const GL_RED_BIAS : u32 = 3349 ; pub const GL_ZOOM_X : u32 = 3350 ; pub const GL_ZOOM_Y : u32 = 3351 ; pub const GL_GREEN_SCALE : u32 = 3352 ; pub const GL_GREEN_BIAS : u32 = 3353 ; pub const GL_BLUE_SCALE : u32 = 3354 ; pub const GL_BLUE_BIAS : u32 = 3355 ; pub const GL_ALPHA_SCALE : u32 = 3356 ; pub const GL_ALPHA_BIAS : u32 = 3357 ; pub const GL_DEPTH_SCALE : u32 = 3358 ; pub const GL_DEPTH_BIAS : u32 = 3359 ; pub const GL_MAX_EVAL_ORDER : u32 = 3376 ; pub const GL_MAX_LIGHTS : u32 = 3377 ; pub const GL_MAX_CLIP_PLANES : u32 = 3378 ; pub const GL_MAX_PIXEL_MAP_TABLE : u32 = 3380 ; pub const GL_MAX_ATTRIB_STACK_DEPTH : u32 = 3381 ; pub const GL_MAX_MODELVIEW_STACK_DEPTH : u32 = 3382 ; pub const GL_MAX_NAME_STACK_DEPTH : u32 = 3383 ; pub const GL_MAX_PROJECTION_STACK_DEPTH : u32 = 3384 ; pub const GL_MAX_TEXTURE_STACK_DEPTH : u32 = 3385 ; pub const GL_INDEX_BITS : u32 = 3409 ; pub const GL_RED_BITS : u32 = 3410 ; pub const GL_GREEN_BITS : u32 = 3411 ; pub const GL_BLUE_BITS : u32 = 3412 ; pub const GL_ALPHA_BITS : u32 = 3413 ; pub const GL_DEPTH_BITS : u32 = 3414 ; pub const GL_STENCIL_BITS : u32 = 3415 ; pub const GL_ACCUM_RED_BITS : u32 = 3416 ; pub const GL_ACCUM_GREEN_BITS : u32 = 3417 ; pub const GL_ACCUM_BLUE_BITS : u32 = 3418 ; pub const GL_ACCUM_ALPHA_BITS : u32 = 3419 ; pub const GL_NAME_STACK_DEPTH : u32 = 3440 ; pub const GL_AUTO_NORMAL : u32 = 3456 ; pub const GL_MAP1_COLOR_4 : u32 = 3472 ; pub const GL_MAP1_INDEX : u32 = 3473 ; pub const GL_MAP1_NORMAL : u32 = 3474 ; pub const GL_MAP1_TEXTURE_COORD_1 : u32 = 3475 ; pub const GL_MAP1_TEXTURE_COORD_2 : u32 = 3476 ; pub const GL_MAP1_TEXTURE_COORD_3 : u32 = 3477 ; pub const GL_MAP1_TEXTURE_COORD_4 : u32 = 3478 ; pub const GL_MAP1_VERTEX_3 : u32 = 3479 ; pub const GL_MAP1_VERTEX_4 : u32 = 3480 ; pub const GL_MAP2_COLOR_4 : u32 = 3504 ; pub const GL_MAP2_INDEX : u32 = 3505 ; pub const GL_MAP2_NORMAL : u32 = 3506 ; pub const GL_MAP2_TEXTURE_COORD_1 : u32 = 3507 ; pub const GL_MAP2_TEXTURE_COORD_2 : u32 = 3508 ; pub const GL_MAP2_TEXTURE_COORD_3 : u32 = 3509 ; pub const GL_MAP2_TEXTURE_COORD_4 : u32 = 3510 ; pub const GL_MAP2_VERTEX_3 : u32 = 3511 ; pub const GL_MAP2_VERTEX_4 : u32 = 3512 ; pub const GL_MAP1_GRID_DOMAIN : u32 = 3536 ; pub const GL_MAP1_GRID_SEGMENTS : u32 = 3537 ; pub const GL_MAP2_GRID_DOMAIN : u32 = 3538 ; pub const GL_MAP2_GRID_SEGMENTS : u32 = 3539 ; pub const GL_TEXTURE_COMPONENTS : u32 = 4099 ; pub const GL_TEXTURE_BORDER : u32 = 4101 ; pub const GL_AMBIENT : u32 = 4608 ; pub const GL_DIFFUSE : u32 = 4609 ; pub const GL_SPECULAR : u32 = 4610 ; pub const GL_POSITION : u32 = 4611 ; pub const GL_SPOT_DIRECTION : u32 = 4612 ; pub const GL_SPOT_EXPONENT : u32 = 4613 ; pub const GL_SPOT_CUTOFF : u32 = 4614 ; pub const GL_CONSTANT_ATTENUATION : u32 = 4615 ; pub const GL_LINEAR_ATTENUATION : u32 = 4616 ; pub const GL_QUADRATIC_ATTENUATION : u32 = 4617 ; pub const GL_COMPILE : u32 = 4864 ; pub const GL_COMPILE_AND_EXECUTE : u32 = 4865 ; pub const GL_2_BYTES : u32 = 5127 ; pub const GL_3_BYTES : u32 = 5128 ; pub const GL_4_BYTES : u32 = 5129 ; pub const GL_EMISSION : u32 = 5632 ; pub const GL_SHININESS : u32 = 5633 ; pub const GL_AMBIENT_AND_DIFFUSE : u32 = 5634 ; pub const GL_COLOR_INDEXES : u32 = 5635 ; pub const GL_MODELVIEW : u32 = 5888 ; pub const GL_PROJECTION : u32 = 5889 ; pub const GL_COLOR_INDEX : u32 = 6400 ; pub const GL_LUMINANCE : u32 = 6409 ; pub const GL_LUMINANCE_ALPHA : u32 = 6410 ; pub const GL_BITMAP : u32 = 6656 ; pub const GL_RENDER : u32 = 7168 ; pub const GL_FEEDBACK : u32 = 7169 ; pub const GL_SELECT : u32 = 7170 ; pub const GL_FLAT : u32 = 7424 ; pub const GL_SMOOTH : u32 = 7425 ; pub const GL_S : u32 = 8192 ; pub const GL_T : u32 = 8193 ; pub const GL_R : u32 = 8194 ; pub const GL_Q : u32 = 8195 ; pub const GL_MODULATE : u32 = 8448 ; pub const GL_DECAL : u32 = 8449 ; pub const GL_TEXTURE_ENV_MODE : u32 = 8704 ; pub const GL_TEXTURE_ENV_COLOR : u32 = 8705 ; pub const GL_TEXTURE_ENV : u32 = 8960 ; pub const GL_EYE_LINEAR : u32 = 9216 ; pub const GL_OBJECT_LINEAR : u32 = 9217 ; pub const GL_SPHERE_MAP : u32 = 9218 ; pub const GL_TEXTURE_GEN_MODE : u32 = 9472 ; pub const GL_OBJECT_PLANE : u32 = 9473 ; pub const GL_EYE_PLANE : u32 = 9474 ; pub const GL_CLAMP : u32 = 10496 ; pub const GL_CLIP_PLANE0 : u32 = 12288 ; pub const GL_CLIP_PLANE1 : u32 = 12289 ; pub const GL_CLIP_PLANE2 : u32 = 12290 ; pub const GL_CLIP_PLANE3 : u32 = 12291 ; pub const GL_CLIP_PLANE4 : u32 = 12292 ; pub const GL_CLIP_PLANE5 : u32 = 12293 ; pub const GL_LIGHT0 : u32 = 16384 ; pub const GL_LIGHT1 : u32 = 16385 ; pub const GL_LIGHT2 : u32 = 16386 ; pub const GL_LIGHT3 : u32 = 16387 ; pub const GL_LIGHT4 : u32 = 16388 ; pub const GL_LIGHT5 : u32 = 16389 ; pub const GL_LIGHT6 : u32 = 16390 ; pub const GL_LIGHT7 : u32 = 16391 ; pub const GL_COLOR_LOGIC_OP : u32 = 3058 ; pub const GL_POLYGON_OFFSET_UNITS : u32 = 10752 ; pub const GL_POLYGON_OFFSET_POINT : u32 = 10753 ; pub const GL_POLYGON_OFFSET_LINE : u32 = 10754 ; pub const GL_POLYGON_OFFSET_FILL : u32 = 32823 ; pub const GL_POLYGON_OFFSET_FACTOR : u32 = 32824 ; pub const GL_TEXTURE_BINDING_1D : u32 = 32872 ; pub const GL_TEXTURE_BINDING_2D : u32 = 32873 ; pub const GL_TEXTURE_INTERNAL_FORMAT : u32 = 4099 ; pub const GL_TEXTURE_RED_SIZE : u32 = 32860 ; pub const GL_TEXTURE_GREEN_SIZE : u32 = 32861 ; pub const GL_TEXTURE_BLUE_SIZE : u32 = 32862 ; pub const GL_TEXTURE_ALPHA_SIZE : u32 = 32863 ; pub const GL_DOUBLE : u32 = 5130 ; pub const GL_PROXY_TEXTURE_1D : u32 = 32867 ; pub const GL_PROXY_TEXTURE_2D : u32 = 32868 ; pub const GL_R3_G3_B2 : u32 = 10768 ; pub const GL_RGB4 : u32 = 32847 ; pub const GL_RGB5 : u32 = 32848 ; pub const GL_RGB8 : u32 = 32849 ; pub const GL_RGB10 : u32 = 32850 ; pub const GL_RGB12 : u32 = 32851 ; pub const GL_RGB16 : u32 = 32852 ; pub const GL_RGBA2 : u32 = 32853 ; pub const GL_RGBA4 : u32 = 32854 ; pub const GL_RGB5_A1 : u32 = 32855 ; pub const GL_RGBA8 : u32 = 32856 ; pub const GL_RGB10_A2 : u32 = 32857 ; pub const GL_RGBA12 : u32 = 32858 ; pub const GL_RGBA16 : u32 = 32859 ; pub const GL_CLIENT_PIXEL_STORE_BIT : u32 = 1 ; pub const GL_CLIENT_VERTEX_ARRAY_BIT : u32 = 2 ; pub const GL_CLIENT_ALL_ATTRIB_BITS : u32 = 4294967295 ; pub const GL_VERTEX_ARRAY_POINTER : u32 = 32910 ; pub const GL_NORMAL_ARRAY_POINTER : u32 = 32911 ; pub const GL_COLOR_ARRAY_POINTER : u32 = 32912 ; pub const GL_INDEX_ARRAY_POINTER : u32 = 32913 ; pub const GL_TEXTURE_COORD_ARRAY_POINTER : u32 = 32914 ; pub const GL_EDGE_FLAG_ARRAY_POINTER : u32 = 32915 ; pub const GL_FEEDBACK_BUFFER_POINTER : u32 = 3568 ; pub const GL_SELECTION_BUFFER_POINTER : u32 = 3571 ; pub const GL_CLIENT_ATTRIB_STACK_DEPTH : u32 = 2993 ; pub const GL_INDEX_LOGIC_OP : u32 = 3057 ; pub const GL_MAX_CLIENT_ATTRIB_STACK_DEPTH : u32 = 3387 ; pub const GL_FEEDBACK_BUFFER_SIZE : u32 = 3569 ; pub const GL_FEEDBACK_BUFFER_TYPE : u32 = 3570 ; pub const GL_SELECTION_BUFFER_SIZE : u32 = 3572 ; pub const GL_VERTEX_ARRAY : u32 = 32884 ; pub const GL_NORMAL_ARRAY : u32 = 32885 ; pub const GL_COLOR_ARRAY : u32 = 32886 ; pub const GL_INDEX_ARRAY : u32 = 32887 ; pub const GL_TEXTURE_COORD_ARRAY : u32 = 32888 ; pub const GL_EDGE_FLAG_ARRAY : u32 = 32889 ; pub const GL_VERTEX_ARRAY_SIZE : u32 = 32890 ; pub const GL_VERTEX_ARRAY_TYPE : u32 = 32891 ; pub const GL_VERTEX_ARRAY_STRIDE : u32 = 32892 ; pub const GL_NORMAL_ARRAY_TYPE : u32 = 32894 ; pub const GL_NORMAL_ARRAY_STRIDE : u32 = 32895 ; pub const GL_COLOR_ARRAY_SIZE : u32 = 32897 ; pub const GL_COLOR_ARRAY_TYPE : u32 = 32898 ; pub const GL_COLOR_ARRAY_STRIDE : u32 = 32899 ; pub const GL_INDEX_ARRAY_TYPE : u32 = 32901 ; pub const GL_INDEX_ARRAY_STRIDE : u32 = 32902 ; pub const GL_TEXTURE_COORD_ARRAY_SIZE : u32 = 32904 ; pub const GL_TEXTURE_COORD_ARRAY_TYPE : u32 = 32905 ; pub const GL_TEXTURE_COORD_ARRAY_STRIDE : u32 = 32906 ; pub const GL_EDGE_FLAG_ARRAY_STRIDE : u32 = 32908 ; pub const GL_TEXTURE_LUMINANCE_SIZE : u32 = 32864 ; pub const GL_TEXTURE_INTENSITY_SIZE : u32 = 32865 ; pub const GL_TEXTURE_PRIORITY : u32 = 32870 ; pub const GL_TEXTURE_RESIDENT : u32 = 32871 ; pub const GL_ALPHA4 : u32 = 32827 ; pub const GL_ALPHA8 : u32 = 32828 ; pub const GL_ALPHA12 : u32 = 32829 ; pub const GL_ALPHA16 : u32 = 32830 ; pub const GL_LUMINANCE4 : u32 = 32831 ; pub const GL_LUMINANCE8 : u32 = 32832 ; pub const GL_LUMINANCE12 : u32 = 32833 ; pub const GL_LUMINANCE16 : u32 = 32834 ; pub const GL_LUMINANCE4_ALPHA4 : u32 = 32835 ; pub const GL_LUMINANCE6_ALPHA2 : u32 = 32836 ; pub const GL_LUMINANCE8_ALPHA8 : u32 = 32837 ; pub const GL_LUMINANCE12_ALPHA4 : u32 = 32838 ; pub const GL_LUMINANCE12_ALPHA12 : u32 = 32839 ; pub const GL_LUMINANCE16_ALPHA16 : u32 = 32840 ; pub const GL_INTENSITY : u32 = 32841 ; pub const GL_INTENSITY4 : u32 = 32842 ; pub const GL_INTENSITY8 : u32 = 32843 ; pub const GL_INTENSITY12 : u32 = 32844 ; pub const GL_INTENSITY16 : u32 = 32845 ; pub const GL_V2F : u32 = 10784 ; pub const GL_V3F : u32 = 10785 ; pub const GL_C4UB_V2F : u32 = 10786 ; pub const GL_C4UB_V3F : u32 = 10787 ; pub const GL_C3F_V3F : u32 = 10788 ; pub const GL_N3F_V3F : u32 = 10789 ; pub const GL_C4F_N3F_V3F : u32 = 10790 ; pub const GL_T2F_V3F : u32 = 10791 ; pub const GL_T4F_V4F : u32 = 10792 ; pub const GL_T2F_C4UB_V3F : u32 = 10793 ; pub const GL_T2F_C3F_V3F : u32 = 10794 ; pub const GL_T2F_N3F_V3F : u32 = 10795 ; pub const GL_T2F_C4F_N3F_V3F : u32 = 10796 ; pub const GL_T4F_C4F_N3F_V4F : u32 = 10797 ; pub const GL_UNSIGNED_BYTE_3_3_2 : u32 = 32818 ; pub const GL_UNSIGNED_SHORT_4_4_4_4 : u32 = 32819 ; pub const GL_UNSIGNED_SHORT_5_5_5_1 : u32 = 32820 ; pub const GL_UNSIGNED_INT_8_8_8_8 : u32 = 32821 ; pub const GL_UNSIGNED_INT_10_10_10_2 : u32 = 32822 ; pub const GL_TEXTURE_BINDING_3D : u32 = 32874 ; pub const GL_PACK_SKIP_IMAGES : u32 = 32875 ; pub const GL_PACK_IMAGE_HEIGHT : u32 = 32876 ; pub const GL_UNPACK_SKIP_IMAGES : u32 = 32877 ; pub const GL_UNPACK_IMAGE_HEIGHT : u32 = 32878 ; pub const GL_TEXTURE_3D : u32 = 32879 ; pub const GL_PROXY_TEXTURE_3D : u32 = 32880 ; pub const GL_TEXTURE_DEPTH : u32 = 32881 ; pub const GL_TEXTURE_WRAP_R : u32 = 32882 ; pub const GL_MAX_3D_TEXTURE_SIZE : u32 = 32883 ; pub const GL_UNSIGNED_BYTE_2_3_3_REV : u32 = 33634 ; pub const GL_UNSIGNED_SHORT_5_6_5 : u32 = 33635 ; pub const GL_UNSIGNED_SHORT_5_6_5_REV : u32 = 33636 ; pub const GL_UNSIGNED_SHORT_4_4_4_4_REV : u32 = 33637 ; pub const GL_UNSIGNED_SHORT_1_5_5_5_REV : u32 = 33638 ; pub const GL_UNSIGNED_INT_8_8_8_8_REV : u32 = 33639 ; pub const GL_UNSIGNED_INT_2_10_10_10_REV : u32 = 33640 ; pub const GL_BGR : u32 = 32992 ; pub const GL_BGRA : u32 = 32993 ; pub const GL_MAX_ELEMENTS_VERTICES : u32 = 33000 ; pub const GL_MAX_ELEMENTS_INDICES : u32 = 33001 ; pub const GL_CLAMP_TO_EDGE : u32 = 33071 ; pub const GL_TEXTURE_MIN_LOD : u32 = 33082 ; pub const GL_TEXTURE_MAX_LOD : u32 = 33083 ; pub const GL_TEXTURE_BASE_LEVEL : u32 = 33084 ; pub const GL_TEXTURE_MAX_LEVEL : u32 = 33085 ; pub const GL_SMOOTH_POINT_SIZE_RANGE : u32 = 2834 ; pub const GL_SMOOTH_POINT_SIZE_GRANULARITY : u32 = 2835 ; pub const GL_SMOOTH_LINE_WIDTH_RANGE : u32 = 2850 ; pub const GL_SMOOTH_LINE_WIDTH_GRANULARITY : u32 = 2851 ; pub const GL_ALIASED_LINE_WIDTH_RANGE : u32 = 33902 ; pub const GL_RESCALE_NORMAL : u32 = 32826 ; pub const GL_LIGHT_MODEL_COLOR_CONTROL : u32 = 33272 ; pub const GL_SINGLE_COLOR : u32 = 33273 ; pub const GL_SEPARATE_SPECULAR_COLOR : u32 = 33274 ; pub const GL_ALIASED_POINT_SIZE_RANGE : u32 = 33901 ; pub const GL_TEXTURE0 : u32 = 33984 ; pub const GL_TEXTURE1 : u32 = 33985 ; pub const GL_TEXTURE2 : u32 = 33986 ; pub const GL_TEXTURE3 : u32 = 33987 ; pub const GL_TEXTURE4 : u32 = 33988 ; pub const GL_TEXTURE5 : u32 = 33989 ; pub const GL_TEXTURE6 : u32 = 33990 ; pub const GL_TEXTURE7 : u32 = 33991 ; pub const GL_TEXTURE8 : u32 = 33992 ; pub const GL_TEXTURE9 : u32 = 33993 ; pub const GL_TEXTURE10 : u32 = 33994 ; pub const GL_TEXTURE11 : u32 = 33995 ; pub const GL_TEXTURE12 : u32 = 33996 ; pub const GL_TEXTURE13 : u32 = 33997 ; pub const GL_TEXTURE14 : u32 = 33998 ; pub const GL_TEXTURE15 : u32 = 33999 ; pub const GL_TEXTURE16 : u32 = 34000 ; pub const GL_TEXTURE17 : u32 = 34001 ; pub const GL_TEXTURE18 : u32 = 34002 ; pub const GL_TEXTURE19 : u32 = 34003 ; pub const GL_TEXTURE20 : u32 = 34004 ; pub const GL_TEXTURE21 : u32 = 34005 ; pub const GL_TEXTURE22 : u32 = 34006 ; pub const GL_TEXTURE23 : u32 = 34007 ; pub const GL_TEXTURE24 : u32 = 34008 ; pub const GL_TEXTURE25 : u32 = 34009 ; pub const GL_TEXTURE26 : u32 = 34010 ; pub const GL_TEXTURE27 : u32 = 34011 ; pub const GL_TEXTURE28 : u32 = 34012 ; pub const GL_TEXTURE29 : u32 = 34013 ; pub const GL_TEXTURE30 : u32 = 34014 ; pub const GL_TEXTURE31 : u32 = 34015 ; pub const GL_ACTIVE_TEXTURE : u32 = 34016 ; pub const GL_MULTISAMPLE : u32 = 32925 ; pub const GL_SAMPLE_ALPHA_TO_COVERAGE : u32 = 32926 ; pub const GL_SAMPLE_ALPHA_TO_ONE : u32 = 32927 ; pub const GL_SAMPLE_COVERAGE : u32 = 32928 ; pub const GL_SAMPLE_BUFFERS : u32 = 32936 ; pub const GL_SAMPLES : u32 = 32937 ; pub const GL_SAMPLE_COVERAGE_VALUE : u32 = 32938 ; pub const GL_SAMPLE_COVERAGE_INVERT : u32 = 32939 ; pub const GL_TEXTURE_CUBE_MAP : u32 = 34067 ; pub const GL_TEXTURE_BINDING_CUBE_MAP : u32 = 34068 ; pub const GL_TEXTURE_CUBE_MAP_POSITIVE_X : u32 = 34069 ; pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_X : u32 = 34070 ; pub const GL_TEXTURE_CUBE_MAP_POSITIVE_Y : u32 = 34071 ; pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_Y : u32 = 34072 ; pub const GL_TEXTURE_CUBE_MAP_POSITIVE_Z : u32 = 34073 ; pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_Z : u32 = 34074 ; pub const GL_PROXY_TEXTURE_CUBE_MAP : u32 = 34075 ; pub const GL_MAX_CUBE_MAP_TEXTURE_SIZE : u32 = 34076 ; pub const GL_COMPRESSED_RGB : u32 = 34029 ; pub const GL_COMPRESSED_RGBA : u32 = 34030 ; pub const GL_TEXTURE_COMPRESSION_HINT : u32 = 34031 ; pub const GL_TEXTURE_COMPRESSED_IMAGE_SIZE : u32 = 34464 ; pub const GL_TEXTURE_COMPRESSED : u32 = 34465 ; pub const GL_NUM_COMPRESSED_TEXTURE_FORMATS : u32 = 34466 ; pub const GL_COMPRESSED_TEXTURE_FORMATS : u32 = 34467 ; pub const GL_CLAMP_TO_BORDER : u32 = 33069 ; pub const GL_CLIENT_ACTIVE_TEXTURE : u32 = 34017 ; pub const GL_MAX_TEXTURE_UNITS : u32 = 34018 ; pub const GL_TRANSPOSE_MODELVIEW_MATRIX : u32 = 34019 ; pub const GL_TRANSPOSE_PROJECTION_MATRIX : u32 = 34020 ; pub const GL_TRANSPOSE_TEXTURE_MATRIX : u32 = 34021 ; pub const GL_TRANSPOSE_COLOR_MATRIX : u32 = 34022 ; pub const GL_MULTISAMPLE_BIT : u32 = 536870912 ; pub const GL_NORMAL_MAP : u32 = 34065 ; pub const GL_REFLECTION_MAP : u32 = 34066 ; pub const GL_COMPRESSED_ALPHA : u32 = 34025 ; pub const GL_COMPRESSED_LUMINANCE : u32 = 34026 ; pub const GL_COMPRESSED_LUMINANCE_ALPHA : u32 = 34027 ; pub const GL_COMPRESSED_INTENSITY : u32 = 34028 ; pub const GL_COMBINE : u32 = 34160 ; pub const GL_COMBINE_RGB : u32 = 34161 ; pub const GL_COMBINE_ALPHA : u32 = 34162 ; pub const GL_SOURCE0_RGB : u32 = 34176 ; pub const GL_SOURCE1_RGB : u32 = 34177 ; pub const GL_SOURCE2_RGB : u32 = 34178 ; pub const GL_SOURCE0_ALPHA : u32 = 34184 ; pub const GL_SOURCE1_ALPHA : u32 = 34185 ; pub const GL_SOURCE2_ALPHA : u32 = 34186 ; pub const GL_OPERAND0_RGB : u32 = 34192 ; pub const GL_OPERAND1_RGB : u32 = 34193 ; pub const GL_OPERAND2_RGB : u32 = 34194 ; pub const GL_OPERAND0_ALPHA : u32 = 34200 ; pub const GL_OPERAND1_ALPHA : u32 = 34201 ; pub const GL_OPERAND2_ALPHA : u32 = 34202 ; pub const GL_RGB_SCALE : u32 = 34163 ; pub const GL_ADD_SIGNED : u32 = 34164 ; pub const GL_INTERPOLATE : u32 = 34165 ; pub const GL_SUBTRACT : u32 = 34023 ; pub const GL_CONSTANT : u32 = 34166 ; pub const GL_PRIMARY_COLOR : u32 = 34167 ; pub const GL_PREVIOUS : u32 = 34168 ; pub const GL_DOT3_RGB : u32 = 34478 ; pub const GL_DOT3_RGBA : u32 = 34479 ; pub const GL_BLEND_DST_RGB : u32 = 32968 ; pub const GL_BLEND_SRC_RGB : u32 = 32969 ; pub const GL_BLEND_DST_ALPHA : u32 = 32970 ; pub const GL_BLEND_SRC_ALPHA : u32 = 32971 ; pub const GL_POINT_FADE_THRESHOLD_SIZE : u32 = 33064 ; pub const GL_DEPTH_COMPONENT16 : u32 = 33189 ; pub const GL_DEPTH_COMPONENT24 : u32 = 33190 ; pub const GL_DEPTH_COMPONENT32 : u32 = 33191 ; pub const GL_MIRRORED_REPEAT : u32 = 33648 ; pub const GL_MAX_TEXTURE_LOD_BIAS : u32 = 34045 ; pub const GL_TEXTURE_LOD_BIAS : u32 = 34049 ; pub const GL_INCR_WRAP : u32 = 34055 ; pub const GL_DECR_WRAP : u32 = 34056 ; pub const GL_TEXTURE_DEPTH_SIZE : u32 = 34890 ; pub const GL_TEXTURE_COMPARE_MODE : u32 = 34892 ; pub const GL_TEXTURE_COMPARE_FUNC : u32 = 34893 ; pub const GL_POINT_SIZE_MIN : u32 = 33062 ; pub const GL_POINT_SIZE_MAX : u32 = 33063 ; pub const GL_POINT_DISTANCE_ATTENUATION : u32 = 33065 ; pub const GL_GENERATE_MIPMAP : u32 = 33169 ; pub const GL_GENERATE_MIPMAP_HINT : u32 = 33170 ; pub const GL_FOG_COORDINATE_SOURCE : u32 = 33872 ; pub const GL_FOG_COORDINATE : u32 = 33873 ; pub const GL_FRAGMENT_DEPTH : u32 = 33874 ; pub const GL_CURRENT_FOG_COORDINATE : u32 = 33875 ; pub const GL_FOG_COORDINATE_ARRAY_TYPE : u32 = 33876 ; pub const GL_FOG_COORDINATE_ARRAY_STRIDE : u32 = 33877 ; pub const GL_FOG_COORDINATE_ARRAY_POINTER : u32 = 33878 ; pub const GL_FOG_COORDINATE_ARRAY : u32 = 33879 ; pub const GL_COLOR_SUM : u32 = 33880 ; pub const GL_CURRENT_SECONDARY_COLOR : u32 = 33881 ; pub const GL_SECONDARY_COLOR_ARRAY_SIZE : u32 = 33882 ; pub const GL_SECONDARY_COLOR_ARRAY_TYPE : u32 = 33883 ; pub const GL_SECONDARY_COLOR_ARRAY_STRIDE : u32 = 33884 ; pub const GL_SECONDARY_COLOR_ARRAY_POINTER : u32 = 33885 ; pub const GL_SECONDARY_COLOR_ARRAY : u32 = 33886 ; pub const GL_TEXTURE_FILTER_CONTROL : u32 = 34048 ; pub const GL_DEPTH_TEXTURE_MODE : u32 = 34891 ; pub const GL_COMPARE_R_TO_TEXTURE : u32 = 34894 ; pub const GL_BLEND_COLOR : u32 = 32773 ; pub const GL_BLEND_EQUATION : u32 = 32777 ; pub const GL_CONSTANT_COLOR : u32 = 32769 ; pub const GL_ONE_MINUS_CONSTANT_COLOR : u32 = 32770 ; pub const GL_CONSTANT_ALPHA : u32 = 32771 ; pub const GL_ONE_MINUS_CONSTANT_ALPHA : u32 = 32772 ; pub const GL_FUNC_ADD : u32 = 32774 ; pub const GL_FUNC_REVERSE_SUBTRACT : u32 = 32779 ; pub const GL_FUNC_SUBTRACT : u32 = 32778 ; pub const GL_MIN : u32 = 32775 ; pub const GL_MAX : u32 = 32776 ; pub const GL_BUFFER_SIZE : u32 = 34660 ; pub const GL_BUFFER_USAGE : u32 = 34661 ; pub const GL_QUERY_COUNTER_BITS : u32 = 34916 ; pub const GL_CURRENT_QUERY : u32 = 34917 ; pub const GL_QUERY_RESULT : u32 = 34918 ; pub const GL_QUERY_RESULT_AVAILABLE : u32 = 34919 ; pub const GL_ARRAY_BUFFER : u32 = 34962 ; pub const GL_ELEMENT_ARRAY_BUFFER : u32 = 34963 ; pub const GL_ARRAY_BUFFER_BINDING : u32 = 34964 ; pub const GL_ELEMENT_ARRAY_BUFFER_BINDING : u32 = 34965 ; pub const GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING : u32 = 34975 ; pub const GL_READ_ONLY : u32 = 35000 ; pub const GL_WRITE_ONLY : u32 = 35001 ; pub const GL_READ_WRITE : u32 = 35002 ; pub const GL_BUFFER_ACCESS : u32 = 35003 ; pub const GL_BUFFER_MAPPED : u32 = 35004 ; pub const GL_BUFFER_MAP_POINTER : u32 = 35005 ; pub const GL_STREAM_DRAW : u32 = 35040 ; pub const GL_STREAM_READ : u32 = 35041 ; pub const GL_STREAM_COPY : u32 = 35042 ; pub const GL_STATIC_DRAW : u32 = 35044 ; pub const GL_STATIC_READ : u32 = 35045 ; pub const GL_STATIC_COPY : u32 = 35046 ; pub const GL_DYNAMIC_DRAW : u32 = 35048 ; pub const GL_DYNAMIC_READ : u32 = 35049 ; pub const GL_DYNAMIC_COPY : u32 = 35050 ; pub const GL_SAMPLES_PASSED : u32 = 35092 ; pub const GL_SRC1_ALPHA : u32 = 34185 ; pub const GL_VERTEX_ARRAY_BUFFER_BINDING : u32 = 34966 ; pub const GL_NORMAL_ARRAY_BUFFER_BINDING : u32 = 34967 ; pub const GL_COLOR_ARRAY_BUFFER_BINDING : u32 = 34968 ; pub const GL_INDEX_ARRAY_BUFFER_BINDING : u32 = 34969 ; pub const GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING : u32 = 34970 ; pub const GL_EDGE_FLAG_ARRAY_BUFFER_BINDING : u32 = 34971 ; pub const GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING : u32 = 34972 ; pub const GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING : u32 = 34973 ; pub const GL_WEIGHT_ARRAY_BUFFER_BINDING : u32 = 34974 ; pub const GL_FOG_COORD_SRC : u32 = 33872 ; pub const GL_FOG_COORD : u32 = 33873 ; pub const GL_CURRENT_FOG_COORD : u32 = 33875 ; pub const GL_FOG_COORD_ARRAY_TYPE : u32 = 33876 ; pub const GL_FOG_COORD_ARRAY_STRIDE : u32 = 33877 ; pub const GL_FOG_COORD_ARRAY_POINTER : u32 = 33878 ; pub const GL_FOG_COORD_ARRAY : u32 = 33879 ; pub const GL_FOG_COORD_ARRAY_BUFFER_BINDING : u32 = 34973 ; pub const GL_SRC0_RGB : u32 = 34176 ; pub const GL_SRC1_RGB : u32 = 34177 ; pub const GL_SRC2_RGB : u32 = 34178 ; pub const GL_SRC0_ALPHA : u32 = 34184 ; pub const GL_SRC2_ALPHA : u32 = 34186 ; pub const GL_BLEND_EQUATION_RGB : u32 = 32777 ; pub const GL_VERTEX_ATTRIB_ARRAY_ENABLED : u32 = 34338 ; pub const GL_VERTEX_ATTRIB_ARRAY_SIZE : u32 = 34339 ; pub const GL_VERTEX_ATTRIB_ARRAY_STRIDE : u32 = 34340 ; pub const GL_VERTEX_ATTRIB_ARRAY_TYPE : u32 = 34341 ; pub const GL_CURRENT_VERTEX_ATTRIB : u32 = 34342 ; pub const GL_VERTEX_PROGRAM_POINT_SIZE : u32 = 34370 ; pub const GL_VERTEX_ATTRIB_ARRAY_POINTER : u32 = 34373 ; pub const GL_STENCIL_BACK_FUNC : u32 = 34816 ; pub const GL_STENCIL_BACK_FAIL : u32 = 34817 ; pub const GL_STENCIL_BACK_PASS_DEPTH_FAIL : u32 = 34818 ; pub const GL_STENCIL_BACK_PASS_DEPTH_PASS : u32 = 34819 ; pub const GL_MAX_DRAW_BUFFERS : u32 = 34852 ; pub const GL_DRAW_BUFFER0 : u32 = 34853 ; pub const GL_DRAW_BUFFER1 : u32 = 34854 ; pub const GL_DRAW_BUFFER2 : u32 = 34855 ; pub const GL_DRAW_BUFFER3 : u32 = 34856 ; pub const GL_DRAW_BUFFER4 : u32 = 34857 ; pub const GL_DRAW_BUFFER5 : u32 = 34858 ; pub const GL_DRAW_BUFFER6 : u32 = 34859 ; pub const GL_DRAW_BUFFER7 : u32 = 34860 ; pub const GL_DRAW_BUFFER8 : u32 = 34861 ; pub const GL_DRAW_BUFFER9 : u32 = 34862 ; pub const GL_DRAW_BUFFER10 : u32 = 34863 ; pub const GL_DRAW_BUFFER11 : u32 = 34864 ; pub const GL_DRAW_BUFFER12 : u32 = 34865 ; pub const GL_DRAW_BUFFER13 : u32 = 34866 ; pub const GL_DRAW_BUFFER14 : u32 = 34867 ; pub const GL_DRAW_BUFFER15 : u32 = 34868 ; pub const GL_BLEND_EQUATION_ALPHA : u32 = 34877 ; pub const GL_MAX_VERTEX_ATTRIBS : u32 = 34921 ; pub const GL_VERTEX_ATTRIB_ARRAY_NORMALIZED : u32 = 34922 ; pub const GL_MAX_TEXTURE_IMAGE_UNITS : u32 = 34930 ; pub const GL_FRAGMENT_SHADER : u32 = 35632 ; pub const GL_VERTEX_SHADER : u32 = 35633 ; pub const GL_MAX_FRAGMENT_UNIFORM_COMPONENTS : u32 = 35657 ; pub const GL_MAX_VERTEX_UNIFORM_COMPONENTS : u32 = 35658 ; pub const GL_MAX_VARYING_FLOATS : u32 = 35659 ; pub const GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS : u32 = 35660 ; pub const GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS : u32 = 35661 ; pub const GL_SHADER_TYPE : u32 = 35663 ; pub const GL_FLOAT_VEC2 : u32 = 35664 ; pub const GL_FLOAT_VEC3 : u32 = 35665 ; pub const GL_FLOAT_VEC4 : u32 = 35666 ; pub const GL_INT_VEC2 : u32 = 35667 ; pub const GL_INT_VEC3 : u32 = 35668 ; pub const GL_INT_VEC4 : u32 = 35669 ; pub const GL_BOOL : u32 = 35670 ; pub const GL_BOOL_VEC2 : u32 = 35671 ; pub const GL_BOOL_VEC3 : u32 = 35672 ; pub const GL_BOOL_VEC4 : u32 = 35673 ; pub const GL_FLOAT_MAT2 : u32 = 35674 ; pub const GL_FLOAT_MAT3 : u32 = 35675 ; pub const GL_FLOAT_MAT4 : u32 = 35676 ; pub const GL_SAMPLER_1D : u32 = 35677 ; pub const GL_SAMPLER_2D : u32 = 35678 ; pub const GL_SAMPLER_3D : u32 = 35679 ; pub const GL_SAMPLER_CUBE : u32 = 35680 ; pub const GL_SAMPLER_1D_SHADOW : u32 = 35681 ; pub const GL_SAMPLER_2D_SHADOW : u32 = 35682 ; pub const GL_DELETE_STATUS : u32 = 35712 ; pub const GL_COMPILE_STATUS : u32 = 35713 ; pub const GL_LINK_STATUS : u32 = 35714 ; pub const GL_VALIDATE_STATUS : u32 = 35715 ; pub const GL_INFO_LOG_LENGTH : u32 = 35716 ; pub const GL_ATTACHED_SHADERS : u32 = 35717 ; pub const GL_ACTIVE_UNIFORMS : u32 = 35718 ; pub const GL_ACTIVE_UNIFORM_MAX_LENGTH : u32 = 35719 ; pub const GL_SHADER_SOURCE_LENGTH : u32 = 35720 ; pub const GL_ACTIVE_ATTRIBUTES : u32 = 35721 ; pub const GL_ACTIVE_ATTRIBUTE_MAX_LENGTH : u32 = 35722 ; pub const GL_FRAGMENT_SHADER_DERIVATIVE_HINT : u32 = 35723 ; pub const GL_SHADING_LANGUAGE_VERSION : u32 = 35724 ; pub const GL_CURRENT_PROGRAM : u32 = 35725 ; pub const GL_POINT_SPRITE_COORD_ORIGIN : u32 = 36000 ; pub const GL_LOWER_LEFT : u32 = 36001 ; pub const GL_UPPER_LEFT : u32 = 36002 ; pub const GL_STENCIL_BACK_REF : u32 = 36003 ; pub const GL_STENCIL_BACK_VALUE_MASK : u32 = 36004 ; pub const GL_STENCIL_BACK_WRITEMASK : u32 = 36005 ; pub const GL_VERTEX_PROGRAM_TWO_SIDE : u32 = 34371 ; pub const GL_POINT_SPRITE : u32 = 34913 ; pub const GL_COORD_REPLACE : u32 = 34914 ; pub const GL_MAX_TEXTURE_COORDS : u32 = 34929 ; pub const GL_PIXEL_PACK_BUFFER : u32 = 35051 ; pub const GL_PIXEL_UNPACK_BUFFER : u32 = 35052 ; pub const GL_PIXEL_PACK_BUFFER_BINDING : u32 = 35053 ; pub const GL_PIXEL_UNPACK_BUFFER_BINDING : u32 = 35055 ; pub const GL_FLOAT_MAT2x3 : u32 = 35685 ; pub const GL_FLOAT_MAT2x4 : u32 = 35686 ; pub const GL_FLOAT_MAT3x2 : u32 = 35687 ; pub const GL_FLOAT_MAT3x4 : u32 = 35688 ; pub const GL_FLOAT_MAT4x2 : u32 = 35689 ; pub const GL_FLOAT_MAT4x3 : u32 = 35690 ; pub const GL_SRGB : u32 = 35904 ; pub const GL_SRGB8 : u32 = 35905 ; pub const GL_SRGB_ALPHA : u32 = 35906 ; pub const GL_SRGB8_ALPHA8 : u32 = 35907 ; pub const GL_COMPRESSED_SRGB : u32 = 35912 ; pub const GL_COMPRESSED_SRGB_ALPHA : u32 = 35913 ; pub const GL_CURRENT_RASTER_SECONDARY_COLOR : u32 = 33887 ; pub const GL_SLUMINANCE_ALPHA : u32 = 35908 ; pub const GL_SLUMINANCE8_ALPHA8 : u32 = 35909 ; pub const GL_SLUMINANCE : u32 = 35910 ; pub const GL_SLUMINANCE8 : u32 = 35911 ; pub const GL_COMPRESSED_SLUMINANCE : u32 = 35914 ; pub const GL_COMPRESSED_SLUMINANCE_ALPHA : u32 = 35915 ; pub const GL_COMPARE_REF_TO_TEXTURE : u32 = 34894 ; pub const GL_CLIP_DISTANCE0 : u32 = 12288 ; pub const GL_CLIP_DISTANCE1 : u32 = 12289 ; pub const GL_CLIP_DISTANCE2 : u32 = 12290 ; pub const GL_CLIP_DISTANCE3 : u32 = 12291 ; pub const GL_CLIP_DISTANCE4 : u32 = 12292 ; pub const GL_CLIP_DISTANCE5 : u32 = 12293 ; pub const GL_CLIP_DISTANCE6 : u32 = 12294 ; pub const GL_CLIP_DISTANCE7 : u32 = 12295 ; pub const GL_MAX_CLIP_DISTANCES : u32 = 3378 ; pub const GL_MAJOR_VERSION : u32 = 33307 ; pub const GL_MINOR_VERSION : u32 = 33308 ; pub const GL_NUM_EXTENSIONS : u32 = 33309 ; pub const GL_CONTEXT_FLAGS : u32 = 33310 ; pub const GL_COMPRESSED_RED : u32 = 33317 ; pub const GL_COMPRESSED_RG : u32 = 33318 ; pub const GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT : u32 = 1 ; pub const GL_RGBA32F : u32 = 34836 ; pub const GL_RGB32F : u32 = 34837 ; pub const GL_RGBA16F : u32 = 34842 ; pub const GL_RGB16F : u32 = 34843 ; pub const GL_VERTEX_ATTRIB_ARRAY_INTEGER : u32 = 35069 ; pub const GL_MAX_ARRAY_TEXTURE_LAYERS : u32 = 35071 ; pub const GL_MIN_PROGRAM_TEXEL_OFFSET : u32 = 35076 ; pub const GL_MAX_PROGRAM_TEXEL_OFFSET : u32 = 35077 ; pub const GL_CLAMP_READ_COLOR : u32 = 35100 ; pub const GL_FIXED_ONLY : u32 = 35101 ; pub const GL_MAX_VARYING_COMPONENTS : u32 = 35659 ; pub const GL_TEXTURE_1D_ARRAY : u32 = 35864 ; pub const GL_PROXY_TEXTURE_1D_ARRAY : u32 = 35865 ; pub const GL_TEXTURE_2D_ARRAY : u32 = 35866 ; pub const GL_PROXY_TEXTURE_2D_ARRAY : u32 = 35867 ; pub const GL_TEXTURE_BINDING_1D_ARRAY : u32 = 35868 ; pub const GL_TEXTURE_BINDING_2D_ARRAY : u32 = 35869 ; pub const GL_R11F_G11F_B10F : u32 = 35898 ; pub const GL_UNSIGNED_INT_10F_11F_11F_REV : u32 = 35899 ; pub const GL_RGB9_E5 : u32 = 35901 ; pub const GL_UNSIGNED_INT_5_9_9_9_REV : u32 = 35902 ; pub const GL_TEXTURE_SHARED_SIZE : u32 = 35903 ; pub const GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH : u32 = 35958 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_MODE : u32 = 35967 ; pub const GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS : u32 = 35968 ; pub const GL_TRANSFORM_FEEDBACK_VARYINGS : u32 = 35971 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_START : u32 = 35972 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_SIZE : u32 = 35973 ; pub const GL_PRIMITIVES_GENERATED : u32 = 35975 ; pub const GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN : u32 = 35976 ; pub const GL_RASTERIZER_DISCARD : u32 = 35977 ; pub const GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS : u32 = 35978 ; pub const GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS : u32 = 35979 ; pub const GL_INTERLEAVED_ATTRIBS : u32 = 35980 ; pub const GL_SEPARATE_ATTRIBS : u32 = 35981 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER : u32 = 35982 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_BINDING : u32 = 35983 ; pub const GL_RGBA32UI : u32 = 36208 ; pub const GL_RGB32UI : u32 = 36209 ; pub const GL_RGBA16UI : u32 = 36214 ; pub const GL_RGB16UI : u32 = 36215 ; pub const GL_RGBA8UI : u32 = 36220 ; pub const GL_RGB8UI : u32 = 36221 ; pub const GL_RGBA32I : u32 = 36226 ; pub const GL_RGB32I : u32 = 36227 ; pub const GL_RGBA16I : u32 = 36232 ; pub const GL_RGB16I : u32 = 36233 ; pub const GL_RGBA8I : u32 = 36238 ; pub const GL_RGB8I : u32 = 36239 ; pub const GL_RED_INTEGER : u32 = 36244 ; pub const GL_GREEN_INTEGER : u32 = 36245 ; pub const GL_BLUE_INTEGER : u32 = 36246 ; pub const GL_RGB_INTEGER : u32 = 36248 ; pub const GL_RGBA_INTEGER : u32 = 36249 ; pub const GL_BGR_INTEGER : u32 = 36250 ; pub const GL_BGRA_INTEGER : u32 = 36251 ; pub const GL_SAMPLER_1D_ARRAY : u32 = 36288 ; pub const GL_SAMPLER_2D_ARRAY : u32 = 36289 ; pub const GL_SAMPLER_1D_ARRAY_SHADOW : u32 = 36291 ; pub const GL_SAMPLER_2D_ARRAY_SHADOW : u32 = 36292 ; pub const GL_SAMPLER_CUBE_SHADOW : u32 = 36293 ; pub const GL_UNSIGNED_INT_VEC2 : u32 = 36294 ; pub const GL_UNSIGNED_INT_VEC3 : u32 = 36295 ; pub const GL_UNSIGNED_INT_VEC4 : u32 = 36296 ; pub const GL_INT_SAMPLER_1D : u32 = 36297 ; pub const GL_INT_SAMPLER_2D : u32 = 36298 ; pub const GL_INT_SAMPLER_3D : u32 = 36299 ; pub const GL_INT_SAMPLER_CUBE : u32 = 36300 ; pub const GL_INT_SAMPLER_1D_ARRAY : u32 = 36302 ; pub const GL_INT_SAMPLER_2D_ARRAY : u32 = 36303 ; pub const GL_UNSIGNED_INT_SAMPLER_1D : u32 = 36305 ; pub const GL_UNSIGNED_INT_SAMPLER_2D : u32 = 36306 ; pub const GL_UNSIGNED_INT_SAMPLER_3D : u32 = 36307 ; pub const GL_UNSIGNED_INT_SAMPLER_CUBE : u32 = 36308 ; pub const GL_UNSIGNED_INT_SAMPLER_1D_ARRAY : u32 = 36310 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_ARRAY : u32 = 36311 ; pub const GL_QUERY_WAIT : u32 = 36371 ; pub const GL_QUERY_NO_WAIT : u32 = 36372 ; pub const GL_QUERY_BY_REGION_WAIT : u32 = 36373 ; pub const GL_QUERY_BY_REGION_NO_WAIT : u32 = 36374 ; pub const GL_BUFFER_ACCESS_FLAGS : u32 = 37151 ; pub const GL_BUFFER_MAP_LENGTH : u32 = 37152 ; pub const GL_BUFFER_MAP_OFFSET : u32 = 37153 ; pub const GL_DEPTH_COMPONENT32F : u32 = 36012 ; pub const GL_DEPTH32F_STENCIL8 : u32 = 36013 ; pub const GL_FLOAT_32_UNSIGNED_INT_24_8_REV : u32 = 36269 ; pub const GL_INVALID_FRAMEBUFFER_OPERATION : u32 = 1286 ; pub const GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING : u32 = 33296 ; pub const GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE : u32 = 33297 ; pub const GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE : u32 = 33298 ; pub const GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE : u32 = 33299 ; pub const GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE : u32 = 33300 ; pub const GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE : u32 = 33301 ; pub const GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE : u32 = 33302 ; pub const GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE : u32 = 33303 ; pub const GL_FRAMEBUFFER_DEFAULT : u32 = 33304 ; pub const GL_FRAMEBUFFER_UNDEFINED : u32 = 33305 ; pub const GL_DEPTH_STENCIL_ATTACHMENT : u32 = 33306 ; pub const GL_MAX_RENDERBUFFER_SIZE : u32 = 34024 ; pub const GL_DEPTH_STENCIL : u32 = 34041 ; pub const GL_UNSIGNED_INT_24_8 : u32 = 34042 ; pub const GL_DEPTH24_STENCIL8 : u32 = 35056 ; pub const GL_TEXTURE_STENCIL_SIZE : u32 = 35057 ; pub const GL_TEXTURE_RED_TYPE : u32 = 35856 ; pub const GL_TEXTURE_GREEN_TYPE : u32 = 35857 ; pub const GL_TEXTURE_BLUE_TYPE : u32 = 35858 ; pub const GL_TEXTURE_ALPHA_TYPE : u32 = 35859 ; pub const GL_TEXTURE_DEPTH_TYPE : u32 = 35862 ; pub const GL_UNSIGNED_NORMALIZED : u32 = 35863 ; pub const GL_FRAMEBUFFER_BINDING : u32 = 36006 ; pub const GL_DRAW_FRAMEBUFFER_BINDING : u32 = 36006 ; pub const GL_RENDERBUFFER_BINDING : u32 = 36007 ; pub const GL_READ_FRAMEBUFFER : u32 = 36008 ; pub const GL_DRAW_FRAMEBUFFER : u32 = 36009 ; pub const GL_READ_FRAMEBUFFER_BINDING : u32 = 36010 ; pub const GL_RENDERBUFFER_SAMPLES : u32 = 36011 ; pub const GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE : u32 = 36048 ; pub const GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME : u32 = 36049 ; pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL : u32 = 36050 ; pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE : u32 = 36051 ; pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER : u32 = 36052 ; pub const GL_FRAMEBUFFER_COMPLETE : u32 = 36053 ; pub const GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT : u32 = 36054 ; pub const GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT : u32 = 36055 ; pub const GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER : u32 = 36059 ; pub const GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER : u32 = 36060 ; pub const GL_FRAMEBUFFER_UNSUPPORTED : u32 = 36061 ; pub const GL_MAX_COLOR_ATTACHMENTS : u32 = 36063 ; pub const GL_COLOR_ATTACHMENT0 : u32 = 36064 ; pub const GL_COLOR_ATTACHMENT1 : u32 = 36065 ; pub const GL_COLOR_ATTACHMENT2 : u32 = 36066 ; pub const GL_COLOR_ATTACHMENT3 : u32 = 36067 ; pub const GL_COLOR_ATTACHMENT4 : u32 = 36068 ; pub const GL_COLOR_ATTACHMENT5 : u32 = 36069 ; pub const GL_COLOR_ATTACHMENT6 : u32 = 36070 ; pub const GL_COLOR_ATTACHMENT7 : u32 = 36071 ; pub const GL_COLOR_ATTACHMENT8 : u32 = 36072 ; pub const GL_COLOR_ATTACHMENT9 : u32 = 36073 ; pub const GL_COLOR_ATTACHMENT10 : u32 = 36074 ; pub const GL_COLOR_ATTACHMENT11 : u32 = 36075 ; pub const GL_COLOR_ATTACHMENT12 : u32 = 36076 ; pub const GL_COLOR_ATTACHMENT13 : u32 = 36077 ; pub const GL_COLOR_ATTACHMENT14 : u32 = 36078 ; pub const GL_COLOR_ATTACHMENT15 : u32 = 36079 ; pub const GL_COLOR_ATTACHMENT16 : u32 = 36080 ; pub const GL_COLOR_ATTACHMENT17 : u32 = 36081 ; pub const GL_COLOR_ATTACHMENT18 : u32 = 36082 ; pub const GL_COLOR_ATTACHMENT19 : u32 = 36083 ; pub const GL_COLOR_ATTACHMENT20 : u32 = 36084 ; pub const GL_COLOR_ATTACHMENT21 : u32 = 36085 ; pub const GL_COLOR_ATTACHMENT22 : u32 = 36086 ; pub const GL_COLOR_ATTACHMENT23 : u32 = 36087 ; pub const GL_COLOR_ATTACHMENT24 : u32 = 36088 ; pub const GL_COLOR_ATTACHMENT25 : u32 = 36089 ; pub const GL_COLOR_ATTACHMENT26 : u32 = 36090 ; pub const GL_COLOR_ATTACHMENT27 : u32 = 36091 ; pub const GL_COLOR_ATTACHMENT28 : u32 = 36092 ; pub const GL_COLOR_ATTACHMENT29 : u32 = 36093 ; pub const GL_COLOR_ATTACHMENT30 : u32 = 36094 ; pub const GL_COLOR_ATTACHMENT31 : u32 = 36095 ; pub const GL_DEPTH_ATTACHMENT : u32 = 36096 ; pub const GL_STENCIL_ATTACHMENT : u32 = 36128 ; pub const GL_FRAMEBUFFER : u32 = 36160 ; pub const GL_RENDERBUFFER : u32 = 36161 ; pub const GL_RENDERBUFFER_WIDTH : u32 = 36162 ; pub const GL_RENDERBUFFER_HEIGHT : u32 = 36163 ; pub const GL_RENDERBUFFER_INTERNAL_FORMAT : u32 = 36164 ; pub const GL_STENCIL_INDEX1 : u32 = 36166 ; pub const GL_STENCIL_INDEX4 : u32 = 36167 ; pub const GL_STENCIL_INDEX8 : u32 = 36168 ; pub const GL_STENCIL_INDEX16 : u32 = 36169 ; pub const GL_RENDERBUFFER_RED_SIZE : u32 = 36176 ; pub const GL_RENDERBUFFER_GREEN_SIZE : u32 = 36177 ; pub const GL_RENDERBUFFER_BLUE_SIZE : u32 = 36178 ; pub const GL_RENDERBUFFER_ALPHA_SIZE : u32 = 36179 ; pub const GL_RENDERBUFFER_DEPTH_SIZE : u32 = 36180 ; pub const GL_RENDERBUFFER_STENCIL_SIZE : u32 = 36181 ; pub const GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE : u32 = 36182 ; pub const GL_MAX_SAMPLES : u32 = 36183 ; pub const GL_INDEX : u32 = 33314 ; pub const GL_TEXTURE_LUMINANCE_TYPE : u32 = 35860 ; pub const GL_TEXTURE_INTENSITY_TYPE : u32 = 35861 ; pub const GL_FRAMEBUFFER_SRGB : u32 = 36281 ; pub const GL_HALF_FLOAT : u32 = 5131 ; pub const GL_MAP_READ_BIT : u32 = 1 ; pub const GL_MAP_WRITE_BIT : u32 = 2 ; pub const GL_MAP_INVALIDATE_RANGE_BIT : u32 = 4 ; pub const GL_MAP_INVALIDATE_BUFFER_BIT : u32 = 8 ; pub const GL_MAP_FLUSH_EXPLICIT_BIT : u32 = 16 ; pub const GL_MAP_UNSYNCHRONIZED_BIT : u32 = 32 ; pub const GL_COMPRESSED_RED_RGTC1 : u32 = 36283 ; pub const GL_COMPRESSED_SIGNED_RED_RGTC1 : u32 = 36284 ; pub const GL_COMPRESSED_RG_RGTC2 : u32 = 36285 ; pub const GL_COMPRESSED_SIGNED_RG_RGTC2 : u32 = 36286 ; pub const GL_RG : u32 = 33319 ; pub const GL_RG_INTEGER : u32 = 33320 ; pub const GL_R8 : u32 = 33321 ; pub const GL_R16 : u32 = 33322 ; pub const GL_RG8 : u32 = 33323 ; pub const GL_RG16 : u32 = 33324 ; pub const GL_R16F : u32 = 33325 ; pub const GL_R32F : u32 = 33326 ; pub const GL_RG16F : u32 = 33327 ; pub const GL_RG32F : u32 = 33328 ; pub const GL_R8I : u32 = 33329 ; pub const GL_R8UI : u32 = 33330 ; pub const GL_R16I : u32 = 33331 ; pub const GL_R16UI : u32 = 33332 ; pub const GL_R32I : u32 = 33333 ; pub const GL_R32UI : u32 = 33334 ; pub const GL_RG8I : u32 = 33335 ; pub const GL_RG8UI : u32 = 33336 ; pub const GL_RG16I : u32 = 33337 ; pub const GL_RG16UI : u32 = 33338 ; pub const GL_RG32I : u32 = 33339 ; pub const GL_RG32UI : u32 = 33340 ; pub const GL_VERTEX_ARRAY_BINDING : u32 = 34229 ; pub const GL_CLAMP_VERTEX_COLOR : u32 = 35098 ; pub const GL_CLAMP_FRAGMENT_COLOR : u32 = 35099 ; pub const GL_ALPHA_INTEGER : u32 = 36247 ; pub const GL_SAMPLER_2D_RECT : u32 = 35683 ; pub const GL_SAMPLER_2D_RECT_SHADOW : u32 = 35684 ; pub const GL_SAMPLER_BUFFER : u32 = 36290 ; pub const GL_INT_SAMPLER_2D_RECT : u32 = 36301 ; pub const GL_INT_SAMPLER_BUFFER : u32 = 36304 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_RECT : u32 = 36309 ; pub const GL_UNSIGNED_INT_SAMPLER_BUFFER : u32 = 36312 ; pub const GL_TEXTURE_BUFFER : u32 = 35882 ; pub const GL_MAX_TEXTURE_BUFFER_SIZE : u32 = 35883 ; pub const GL_TEXTURE_BINDING_BUFFER : u32 = 35884 ; pub const GL_TEXTURE_BUFFER_DATA_STORE_BINDING : u32 = 35885 ; pub const GL_TEXTURE_RECTANGLE : u32 = 34037 ; pub const GL_TEXTURE_BINDING_RECTANGLE : u32 = 34038 ; pub const GL_PROXY_TEXTURE_RECTANGLE : u32 = 34039 ; pub const GL_MAX_RECTANGLE_TEXTURE_SIZE : u32 = 34040 ; pub const GL_R8_SNORM : u32 = 36756 ; pub const GL_RG8_SNORM : u32 = 36757 ; pub const GL_RGB8_SNORM : u32 = 36758 ; pub const GL_RGBA8_SNORM : u32 = 36759 ; pub const GL_R16_SNORM : u32 = 36760 ; pub const GL_RG16_SNORM : u32 = 36761 ; pub const GL_RGB16_SNORM : u32 = 36762 ; pub const GL_RGBA16_SNORM : u32 = 36763 ; pub const GL_SIGNED_NORMALIZED : u32 = 36764 ; pub const GL_PRIMITIVE_RESTART : u32 = 36765 ; pub const GL_PRIMITIVE_RESTART_INDEX : u32 = 36766 ; pub const GL_COPY_READ_BUFFER : u32 = 36662 ; pub const GL_COPY_WRITE_BUFFER : u32 = 36663 ; pub const GL_UNIFORM_BUFFER : u32 = 35345 ; pub const GL_UNIFORM_BUFFER_BINDING : u32 = 35368 ; pub const GL_UNIFORM_BUFFER_START : u32 = 35369 ; pub const GL_UNIFORM_BUFFER_SIZE : u32 = 35370 ; pub const GL_MAX_VERTEX_UNIFORM_BLOCKS : u32 = 35371 ; pub const GL_MAX_GEOMETRY_UNIFORM_BLOCKS : u32 = 35372 ; pub const GL_MAX_FRAGMENT_UNIFORM_BLOCKS : u32 = 35373 ; pub const GL_MAX_COMBINED_UNIFORM_BLOCKS : u32 = 35374 ; pub const GL_MAX_UNIFORM_BUFFER_BINDINGS : u32 = 35375 ; pub const GL_MAX_UNIFORM_BLOCK_SIZE : u32 = 35376 ; pub const GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS : u32 = 35377 ; pub const GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS : u32 = 35378 ; pub const GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS : u32 = 35379 ; pub const GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT : u32 = 35380 ; pub const GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH : u32 = 35381 ; pub const GL_ACTIVE_UNIFORM_BLOCKS : u32 = 35382 ; pub const GL_UNIFORM_TYPE : u32 = 35383 ; pub const GL_UNIFORM_SIZE : u32 = 35384 ; pub const GL_UNIFORM_NAME_LENGTH : u32 = 35385 ; pub const GL_UNIFORM_BLOCK_INDEX : u32 = 35386 ; pub const GL_UNIFORM_OFFSET : u32 = 35387 ; pub const GL_UNIFORM_ARRAY_STRIDE : u32 = 35388 ; pub const GL_UNIFORM_MATRIX_STRIDE : u32 = 35389 ; pub const GL_UNIFORM_IS_ROW_MAJOR : u32 = 35390 ; pub const GL_UNIFORM_BLOCK_BINDING : u32 = 35391 ; pub const GL_UNIFORM_BLOCK_DATA_SIZE : u32 = 35392 ; pub const GL_UNIFORM_BLOCK_NAME_LENGTH : u32 = 35393 ; pub const GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS : u32 = 35394 ; pub const GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES : u32 = 35395 ; pub const GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER : u32 = 35396 ; pub const GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER : u32 = 35397 ; pub const GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER : u32 = 35398 ; pub const GL_INVALID_INDEX : u32 = 4294967295 ; pub const GL_CONTEXT_CORE_PROFILE_BIT : u32 = 1 ; pub const GL_CONTEXT_COMPATIBILITY_PROFILE_BIT : u32 = 2 ; pub const GL_LINES_ADJACENCY : u32 = 10 ; pub const GL_LINE_STRIP_ADJACENCY : u32 = 11 ; pub const GL_TRIANGLES_ADJACENCY : u32 = 12 ; pub const GL_TRIANGLE_STRIP_ADJACENCY : u32 = 13 ; pub const GL_PROGRAM_POINT_SIZE : u32 = 34370 ; pub const GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS : u32 = 35881 ; pub const GL_FRAMEBUFFER_ATTACHMENT_LAYERED : u32 = 36263 ; pub const GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS : u32 = 36264 ; pub const GL_GEOMETRY_SHADER : u32 = 36313 ; pub const GL_GEOMETRY_VERTICES_OUT : u32 = 35094 ; pub const GL_GEOMETRY_INPUT_TYPE : u32 = 35095 ; pub const GL_GEOMETRY_OUTPUT_TYPE : u32 = 35096 ; pub const GL_MAX_GEOMETRY_UNIFORM_COMPONENTS : u32 = 36319 ; pub const GL_MAX_GEOMETRY_OUTPUT_VERTICES : u32 = 36320 ; pub const GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS : u32 = 36321 ; pub const GL_MAX_VERTEX_OUTPUT_COMPONENTS : u32 = 37154 ; pub const GL_MAX_GEOMETRY_INPUT_COMPONENTS : u32 = 37155 ; pub const GL_MAX_GEOMETRY_OUTPUT_COMPONENTS : u32 = 37156 ; pub const GL_MAX_FRAGMENT_INPUT_COMPONENTS : u32 = 37157 ; pub const GL_CONTEXT_PROFILE_MASK : u32 = 37158 ; pub const GL_DEPTH_CLAMP : u32 = 34383 ; pub const GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION : u32 = 36428 ; pub const GL_FIRST_VERTEX_CONVENTION : u32 = 36429 ; pub const GL_LAST_VERTEX_CONVENTION : u32 = 36430 ; pub const GL_PROVOKING_VERTEX : u32 = 36431 ; pub const GL_TEXTURE_CUBE_MAP_SEAMLESS : u32 = 34895 ; pub const GL_MAX_SERVER_WAIT_TIMEOUT : u32 = 37137 ; pub const GL_OBJECT_TYPE : u32 = 37138 ; pub const GL_SYNC_CONDITION : u32 = 37139 ; pub const GL_SYNC_STATUS : u32 = 37140 ; pub const GL_SYNC_FLAGS : u32 = 37141 ; pub const GL_SYNC_FENCE : u32 = 37142 ; pub const GL_SYNC_GPU_COMMANDS_COMPLETE : u32 = 37143 ; pub const GL_UNSIGNALED : u32 = 37144 ; pub const GL_SIGNALED : u32 = 37145 ; pub const GL_ALREADY_SIGNALED : u32 = 37146 ; pub const GL_TIMEOUT_EXPIRED : u32 = 37147 ; pub const GL_CONDITION_SATISFIED : u32 = 37148 ; pub const GL_WAIT_FAILED : u32 = 37149 ; pub const GL_TIMEOUT_IGNORED : i32 = -1 ; pub const GL_SYNC_FLUSH_COMMANDS_BIT : u32 = 1 ; pub const GL_SAMPLE_POSITION : u32 = 36432 ; pub const GL_SAMPLE_MASK : u32 = 36433 ; pub const GL_SAMPLE_MASK_VALUE : u32 = 36434 ; pub const GL_MAX_SAMPLE_MASK_WORDS : u32 = 36441 ; pub const GL_TEXTURE_2D_MULTISAMPLE : u32 = 37120 ; pub const GL_PROXY_TEXTURE_2D_MULTISAMPLE : u32 = 37121 ; pub const GL_TEXTURE_2D_MULTISAMPLE_ARRAY : u32 = 37122 ; pub const GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY : u32 = 37123 ; pub const GL_TEXTURE_BINDING_2D_MULTISAMPLE : u32 = 37124 ; pub const GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY : u32 = 37125 ; pub const GL_TEXTURE_SAMPLES : u32 = 37126 ; pub const GL_TEXTURE_FIXED_SAMPLE_LOCATIONS : u32 = 37127 ; pub const GL_SAMPLER_2D_MULTISAMPLE : u32 = 37128 ; pub const GL_INT_SAMPLER_2D_MULTISAMPLE : u32 = 37129 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE : u32 = 37130 ; pub const GL_SAMPLER_2D_MULTISAMPLE_ARRAY : u32 = 37131 ; pub const GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY : u32 = 37132 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY : u32 = 37133 ; pub const GL_MAX_COLOR_TEXTURE_SAMPLES : u32 = 37134 ; pub const GL_MAX_DEPTH_TEXTURE_SAMPLES : u32 = 37135 ; pub const GL_MAX_INTEGER_SAMPLES : u32 = 37136 ; pub const GL_VERTEX_ATTRIB_ARRAY_DIVISOR : u32 = 35070 ; pub const GL_SRC1_COLOR : u32 = 35065 ; pub const GL_ONE_MINUS_SRC1_COLOR : u32 = 35066 ; pub const GL_ONE_MINUS_SRC1_ALPHA : u32 = 35067 ; pub const GL_MAX_DUAL_SOURCE_DRAW_BUFFERS : u32 = 35068 ; pub const GL_ANY_SAMPLES_PASSED : u32 = 35887 ; pub const GL_SAMPLER_BINDING : u32 = 35097 ; pub const GL_RGB10_A2UI : u32 = 36975 ; pub const GL_TEXTURE_SWIZZLE_R : u32 = 36418 ; pub const GL_TEXTURE_SWIZZLE_G : u32 = 36419 ; pub const GL_TEXTURE_SWIZZLE_B : u32 = 36420 ; pub const GL_TEXTURE_SWIZZLE_A : u32 = 36421 ; pub const GL_TEXTURE_SWIZZLE_RGBA : u32 = 36422 ; pub const GL_TIME_ELAPSED : u32 = 35007 ; pub const GL_TIMESTAMP : u32 = 36392 ; pub const GL_INT_2_10_10_10_REV : u32 = 36255 ; pub const GL_VERSION_1_0 : u32 = 1 ; pub const GL_VERSION_1_1 : u32 = 1 ; pub const GL_VERSION_1_2 : u32 = 1 ; pub const GL_VERSION_1_3 : u32 = 1 ; pub const GL_VERSION_1_4 : u32 = 1 ; pub const GL_VERSION_1_5 : u32 = 1 ; pub const GL_VERSION_2_0 : u32 = 1 ; pub const GL_VERSION_2_1 : u32 = 1 ; pub const GL_VERSION_3_0 : u32 = 1 ; pub const GL_VERSION_3_1 : u32 = 1 ; pub const GL_VERSION_3_2 : u32 = 1 ; pub const GL_VERSION_3_3 : u32 = 1 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const RF_PI : f64 = 3.141592653589793 ; pub const RF_DEG2RAD : f64 = 0.017453292519943295 ; pub const RF_RAD2DEG : f64 = 57.29577951308232 ; pub const rf_max_text_buffer_length : u32 = 1024 ; pub const rf_max_text_unicode_chars : u32 = 512 ; pub const rf_textsplit_max_text_buffer_length : u32 = 1024 ; pub const rf_textsplit_max_substrings_count : u32 = 128 ; pub const rf_max_batch_elements : u32 = 8192 ; pub const rf_max_batch_buffering : u32 = 1 ; pub const rf_max_matrix_stack_size : u32 = 32 ; pub const rf_max_drawcall_registered : u32 = 256 ; pub const rf_max_shader_locations : u32 = 32 ; pub const rf_max_material_maps : u32 = 12 ; pub const GL_TEXTURE_ANISOTROPIC_FILTER : u32 = 12288 ; pub const GL_MIRROR_CLAMP_EXT : u32 = 34626 ; pub const DEFAULT_ATTRIB_POSITION_NAME : & 'static [ u8 ; 15usize ] = b"vertexPosition\0" ; pub const DEFAULT_ATTRIB_TEXCOORD_NAME : & 'static [ u8 ; 15usize ] = b"vertexTexCoord\0" ; pub const DEFAULT_ATTRIB_NORMAL_NAME : & 'static [ u8 ; 13usize ] = b"vertexNormal\0" ; pub const DEFAULT_ATTRIB_COLOR_NAME : & 'static [ u8 ; 12usize ] = b"vertexColor\0" ; pub const DEFAULT_ATTRIB_TANGENT_NAME : & 'static [ u8 ; 14usize ] = b"vertexTangent\0" ; pub const DEFAULT_ATTRIB_TEXCOORD2_NAME : & 'static [ u8 ; 16usize ] = b"vertexTexCoord2\0" ; pub const RF_LOG_TRACE : u32 = 0 ; pub const RF_LOG_DEBUG : u32 = 1 ; pub const RF_LOG_INFO : u32 = 2 ; pub const RF_LOG_WARNING : u32 = 3 ; pub const RF_LOG_ERROR : u32 = 4 ; pub const RF_LOG_FATAL : u32 = 5 ; pub const _MATH_H : u32 = 1 ; pub const _BITS_LIBM_SIMD_DECL_STUBS_H : u32 = 1 ; pub const __HAVE_FLOAT128 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 0 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const __FP_LOGB0_IS_MIN : u32 = 1 ; pub const __FP_LOGBNAN_IS_MIN : u32 = 1 ; pub const FP_ILOGB0 : i32 = -2147483648 ; pub const FP_ILOGBNAN : i32 = -2147483648 ; pub const __MATH_DECLARING_DOUBLE : u32 = 1 ; pub const __MATH_DECLARING_FLOATN : u32 = 0 ; pub const __MATH_DECLARE_LDOUBLE : u32 = 1 ; pub const 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 _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 __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; 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 __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : 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 __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [ u8 ; 6usize ] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const __timespec_defined : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _SYS_SYSMACROS_H : u32 = 1 ; pub const _BITS_SYSMACROS_H : u32 = 1 ; 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 __PTHREAD_MUTEX_LOCK_ELISION : u32 = 1 ; pub const __PTHREAD_MUTEX_NUSERS_AFTER_KIND : u32 = 0 ; pub const __PTHREAD_MUTEX_USE_UNION : u32 = 0 ; pub const __PTHREAD_RWLOCK_INT_FLAGS_SHARED : 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 TINYOBJ_FLAG_TRIANGULATE : u32 = 1 ; pub const TINYOBJ_INVALID_INDEX : u32 = 2147483648 ; pub const TINYOBJ_SUCCESS : u32 = 0 ; pub const TINYOBJ_ERROR_EMPTY : i32 = -1 ; pub const TINYOBJ_ERROR_INVALID_PARAMETER : i32 = -2 ; pub const TINYOBJ_ERROR_FILE_OPERATION : i32 = -3 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [ u8 ; 5usize ] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _ASSERT_H : u32 = 1 ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; 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 TINYOBJ_MAX_FACES_PER_F_LINE : u32 = 16 ; pub const HASH_TABLE_ERROR : u32 = 1 ; pub const HASH_TABLE_SUCCESS : u32 = 0 ; pub const HASH_TABLE_DEFAULT_SIZE : u32 = 10 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const CGLTF_ERROR_JSON : i32 = -1 ; pub const CGLTF_ERROR_NOMEM : i32 = -2 ; pub const CGLTF_ERROR_LEGACY : i32 = -3 ; pub const PAR_PI : f64 = 3.14159265359 ; pub const STRETCH_CONSTANT_2D : f64 = -0.211324865405187 ; pub const SQUISH_CONSTANT_2D : f64 = 0.366025403784439 ; pub const STRETCH_CONSTANT_3D : f64 = -0.16666666666666666 ; pub const SQUISH_CONSTANT_3D : f64 = 0.3333333333333333 ; pub const STRETCH_CONSTANT_4D : f64 = -0.138196601125011 ; pub const SQUISH_CONSTANT_4D : f64 = 0.309016994374947 ; pub const NORM_CONSTANT_2D : f64 = 47.0 ; pub const NORM_CONSTANT_3D : f64 = 103.0 ; pub const NORM_CONSTANT_4D : f64 = 30.0 ; pub const DEFAULT_SEED : u32 = 0 ; pub const STBI_VERSION : u32 = 1 ; pub const _MM_HINT_ET0 : u32 = 7 ; pub const _MM_HINT_ET1 : u32 = 6 ; pub const _MM_HINT_T0 : u32 = 3 ; pub const _MM_HINT_T1 : u32 = 2 ; pub const _MM_HINT_T2 : u32 = 1 ; pub const _MM_HINT_NTA : u32 = 0 ; pub const _MM_EXCEPT_INVALID : u32 = 1 ; pub const _MM_EXCEPT_DENORM : u32 = 2 ; pub const _MM_EXCEPT_DIV_ZERO : u32 = 4 ; pub const _MM_EXCEPT_OVERFLOW : u32 = 8 ; pub const _MM_EXCEPT_UNDERFLOW : u32 = 16 ; pub const _MM_EXCEPT_INEXACT : u32 = 32 ; pub const _MM_EXCEPT_MASK : u32 = 63 ; pub const _MM_MASK_INVALID : u32 = 128 ; pub const _MM_MASK_DENORM : u32 = 256 ; pub const _MM_MASK_DIV_ZERO : u32 = 512 ; pub const _MM_MASK_OVERFLOW : u32 = 1024 ; pub const _MM_MASK_UNDERFLOW : u32 = 2048 ; pub const _MM_MASK_INEXACT : u32 = 4096 ; pub const _MM_MASK_MASK : u32 = 8064 ; pub const _MM_ROUND_NEAREST : u32 = 0 ; pub const _MM_ROUND_DOWN : u32 = 8192 ; pub const _MM_ROUND_UP : u32 = 16384 ; pub const _MM_ROUND_TOWARD_ZERO : u32 = 24576 ; pub const _MM_ROUND_MASK : u32 = 24576 ; pub const _MM_FLUSH_ZERO_MASK : u32 = 32768 ; pub const _MM_FLUSH_ZERO_ON : u32 = 32768 ; pub const _MM_FLUSH_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_ON : u32 = 64 ; pub const _MM_DENORMALS_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_MASK : u32 = 64 ; pub const FAST_BITS : u32 = 9 ; pub const STBI__MARKER_none : u32 = 255 ; pub const STBI__ZFAST_BITS : u32 = 9 ; pub const STBI__ZFAST_MASK : u32 = 511 ; pub const STBI__HDR_BUFLEN : u32 = 1024 ; pub const stbiw__ZHASH : u32 = 16384 ; pub const STBIR_ALPHA_CHANNEL_NONE : i32 = -1 ; pub const STBIR_FLAG_ALPHA_PREMULTIPLIED : u32 = 1 ; pub const STBIR_FLAG_ALPHA_USES_COLORSPACE : u32 = 2 ; pub const STBIR_MAX_CHANNELS : u32 = 64 ; pub const STB_RECT_PACK_VERSION : u32 = 1 ; pub const STBRP__MAXVAL : u32 = 65535 ; pub const STBTT_MACSTYLE_DONTCARE : u32 = 0 ; pub const STBTT_MACSTYLE_BOLD : u32 = 1 ; pub const STBTT_MACSTYLE_ITALIC : u32 = 2 ; pub const STBTT_MACSTYLE_UNDERSCORE : u32 = 4 ; pub const STBTT_MACSTYLE_NONE : u32 = 8 ; pub const STBTT_MAX_OVERSAMPLE : u32 = 8 ; pub const STBTT_RASTERIZER_VERSION : u32 = 2 ; pub const STBTT__OVER_MASK : u32 = 7 ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_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 __struct_tm_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const rf_max_filepath_length : u32 = 512 ; pub const rf_max_filenamewithoutext_length : u32 = 128 ; pub const rf_default_ttf_fontsize : u32 = 32 ; pub const rf_default_ttf_numchars : u32 = 95 ; pub const rf_default_first_char : u32 = 32 ; pub const rf_max_fontchars : u32 = 256 ; pub const rf_sdf_char_padding : u32 = 4 ; pub const rf_sdf_on_edge_value : u32 = 128 ; pub const rf_sdf_pixel_dist_scale : f64 = 64.0 ; pub const rf_bitmap_alpha_threshold : u32 = 80 ; pub const GL_COMPRESSED_RGB_S3TC_DXT1_EXT : u32 = 33776 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT1_EXT : u32 = 33777 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT3_EXT : u32 = 33778 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT5_EXT : u32 = 33779 ; pub const GL_ETC1_RGB8_OES : u32 = 36196 ; pub const GL_COMPRESSED_RGB8_ETC2 : u32 = 37492 ; pub const GL_COMPRESSED_RGBA8_ETC2_EAC : u32 = 37496 ; pub const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG : u32 = 35840 ; pub const GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG : u32 = 35842 ; pub const GL_COMPRESSED_RGBA_ASTC_4x4_KHR : u32 = 37808 ; pub const GL_COMPRESSED_RGBA_ASTC_8x8_KHR : u32 = 37815 ; pub const GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34047 ; pub const GL_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34046 ; pub const MAX_MIPMAP_LEVELS : u32 = 5 ; pub const rf_camera_mouse_move_sensitivity : f64 = 0.003 ; pub const rf_camera_mouse_scroll_sensitivity : f64 = 1.5 ; pub const rf_camera_free_mouse_sensitivity : f64 = 0.01 ; pub const rf_camera_free_distance_min_clamp : f64 = 0.3 ; pub const rf_camera_free_distance_max_clamp : f64 = 120.0 ; pub const rf_camera_free_min_clamp : f64 = 85.0 ; pub const rf_camera_free_max_clamp : f64 = -85.0 ; pub const rf_camera_free_smooth_zoom_sensitivity : f64 = 0.05 ; pub const rf_camera_free_panning_divider : f64 = 5.1 ; pub const rf_camera_orbital_speed : f64 = 0.01 ; pub const rf_camera_first_person_focus_distance : f64 = 25.0 ; pub const rf_camera_first_person_min_clamp : f64 = 85.0 ; pub const rf_camera_first_person_max_clamp : f64 = -85.0 ; pub const rf_camera_first_person_step_trigonometric_divider : f64 = 5.0 ; pub const rf_camera_first_person_step_divider : f64 = 30.0 ; pub const rf_camera_first_person_waving_divider : f64 = 200.0 ; pub const rf_camera_third_person_distance_clamp : f64 = 1.2 ; pub const rf_camera_third_person_min_clamp : f64 = 5.0 ; pub const rf_camera_third_person_max_clamp : f64 = -85.0 ; pub const rf_player_movement_sensitivity : f64 = 20.0 ; pub const rf_max_mesh_vbo : u32 = 7 ; pub const rf_iqm_magic : & 'static [ u8 ; 16usize ] = b"INTERQUAKEMODEL\0" ; pub const rf_iqm_version : u32 = 2 ; pub const rf_epsilon : f64 = 0.000001 ; pub const rf_bone_name_length : u32 = 32 ; pub const rf_mesh_name_length : u32 = 32 ; pub const rf_line_divisions : u32 = 24 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct gladGLversionStruct { pub major : :: std :: os :: raw :: c_int , pub minor : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_gladGLversionStruct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < gladGLversionStruct > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( gladGLversionStruct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < gladGLversionStruct > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( gladGLversionStruct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < gladGLversionStruct > ( ) ) ) . major as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( gladGLversionStruct ) , "::" , stringify ! ( major ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < gladGLversionStruct > ( ) ) ) . minor as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( gladGLversionStruct ) , "::" , stringify ! ( minor ) ) ) ; } pub type GLADloadproc = :: std :: option :: Option < unsafe extern "C" fn ( name : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut GLVersion : gladGLversionStruct ; } extern "C" { pub fn gladLoadGL ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gladLoadGLLoader ( arg1 : GLADloadproc ) -> :: 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 __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __fsid_t { pub __val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __fsid_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type khronos_int32_t = i32 ; pub type khronos_uint32_t = u32 ; pub type khronos_int64_t = i64 ; pub type khronos_uint64_t = u64 ; pub type khronos_int8_t = :: std :: os :: raw :: c_schar ; pub type khronos_uint8_t = :: std :: os :: raw :: c_uchar ; pub type khronos_int16_t = :: std :: os :: raw :: c_short ; pub type khronos_uint16_t = :: std :: os :: raw :: c_ushort ; pub type khronos_intptr_t = :: std :: os :: raw :: c_long ; pub type khronos_uintptr_t = :: std :: os :: raw :: c_ulong ; pub type khronos_ssize_t = :: std :: os :: raw :: c_long ; pub type khronos_usize_t = :: std :: os :: raw :: c_ulong ; pub type khronos_float_t = f32 ; pub type khronos_utime_nanoseconds_t = khronos_uint64_t ; pub type khronos_stime_nanoseconds_t = khronos_int64_t ; pub const khronos_boolean_enum_t_KHRONOS_FALSE : khronos_boolean_enum_t = 0 ; pub const khronos_boolean_enum_t_KHRONOS_TRUE : khronos_boolean_enum_t = 1 ; pub const khronos_boolean_enum_t_KHRONOS_BOOLEAN_ENUM_FORCE_SIZE : khronos_boolean_enum_t = 2147483647 ; pub type khronos_boolean_enum_t = u32 ; pub type GLenum = :: std :: os :: raw :: c_uint ; pub type GLboolean = :: std :: os :: raw :: c_uchar ; pub type GLbitfield = :: std :: os :: raw :: c_uint ; pub type GLvoid = :: std :: os :: raw :: c_void ; pub type GLbyte = khronos_int8_t ; pub type GLubyte = khronos_uint8_t ; pub type GLshort = khronos_int16_t ; pub type GLushort = khronos_uint16_t ; pub type GLint = :: std :: os :: raw :: c_int ; pub type GLuint = :: std :: os :: raw :: c_uint ; pub type GLclampx = khronos_int32_t ; pub type GLsizei = :: std :: os :: raw :: c_int ; pub type GLfloat = khronos_float_t ; pub type GLclampf = khronos_float_t ; pub type GLdouble = f64 ; pub type GLclampd = f64 ; pub type GLeglClientBufferEXT = * mut :: std :: os :: raw :: c_void ; pub type GLeglImageOES = * mut :: std :: os :: raw :: c_void ; pub type GLchar = :: std :: os :: raw :: c_char ; pub type GLcharARB = :: std :: os :: raw :: c_char ; pub type GLhandleARB = :: std :: os :: raw :: c_uint ; pub type GLhalf = khronos_uint16_t ; pub type GLhalfARB = khronos_uint16_t ; pub type GLfixed = khronos_int32_t ; pub type GLintptr = khronos_intptr_t ; pub type GLintptrARB = khronos_intptr_t ; pub type GLsizeiptr = khronos_ssize_t ; pub type GLsizeiptrARB = khronos_ssize_t ; pub type GLint64 = khronos_int64_t ; pub type GLint64EXT = khronos_int64_t ; pub type GLuint64 = khronos_uint64_t ; pub type GLuint64EXT = khronos_uint64_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __GLsync { _unused : [ u8 ; 0 ] , } pub type GLsync = * mut __GLsync ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _cl_context { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _cl_event { _unused : [ u8 ; 0 ] , } pub type GLDEBUGPROC = :: std :: option :: Option < unsafe extern "C" fn ( source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void ) > ; pub type GLDEBUGPROCARB = :: std :: option :: Option < unsafe extern "C" fn ( source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void ) > ; pub type GLDEBUGPROCKHR = :: std :: option :: Option < unsafe extern "C" fn ( source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void ) > ; pub type GLDEBUGPROCAMD = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , category : GLenum , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * mut :: std :: os :: raw :: c_void ) > ; pub type GLhalfNV = :: std :: os :: raw :: c_ushort ; pub type GLvdpauSurfaceNV = GLintptr ; pub type GLVULKANPROCNV = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut GLAD_GL_VERSION_1_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCULLFACEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glCullFace : PFNGLCULLFACEPROC ; } pub type PFNGLFRONTFACEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glFrontFace : PFNGLFRONTFACEPROC ; } pub type PFNGLHINTPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , mode : GLenum ) > ; extern "C" { pub static mut glad_glHint : PFNGLHINTPROC ; } pub type PFNGLLINEWIDTHPROC = :: std :: option :: Option < unsafe extern "C" fn ( width : GLfloat ) > ; extern "C" { pub static mut glad_glLineWidth : PFNGLLINEWIDTHPROC ; } pub type PFNGLPOINTSIZEPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLfloat ) > ; extern "C" { pub static mut glad_glPointSize : PFNGLPOINTSIZEPROC ; } pub type PFNGLPOLYGONMODEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , mode : GLenum ) > ; extern "C" { pub static mut glad_glPolygonMode : PFNGLPOLYGONMODEPROC ; } pub type PFNGLSCISSORPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glScissor : PFNGLSCISSORPROC ; } pub type PFNGLTEXPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glTexParameterf : PFNGLTEXPARAMETERFPROC ; } pub type PFNGLTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexParameterfv : PFNGLTEXPARAMETERFVPROC ; } pub type PFNGLTEXPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glTexParameteri : PFNGLTEXPARAMETERIPROC ; } pub type PFNGLTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexParameteriv : PFNGLTEXPARAMETERIVPROC ; } pub type PFNGLTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexImage1D : PFNGLTEXIMAGE1DPROC ; } pub type PFNGLTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexImage2D : PFNGLTEXIMAGE2DPROC ; } pub type PFNGLDRAWBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( buf : GLenum ) > ; extern "C" { pub static mut glad_glDrawBuffer : PFNGLDRAWBUFFERPROC ; } pub type PFNGLCLEARPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLbitfield ) > ; extern "C" { pub static mut glad_glClear : PFNGLCLEARPROC ; } pub type PFNGLCLEARCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glClearColor : PFNGLCLEARCOLORPROC ; } pub type PFNGLCLEARSTENCILPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint ) > ; extern "C" { pub static mut glad_glClearStencil : PFNGLCLEARSTENCILPROC ; } pub type PFNGLCLEARDEPTHPROC = :: std :: option :: Option < unsafe extern "C" fn ( depth : GLdouble ) > ; extern "C" { pub static mut glad_glClearDepth : PFNGLCLEARDEPTHPROC ; } pub type PFNGLSTENCILMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilMask : PFNGLSTENCILMASKPROC ; } pub type PFNGLCOLORMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLboolean , green : GLboolean , blue : GLboolean , alpha : GLboolean ) > ; extern "C" { pub static mut glad_glColorMask : PFNGLCOLORMASKPROC ; } pub type PFNGLDEPTHMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( flag : GLboolean ) > ; extern "C" { pub static mut glad_glDepthMask : PFNGLDEPTHMASKPROC ; } pub type PFNGLDISABLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( cap : GLenum ) > ; extern "C" { pub static mut glad_glDisable : PFNGLDISABLEPROC ; } pub type PFNGLENABLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( cap : GLenum ) > ; extern "C" { pub static mut glad_glEnable : PFNGLENABLEPROC ; } pub type PFNGLFINISHPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glFinish : PFNGLFINISHPROC ; } pub type PFNGLFLUSHPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glFlush : PFNGLFLUSHPROC ; } pub type PFNGLBLENDFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sfactor : GLenum , dfactor : GLenum ) > ; extern "C" { pub static mut glad_glBlendFunc : PFNGLBLENDFUNCPROC ; } pub type PFNGLLOGICOPPROC = :: std :: option :: Option < unsafe extern "C" fn ( opcode : GLenum ) > ; extern "C" { pub static mut glad_glLogicOp : PFNGLLOGICOPPROC ; } pub type PFNGLSTENCILFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( func : GLenum , ref_ : GLint , mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilFunc : PFNGLSTENCILFUNCPROC ; } pub type PFNGLSTENCILOPPROC = :: std :: option :: Option < unsafe extern "C" fn ( fail : GLenum , zfail : GLenum , zpass : GLenum ) > ; extern "C" { pub static mut glad_glStencilOp : PFNGLSTENCILOPPROC ; } pub type PFNGLDEPTHFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( func : GLenum ) > ; extern "C" { pub static mut glad_glDepthFunc : PFNGLDEPTHFUNCPROC ; } pub type PFNGLPIXELSTOREFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glPixelStoref : PFNGLPIXELSTOREFPROC ; } pub type PFNGLPIXELSTOREIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glPixelStorei : PFNGLPIXELSTOREIPROC ; } pub type PFNGLREADBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( src : GLenum ) > ; extern "C" { pub static mut glad_glReadBuffer : PFNGLREADBUFFERPROC ; } pub type PFNGLREADPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glReadPixels : PFNGLREADPIXELSPROC ; } pub type PFNGLGETBOOLEANVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLboolean ) > ; extern "C" { pub static mut glad_glGetBooleanv : PFNGLGETBOOLEANVPROC ; } pub type PFNGLGETDOUBLEVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetDoublev : PFNGLGETDOUBLEVPROC ; } pub type PFNGLGETERRORPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) -> GLenum > ; extern "C" { pub static mut glad_glGetError : PFNGLGETERRORPROC ; } pub type PFNGLGETFLOATVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetFloatv : PFNGLGETFLOATVPROC ; } pub type PFNGLGETINTEGERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLint ) > ; extern "C" { pub static mut glad_glGetIntegerv : PFNGLGETINTEGERVPROC ; } pub type PFNGLGETSTRINGPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLenum ) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetString : PFNGLGETSTRINGPROC ; } pub type PFNGLGETTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetTexImage : PFNGLGETTEXIMAGEPROC ; } pub type PFNGLGETTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexParameterfv : PFNGLGETTEXPARAMETERFVPROC ; } pub type PFNGLGETTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexParameteriv : PFNGLGETTEXPARAMETERIVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexLevelParameterfv : PFNGLGETTEXLEVELPARAMETERFVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexLevelParameteriv : PFNGLGETTEXLEVELPARAMETERIVPROC ; } pub type PFNGLISENABLEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( cap : GLenum ) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabled : PFNGLISENABLEDPROC ; } pub type PFNGLDEPTHRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLdouble , f : GLdouble ) > ; extern "C" { pub static mut glad_glDepthRange : PFNGLDEPTHRANGEPROC ; } pub type PFNGLVIEWPORTPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glViewport : PFNGLVIEWPORTPROC ; } pub type PFNGLNEWLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint , mode : GLenum ) > ; extern "C" { pub static mut glad_glNewList : PFNGLNEWLISTPROC ; } pub type PFNGLENDLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEndList : PFNGLENDLISTPROC ; } pub type PFNGLCALLLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint ) > ; extern "C" { pub static mut glad_glCallList : PFNGLCALLLISTPROC ; } pub type PFNGLCALLLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , type_ : GLenum , lists : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCallLists : PFNGLCALLLISTSPROC ; } pub type PFNGLDELETELISTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint , range : GLsizei ) > ; extern "C" { pub static mut glad_glDeleteLists : PFNGLDELETELISTSPROC ; } pub type PFNGLGENLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( range : GLsizei ) -> GLuint > ; extern "C" { pub static mut glad_glGenLists : PFNGLGENLISTSPROC ; } pub type PFNGLLISTBASEPROC = :: std :: option :: Option < unsafe extern "C" fn ( base : GLuint ) > ; extern "C" { pub static mut glad_glListBase : PFNGLLISTBASEPROC ; } pub type PFNGLBEGINPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glBegin : PFNGLBEGINPROC ; } pub type PFNGLBITMAPPROC = :: std :: option :: Option < unsafe extern "C" fn ( width : GLsizei , height : GLsizei , xorig : GLfloat , yorig : GLfloat , xmove : GLfloat , ymove : GLfloat , bitmap : * const GLubyte ) > ; extern "C" { pub static mut glad_glBitmap : PFNGLBITMAPPROC ; } pub type PFNGLCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLbyte , green : GLbyte , blue : GLbyte ) > ; extern "C" { pub static mut glad_glColor3b : PFNGLCOLOR3BPROC ; } pub type PFNGLCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glColor3bv : PFNGLCOLOR3BVPROC ; } pub type PFNGLCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLdouble , green : GLdouble , blue : GLdouble ) > ; extern "C" { pub static mut glad_glColor3d : PFNGLCOLOR3DPROC ; } pub type PFNGLCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glColor3dv : PFNGLCOLOR3DVPROC ; } pub type PFNGLCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat ) > ; extern "C" { pub static mut glad_glColor3f : PFNGLCOLOR3FPROC ; } pub type PFNGLCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glColor3fv : PFNGLCOLOR3FVPROC ; } pub type PFNGLCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLint , green : GLint , blue : GLint ) > ; extern "C" { pub static mut glad_glColor3i : PFNGLCOLOR3IPROC ; } pub type PFNGLCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glColor3iv : PFNGLCOLOR3IVPROC ; } pub type PFNGLCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLshort , green : GLshort , blue : GLshort ) > ; extern "C" { pub static mut glad_glColor3s : PFNGLCOLOR3SPROC ; } pub type PFNGLCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glColor3sv : PFNGLCOLOR3SVPROC ; } pub type PFNGLCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLubyte , green : GLubyte , blue : GLubyte ) > ; extern "C" { pub static mut glad_glColor3ub : PFNGLCOLOR3UBPROC ; } pub type PFNGLCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLubyte ) > ; extern "C" { pub static mut glad_glColor3ubv : PFNGLCOLOR3UBVPROC ; } pub type PFNGLCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLuint , green : GLuint , blue : GLuint ) > ; extern "C" { pub static mut glad_glColor3ui : PFNGLCOLOR3UIPROC ; } pub type PFNGLCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLuint ) > ; extern "C" { pub static mut glad_glColor3uiv : PFNGLCOLOR3UIVPROC ; } pub type PFNGLCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLushort , green : GLushort , blue : GLushort ) > ; extern "C" { pub static mut glad_glColor3us : PFNGLCOLOR3USPROC ; } pub type PFNGLCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLushort ) > ; extern "C" { pub static mut glad_glColor3usv : PFNGLCOLOR3USVPROC ; } pub type PFNGLCOLOR4BPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLbyte , green : GLbyte , blue : GLbyte , alpha : GLbyte ) > ; extern "C" { pub static mut glad_glColor4b : PFNGLCOLOR4BPROC ; } pub type PFNGLCOLOR4BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glColor4bv : PFNGLCOLOR4BVPROC ; } pub type PFNGLCOLOR4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLdouble , green : GLdouble , blue : GLdouble , alpha : GLdouble ) > ; extern "C" { pub static mut glad_glColor4d : PFNGLCOLOR4DPROC ; } pub type PFNGLCOLOR4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glColor4dv : PFNGLCOLOR4DVPROC ; } pub type PFNGLCOLOR4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glColor4f : PFNGLCOLOR4FPROC ; } pub type PFNGLCOLOR4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glColor4fv : PFNGLCOLOR4FVPROC ; } pub type PFNGLCOLOR4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLint , green : GLint , blue : GLint , alpha : GLint ) > ; extern "C" { pub static mut glad_glColor4i : PFNGLCOLOR4IPROC ; } pub type PFNGLCOLOR4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glColor4iv : PFNGLCOLOR4IVPROC ; } pub type PFNGLCOLOR4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLshort , green : GLshort , blue : GLshort , alpha : GLshort ) > ; extern "C" { pub static mut glad_glColor4s : PFNGLCOLOR4SPROC ; } pub type PFNGLCOLOR4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glColor4sv : PFNGLCOLOR4SVPROC ; } pub type PFNGLCOLOR4UBPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLubyte , green : GLubyte , blue : GLubyte , alpha : GLubyte ) > ; extern "C" { pub static mut glad_glColor4ub : PFNGLCOLOR4UBPROC ; } pub type PFNGLCOLOR4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLubyte ) > ; extern "C" { pub static mut glad_glColor4ubv : PFNGLCOLOR4UBVPROC ; } pub type PFNGLCOLOR4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLuint , green : GLuint , blue : GLuint , alpha : GLuint ) > ; extern "C" { pub static mut glad_glColor4ui : PFNGLCOLOR4UIPROC ; } pub type PFNGLCOLOR4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLuint ) > ; extern "C" { pub static mut glad_glColor4uiv : PFNGLCOLOR4UIVPROC ; } pub type PFNGLCOLOR4USPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLushort , green : GLushort , blue : GLushort , alpha : GLushort ) > ; extern "C" { pub static mut glad_glColor4us : PFNGLCOLOR4USPROC ; } pub type PFNGLCOLOR4USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLushort ) > ; extern "C" { pub static mut glad_glColor4usv : PFNGLCOLOR4USVPROC ; } pub type PFNGLEDGEFLAGPROC = :: std :: option :: Option < unsafe extern "C" fn ( flag : GLboolean ) > ; extern "C" { pub static mut glad_glEdgeFlag : PFNGLEDGEFLAGPROC ; } pub type PFNGLEDGEFLAGVPROC = :: std :: option :: Option < unsafe extern "C" fn ( flag : * const GLboolean ) > ; extern "C" { pub static mut glad_glEdgeFlagv : PFNGLEDGEFLAGVPROC ; } pub type PFNGLENDPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEnd : PFNGLENDPROC ; } pub type PFNGLINDEXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLdouble ) > ; extern "C" { pub static mut glad_glIndexd : PFNGLINDEXDPROC ; } pub type PFNGLINDEXDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLdouble ) > ; extern "C" { pub static mut glad_glIndexdv : PFNGLINDEXDVPROC ; } pub type PFNGLINDEXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLfloat ) > ; extern "C" { pub static mut glad_glIndexf : PFNGLINDEXFPROC ; } pub type PFNGLINDEXFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLfloat ) > ; extern "C" { pub static mut glad_glIndexfv : PFNGLINDEXFVPROC ; } pub type PFNGLINDEXIPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLint ) > ; extern "C" { pub static mut glad_glIndexi : PFNGLINDEXIPROC ; } pub type PFNGLINDEXIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLint ) > ; extern "C" { pub static mut glad_glIndexiv : PFNGLINDEXIVPROC ; } pub type PFNGLINDEXSPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLshort ) > ; extern "C" { pub static mut glad_glIndexs : PFNGLINDEXSPROC ; } pub type PFNGLINDEXSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLshort ) > ; extern "C" { pub static mut glad_glIndexsv : PFNGLINDEXSVPROC ; } pub type PFNGLNORMAL3BPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLbyte , ny : GLbyte , nz : GLbyte ) > ; extern "C" { pub static mut glad_glNormal3b : PFNGLNORMAL3BPROC ; } pub type PFNGLNORMAL3BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glNormal3bv : PFNGLNORMAL3BVPROC ; } pub type PFNGLNORMAL3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLdouble , ny : GLdouble , nz : GLdouble ) > ; extern "C" { pub static mut glad_glNormal3d : PFNGLNORMAL3DPROC ; } pub type PFNGLNORMAL3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glNormal3dv : PFNGLNORMAL3DVPROC ; } pub type PFNGLNORMAL3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLfloat , ny : GLfloat , nz : GLfloat ) > ; extern "C" { pub static mut glad_glNormal3f : PFNGLNORMAL3FPROC ; } pub type PFNGLNORMAL3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glNormal3fv : PFNGLNORMAL3FVPROC ; } pub type PFNGLNORMAL3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLint , ny : GLint , nz : GLint ) > ; extern "C" { pub static mut glad_glNormal3i : PFNGLNORMAL3IPROC ; } pub type PFNGLNORMAL3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glNormal3iv : PFNGLNORMAL3IVPROC ; } pub type PFNGLNORMAL3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLshort , ny : GLshort , nz : GLshort ) > ; extern "C" { pub static mut glad_glNormal3s : PFNGLNORMAL3SPROC ; } pub type PFNGLNORMAL3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glNormal3sv : PFNGLNORMAL3SVPROC ; } pub type PFNGLRASTERPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos2d : PFNGLRASTERPOS2DPROC ; } pub type PFNGLRASTERPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos2dv : PFNGLRASTERPOS2DVPROC ; } pub type PFNGLRASTERPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos2f : PFNGLRASTERPOS2FPROC ; } pub type PFNGLRASTERPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos2fv : PFNGLRASTERPOS2FVPROC ; } pub type PFNGLRASTERPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glRasterPos2i : PFNGLRASTERPOS2IPROC ; } pub type PFNGLRASTERPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glRasterPos2iv : PFNGLRASTERPOS2IVPROC ; } pub type PFNGLRASTERPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glRasterPos2s : PFNGLRASTERPOS2SPROC ; } pub type PFNGLRASTERPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glRasterPos2sv : PFNGLRASTERPOS2SVPROC ; } pub type PFNGLRASTERPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos3d : PFNGLRASTERPOS3DPROC ; } pub type PFNGLRASTERPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos3dv : PFNGLRASTERPOS3DVPROC ; } pub type PFNGLRASTERPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos3f : PFNGLRASTERPOS3FPROC ; } pub type PFNGLRASTERPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos3fv : PFNGLRASTERPOS3FVPROC ; } pub type PFNGLRASTERPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glRasterPos3i : PFNGLRASTERPOS3IPROC ; } pub type PFNGLRASTERPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glRasterPos3iv : PFNGLRASTERPOS3IVPROC ; } pub type PFNGLRASTERPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glRasterPos3s : PFNGLRASTERPOS3SPROC ; } pub type PFNGLRASTERPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glRasterPos3sv : PFNGLRASTERPOS3SVPROC ; } pub type PFNGLRASTERPOS4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos4d : PFNGLRASTERPOS4DPROC ; } pub type PFNGLRASTERPOS4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos4dv : PFNGLRASTERPOS4DVPROC ; } pub type PFNGLRASTERPOS4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos4f : PFNGLRASTERPOS4FPROC ; } pub type PFNGLRASTERPOS4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos4fv : PFNGLRASTERPOS4FVPROC ; } pub type PFNGLRASTERPOS4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint , w : GLint ) > ; extern "C" { pub static mut glad_glRasterPos4i : PFNGLRASTERPOS4IPROC ; } pub type PFNGLRASTERPOS4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glRasterPos4iv : PFNGLRASTERPOS4IVPROC ; } pub type PFNGLRASTERPOS4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort , w : GLshort ) > ; extern "C" { pub static mut glad_glRasterPos4s : PFNGLRASTERPOS4SPROC ; } pub type PFNGLRASTERPOS4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glRasterPos4sv : PFNGLRASTERPOS4SVPROC ; } pub type PFNGLRECTDPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLdouble , y1 : GLdouble , x2 : GLdouble , y2 : GLdouble ) > ; extern "C" { pub static mut glad_glRectd : PFNGLRECTDPROC ; } pub type PFNGLRECTDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLdouble , v2 : * const GLdouble ) > ; extern "C" { pub static mut glad_glRectdv : PFNGLRECTDVPROC ; } pub type PFNGLRECTFPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLfloat , y1 : GLfloat , x2 : GLfloat , y2 : GLfloat ) > ; extern "C" { pub static mut glad_glRectf : PFNGLRECTFPROC ; } pub type PFNGLRECTFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLfloat , v2 : * const GLfloat ) > ; extern "C" { pub static mut glad_glRectfv : PFNGLRECTFVPROC ; } pub type PFNGLRECTIPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLint , y1 : GLint , x2 : GLint , y2 : GLint ) > ; extern "C" { pub static mut glad_glRecti : PFNGLRECTIPROC ; } pub type PFNGLRECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLint , v2 : * const GLint ) > ; extern "C" { pub static mut glad_glRectiv : PFNGLRECTIVPROC ; } pub type PFNGLRECTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLshort , y1 : GLshort , x2 : GLshort , y2 : GLshort ) > ; extern "C" { pub static mut glad_glRects : PFNGLRECTSPROC ; } pub type PFNGLRECTSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLshort , v2 : * const GLshort ) > ; extern "C" { pub static mut glad_glRectsv : PFNGLRECTSVPROC ; } pub type PFNGLTEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord1d : PFNGLTEXCOORD1DPROC ; } pub type PFNGLTEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord1dv : PFNGLTEXCOORD1DVPROC ; } pub type PFNGLTEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord1f : PFNGLTEXCOORD1FPROC ; } pub type PFNGLTEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord1fv : PFNGLTEXCOORD1FVPROC ; } pub type PFNGLTEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint ) > ; extern "C" { pub static mut glad_glTexCoord1i : PFNGLTEXCOORD1IPROC ; } pub type PFNGLTEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord1iv : PFNGLTEXCOORD1IVPROC ; } pub type PFNGLTEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord1s : PFNGLTEXCOORD1SPROC ; } pub type PFNGLTEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord1sv : PFNGLTEXCOORD1SVPROC ; } pub type PFNGLTEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble , t : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord2d : PFNGLTEXCOORD2DPROC ; } pub type PFNGLTEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord2dv : PFNGLTEXCOORD2DVPROC ; } pub type PFNGLTEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat , t : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord2f : PFNGLTEXCOORD2FPROC ; } pub type PFNGLTEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord2fv : PFNGLTEXCOORD2FVPROC ; } pub type PFNGLTEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint , t : GLint ) > ; extern "C" { pub static mut glad_glTexCoord2i : PFNGLTEXCOORD2IPROC ; } pub type PFNGLTEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord2iv : PFNGLTEXCOORD2IVPROC ; } pub type PFNGLTEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort , t : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord2s : PFNGLTEXCOORD2SPROC ; } pub type PFNGLTEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord2sv : PFNGLTEXCOORD2SVPROC ; } pub type PFNGLTEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble , t : GLdouble , r : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord3d : PFNGLTEXCOORD3DPROC ; } pub type PFNGLTEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord3dv : PFNGLTEXCOORD3DVPROC ; } pub type PFNGLTEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat , t : GLfloat , r : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord3f : PFNGLTEXCOORD3FPROC ; } pub type PFNGLTEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord3fv : PFNGLTEXCOORD3FVPROC ; } pub type PFNGLTEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint , t : GLint , r : GLint ) > ; extern "C" { pub static mut glad_glTexCoord3i : PFNGLTEXCOORD3IPROC ; } pub type PFNGLTEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord3iv : PFNGLTEXCOORD3IVPROC ; } pub type PFNGLTEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort , t : GLshort , r : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord3s : PFNGLTEXCOORD3SPROC ; } pub type PFNGLTEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord3sv : PFNGLTEXCOORD3SVPROC ; } pub type PFNGLTEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord4d : PFNGLTEXCOORD4DPROC ; } pub type PFNGLTEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord4dv : PFNGLTEXCOORD4DVPROC ; } pub type PFNGLTEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord4f : PFNGLTEXCOORD4FPROC ; } pub type PFNGLTEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord4fv : PFNGLTEXCOORD4FVPROC ; } pub type PFNGLTEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint , t : GLint , r : GLint , q : GLint ) > ; extern "C" { pub static mut glad_glTexCoord4i : PFNGLTEXCOORD4IPROC ; } pub type PFNGLTEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord4iv : PFNGLTEXCOORD4IVPROC ; } pub type PFNGLTEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort , t : GLshort , r : GLshort , q : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord4s : PFNGLTEXCOORD4SPROC ; } pub type PFNGLTEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord4sv : PFNGLTEXCOORD4SVPROC ; } pub type PFNGLVERTEX2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glVertex2d : PFNGLVERTEX2DPROC ; } pub type PFNGLVERTEX2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertex2dv : PFNGLVERTEX2DVPROC ; } pub type PFNGLVERTEX2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glVertex2f : PFNGLVERTEX2FPROC ; } pub type PFNGLVERTEX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertex2fv : PFNGLVERTEX2FVPROC ; } pub type PFNGLVERTEX2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glVertex2i : PFNGLVERTEX2IPROC ; } pub type PFNGLVERTEX2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glVertex2iv : PFNGLVERTEX2IVPROC ; } pub type PFNGLVERTEX2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glVertex2s : PFNGLVERTEX2SPROC ; } pub type PFNGLVERTEX2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertex2sv : PFNGLVERTEX2SVPROC ; } pub type PFNGLVERTEX3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glVertex3d : PFNGLVERTEX3DPROC ; } pub type PFNGLVERTEX3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertex3dv : PFNGLVERTEX3DVPROC ; } pub type PFNGLVERTEX3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glVertex3f : PFNGLVERTEX3FPROC ; } pub type PFNGLVERTEX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertex3fv : PFNGLVERTEX3FVPROC ; } pub type PFNGLVERTEX3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glVertex3i : PFNGLVERTEX3IPROC ; } pub type PFNGLVERTEX3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glVertex3iv : PFNGLVERTEX3IVPROC ; } pub type PFNGLVERTEX3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glVertex3s : PFNGLVERTEX3SPROC ; } pub type PFNGLVERTEX3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertex3sv : PFNGLVERTEX3SVPROC ; } pub type PFNGLVERTEX4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble ) > ; extern "C" { pub static mut glad_glVertex4d : PFNGLVERTEX4DPROC ; } pub type PFNGLVERTEX4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertex4dv : PFNGLVERTEX4DVPROC ; } pub type PFNGLVERTEX4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat ) > ; extern "C" { pub static mut glad_glVertex4f : PFNGLVERTEX4FPROC ; } pub type PFNGLVERTEX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertex4fv : PFNGLVERTEX4FVPROC ; } pub type PFNGLVERTEX4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint , w : GLint ) > ; extern "C" { pub static mut glad_glVertex4i : PFNGLVERTEX4IPROC ; } pub type PFNGLVERTEX4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glVertex4iv : PFNGLVERTEX4IVPROC ; } pub type PFNGLVERTEX4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort , w : GLshort ) > ; extern "C" { pub static mut glad_glVertex4s : PFNGLVERTEX4SPROC ; } pub type PFNGLVERTEX4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertex4sv : PFNGLVERTEX4SVPROC ; } pub type PFNGLCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn ( plane : GLenum , equation : * const GLdouble ) > ; extern "C" { pub static mut glad_glClipPlane : PFNGLCLIPPLANEPROC ; } pub type PFNGLCOLORMATERIALPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , mode : GLenum ) > ; extern "C" { pub static mut glad_glColorMaterial : PFNGLCOLORMATERIALPROC ; } pub type PFNGLFOGFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glFogf : PFNGLFOGFPROC ; } pub type PFNGLFOGFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glFogfv : PFNGLFOGFVPROC ; } pub type PFNGLFOGIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glFogi : PFNGLFOGIPROC ; } pub type PFNGLFOGIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glFogiv : PFNGLFOGIVPROC ; } pub type PFNGLLIGHTFPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glLightf : PFNGLLIGHTFPROC ; } pub type PFNGLLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glLightfv : PFNGLLIGHTFVPROC ; } pub type PFNGLLIGHTIPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glLighti : PFNGLLIGHTIPROC ; } pub type PFNGLLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glLightiv : PFNGLLIGHTIVPROC ; } pub type PFNGLLIGHTMODELFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glLightModelf : PFNGLLIGHTMODELFPROC ; } pub type PFNGLLIGHTMODELFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glLightModelfv : PFNGLLIGHTMODELFVPROC ; } pub type PFNGLLIGHTMODELIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glLightModeli : PFNGLLIGHTMODELIPROC ; } pub type PFNGLLIGHTMODELIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glLightModeliv : PFNGLLIGHTMODELIVPROC ; } pub type PFNGLLINESTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( factor : GLint , pattern : GLushort ) > ; extern "C" { pub static mut glad_glLineStipple : PFNGLLINESTIPPLEPROC ; } pub type PFNGLMATERIALFPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glMaterialf : PFNGLMATERIALFPROC ; } pub type PFNGLMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glMaterialfv : PFNGLMATERIALFVPROC ; } pub type PFNGLMATERIALIPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glMateriali : PFNGLMATERIALIPROC ; } pub type PFNGLMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glMaterialiv : PFNGLMATERIALIVPROC ; } pub type PFNGLPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : * const GLubyte ) > ; extern "C" { pub static mut glad_glPolygonStipple : PFNGLPOLYGONSTIPPLEPROC ; } pub type PFNGLSHADEMODELPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glShadeModel : PFNGLSHADEMODELPROC ; } pub type PFNGLTEXENVFPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glTexEnvf : PFNGLTEXENVFPROC ; } pub type PFNGLTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexEnvfv : PFNGLTEXENVFVPROC ; } pub type PFNGLTEXENVIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glTexEnvi : PFNGLTEXENVIPROC ; } pub type PFNGLTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexEnviv : PFNGLTEXENVIVPROC ; } pub type PFNGLTEXGENDPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , param : GLdouble ) > ; extern "C" { pub static mut glad_glTexGend : PFNGLTEXGENDPROC ; } pub type PFNGLTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexGendv : PFNGLTEXGENDVPROC ; } pub type PFNGLTEXGENFPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glTexGenf : PFNGLTEXGENFPROC ; } pub type PFNGLTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexGenfv : PFNGLTEXGENFVPROC ; } pub type PFNGLTEXGENIPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glTexGeni : PFNGLTEXGENIPROC ; } pub type PFNGLTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexGeniv : PFNGLTEXGENIVPROC ; } pub type PFNGLFEEDBACKBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLsizei , type_ : GLenum , buffer : * mut GLfloat ) > ; extern "C" { pub static mut glad_glFeedbackBuffer : PFNGLFEEDBACKBUFFERPROC ; } pub type PFNGLSELECTBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLsizei , buffer : * mut GLuint ) > ; extern "C" { pub static mut glad_glSelectBuffer : PFNGLSELECTBUFFERPROC ; } pub type PFNGLRENDERMODEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) -> GLint > ; extern "C" { pub static mut glad_glRenderMode : PFNGLRENDERMODEPROC ; } pub type PFNGLINITNAMESPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glInitNames : PFNGLINITNAMESPROC ; } pub type PFNGLLOADNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLuint ) > ; extern "C" { pub static mut glad_glLoadName : PFNGLLOADNAMEPROC ; } pub type PFNGLPASSTHROUGHPROC = :: std :: option :: Option < unsafe extern "C" fn ( token : GLfloat ) > ; extern "C" { pub static mut glad_glPassThrough : PFNGLPASSTHROUGHPROC ; } pub type PFNGLPOPNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopName : PFNGLPOPNAMEPROC ; } pub type PFNGLPUSHNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLuint ) > ; extern "C" { pub static mut glad_glPushName : PFNGLPUSHNAMEPROC ; } pub type PFNGLCLEARACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glClearAccum : PFNGLCLEARACCUMPROC ; } pub type PFNGLCLEARINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLfloat ) > ; extern "C" { pub static mut glad_glClearIndex : PFNGLCLEARINDEXPROC ; } pub type PFNGLINDEXMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLuint ) > ; extern "C" { pub static mut glad_glIndexMask : PFNGLINDEXMASKPROC ; } pub type PFNGLACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn ( op : GLenum , value : GLfloat ) > ; extern "C" { pub static mut glad_glAccum : PFNGLACCUMPROC ; } pub type PFNGLPOPATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopAttrib : PFNGLPOPATTRIBPROC ; } pub type PFNGLPUSHATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLbitfield ) > ; extern "C" { pub static mut glad_glPushAttrib : PFNGLPUSHATTRIBPROC ; } pub type PFNGLMAP1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLdouble , u2 : GLdouble , stride : GLint , order : GLint , points : * const GLdouble ) > ; extern "C" { pub static mut glad_glMap1d : PFNGLMAP1DPROC ; } pub type PFNGLMAP1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLfloat , u2 : GLfloat , stride : GLint , order : GLint , points : * const GLfloat ) > ; extern "C" { pub static mut glad_glMap1f : PFNGLMAP1FPROC ; } pub type PFNGLMAP2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLdouble , u2 : GLdouble , ustride : GLint , uorder : GLint , v1 : GLdouble , v2 : GLdouble , vstride : GLint , vorder : GLint , points : * const GLdouble ) > ; extern "C" { pub static mut glad_glMap2d : PFNGLMAP2DPROC ; } pub type PFNGLMAP2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLfloat , u2 : GLfloat , ustride : GLint , uorder : GLint , v1 : GLfloat , v2 : GLfloat , vstride : GLint , vorder : GLint , points : * const GLfloat ) > ; extern "C" { pub static mut glad_glMap2f : PFNGLMAP2FPROC ; } pub type PFNGLMAPGRID1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLdouble , u2 : GLdouble ) > ; extern "C" { pub static mut glad_glMapGrid1d : PFNGLMAPGRID1DPROC ; } pub type PFNGLMAPGRID1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLfloat , u2 : GLfloat ) > ; extern "C" { pub static mut glad_glMapGrid1f : PFNGLMAPGRID1FPROC ; } pub type PFNGLMAPGRID2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLdouble , u2 : GLdouble , vn : GLint , v1 : GLdouble , v2 : GLdouble ) > ; extern "C" { pub static mut glad_glMapGrid2d : PFNGLMAPGRID2DPROC ; } pub type PFNGLMAPGRID2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLfloat , u2 : GLfloat , vn : GLint , v1 : GLfloat , v2 : GLfloat ) > ; extern "C" { pub static mut glad_glMapGrid2f : PFNGLMAPGRID2FPROC ; } pub type PFNGLEVALCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord1d : PFNGLEVALCOORD1DPROC ; } pub type PFNGLEVALCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord1dv : PFNGLEVALCOORD1DVPROC ; } pub type PFNGLEVALCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord1f : PFNGLEVALCOORD1FPROC ; } pub type PFNGLEVALCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord1fv : PFNGLEVALCOORD1FVPROC ; } pub type PFNGLEVALCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLdouble , v : GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord2d : PFNGLEVALCOORD2DPROC ; } pub type PFNGLEVALCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord2dv : PFNGLEVALCOORD2DVPROC ; } pub type PFNGLEVALCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLfloat , v : GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord2f : PFNGLEVALCOORD2FPROC ; } pub type PFNGLEVALCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord2fv : PFNGLEVALCOORD2FVPROC ; } pub type PFNGLEVALMESH1PROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , i1 : GLint , i2 : GLint ) > ; extern "C" { pub static mut glad_glEvalMesh1 : PFNGLEVALMESH1PROC ; } pub type PFNGLEVALPOINT1PROC = :: std :: option :: Option < unsafe extern "C" fn ( i : GLint ) > ; extern "C" { pub static mut glad_glEvalPoint1 : PFNGLEVALPOINT1PROC ; } pub type PFNGLEVALMESH2PROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , i1 : GLint , i2 : GLint , j1 : GLint , j2 : GLint ) > ; extern "C" { pub static mut glad_glEvalMesh2 : PFNGLEVALMESH2PROC ; } pub type PFNGLEVALPOINT2PROC = :: std :: option :: Option < unsafe extern "C" fn ( i : GLint , j : GLint ) > ; extern "C" { pub static mut glad_glEvalPoint2 : PFNGLEVALPOINT2PROC ; } pub type PFNGLALPHAFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( func : GLenum , ref_ : GLfloat ) > ; extern "C" { pub static mut glad_glAlphaFunc : PFNGLALPHAFUNCPROC ; } pub type PFNGLPIXELZOOMPROC = :: std :: option :: Option < unsafe extern "C" fn ( xfactor : GLfloat , yfactor : GLfloat ) > ; extern "C" { pub static mut glad_glPixelZoom : PFNGLPIXELZOOMPROC ; } pub type PFNGLPIXELTRANSFERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glPixelTransferf : PFNGLPIXELTRANSFERFPROC ; } pub type PFNGLPIXELTRANSFERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glPixelTransferi : PFNGLPIXELTRANSFERIPROC ; } pub type PFNGLPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , mapsize : GLsizei , values : * const GLfloat ) > ; extern "C" { pub static mut glad_glPixelMapfv : PFNGLPIXELMAPFVPROC ; } pub type PFNGLPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , mapsize : GLsizei , values : * const GLuint ) > ; extern "C" { pub static mut glad_glPixelMapuiv : PFNGLPIXELMAPUIVPROC ; } pub type PFNGLPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , mapsize : GLsizei , values : * const GLushort ) > ; extern "C" { pub static mut glad_glPixelMapusv : PFNGLPIXELMAPUSVPROC ; } pub type PFNGLCOPYPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei , type_ : GLenum ) > ; extern "C" { pub static mut glad_glCopyPixels : PFNGLCOPYPIXELSPROC ; } pub type PFNGLDRAWPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn ( width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glDrawPixels : PFNGLDRAWPIXELSPROC ; } pub type PFNGLGETCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn ( plane : GLenum , equation : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetClipPlane : PFNGLGETCLIPPLANEPROC ; } pub type PFNGLGETLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetLightfv : PFNGLGETLIGHTFVPROC ; } pub type PFNGLGETLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetLightiv : PFNGLGETLIGHTIVPROC ; } pub type PFNGLGETMAPDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , query : GLenum , v : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetMapdv : PFNGLGETMAPDVPROC ; } pub type PFNGLGETMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , query : GLenum , v : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetMapfv : PFNGLGETMAPFVPROC ; } pub type PFNGLGETMAPIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , query : GLenum , v : * mut GLint ) > ; extern "C" { pub static mut glad_glGetMapiv : PFNGLGETMAPIVPROC ; } pub type PFNGLGETMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetMaterialfv : PFNGLGETMATERIALFVPROC ; } pub type PFNGLGETMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetMaterialiv : PFNGLGETMATERIALIVPROC ; } pub type PFNGLGETPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , values : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetPixelMapfv : PFNGLGETPIXELMAPFVPROC ; } pub type PFNGLGETPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , values : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetPixelMapuiv : PFNGLGETPIXELMAPUIVPROC ; } pub type PFNGLGETPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , values : * mut GLushort ) > ; extern "C" { pub static mut glad_glGetPixelMapusv : PFNGLGETPIXELMAPUSVPROC ; } pub type PFNGLGETPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : * mut GLubyte ) > ; extern "C" { pub static mut glad_glGetPolygonStipple : PFNGLGETPOLYGONSTIPPLEPROC ; } pub type PFNGLGETTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexEnvfv : PFNGLGETTEXENVFVPROC ; } pub type PFNGLGETTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexEnviv : PFNGLGETTEXENVIVPROC ; } pub type PFNGLGETTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetTexGendv : PFNGLGETTEXGENDVPROC ; } pub type PFNGLGETTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexGenfv : PFNGLGETTEXGENFVPROC ; } pub type PFNGLGETTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexGeniv : PFNGLGETTEXGENIVPROC ; } pub type PFNGLISLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsList : PFNGLISLISTPROC ; } pub type PFNGLFRUSTUMPROC = :: std :: option :: Option < unsafe extern "C" fn ( left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble ) > ; extern "C" { pub static mut glad_glFrustum : PFNGLFRUSTUMPROC ; } pub type PFNGLLOADIDENTITYPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glLoadIdentity : PFNGLLOADIDENTITYPROC ; } pub type PFNGLLOADMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glLoadMatrixf : PFNGLLOADMATRIXFPROC ; } pub type PFNGLLOADMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glLoadMatrixd : PFNGLLOADMATRIXDPROC ; } pub type PFNGLMATRIXMODEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glMatrixMode : PFNGLMATRIXMODEPROC ; } pub type PFNGLMULTMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultMatrixf : PFNGLMULTMATRIXFPROC ; } pub type PFNGLMULTMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultMatrixd : PFNGLMULTMATRIXDPROC ; } pub type PFNGLORTHOPROC = :: std :: option :: Option < unsafe extern "C" fn ( left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble ) > ; extern "C" { pub static mut glad_glOrtho : PFNGLORTHOPROC ; } pub type PFNGLPOPMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopMatrix : PFNGLPOPMATRIXPROC ; } pub type PFNGLPUSHMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPushMatrix : PFNGLPUSHMATRIXPROC ; } pub type PFNGLROTATEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( angle : GLdouble , x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glRotated : PFNGLROTATEDPROC ; } pub type PFNGLROTATEFPROC = :: std :: option :: Option < unsafe extern "C" fn ( angle : GLfloat , x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glRotatef : PFNGLROTATEFPROC ; } pub type PFNGLSCALEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glScaled : PFNGLSCALEDPROC ; } pub type PFNGLSCALEFPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glScalef : PFNGLSCALEFPROC ; } pub type PFNGLTRANSLATEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glTranslated : PFNGLTRANSLATEDPROC ; } pub type PFNGLTRANSLATEFPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glTranslatef : PFNGLTRANSLATEFPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , first : GLint , count : GLsizei ) > ; extern "C" { pub static mut glad_glDrawArrays : PFNGLDRAWARRAYSPROC ; } pub type PFNGLDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glDrawElements : PFNGLDRAWELEMENTSPROC ; } pub type PFNGLGETPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetPointerv : PFNGLGETPOINTERVPROC ; } pub type PFNGLPOLYGONOFFSETPROC = :: std :: option :: Option < unsafe extern "C" fn ( factor : GLfloat , units : GLfloat ) > ; extern "C" { pub static mut glad_glPolygonOffset : PFNGLPOLYGONOFFSETPROC ; } pub type PFNGLCOPYTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , border : GLint ) > ; extern "C" { pub static mut glad_glCopyTexImage1D : PFNGLCOPYTEXIMAGE1DPROC ; } pub type PFNGLCOPYTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , height : GLsizei , border : GLint ) > ; extern "C" { pub static mut glad_glCopyTexImage2D : PFNGLCOPYTEXIMAGE2DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , x : GLint , y : GLint , width : GLsizei ) > ; extern "C" { pub static mut glad_glCopyTexSubImage1D : PFNGLCOPYTEXSUBIMAGE1DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glCopyTexSubImage2D : PFNGLCOPYTEXSUBIMAGE2DPROC ; } pub type PFNGLTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexSubImage1D : PFNGLTEXSUBIMAGE1DPROC ; } pub type PFNGLTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexSubImage2D : PFNGLTEXSUBIMAGE2DPROC ; } pub type PFNGLBINDTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , texture : GLuint ) > ; extern "C" { pub static mut glad_glBindTexture : PFNGLBINDTEXTUREPROC ; } pub type PFNGLDELETETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteTextures : PFNGLDELETETEXTURESPROC ; } pub type PFNGLGENTEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenTextures : PFNGLGENTEXTURESPROC ; } pub type PFNGLISTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsTexture : PFNGLISTEXTUREPROC ; } pub type PFNGLARRAYELEMENTPROC = :: std :: option :: Option < unsafe extern "C" fn ( i : GLint ) > ; extern "C" { pub static mut glad_glArrayElement : PFNGLARRAYELEMENTPROC ; } pub type PFNGLCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glColorPointer : PFNGLCOLORPOINTERPROC ; } pub type PFNGLDISABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLenum ) > ; extern "C" { pub static mut glad_glDisableClientState : PFNGLDISABLECLIENTSTATEPROC ; } pub type PFNGLEDGEFLAGPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glEdgeFlagPointer : PFNGLEDGEFLAGPOINTERPROC ; } pub type PFNGLENABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLenum ) > ; extern "C" { pub static mut glad_glEnableClientState : PFNGLENABLECLIENTSTATEPROC ; } pub type PFNGLINDEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glIndexPointer : PFNGLINDEXPOINTERPROC ; } pub type PFNGLINTERLEAVEDARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( format : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glInterleavedArrays : PFNGLINTERLEAVEDARRAYSPROC ; } pub type PFNGLNORMALPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glNormalPointer : PFNGLNORMALPOINTERPROC ; } pub type PFNGLTEXCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexCoordPointer : PFNGLTEXCOORDPOINTERPROC ; } pub type PFNGLVERTEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glVertexPointer : PFNGLVERTEXPOINTERPROC ; } pub type PFNGLARETEXTURESRESIDENTPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * const GLuint , residences : * mut GLboolean ) -> GLboolean > ; extern "C" { pub static mut glad_glAreTexturesResident : PFNGLARETEXTURESRESIDENTPROC ; } pub type PFNGLPRIORITIZETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * const GLuint , priorities : * const GLfloat ) > ; extern "C" { pub static mut glad_glPrioritizeTextures : PFNGLPRIORITIZETEXTURESPROC ; } pub type PFNGLINDEXUBPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLubyte ) > ; extern "C" { pub static mut glad_glIndexub : PFNGLINDEXUBPROC ; } pub type PFNGLINDEXUBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLubyte ) > ; extern "C" { pub static mut glad_glIndexubv : PFNGLINDEXUBVPROC ; } pub type PFNGLPOPCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopClientAttrib : PFNGLPOPCLIENTATTRIBPROC ; } pub type PFNGLPUSHCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLbitfield ) > ; extern "C" { pub static mut glad_glPushClientAttrib : PFNGLPUSHCLIENTATTRIBPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWRANGEELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glDrawRangeElements : PFNGLDRAWRANGEELEMENTSPROC ; } pub type PFNGLTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexImage3D : PFNGLTEXIMAGE3DPROC ; } pub type PFNGLTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexSubImage3D : PFNGLTEXSUBIMAGE3DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glCopyTexSubImage3D : PFNGLCOPYTEXSUBIMAGE3DPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum ) > ; extern "C" { pub static mut glad_glActiveTexture : PFNGLACTIVETEXTUREPROC ; } pub type PFNGLSAMPLECOVERAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( value : GLfloat , invert : GLboolean ) > ; extern "C" { pub static mut glad_glSampleCoverage : PFNGLSAMPLECOVERAGEPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexImage3D : PFNGLCOMPRESSEDTEXIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexImage2D : PFNGLCOMPRESSEDTEXIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexImage1D : PFNGLCOMPRESSEDTEXIMAGE1DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexSubImage3D : PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexSubImage2D : PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexSubImage1D : PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC ; } pub type PFNGLGETCOMPRESSEDTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , img : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetCompressedTexImage : PFNGLGETCOMPRESSEDTEXIMAGEPROC ; } pub type PFNGLCLIENTACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum ) > ; extern "C" { pub static mut glad_glClientActiveTexture : PFNGLCLIENTACTIVETEXTUREPROC ; } pub type PFNGLMULTITEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord1d : PFNGLMULTITEXCOORD1DPROC ; } pub type PFNGLMULTITEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord1dv : PFNGLMULTITEXCOORD1DVPROC ; } pub type PFNGLMULTITEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord1f : PFNGLMULTITEXCOORD1FPROC ; } pub type PFNGLMULTITEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord1fv : PFNGLMULTITEXCOORD1FVPROC ; } pub type PFNGLMULTITEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord1i : PFNGLMULTITEXCOORD1IPROC ; } pub type PFNGLMULTITEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord1iv : PFNGLMULTITEXCOORD1IVPROC ; } pub type PFNGLMULTITEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord1s : PFNGLMULTITEXCOORD1SPROC ; } pub type PFNGLMULTITEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord1sv : PFNGLMULTITEXCOORD1SVPROC ; } pub type PFNGLMULTITEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble , t : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord2d : PFNGLMULTITEXCOORD2DPROC ; } pub type PFNGLMULTITEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord2dv : PFNGLMULTITEXCOORD2DVPROC ; } pub type PFNGLMULTITEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat , t : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord2f : PFNGLMULTITEXCOORD2FPROC ; } pub type PFNGLMULTITEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord2fv : PFNGLMULTITEXCOORD2FVPROC ; } pub type PFNGLMULTITEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint , t : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord2i : PFNGLMULTITEXCOORD2IPROC ; } pub type PFNGLMULTITEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord2iv : PFNGLMULTITEXCOORD2IVPROC ; } pub type PFNGLMULTITEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort , t : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord2s : PFNGLMULTITEXCOORD2SPROC ; } pub type PFNGLMULTITEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord2sv : PFNGLMULTITEXCOORD2SVPROC ; } pub type PFNGLMULTITEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord3d : PFNGLMULTITEXCOORD3DPROC ; } pub type PFNGLMULTITEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord3dv : PFNGLMULTITEXCOORD3DVPROC ; } pub type PFNGLMULTITEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord3f : PFNGLMULTITEXCOORD3FPROC ; } pub type PFNGLMULTITEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord3fv : PFNGLMULTITEXCOORD3FVPROC ; } pub type PFNGLMULTITEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint , t : GLint , r : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord3i : PFNGLMULTITEXCOORD3IPROC ; } pub type PFNGLMULTITEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord3iv : PFNGLMULTITEXCOORD3IVPROC ; } pub type PFNGLMULTITEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort , t : GLshort , r : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord3s : PFNGLMULTITEXCOORD3SPROC ; } pub type PFNGLMULTITEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord3sv : PFNGLMULTITEXCOORD3SVPROC ; } pub type PFNGLMULTITEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord4d : PFNGLMULTITEXCOORD4DPROC ; } pub type PFNGLMULTITEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord4dv : PFNGLMULTITEXCOORD4DVPROC ; } pub type PFNGLMULTITEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord4f : PFNGLMULTITEXCOORD4FPROC ; } pub type PFNGLMULTITEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord4fv : PFNGLMULTITEXCOORD4FVPROC ; } pub type PFNGLMULTITEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint , t : GLint , r : GLint , q : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord4i : PFNGLMULTITEXCOORD4IPROC ; } pub type PFNGLMULTITEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord4iv : PFNGLMULTITEXCOORD4IVPROC ; } pub type PFNGLMULTITEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort , t : GLshort , r : GLshort , q : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord4s : PFNGLMULTITEXCOORD4SPROC ; } pub type PFNGLMULTITEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord4sv : PFNGLMULTITEXCOORD4SVPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixf : PFNGLLOADTRANSPOSEMATRIXFPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixd : PFNGLLOADTRANSPOSEMATRIXDPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultTransposeMatrixf : PFNGLMULTTRANSPOSEMATRIXFPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultTransposeMatrixd : PFNGLMULTTRANSPOSEMATRIXDPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_4 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( sfactorRGB : GLenum , dfactorRGB : GLenum , sfactorAlpha : GLenum , dfactorAlpha : GLenum ) > ; extern "C" { pub static mut glad_glBlendFuncSeparate : PFNGLBLENDFUNCSEPARATEPROC ; } pub type PFNGLMULTIDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , first : * const GLint , count : * const GLsizei , drawcount : GLsizei ) > ; extern "C" { pub static mut glad_glMultiDrawArrays : PFNGLMULTIDRAWARRAYSPROC ; } pub type PFNGLMULTIDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei ) > ; extern "C" { pub static mut glad_glMultiDrawElements : PFNGLMULTIDRAWELEMENTSPROC ; } pub type PFNGLPOINTPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glPointParameterf : PFNGLPOINTPARAMETERFPROC ; } pub type PFNGLPOINTPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glPointParameterfv : PFNGLPOINTPARAMETERFVPROC ; } pub type PFNGLPOINTPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glPointParameteri : PFNGLPOINTPARAMETERIPROC ; } pub type PFNGLPOINTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glPointParameteriv : PFNGLPOINTPARAMETERIVPROC ; } pub type PFNGLFOGCOORDFPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLfloat ) > ; extern "C" { pub static mut glad_glFogCoordf : PFNGLFOGCOORDFPROC ; } pub type PFNGLFOGCOORDFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : * const GLfloat ) > ; extern "C" { pub static mut glad_glFogCoordfv : PFNGLFOGCOORDFVPROC ; } pub type PFNGLFOGCOORDDPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLdouble ) > ; extern "C" { pub static mut glad_glFogCoordd : PFNGLFOGCOORDDPROC ; } pub type PFNGLFOGCOORDDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : * const GLdouble ) > ; extern "C" { pub static mut glad_glFogCoorddv : PFNGLFOGCOORDDVPROC ; } pub type PFNGLFOGCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glFogCoordPointer : PFNGLFOGCOORDPOINTERPROC ; } pub type PFNGLSECONDARYCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLbyte , green : GLbyte , blue : GLbyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3b : PFNGLSECONDARYCOLOR3BPROC ; } pub type PFNGLSECONDARYCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3bv : PFNGLSECONDARYCOLOR3BVPROC ; } pub type PFNGLSECONDARYCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLdouble , green : GLdouble , blue : GLdouble ) > ; extern "C" { pub static mut glad_glSecondaryColor3d : PFNGLSECONDARYCOLOR3DPROC ; } pub type PFNGLSECONDARYCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glSecondaryColor3dv : PFNGLSECONDARYCOLOR3DVPROC ; } pub type PFNGLSECONDARYCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat ) > ; extern "C" { pub static mut glad_glSecondaryColor3f : PFNGLSECONDARYCOLOR3FPROC ; } pub type PFNGLSECONDARYCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glSecondaryColor3fv : PFNGLSECONDARYCOLOR3FVPROC ; } pub type PFNGLSECONDARYCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLint , green : GLint , blue : GLint ) > ; extern "C" { pub static mut glad_glSecondaryColor3i : PFNGLSECONDARYCOLOR3IPROC ; } pub type PFNGLSECONDARYCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glSecondaryColor3iv : PFNGLSECONDARYCOLOR3IVPROC ; } pub type PFNGLSECONDARYCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLshort , green : GLshort , blue : GLshort ) > ; extern "C" { pub static mut glad_glSecondaryColor3s : PFNGLSECONDARYCOLOR3SPROC ; } pub type PFNGLSECONDARYCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glSecondaryColor3sv : PFNGLSECONDARYCOLOR3SVPROC ; } pub type PFNGLSECONDARYCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLubyte , green : GLubyte , blue : GLubyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3ub : PFNGLSECONDARYCOLOR3UBPROC ; } pub type PFNGLSECONDARYCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLubyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3ubv : PFNGLSECONDARYCOLOR3UBVPROC ; } pub type PFNGLSECONDARYCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLuint , green : GLuint , blue : GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColor3ui : PFNGLSECONDARYCOLOR3UIPROC ; } pub type PFNGLSECONDARYCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColor3uiv : PFNGLSECONDARYCOLOR3UIVPROC ; } pub type PFNGLSECONDARYCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLushort , green : GLushort , blue : GLushort ) > ; extern "C" { pub static mut glad_glSecondaryColor3us : PFNGLSECONDARYCOLOR3USPROC ; } pub type PFNGLSECONDARYCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLushort ) > ; extern "C" { pub static mut glad_glSecondaryColor3usv : PFNGLSECONDARYCOLOR3USVPROC ; } pub type PFNGLSECONDARYCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glSecondaryColorPointer : PFNGLSECONDARYCOLORPOINTERPROC ; } pub type PFNGLWINDOWPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos2d : PFNGLWINDOWPOS2DPROC ; } pub type PFNGLWINDOWPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos2dv : PFNGLWINDOWPOS2DVPROC ; } pub type PFNGLWINDOWPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos2f : PFNGLWINDOWPOS2FPROC ; } pub type PFNGLWINDOWPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos2fv : PFNGLWINDOWPOS2FVPROC ; } pub type PFNGLWINDOWPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glWindowPos2i : PFNGLWINDOWPOS2IPROC ; } pub type PFNGLWINDOWPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glWindowPos2iv : PFNGLWINDOWPOS2IVPROC ; } pub type PFNGLWINDOWPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glWindowPos2s : PFNGLWINDOWPOS2SPROC ; } pub type PFNGLWINDOWPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glWindowPos2sv : PFNGLWINDOWPOS2SVPROC ; } pub type PFNGLWINDOWPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos3d : PFNGLWINDOWPOS3DPROC ; } pub type PFNGLWINDOWPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos3dv : PFNGLWINDOWPOS3DVPROC ; } pub type PFNGLWINDOWPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos3f : PFNGLWINDOWPOS3FPROC ; } pub type PFNGLWINDOWPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos3fv : PFNGLWINDOWPOS3FVPROC ; } pub type PFNGLWINDOWPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glWindowPos3i : PFNGLWINDOWPOS3IPROC ; } pub type PFNGLWINDOWPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glWindowPos3iv : PFNGLWINDOWPOS3IVPROC ; } pub type PFNGLWINDOWPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glWindowPos3s : PFNGLWINDOWPOS3SPROC ; } pub type PFNGLWINDOWPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glWindowPos3sv : PFNGLWINDOWPOS3SVPROC ; } pub type PFNGLBLENDCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glBlendColor : PFNGLBLENDCOLORPROC ; } pub type PFNGLBLENDEQUATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glBlendEquation : PFNGLBLENDEQUATIONPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_5 : :: std :: os :: raw :: c_int ; } pub type PFNGLGENQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , ids : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenQueries : PFNGLGENQUERIESPROC ; } pub type PFNGLDELETEQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , ids : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteQueries : PFNGLDELETEQUERIESPROC ; } pub type PFNGLISQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsQuery : PFNGLISQUERYPROC ; } pub type PFNGLBEGINQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , id : GLuint ) > ; extern "C" { pub static mut glad_glBeginQuery : PFNGLBEGINQUERYPROC ; } pub type PFNGLENDQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) > ; extern "C" { pub static mut glad_glEndQuery : PFNGLENDQUERYPROC ; } pub type PFNGLGETQUERYIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetQueryiv : PFNGLGETQUERYIVPROC ; } pub type PFNGLGETQUERYOBJECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetQueryObjectiv : PFNGLGETQUERYOBJECTIVPROC ; } pub type PFNGLGETQUERYOBJECTUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetQueryObjectuiv : PFNGLGETQUERYOBJECTUIVPROC ; } pub type PFNGLBINDBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , buffer : GLuint ) > ; extern "C" { pub static mut glad_glBindBuffer : PFNGLBINDBUFFERPROC ; } pub type PFNGLDELETEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , buffers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteBuffers : PFNGLDELETEBUFFERSPROC ; } pub type PFNGLGENBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , buffers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenBuffers : PFNGLGENBUFFERSPROC ; } pub type PFNGLISBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsBuffer : PFNGLISBUFFERPROC ; } pub type PFNGLBUFFERDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void , usage : GLenum ) > ; extern "C" { pub static mut glad_glBufferData : PFNGLBUFFERDATAPROC ; } pub type PFNGLBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glBufferSubData : PFNGLBUFFERSUBDATAPROC ; } pub type PFNGLGETBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetBufferSubData : PFNGLGETBUFFERSUBDATAPROC ; } pub type PFNGLMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , access : GLenum ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBuffer : PFNGLMAPBUFFERPROC ; } pub type PFNGLUNMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) -> GLboolean > ; extern "C" { pub static mut glad_glUnmapBuffer : PFNGLUNMAPBUFFERPROC ; } pub type PFNGLGETBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetBufferParameteriv : PFNGLGETBUFFERPARAMETERIVPROC ; } pub type PFNGLGETBUFFERPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetBufferPointerv : PFNGLGETBUFFERPOINTERVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDEQUATIONSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( modeRGB : GLenum , modeAlpha : GLenum ) > ; extern "C" { pub static mut glad_glBlendEquationSeparate : PFNGLBLENDEQUATIONSEPARATEPROC ; } pub type PFNGLDRAWBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , bufs : * const GLenum ) > ; extern "C" { pub static mut glad_glDrawBuffers : PFNGLDRAWBUFFERSPROC ; } pub type PFNGLSTENCILOPSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , sfail : GLenum , dpfail : GLenum , dppass : GLenum ) > ; extern "C" { pub static mut glad_glStencilOpSeparate : PFNGLSTENCILOPSEPARATEPROC ; } pub type PFNGLSTENCILFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , func : GLenum , ref_ : GLint , mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilFuncSeparate : PFNGLSTENCILFUNCSEPARATEPROC ; } pub type PFNGLSTENCILMASKSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilMaskSeparate : PFNGLSTENCILMASKSEPARATEPROC ; } pub type PFNGLATTACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , shader : GLuint ) > ; extern "C" { pub static mut glad_glAttachShader : PFNGLATTACHSHADERPROC ; } pub type PFNGLBINDATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , name : * const GLchar ) > ; extern "C" { pub static mut glad_glBindAttribLocation : PFNGLBINDATTRIBLOCATIONPROC ; } pub type PFNGLCOMPILESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint ) > ; extern "C" { pub static mut glad_glCompileShader : PFNGLCOMPILESHADERPROC ; } pub type PFNGLCREATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) -> GLuint > ; extern "C" { pub static mut glad_glCreateProgram : PFNGLCREATEPROGRAMPROC ; } pub type PFNGLCREATESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum ) -> GLuint > ; extern "C" { pub static mut glad_glCreateShader : PFNGLCREATESHADERPROC ; } pub type PFNGLDELETEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glDeleteProgram : PFNGLDELETEPROGRAMPROC ; } pub type PFNGLDELETESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint ) > ; extern "C" { pub static mut glad_glDeleteShader : PFNGLDELETESHADERPROC ; } pub type PFNGLDETACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , shader : GLuint ) > ; extern "C" { pub static mut glad_glDetachShader : PFNGLDETACHSHADERPROC ; } pub type PFNGLDISABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint ) > ; extern "C" { pub static mut glad_glDisableVertexAttribArray : PFNGLDISABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLENABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint ) > ; extern "C" { pub static mut glad_glEnableVertexAttribArray : PFNGLENABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLGETACTIVEATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveAttrib : PFNGLGETACTIVEATTRIBPROC ; } pub type PFNGLGETACTIVEUNIFORMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveUniform : PFNGLGETACTIVEUNIFORMPROC ; } pub type PFNGLGETATTACHEDSHADERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , maxCount : GLsizei , count : * mut GLsizei , shaders : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetAttachedShaders : PFNGLGETATTACHEDSHADERSPROC ; } pub type PFNGLGETATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetAttribLocation : PFNGLGETATTRIBLOCATIONPROC ; } pub type PFNGLGETPROGRAMIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetProgramiv : PFNGLGETPROGRAMIVPROC ; } pub type PFNGLGETPROGRAMINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetProgramInfoLog : PFNGLGETPROGRAMINFOLOGPROC ; } pub type PFNGLGETSHADERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetShaderiv : PFNGLGETSHADERIVPROC ; } pub type PFNGLGETSHADERINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetShaderInfoLog : PFNGLGETSHADERINFOLOGPROC ; } pub type PFNGLGETSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , source : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetShaderSource : PFNGLGETSHADERSOURCEPROC ; } pub type PFNGLGETUNIFORMLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetUniformLocation : PFNGLGETUNIFORMLOCATIONPROC ; } pub type PFNGLGETUNIFORMFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , location : GLint , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetUniformfv : PFNGLGETUNIFORMFVPROC ; } pub type PFNGLGETUNIFORMIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , location : GLint , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetUniformiv : PFNGLGETUNIFORMIVPROC ; } pub type PFNGLGETVERTEXATTRIBDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetVertexAttribdv : PFNGLGETVERTEXATTRIBDVPROC ; } pub type PFNGLGETVERTEXATTRIBFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetVertexAttribfv : PFNGLGETVERTEXATTRIBFVPROC ; } pub type PFNGLGETVERTEXATTRIBIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetVertexAttribiv : PFNGLGETVERTEXATTRIBIVPROC ; } pub type PFNGLGETVERTEXATTRIBPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , pointer : * mut * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetVertexAttribPointerv : PFNGLGETVERTEXATTRIBPOINTERVPROC ; } pub type PFNGLISPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsProgram : PFNGLISPROGRAMPROC ; } pub type PFNGLISSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsShader : PFNGLISSHADERPROC ; } pub type PFNGLLINKPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glLinkProgram : PFNGLLINKPROGRAMPROC ; } pub type PFNGLSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , count : GLsizei , string : * const * const GLchar , length : * const GLint ) > ; extern "C" { pub static mut glad_glShaderSource : PFNGLSHADERSOURCEPROC ; } pub type PFNGLUSEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glUseProgram : PFNGLUSEPROGRAMPROC ; } pub type PFNGLUNIFORM1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform1f : PFNGLUNIFORM1FPROC ; } pub type PFNGLUNIFORM2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat , v1 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform2f : PFNGLUNIFORM2FPROC ; } pub type PFNGLUNIFORM3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform3f : PFNGLUNIFORM3FPROC ; } pub type PFNGLUNIFORM4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat , v3 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform4f : PFNGLUNIFORM4FPROC ; } pub type PFNGLUNIFORM1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint ) > ; extern "C" { pub static mut glad_glUniform1i : PFNGLUNIFORM1IPROC ; } pub type PFNGLUNIFORM2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint , v1 : GLint ) > ; extern "C" { pub static mut glad_glUniform2i : PFNGLUNIFORM2IPROC ; } pub type PFNGLUNIFORM3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint , v1 : GLint , v2 : GLint ) > ; extern "C" { pub static mut glad_glUniform3i : PFNGLUNIFORM3IPROC ; } pub type PFNGLUNIFORM4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint , v1 : GLint , v2 : GLint , v3 : GLint ) > ; extern "C" { pub static mut glad_glUniform4i : PFNGLUNIFORM4IPROC ; } pub type PFNGLUNIFORM1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform1fv : PFNGLUNIFORM1FVPROC ; } pub type PFNGLUNIFORM2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform2fv : PFNGLUNIFORM2FVPROC ; } pub type PFNGLUNIFORM3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform3fv : PFNGLUNIFORM3FVPROC ; } pub type PFNGLUNIFORM4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform4fv : PFNGLUNIFORM4FVPROC ; } pub type PFNGLUNIFORM1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform1iv : PFNGLUNIFORM1IVPROC ; } pub type PFNGLUNIFORM2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform2iv : PFNGLUNIFORM2IVPROC ; } pub type PFNGLUNIFORM3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform3iv : PFNGLUNIFORM3IVPROC ; } pub type PFNGLUNIFORM4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform4iv : PFNGLUNIFORM4IVPROC ; } pub type PFNGLUNIFORMMATRIX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix2fv : PFNGLUNIFORMMATRIX2FVPROC ; } pub type PFNGLUNIFORMMATRIX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix3fv : PFNGLUNIFORMMATRIX3FVPROC ; } pub type PFNGLUNIFORMMATRIX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix4fv : PFNGLUNIFORMMATRIX4FVPROC ; } pub type PFNGLVALIDATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glValidateProgram : PFNGLVALIDATEPROGRAMPROC ; } pub type PFNGLVERTEXATTRIB1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib1d : PFNGLVERTEXATTRIB1DPROC ; } pub type PFNGLVERTEXATTRIB1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib1dv : PFNGLVERTEXATTRIB1DVPROC ; } pub type PFNGLVERTEXATTRIB1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib1f : PFNGLVERTEXATTRIB1FPROC ; } pub type PFNGLVERTEXATTRIB1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib1fv : PFNGLVERTEXATTRIB1FVPROC ; } pub type PFNGLVERTEXATTRIB1SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib1s : PFNGLVERTEXATTRIB1SPROC ; } pub type PFNGLVERTEXATTRIB1SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib1sv : PFNGLVERTEXATTRIB1SVPROC ; } pub type PFNGLVERTEXATTRIB2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib2d : PFNGLVERTEXATTRIB2DPROC ; } pub type PFNGLVERTEXATTRIB2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib2dv : PFNGLVERTEXATTRIB2DVPROC ; } pub type PFNGLVERTEXATTRIB2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib2f : PFNGLVERTEXATTRIB2FPROC ; } pub type PFNGLVERTEXATTRIB2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib2fv : PFNGLVERTEXATTRIB2FVPROC ; } pub type PFNGLVERTEXATTRIB2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib2s : PFNGLVERTEXATTRIB2SPROC ; } pub type PFNGLVERTEXATTRIB2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib2sv : PFNGLVERTEXATTRIB2SVPROC ; } pub type PFNGLVERTEXATTRIB3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib3d : PFNGLVERTEXATTRIB3DPROC ; } pub type PFNGLVERTEXATTRIB3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib3dv : PFNGLVERTEXATTRIB3DVPROC ; } pub type PFNGLVERTEXATTRIB3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib3f : PFNGLVERTEXATTRIB3FPROC ; } pub type PFNGLVERTEXATTRIB3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib3fv : PFNGLVERTEXATTRIB3FVPROC ; } pub type PFNGLVERTEXATTRIB3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib3s : PFNGLVERTEXATTRIB3SPROC ; } pub type PFNGLVERTEXATTRIB3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib3sv : PFNGLVERTEXATTRIB3SVPROC ; } pub type PFNGLVERTEXATTRIB4NBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLbyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nbv : PFNGLVERTEXATTRIB4NBVPROC ; } pub type PFNGLVERTEXATTRIB4NIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttrib4Niv : PFNGLVERTEXATTRIB4NIVPROC ; } pub type PFNGLVERTEXATTRIB4NSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nsv : PFNGLVERTEXATTRIB4NSVPROC ; } pub type PFNGLVERTEXATTRIB4NUBPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLubyte , y : GLubyte , z : GLubyte , w : GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nub : PFNGLVERTEXATTRIB4NUBPROC ; } pub type PFNGLVERTEXATTRIB4NUBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nubv : PFNGLVERTEXATTRIB4NUBVPROC ; } pub type PFNGLVERTEXATTRIB4NUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nuiv : PFNGLVERTEXATTRIB4NUIVPROC ; } pub type PFNGLVERTEXATTRIB4NUSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLushort ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nusv : PFNGLVERTEXATTRIB4NUSVPROC ; } pub type PFNGLVERTEXATTRIB4BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLbyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4bv : PFNGLVERTEXATTRIB4BVPROC ; } pub type PFNGLVERTEXATTRIB4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib4d : PFNGLVERTEXATTRIB4DPROC ; } pub type PFNGLVERTEXATTRIB4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib4dv : PFNGLVERTEXATTRIB4DVPROC ; } pub type PFNGLVERTEXATTRIB4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib4f : PFNGLVERTEXATTRIB4FPROC ; } pub type PFNGLVERTEXATTRIB4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib4fv : PFNGLVERTEXATTRIB4FVPROC ; } pub type PFNGLVERTEXATTRIB4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttrib4iv : PFNGLVERTEXATTRIB4IVPROC ; } pub type PFNGLVERTEXATTRIB4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort , y : GLshort , z : GLshort , w : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib4s : PFNGLVERTEXATTRIB4SPROC ; } pub type PFNGLVERTEXATTRIB4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib4sv : PFNGLVERTEXATTRIB4SVPROC ; } pub type PFNGLVERTEXATTRIB4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4ubv : PFNGLVERTEXATTRIB4UBVPROC ; } pub type PFNGLVERTEXATTRIB4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttrib4uiv : PFNGLVERTEXATTRIB4UIVPROC ; } pub type PFNGLVERTEXATTRIB4USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLushort ) > ; extern "C" { pub static mut glad_glVertexAttrib4usv : PFNGLVERTEXATTRIB4USVPROC ; } pub type PFNGLVERTEXATTRIBPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , size : GLint , type_ : GLenum , normalized : GLboolean , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glVertexAttribPointer : PFNGLVERTEXATTRIBPOINTERPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLUNIFORMMATRIX2X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix2x3fv : PFNGLUNIFORMMATRIX2X3FVPROC ; } pub type PFNGLUNIFORMMATRIX3X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix3x2fv : PFNGLUNIFORMMATRIX3X2FVPROC ; } pub type PFNGLUNIFORMMATRIX2X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix2x4fv : PFNGLUNIFORMMATRIX2X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix4x2fv : PFNGLUNIFORMMATRIX4X2FVPROC ; } pub type PFNGLUNIFORMMATRIX3X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix3x4fv : PFNGLUNIFORMMATRIX3X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix4x3fv : PFNGLUNIFORMMATRIX4X3FVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCOLORMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , r : GLboolean , g : GLboolean , b : GLboolean , a : GLboolean ) > ; extern "C" { pub static mut glad_glColorMaski : PFNGLCOLORMASKIPROC ; } pub type PFNGLGETBOOLEANI_VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , data : * mut GLboolean ) > ; extern "C" { pub static mut glad_glGetBooleani_v : PFNGLGETBOOLEANI_VPROC ; } pub type PFNGLGETINTEGERI_VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , data : * mut GLint ) > ; extern "C" { pub static mut glad_glGetIntegeri_v : PFNGLGETINTEGERI_VPROC ; } pub type PFNGLENABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint ) > ; extern "C" { pub static mut glad_glEnablei : PFNGLENABLEIPROC ; } pub type PFNGLDISABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint ) > ; extern "C" { pub static mut glad_glDisablei : PFNGLDISABLEIPROC ; } pub type PFNGLISENABLEDIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabledi : PFNGLISENABLEDIPROC ; } pub type PFNGLBEGINTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn ( primitiveMode : GLenum ) > ; extern "C" { pub static mut glad_glBeginTransformFeedback : PFNGLBEGINTRANSFORMFEEDBACKPROC ; } pub type PFNGLENDTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEndTransformFeedback : PFNGLENDTRANSFORMFEEDBACKPROC ; } pub type PFNGLBINDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , buffer : GLuint , offset : GLintptr , size : GLsizeiptr ) > ; extern "C" { pub static mut glad_glBindBufferRange : PFNGLBINDBUFFERRANGEPROC ; } pub type PFNGLBINDBUFFERBASEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , buffer : GLuint ) > ; extern "C" { pub static mut glad_glBindBufferBase : PFNGLBINDBUFFERBASEPROC ; } pub type PFNGLTRANSFORMFEEDBACKVARYINGSPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , count : GLsizei , varyings : * const * const GLchar , bufferMode : GLenum ) > ; extern "C" { pub static mut glad_glTransformFeedbackVaryings : PFNGLTRANSFORMFEEDBACKVARYINGSPROC ; } pub type PFNGLGETTRANSFORMFEEDBACKVARYINGPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLsizei , type_ : * mut GLenum , name : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetTransformFeedbackVarying : PFNGLGETTRANSFORMFEEDBACKVARYINGPROC ; } pub type PFNGLCLAMPCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , clamp : GLenum ) > ; extern "C" { pub static mut glad_glClampColor : PFNGLCLAMPCOLORPROC ; } pub type PFNGLBEGINCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , mode : GLenum ) > ; extern "C" { pub static mut glad_glBeginConditionalRender : PFNGLBEGINCONDITIONALRENDERPROC ; } pub type PFNGLENDCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEndConditionalRender : PFNGLENDCONDITIONALRENDERPROC ; } pub type PFNGLVERTEXATTRIBIPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glVertexAttribIPointer : PFNGLVERTEXATTRIBIPOINTERPROC ; } pub type PFNGLGETVERTEXATTRIBIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetVertexAttribIiv : PFNGLGETVERTEXATTRIBIIVPROC ; } pub type PFNGLGETVERTEXATTRIBIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetVertexAttribIuiv : PFNGLGETVERTEXATTRIBIUIVPROC ; } pub type PFNGLVERTEXATTRIBI1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI1i : PFNGLVERTEXATTRIBI1IPROC ; } pub type PFNGLVERTEXATTRIBI2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI2i : PFNGLVERTEXATTRIBI2IPROC ; } pub type PFNGLVERTEXATTRIBI3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI3i : PFNGLVERTEXATTRIBI3IPROC ; } pub type PFNGLVERTEXATTRIBI4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint , y : GLint , z : GLint , w : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI4i : PFNGLVERTEXATTRIBI4IPROC ; } pub type PFNGLVERTEXATTRIBI1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI1ui : PFNGLVERTEXATTRIBI1UIPROC ; } pub type PFNGLVERTEXATTRIBI2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint , y : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI2ui : PFNGLVERTEXATTRIBI2UIPROC ; } pub type PFNGLVERTEXATTRIBI3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint , y : GLuint , z : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI3ui : PFNGLVERTEXATTRIBI3UIPROC ; } pub type PFNGLVERTEXATTRIBI4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint , y : GLuint , z : GLuint , w : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI4ui : PFNGLVERTEXATTRIBI4UIPROC ; } pub type PFNGLVERTEXATTRIBI1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI1iv : PFNGLVERTEXATTRIBI1IVPROC ; } pub type PFNGLVERTEXATTRIBI2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI2iv : PFNGLVERTEXATTRIBI2IVPROC ; } pub type PFNGLVERTEXATTRIBI3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI3iv : PFNGLVERTEXATTRIBI3IVPROC ; } pub type PFNGLVERTEXATTRIBI4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI4iv : PFNGLVERTEXATTRIBI4IVPROC ; } pub type PFNGLVERTEXATTRIBI1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI1uiv : PFNGLVERTEXATTRIBI1UIVPROC ; } pub type PFNGLVERTEXATTRIBI2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI2uiv : PFNGLVERTEXATTRIBI2UIVPROC ; } pub type PFNGLVERTEXATTRIBI3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI3uiv : PFNGLVERTEXATTRIBI3UIVPROC ; } pub type PFNGLVERTEXATTRIBI4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI4uiv : PFNGLVERTEXATTRIBI4UIVPROC ; } pub type PFNGLVERTEXATTRIBI4BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLbyte ) > ; extern "C" { pub static mut glad_glVertexAttribI4bv : PFNGLVERTEXATTRIBI4BVPROC ; } pub type PFNGLVERTEXATTRIBI4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttribI4sv : PFNGLVERTEXATTRIBI4SVPROC ; } pub type PFNGLVERTEXATTRIBI4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttribI4ubv : PFNGLVERTEXATTRIBI4UBVPROC ; } pub type PFNGLVERTEXATTRIBI4USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLushort ) > ; extern "C" { pub static mut glad_glVertexAttribI4usv : PFNGLVERTEXATTRIBI4USVPROC ; } pub type PFNGLGETUNIFORMUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , location : GLint , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetUniformuiv : PFNGLGETUNIFORMUIVPROC ; } pub type PFNGLBINDFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , color : GLuint , name : * const GLchar ) > ; extern "C" { pub static mut glad_glBindFragDataLocation : PFNGLBINDFRAGDATALOCATIONPROC ; } pub type PFNGLGETFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataLocation : PFNGLGETFRAGDATALOCATIONPROC ; } pub type PFNGLUNIFORM1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint ) > ; extern "C" { pub static mut glad_glUniform1ui : PFNGLUNIFORM1UIPROC ; } pub type PFNGLUNIFORM2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint , v1 : GLuint ) > ; extern "C" { pub static mut glad_glUniform2ui : PFNGLUNIFORM2UIPROC ; } pub type PFNGLUNIFORM3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint ) > ; extern "C" { pub static mut glad_glUniform3ui : PFNGLUNIFORM3UIPROC ; } pub type PFNGLUNIFORM4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint , v3 : GLuint ) > ; extern "C" { pub static mut glad_glUniform4ui : PFNGLUNIFORM4UIPROC ; } pub type PFNGLUNIFORM1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform1uiv : PFNGLUNIFORM1UIVPROC ; } pub type PFNGLUNIFORM2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform2uiv : PFNGLUNIFORM2UIVPROC ; } pub type PFNGLUNIFORM3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform3uiv : PFNGLUNIFORM3UIVPROC ; } pub type PFNGLUNIFORM4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform4uiv : PFNGLUNIFORM4UIVPROC ; } pub type PFNGLTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexParameterIiv : PFNGLTEXPARAMETERIIVPROC ; } pub type PFNGLTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLuint ) > ; extern "C" { pub static mut glad_glTexParameterIuiv : PFNGLTEXPARAMETERIUIVPROC ; } pub type PFNGLGETTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexParameterIiv : PFNGLGETTEXPARAMETERIIVPROC ; } pub type PFNGLGETTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetTexParameterIuiv : PFNGLGETTEXPARAMETERIUIVPROC ; } pub type PFNGLCLEARBUFFERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , value : * const GLint ) > ; extern "C" { pub static mut glad_glClearBufferiv : PFNGLCLEARBUFFERIVPROC ; } pub type PFNGLCLEARBUFFERUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , value : * const GLuint ) > ; extern "C" { pub static mut glad_glClearBufferuiv : PFNGLCLEARBUFFERUIVPROC ; } pub type PFNGLCLEARBUFFERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glClearBufferfv : PFNGLCLEARBUFFERFVPROC ; } pub type PFNGLCLEARBUFFERFIPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , depth : GLfloat , stencil : GLint ) > ; extern "C" { pub static mut glad_glClearBufferfi : PFNGLCLEARBUFFERFIPROC ; } pub type PFNGLGETSTRINGIPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLenum , index : GLuint ) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetStringi : PFNGLGETSTRINGIPROC ; } pub type PFNGLISRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( renderbuffer : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsRenderbuffer : PFNGLISRENDERBUFFERPROC ; } pub type PFNGLBINDRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , renderbuffer : GLuint ) > ; extern "C" { pub static mut glad_glBindRenderbuffer : PFNGLBINDRENDERBUFFERPROC ; } pub type PFNGLDELETERENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , renderbuffers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteRenderbuffers : PFNGLDELETERENDERBUFFERSPROC ; } pub type PFNGLGENRENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , renderbuffers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenRenderbuffers : PFNGLGENRENDERBUFFERSPROC ; } pub type PFNGLRENDERBUFFERSTORAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , internalformat : GLenum , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glRenderbufferStorage : PFNGLRENDERBUFFERSTORAGEPROC ; } pub type PFNGLGETRENDERBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetRenderbufferParameteriv : PFNGLGETRENDERBUFFERPARAMETERIVPROC ; } pub type PFNGLISFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( framebuffer : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsFramebuffer : PFNGLISFRAMEBUFFERPROC ; } pub type PFNGLBINDFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , framebuffer : GLuint ) > ; extern "C" { pub static mut glad_glBindFramebuffer : PFNGLBINDFRAMEBUFFERPROC ; } pub type PFNGLDELETEFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , framebuffers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteFramebuffers : PFNGLDELETEFRAMEBUFFERSPROC ; } pub type PFNGLGENFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , framebuffers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenFramebuffers : PFNGLGENFRAMEBUFFERSPROC ; } pub type PFNGLCHECKFRAMEBUFFERSTATUSPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) -> GLenum > ; extern "C" { pub static mut glad_glCheckFramebufferStatus : PFNGLCHECKFRAMEBUFFERSTATUSPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture1D : PFNGLFRAMEBUFFERTEXTURE1DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture2D : PFNGLFRAMEBUFFERTEXTURE2DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint , zoffset : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture3D : PFNGLFRAMEBUFFERTEXTURE3DPROC ; } pub type PFNGLFRAMEBUFFERRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , renderbuffertarget : GLenum , renderbuffer : GLuint ) > ; extern "C" { pub static mut glad_glFramebufferRenderbuffer : PFNGLFRAMEBUFFERRENDERBUFFERPROC ; } pub type PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetFramebufferAttachmentParameteriv : PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC ; } pub type PFNGLGENERATEMIPMAPPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) > ; extern "C" { pub static mut glad_glGenerateMipmap : PFNGLGENERATEMIPMAPPROC ; } pub type PFNGLBLITFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( srcX0 : GLint , srcY0 : GLint , srcX1 : GLint , srcY1 : GLint , dstX0 : GLint , dstY0 : GLint , dstX1 : GLint , dstY1 : GLint , mask : GLbitfield , filter : GLenum ) > ; extern "C" { pub static mut glad_glBlitFramebuffer : PFNGLBLITFRAMEBUFFERPROC ; } pub type PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glRenderbufferStorageMultisample : PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC ; } pub type PFNGLFRAMEBUFFERTEXTURELAYERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , texture : GLuint , level : GLint , layer : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTextureLayer : PFNGLFRAMEBUFFERTEXTURELAYERPROC ; } pub type PFNGLMAPBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , length : GLsizeiptr , access : GLbitfield ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBufferRange : PFNGLMAPBUFFERRANGEPROC ; } pub type PFNGLFLUSHMAPPEDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , length : GLsizeiptr ) > ; extern "C" { pub static mut glad_glFlushMappedBufferRange : PFNGLFLUSHMAPPEDBUFFERRANGEPROC ; } pub type PFNGLBINDVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLuint ) > ; extern "C" { pub static mut glad_glBindVertexArray : PFNGLBINDVERTEXARRAYPROC ; } pub type PFNGLDELETEVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , arrays : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteVertexArrays : PFNGLDELETEVERTEXARRAYSPROC ; } pub type PFNGLGENVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , arrays : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenVertexArrays : PFNGLGENVERTEXARRAYSPROC ; } pub type PFNGLISVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsVertexArray : PFNGLISVERTEXARRAYPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , first : GLint , count : GLsizei , instancecount : GLsizei ) > ; extern "C" { pub static mut glad_glDrawArraysInstanced : PFNGLDRAWARRAYSINSTANCEDPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei ) > ; extern "C" { pub static mut glad_glDrawElementsInstanced : PFNGLDRAWELEMENTSINSTANCEDPROC ; } pub type PFNGLTEXBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , internalformat : GLenum , buffer : GLuint ) > ; extern "C" { pub static mut glad_glTexBuffer : PFNGLTEXBUFFERPROC ; } pub type PFNGLPRIMITIVERESTARTINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint ) > ; extern "C" { pub static mut glad_glPrimitiveRestartIndex : PFNGLPRIMITIVERESTARTINDEXPROC ; } pub type PFNGLCOPYBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( readTarget : GLenum , writeTarget : GLenum , readOffset : GLintptr , writeOffset : GLintptr , size : GLsizeiptr ) > ; extern "C" { pub static mut glad_glCopyBufferSubData : PFNGLCOPYBUFFERSUBDATAPROC ; } pub type PFNGLGETUNIFORMINDICESPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformCount : GLsizei , uniformNames : * const * const GLchar , uniformIndices : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetUniformIndices : PFNGLGETUNIFORMINDICESPROC ; } pub type PFNGLGETACTIVEUNIFORMSIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformCount : GLsizei , uniformIndices : * const GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetActiveUniformsiv : PFNGLGETACTIVEUNIFORMSIVPROC ; } pub type PFNGLGETACTIVEUNIFORMNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformName : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveUniformName : PFNGLGETACTIVEUNIFORMNAMEPROC ; } pub type PFNGLGETUNIFORMBLOCKINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockName : * const GLchar ) -> GLuint > ; extern "C" { pub static mut glad_glGetUniformBlockIndex : PFNGLGETUNIFORMBLOCKINDEXPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockIndex : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockiv : PFNGLGETACTIVEUNIFORMBLOCKIVPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformBlockName : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockName : PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC ; } pub type PFNGLUNIFORMBLOCKBINDINGPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockIndex : GLuint , uniformBlockBinding : GLuint ) > ; extern "C" { pub static mut glad_glUniformBlockBinding : PFNGLUNIFORMBLOCKBINDINGPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint ) > ; extern "C" { pub static mut glad_glDrawElementsBaseVertex : PFNGLDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint ) > ; extern "C" { pub static mut glad_glDrawRangeElementsBaseVertex : PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei , basevertex : GLint ) > ; extern "C" { pub static mut glad_glDrawElementsInstancedBaseVertex : PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC ; } pub type PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei , basevertex : * const GLint ) > ; extern "C" { pub static mut glad_glMultiDrawElementsBaseVertex : PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLPROVOKINGVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glProvokingVertex : PFNGLPROVOKINGVERTEXPROC ; } pub type PFNGLFENCESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( condition : GLenum , flags : GLbitfield ) -> GLsync > ; extern "C" { pub static mut glad_glFenceSync : PFNGLFENCESYNCPROC ; } pub type PFNGLISSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync ) -> GLboolean > ; extern "C" { pub static mut glad_glIsSync : PFNGLISSYNCPROC ; } pub type PFNGLDELETESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync ) > ; extern "C" { pub static mut glad_glDeleteSync : PFNGLDELETESYNCPROC ; } pub type PFNGLCLIENTWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync , flags : GLbitfield , timeout : GLuint64 ) -> GLenum > ; extern "C" { pub static mut glad_glClientWaitSync : PFNGLCLIENTWAITSYNCPROC ; } pub type PFNGLWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync , flags : GLbitfield , timeout : GLuint64 ) > ; extern "C" { pub static mut glad_glWaitSync : PFNGLWAITSYNCPROC ; } pub type PFNGLGETINTEGER64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetInteger64v : PFNGLGETINTEGER64VPROC ; } pub type PFNGLGETSYNCIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync , pname : GLenum , count : GLsizei , length : * mut GLsizei , values : * mut GLint ) > ; extern "C" { pub static mut glad_glGetSynciv : PFNGLGETSYNCIVPROC ; } pub type PFNGLGETINTEGER64I_VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , data : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetInteger64i_v : PFNGLGETINTEGER64I_VPROC ; } pub type PFNGLGETBUFFERPARAMETERI64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetBufferParameteri64v : PFNGLGETBUFFERPARAMETERI64VPROC ; } pub type PFNGLFRAMEBUFFERTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , texture : GLuint , level : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture : PFNGLFRAMEBUFFERTEXTUREPROC ; } pub type PFNGLTEXIMAGE2DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , fixedsamplelocations : GLboolean ) > ; extern "C" { pub static mut glad_glTexImage2DMultisample : PFNGLTEXIMAGE2DMULTISAMPLEPROC ; } pub type PFNGLTEXIMAGE3DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , fixedsamplelocations : GLboolean ) > ; extern "C" { pub static mut glad_glTexImage3DMultisample : PFNGLTEXIMAGE3DMULTISAMPLEPROC ; } pub type PFNGLGETMULTISAMPLEFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , index : GLuint , val : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetMultisamplefv : PFNGLGETMULTISAMPLEFVPROC ; } pub type PFNGLSAMPLEMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn ( maskNumber : GLuint , mask : GLbitfield ) > ; extern "C" { pub static mut glad_glSampleMaski : PFNGLSAMPLEMASKIPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLBINDFRAGDATALOCATIONINDEXEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , colorNumber : GLuint , index : GLuint , name : * const GLchar ) > ; extern "C" { pub static mut glad_glBindFragDataLocationIndexed : PFNGLBINDFRAGDATALOCATIONINDEXEDPROC ; } pub type PFNGLGETFRAGDATAINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataIndex : PFNGLGETFRAGDATAINDEXPROC ; } pub type PFNGLGENSAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( count : GLsizei , samplers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenSamplers : PFNGLGENSAMPLERSPROC ; } pub type PFNGLDELETESAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( count : GLsizei , samplers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteSamplers : PFNGLDELETESAMPLERSPROC ; } pub type PFNGLISSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsSampler : PFNGLISSAMPLERPROC ; } pub type PFNGLBINDSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn ( unit : GLuint , sampler : GLuint ) > ; extern "C" { pub static mut glad_glBindSampler : PFNGLBINDSAMPLERPROC ; } pub type PFNGLSAMPLERPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glSamplerParameteri : PFNGLSAMPLERPARAMETERIPROC ; } pub type PFNGLSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLint ) > ; extern "C" { pub static mut glad_glSamplerParameteriv : PFNGLSAMPLERPARAMETERIVPROC ; } pub type PFNGLSAMPLERPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glSamplerParameterf : PFNGLSAMPLERPARAMETERFPROC ; } pub type PFNGLSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLfloat ) > ; extern "C" { pub static mut glad_glSamplerParameterfv : PFNGLSAMPLERPARAMETERFVPROC ; } pub type PFNGLSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLint ) > ; extern "C" { pub static mut glad_glSamplerParameterIiv : PFNGLSAMPLERPARAMETERIIVPROC ; } pub type PFNGLSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLuint ) > ; extern "C" { pub static mut glad_glSamplerParameterIuiv : PFNGLSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetSamplerParameteriv : PFNGLGETSAMPLERPARAMETERIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetSamplerParameterIiv : PFNGLGETSAMPLERPARAMETERIIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetSamplerParameterfv : PFNGLGETSAMPLERPARAMETERFVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetSamplerParameterIuiv : PFNGLGETSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLQUERYCOUNTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , target : GLenum ) > ; extern "C" { pub static mut glad_glQueryCounter : PFNGLQUERYCOUNTERPROC ; } pub type PFNGLGETQUERYOBJECTI64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetQueryObjecti64v : PFNGLGETQUERYOBJECTI64VPROC ; } pub type PFNGLGETQUERYOBJECTUI64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLuint64 ) > ; extern "C" { pub static mut glad_glGetQueryObjectui64v : PFNGLGETQUERYOBJECTUI64VPROC ; } pub type PFNGLVERTEXATTRIBDIVISORPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , divisor : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribDivisor : PFNGLVERTEXATTRIBDIVISORPROC ; } pub type PFNGLVERTEXATTRIBP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP1ui : PFNGLVERTEXATTRIBP1UIPROC ; } pub type PFNGLVERTEXATTRIBP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP1uiv : PFNGLVERTEXATTRIBP1UIVPROC ; } pub type PFNGLVERTEXATTRIBP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP2ui : PFNGLVERTEXATTRIBP2UIPROC ; } pub type PFNGLVERTEXATTRIBP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP2uiv : PFNGLVERTEXATTRIBP2UIVPROC ; } pub type PFNGLVERTEXATTRIBP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP3ui : PFNGLVERTEXATTRIBP3UIPROC ; } pub type PFNGLVERTEXATTRIBP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP3uiv : PFNGLVERTEXATTRIBP3UIVPROC ; } pub type PFNGLVERTEXATTRIBP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP4ui : PFNGLVERTEXATTRIBP4UIPROC ; } pub type PFNGLVERTEXATTRIBP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP4uiv : PFNGLVERTEXATTRIBP4UIVPROC ; } pub type PFNGLVERTEXP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexP2ui : PFNGLVERTEXP2UIPROC ; } pub type PFNGLVERTEXP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexP2uiv : PFNGLVERTEXP2UIVPROC ; } pub type PFNGLVERTEXP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexP3ui : PFNGLVERTEXP3UIPROC ; } pub type PFNGLVERTEXP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexP3uiv : PFNGLVERTEXP3UIVPROC ; } pub type PFNGLVERTEXP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexP4ui : PFNGLVERTEXP4UIPROC ; } pub type PFNGLVERTEXP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexP4uiv : PFNGLVERTEXP4UIVPROC ; } pub type PFNGLTEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP1ui : PFNGLTEXCOORDP1UIPROC ; } pub type PFNGLTEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP1uiv : PFNGLTEXCOORDP1UIVPROC ; } pub type PFNGLTEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP2ui : PFNGLTEXCOORDP2UIPROC ; } pub type PFNGLTEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP2uiv : PFNGLTEXCOORDP2UIVPROC ; } pub type PFNGLTEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP3ui : PFNGLTEXCOORDP3UIPROC ; } pub type PFNGLTEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP3uiv : PFNGLTEXCOORDP3UIVPROC ; } pub type PFNGLTEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP4ui : PFNGLTEXCOORDP4UIPROC ; } pub type PFNGLTEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP4uiv : PFNGLTEXCOORDP4UIVPROC ; } pub type PFNGLMULTITEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP1ui : PFNGLMULTITEXCOORDP1UIPROC ; } pub type PFNGLMULTITEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP1uiv : PFNGLMULTITEXCOORDP1UIVPROC ; } pub type PFNGLMULTITEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP2ui : PFNGLMULTITEXCOORDP2UIPROC ; } pub type PFNGLMULTITEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP2uiv : PFNGLMULTITEXCOORDP2UIVPROC ; } pub type PFNGLMULTITEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP3ui : PFNGLMULTITEXCOORDP3UIPROC ; } pub type PFNGLMULTITEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP3uiv : PFNGLMULTITEXCOORDP3UIVPROC ; } pub type PFNGLMULTITEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP4ui : PFNGLMULTITEXCOORDP4UIPROC ; } pub type PFNGLMULTITEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP4uiv : PFNGLMULTITEXCOORDP4UIVPROC ; } pub type PFNGLNORMALP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glNormalP3ui : PFNGLNORMALP3UIPROC ; } pub type PFNGLNORMALP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glNormalP3uiv : PFNGLNORMALP3UIVPROC ; } pub type PFNGLCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : GLuint ) > ; extern "C" { pub static mut glad_glColorP3ui : PFNGLCOLORP3UIPROC ; } pub type PFNGLCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : * const GLuint ) > ; extern "C" { pub static mut glad_glColorP3uiv : PFNGLCOLORP3UIVPROC ; } pub type PFNGLCOLORP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : GLuint ) > ; extern "C" { pub static mut glad_glColorP4ui : PFNGLCOLORP4UIPROC ; } pub type PFNGLCOLORP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : * const GLuint ) > ; extern "C" { pub static mut glad_glColorP4uiv : PFNGLCOLORP4UIVPROC ; } pub type PFNGLSECONDARYCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColorP3ui : PFNGLSECONDARYCOLORP3UIPROC ; } pub type PFNGLSECONDARYCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : * const GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColorP3uiv : PFNGLSECONDARYCOLORP3UIVPROC ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_sizei { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_sizei ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_sizei > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_sizei ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_sizei > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_sizei ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizei > ( ) ) ) . width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizei ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizei > ( ) ) ) . height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizei ) , "::" , stringify ! ( height ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_sizef { pub width : f32 , pub height : f32 , } # [ test ] fn bindgen_test_layout_rf_sizef ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_sizef > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_sizef ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_sizef > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_sizef ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizef > ( ) ) ) . width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizef ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizef > ( ) ) ) . height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizef ) , "::" , stringify ! ( height ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_vector2 { pub x : f32 , pub y : f32 , } # [ test ] fn bindgen_test_layout_rf_vector2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_vector2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_vector2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_vector2 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_vector2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector2 > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector2 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector2 > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector2 ) , "::" , stringify ! ( y ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_vector3 { pub x : f32 , pub y : f32 , pub z : f32 , } # [ test ] fn bindgen_test_layout_rf_vector3 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_vector3 > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( rf_vector3 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_vector3 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_vector3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector3 > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector3 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector3 > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector3 ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector3 > ( ) ) ) . z as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector3 ) , "::" , stringify ! ( z ) ) ) ; } pub type rf_quaternion = rf_vector4 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_vector4 { pub x : f32 , pub y : f32 , pub z : f32 , pub w : f32 , } # [ test ] fn bindgen_test_layout_rf_vector4 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_vector4 > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_vector4 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_vector4 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_vector4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . z as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . w as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( w ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_matrix { pub m0 : f32 , pub m4 : f32 , pub m8 : f32 , pub m12 : f32 , pub m1 : f32 , pub m5 : f32 , pub m9 : f32 , pub m13 : f32 , pub m2 : f32 , pub m6 : f32 , pub m10 : f32 , pub m14 : f32 , pub m3 : f32 , pub m7 : f32 , pub m11 : f32 , pub m15 : f32 , } # [ test ] fn bindgen_test_layout_rf_matrix ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_matrix > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( rf_matrix ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_matrix > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m4 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m8 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m8 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m12 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m12 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m5 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m9 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m9 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m13 as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m13 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m2 as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m6 as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m10 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m10 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m14 as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m14 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m3 as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m7 as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m7 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m11 as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m11 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m15 as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m15 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_rectangle { pub x : f32 , pub y : f32 , pub width : f32 , pub height : f32 , } # [ test ] fn bindgen_test_layout_rf_rectangle ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_rectangle > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_rectangle ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_rectangle > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_rectangle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . width as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . height as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( height ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_float3 { pub v : [ f32 ; 3usize ] , } # [ test ] fn bindgen_test_layout_rf_float3 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_float3 > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( rf_float3 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_float3 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_float3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_float3 > ( ) ) ) . v as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_float3 ) , "::" , stringify ! ( v ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_float16 { pub v : [ f32 ; 16usize ] , } # [ test ] fn bindgen_test_layout_rf_float16 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_float16 > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( rf_float16 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_float16 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_float16 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_float16 > ( ) ) ) . v as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_float16 ) , "::" , stringify ! ( v ) ) ) ; } extern "C" { pub fn rf_clamp ( value : f32 , min : f32 , max : f32 ) -> f32 ; } extern "C" { pub fn rf_lerp ( start : f32 , end : f32 , amount : f32 ) -> f32 ; } extern "C" { pub fn rf_vector2_zero ( ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_one ( ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_add ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_substract ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_length ( v : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_dot_product ( v1 : rf_vector2 , v2 : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_distance ( v1 : rf_vector2 , v2 : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_angle ( v1 : rf_vector2 , v2 : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_scale ( v : rf_vector2 , scale : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_multiply_v ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_negate ( v : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide ( v : rf_vector2 , div : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide_v ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_normalize ( v : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_lerp ( v1 : rf_vector2 , v2 : rf_vector2 , amount : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector3_zero ( ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_one ( ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_add ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_substract ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply ( v : rf_vector3 , scalar : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply_v ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_cross_product ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_perpendicular ( v : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_length ( v : rf_vector3 ) -> f32 ; } extern "C" { pub fn rf_vector3_dot_product ( v1 : rf_vector3 , v2 : rf_vector3 ) -> f32 ; } extern "C" { pub fn rf_vector3_distance ( v1 : rf_vector3 , v2 : rf_vector3 ) -> f32 ; } extern "C" { pub fn rf_vector3_scale ( v : rf_vector3 , scale : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_negate ( v : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide ( v : rf_vector3 , div : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide_v ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_normalize ( v : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_ortho_normalize ( v1 : * mut rf_vector3 , v2 : * mut rf_vector3 ) ; } extern "C" { pub fn rf_vector3_transform ( v : rf_vector3 , mat : rf_matrix ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_rotate_by_quaternion ( v : rf_vector3 , q : rf_quaternion ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_lerp ( v1 : rf_vector3 , v2 : rf_vector3 , amount : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_reflect ( v : rf_vector3 , normal : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_min ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_max ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_barycenter ( p : rf_vector3 , a : rf_vector3 , b : rf_vector3 , c : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_to_float_v ( v : rf_vector3 ) -> rf_float3 ; } extern "C" { pub fn rf_matrix_determinant ( mat : rf_matrix ) -> f32 ; } extern "C" { pub fn rf_matrix_trace ( mat : rf_matrix ) -> f32 ; } extern "C" { pub fn rf_matrix_transpose ( mat : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_invert ( mat : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_normalize ( mat : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_identity ( ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_add ( left : rf_matrix , right : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_subtract ( left : rf_matrix , right : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_translate ( x : f32 , y : f32 , z : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate ( axis : rf_vector3 , angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_xyz ( ang : rf_vector3 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_x ( angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_y ( angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_z ( angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_scale ( x : f32 , y : f32 , z : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_multiply ( left : rf_matrix , right : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_frustum ( left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_perspective ( fovy : f64 , aspect : f64 , near_val : f64 , far_val : f64 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_ortho ( left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_look_at ( eye : rf_vector3 , target : rf_vector3 , up : rf_vector3 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_to_floatv ( mat : rf_matrix ) -> rf_float16 ; } extern "C" { pub fn rf_quaternion_identity ( ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_length ( q : rf_quaternion ) -> f32 ; } extern "C" { pub fn rf_quaternion_normalize ( q : rf_quaternion ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_invert ( q : rf_quaternion ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_multiply ( q1 : rf_quaternion , q2 : rf_quaternion ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_lerp ( q1 : rf_quaternion , q2 : rf_quaternion , amount : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_nlerp ( q1 : rf_quaternion , q2 : rf_quaternion , amount : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_slerp ( q1 : rf_quaternion , q2 : rf_quaternion , amount : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_vector3_to_vector3 ( from : rf_vector3 , to : rf_vector3 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_matrix ( mat : rf_matrix ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_matrix ( q : rf_quaternion ) -> rf_matrix ; } extern "C" { pub fn rf_quaternion_from_axis_angle ( axis : rf_vector3 , angle : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_axis_angle ( q : rf_quaternion , outAxis : * mut rf_vector3 , outAngle : * mut f32 ) ; } extern "C" { pub fn rf_quaternion_from_euler ( roll : f32 , pitch : f32 , yaw : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_euler ( q : rf_quaternion ) -> rf_vector3 ; } extern "C" { pub fn rf_quaternion_transform ( q : rf_quaternion , mat : rf_matrix ) -> rf_quaternion ; } extern "C" { pub fn rf_check_collision_recs ( rec1 : rf_rectangle , rec2 : rf_rectangle ) -> bool ; } extern "C" { pub fn rf_check_collision_circles ( center1 : rf_vector2 , radius1 : f32 , center2 : rf_vector2 , radius2 : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_circle_rec ( center : rf_vector2 , radius : f32 , rec : rf_rectangle ) -> bool ; } extern "C" { pub fn rf_get_collision_rec ( rec1 : rf_rectangle , rec2 : rf_rectangle ) -> rf_rectangle ; } extern "C" { pub fn rf_check_collision_point_rec ( point : rf_vector2 , rec : rf_rectangle ) -> bool ; } extern "C" { pub fn rf_check_collision_point_circle ( point : rf_vector2 , center : rf_vector2 , radius : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_point_triangle ( point : rf_vector2 , p1 : rf_vector2 , p2 : rf_vector2 , p3 : rf_vector2 ) -> bool ; } extern "C" { pub fn rf_get_random_value ( min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_input_state_for_update_camera { pub mouse_position : rf_vector2 , pub mouse_wheel_move : :: std :: os :: raw :: c_int , pub is_camera_pan_control_key_down : bool , pub is_camera_alt_control_key_down : bool , pub is_camera_smooth_zoom_control_key : bool , pub direction_keys : [ bool ; 6usize ] , } # [ test ] fn bindgen_test_layout_rf_input_state_for_update_camera ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_input_state_for_update_camera > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_input_state_for_update_camera ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_input_state_for_update_camera > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_input_state_for_update_camera ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . mouse_position as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( mouse_position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . mouse_wheel_move as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( mouse_wheel_move ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . is_camera_pan_control_key_down as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( is_camera_pan_control_key_down ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . is_camera_alt_control_key_down as * const _ as usize } , 13usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( is_camera_alt_control_key_down ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . is_camera_smooth_zoom_control_key as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( is_camera_smooth_zoom_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . direction_keys as * const _ as usize } , 15usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( direction_keys ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_color { pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_rf_color ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_color > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( rf_color ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_color > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( rf_color ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . r as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( r ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . g as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( g ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . b as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . a as * const _ as usize } , 3usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( a ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_image { pub data : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_image ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_image > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_image ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_image > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . width as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . height as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . mipmaps as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( mipmaps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . format as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( format ) ) ) ; } pub type rf_texture = rf_texture2d ; pub type rf_texture_cubemap = rf_texture2d ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_texture2d { pub id : :: std :: os :: raw :: c_uint , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_texture2d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_texture2d > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( rf_texture2d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_texture2d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_texture2d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . width as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . height as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . mipmaps as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( mipmaps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . format as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( format ) ) ) ; } pub type rf_render_texture = rf_render_texture2d ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_render_texture2d { pub id : :: std :: os :: raw :: c_uint , pub texture : rf_texture2d , pub depth : rf_texture2d , pub depth_texture : bool , } # [ test ] fn bindgen_test_layout_rf_render_texture2d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_render_texture2d > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( rf_render_texture2d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_render_texture2d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_render_texture2d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . texture as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . depth as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( depth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . depth_texture as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( depth_texture ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_npatch_info { pub source_rec : rf_rectangle , pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub right : :: std :: os :: raw :: c_int , pub bottom : :: std :: os :: raw :: c_int , pub type_ : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_npatch_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_npatch_info > ( ) , 36usize , concat ! ( "Size of: " , stringify ! ( rf_npatch_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_npatch_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_npatch_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . source_rec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( source_rec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . left as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . top as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . right as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . bottom as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . type_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_char_info { pub value : :: std :: os :: raw :: c_int , pub offset_x : :: std :: os :: raw :: c_int , pub offset_y : :: std :: os :: raw :: c_int , pub advance_x : :: std :: os :: raw :: c_int , pub image : rf_image , } # [ test ] fn bindgen_test_layout_rf_char_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_char_info > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( rf_char_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_char_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_char_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . offset_x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( offset_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . offset_y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( offset_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . advance_x as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( advance_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . image as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( image ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_font { pub base_size : :: std :: os :: raw :: c_int , pub chars_count : :: std :: os :: raw :: c_int , pub texture : rf_texture2d , pub recs : * mut rf_rectangle , pub chars : * mut rf_char_info , } # [ test ] fn bindgen_test_layout_rf_font ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_font > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( rf_font ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_font > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_font ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . base_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( base_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . chars_count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( chars_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . texture as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . recs as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( recs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . chars as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_load_font_async_result { pub font : rf_font , pub atlas : rf_image , } # [ test ] fn bindgen_test_layout_rf_load_font_async_result ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_load_font_async_result > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( rf_load_font_async_result ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_load_font_async_result > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_load_font_async_result ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_load_font_async_result > ( ) ) ) . font as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_load_font_async_result ) , "::" , stringify ! ( font ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_load_font_async_result > ( ) ) ) . atlas as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_load_font_async_result ) , "::" , stringify ! ( atlas ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_camera3d { pub position : rf_vector3 , pub target : rf_vector3 , pub up : rf_vector3 , pub fovy : f32 , pub type_ : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_camera3d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_camera3d > ( ) , 44usize , concat ! ( "Size of: " , stringify ! ( rf_camera3d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_camera3d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_camera3d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . position as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . target as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( target ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . up as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . fovy as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( fovy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . type_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_camera2d { pub offset : rf_vector2 , pub target : rf_vector2 , pub rotation : f32 , pub zoom : f32 , } # [ test ] fn bindgen_test_layout_rf_camera2d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_camera2d > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_camera2d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_camera2d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_camera2d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . target as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( target ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . rotation as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . zoom as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( zoom ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_mesh { pub vertex_count : :: std :: os :: raw :: c_int , pub triangle_count : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub texcoords2 : * mut f32 , pub normals : * mut f32 , pub tangents : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_ushort , pub anim_vertices : * mut f32 , pub anim_normals : * mut f32 , pub bone_ids : * mut :: std :: os :: raw :: c_int , pub bone_weights : * mut f32 , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : * mut :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_rf_mesh ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_mesh > ( ) , 112usize , concat ! ( "Size of: " , stringify ! ( rf_mesh ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_mesh > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_mesh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vertex_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vertex_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . triangle_count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( triangle_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vertices as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . texcoords as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . texcoords2 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( texcoords2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . normals as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . tangents as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( tangents ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . colors as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( colors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . indices as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( indices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . anim_vertices as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( anim_vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . anim_normals as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( anim_normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . bone_ids as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( bone_ids ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . bone_weights as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( bone_weights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vao_id as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vao_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vbo_id as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vbo_id ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_shader { pub id : :: std :: os :: raw :: c_uint , pub locs : * mut :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_shader ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_shader > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_shader ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_shader > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_shader > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_shader ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_shader > ( ) ) ) . locs as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_shader ) , "::" , stringify ! ( locs ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_material_map { pub texture : rf_texture2d , pub color : rf_color , pub value : f32 , } # [ test ] fn bindgen_test_layout_rf_material_map ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_material_map > ( ) , 28usize , concat ! ( "Size of: " , stringify ! ( rf_material_map ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_material_map > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_material_map ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material_map > ( ) ) ) . texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_material_map ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material_map > ( ) ) ) . color as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_material_map ) , "::" , stringify ! ( color ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material_map > ( ) ) ) . value as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_material_map ) , "::" , stringify ! ( value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_material { pub shader : rf_shader , pub maps : * mut rf_material_map , pub params : * mut f32 , } # [ test ] fn bindgen_test_layout_rf_material ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_material > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( rf_material ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_material > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material > ( ) ) ) . shader as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_material ) , "::" , stringify ! ( shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material > ( ) ) ) . maps as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_material ) , "::" , stringify ! ( maps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material > ( ) ) ) . params as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_material ) , "::" , stringify ! ( params ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_transform { pub translation : rf_vector3 , pub rotation : rf_quaternion , pub scale : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_transform ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_transform > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( rf_transform ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_transform > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_transform > ( ) ) ) . translation as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_transform ) , "::" , stringify ! ( translation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_transform > ( ) ) ) . rotation as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_transform ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_transform > ( ) ) ) . scale as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( rf_transform ) , "::" , stringify ! ( scale ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_bone_info { pub name : [ :: std :: os :: raw :: c_char ; 32usize ] , pub parent : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_bone_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_bone_info > ( ) , 36usize , concat ! ( "Size of: " , stringify ! ( rf_bone_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_bone_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_bone_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bone_info > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_bone_info ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bone_info > ( ) ) ) . parent as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_bone_info ) , "::" , stringify ! ( parent ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_model { pub transform : rf_matrix , pub mesh_count : :: std :: os :: raw :: c_int , pub meshes : * mut rf_mesh , pub material_count : :: std :: os :: raw :: c_int , pub materials : * mut rf_material , pub mesh_material : * mut :: std :: os :: raw :: c_int , pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub bind_pose : * mut rf_transform , } # [ test ] fn bindgen_test_layout_rf_model ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_model > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( rf_model ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_model > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_model ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . transform as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . mesh_count as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( mesh_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . meshes as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( meshes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . material_count as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( material_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . materials as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( materials ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . mesh_material as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( mesh_material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . bone_count as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( bone_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . bones as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( bones ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . bind_pose as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( bind_pose ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_model_animation { pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub frame_count : :: std :: os :: raw :: c_int , pub frame_poses : * mut * mut rf_transform , } # [ test ] fn bindgen_test_layout_rf_model_animation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_model_animation > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( rf_model_animation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_model_animation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_model_animation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . bone_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( bone_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . bones as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( bones ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . frame_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( frame_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . frame_poses as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( frame_poses ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_ray { pub position : rf_vector3 , pub direction : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_ray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_ray > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_ray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_ray > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_ray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray > ( ) ) ) . position as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray > ( ) ) ) . direction as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray ) , "::" , stringify ! ( direction ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_ray_hit_info { pub hit : bool , pub distance : f32 , pub position : rf_vector3 , pub normal : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_ray_hit_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_ray_hit_info > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( rf_ray_hit_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_ray_hit_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_ray_hit_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . hit as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( hit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . distance as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( distance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . position as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . normal as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( normal ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_bounding_box { pub min : rf_vector3 , pub max : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_bounding_box ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_bounding_box > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_bounding_box ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_bounding_box > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_bounding_box ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bounding_box > ( ) ) ) . min as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_bounding_box ) , "::" , stringify ! ( min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bounding_box > ( ) ) ) . max as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_bounding_box ) , "::" , stringify ! ( max ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_dynamic_buffer { pub vCounter : :: std :: os :: raw :: c_int , pub tcCounter : :: std :: os :: raw :: c_int , pub cCounter : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_uint , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : [ :: std :: os :: raw :: c_uint ; 4usize ] , } # [ test ] fn bindgen_test_layout_rf_dynamic_buffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_dynamic_buffer > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( rf_dynamic_buffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_dynamic_buffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_dynamic_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vCounter as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vCounter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . tcCounter as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( tcCounter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . cCounter as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( cCounter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vertices as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . texcoords as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . colors as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( colors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . indices as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( indices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vao_id as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vao_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vbo_id as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vbo_id ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_draw_call { pub mode : :: std :: os :: raw :: c_int , pub vertex_count : :: std :: os :: raw :: c_int , pub vertexAlignment : :: std :: os :: raw :: c_int , pub textureId : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_rf_draw_call ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_draw_call > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_draw_call ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_draw_call > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_draw_call ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . mode as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . vertex_count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( vertex_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . vertexAlignment as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( vertexAlignment ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . textureId as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( textureId ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_gl_context { pub stack : [ rf_matrix ; 32usize ] , pub stack_counter : :: std :: os :: raw :: c_int , pub modelview : rf_matrix , pub projection : rf_matrix , pub current_matrix : * mut rf_matrix , pub current_matrix_mode : :: std :: os :: raw :: c_int , pub current_depth : f32 , pub vertex_data : [ rf_dynamic_buffer ; 1usize ] , pub current_buffer : :: std :: os :: raw :: c_int , pub transform_matrix : rf_matrix , pub use_transform_matrix : bool , pub draws : * mut rf_draw_call , pub draws_counter : :: std :: os :: raw :: c_int , pub default_texture_id : :: std :: os :: raw :: c_uint , pub default_vertex_shader_id : :: std :: os :: raw :: c_uint , pub default_frag_shader_id : :: std :: os :: raw :: c_uint , pub default_shader : rf_shader , pub current_shader : rf_shader , pub vao_supported : bool , pub tex_comp_dxt_supported : bool , pub tex_comp_etc1_supported : bool , pub tex_comp_etc2_supported : bool , pub tex_comp_pvrt_supported : bool , pub tex_comp_astc_supported : bool , pub tex_npot_supported : bool , pub tex_float_supported : bool , pub tex_depth_supported : bool , pub max_depth_bits : :: std :: os :: raw :: c_int , pub tex_mirror_clamp_supported : bool , pub tex_anisotropic_filter_supported : bool , pub max_anisotropic_level : f32 , pub debug_marker_supported : bool , pub blend_mode : :: std :: os :: raw :: c_int , pub framebuffer_width : :: std :: os :: raw :: c_int , pub framebuffer_height : :: std :: os :: raw :: c_int , pub camera_angle : rf_vector2 , pub camera_target_distance : f32 , pub player_eyes_position : f32 , pub camera_move_control : [ :: std :: os :: raw :: c_int ; 6usize ] , pub camera_pan_control_key : :: std :: os :: raw :: c_int , pub camera_alt_control_key : :: std :: os :: raw :: c_int , pub camera_smooth_zoom_control_key : :: std :: os :: raw :: c_int , pub camera_mode : :: std :: os :: raw :: c_int , pub tex_shapes : rf_texture2d , pub rec_tex_shapes : rf_rectangle , } # [ test ] fn bindgen_test_layout_rf_gl_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_gl_context > ( ) , 2536usize , concat ! ( "Size of: " , stringify ! ( rf_gl_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_gl_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_gl_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . stack as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( stack ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . stack_counter as * const _ as usize } , 2048usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( stack_counter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . modelview as * const _ as usize } , 2052usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( modelview ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . projection as * const _ as usize } , 2116usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( projection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_matrix as * const _ as usize } , 2184usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_matrix_mode as * const _ as usize } , 2192usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_matrix_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_depth as * const _ as usize } , 2196usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_depth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . vertex_data as * const _ as usize } , 2200usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( vertex_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_buffer as * const _ as usize } , 2272usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . transform_matrix as * const _ as usize } , 2276usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( transform_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . use_transform_matrix as * const _ as usize } , 2340usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( use_transform_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . draws as * const _ as usize } , 2344usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( draws ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . draws_counter as * const _ as usize } , 2352usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( draws_counter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_texture_id as * const _ as usize } , 2356usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_texture_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_vertex_shader_id as * const _ as usize } , 2360usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_vertex_shader_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_frag_shader_id as * const _ as usize } , 2364usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_frag_shader_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_shader as * const _ as usize } , 2368usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_shader as * const _ as usize } , 2384usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . vao_supported as * const _ as usize } , 2400usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( vao_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_dxt_supported as * const _ as usize } , 2401usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_dxt_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_etc1_supported as * const _ as usize } , 2402usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_etc1_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_etc2_supported as * const _ as usize } , 2403usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_etc2_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_pvrt_supported as * const _ as usize } , 2404usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_pvrt_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_astc_supported as * const _ as usize } , 2405usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_astc_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_npot_supported as * const _ as usize } , 2406usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_npot_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_float_supported as * const _ as usize } , 2407usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_float_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_depth_supported as * const _ as usize } , 2408usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_depth_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . max_depth_bits as * const _ as usize } , 2412usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( max_depth_bits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_mirror_clamp_supported as * const _ as usize } , 2416usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_mirror_clamp_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_anisotropic_filter_supported as * const _ as usize } , 2417usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_anisotropic_filter_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . max_anisotropic_level as * const _ as usize } , 2420usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( max_anisotropic_level ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . debug_marker_supported as * const _ as usize } , 2424usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( debug_marker_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . blend_mode as * const _ as usize } , 2428usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( blend_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . framebuffer_width as * const _ as usize } , 2432usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( framebuffer_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . framebuffer_height as * const _ as usize } , 2436usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( framebuffer_height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_angle as * const _ as usize } , 2440usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_angle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_target_distance as * const _ as usize } , 2448usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_target_distance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . player_eyes_position as * const _ as usize } , 2452usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( player_eyes_position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_move_control as * const _ as usize } , 2456usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_move_control ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_pan_control_key as * const _ as usize } , 2480usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_pan_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_alt_control_key as * const _ as usize } , 2484usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_alt_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_smooth_zoom_control_key as * const _ as usize } , 2488usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_smooth_zoom_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_mode as * const _ as usize } , 2492usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_shapes as * const _ as usize } , 2496usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_shapes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . rec_tex_shapes as * const _ as usize } , 2516usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( rec_tex_shapes ) ) ) ; } pub type rf_byte = :: std :: os :: raw :: c_uchar ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct rf_context { pub __bindgen_anon_1 : rf_context__bindgen_ty_1 , pub __bindgen_anon_2 : rf_context__bindgen_ty_2 , pub __bindgen_anon_3 : rf_context__bindgen_ty_3 , pub __bindgen_anon_4 : rf_context__bindgen_ty_4 , pub render_offset_x : :: std :: os :: raw :: c_int , pub render_offset_y : :: std :: os :: raw :: c_int , pub screen_scaling : rf_matrix , pub base_time : :: std :: os :: raw :: c_ulonglong , pub current_time : f64 , pub previous_time : f64 , pub update_time : f64 , pub draw_time : f64 , pub frame_time : f64 , pub target_time : f64 , pub default_font : rf_font , pub gl_ctx : rf_gl_context , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_1 { pub display_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_1__bindgen_ty_1 { pub display_width : :: std :: os :: raw :: c_int , pub display_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_1__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . display_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( display_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . display_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( display_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_1 > ( ) ) ) . display_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_1 ) , "::" , stringify ! ( display_size ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_2 { pub screen_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_2__bindgen_ty_1 { pub screen_width : :: std :: os :: raw :: c_int , pub screen_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_2__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . screen_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( screen_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . screen_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( screen_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_2 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_2 > ( ) ) ) . screen_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_2 ) , "::" , stringify ! ( screen_size ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_3 { pub render_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_3__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_3__bindgen_ty_1 { pub render_width : :: std :: os :: raw :: c_int , pub render_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_3__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) ) ) . render_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) , "::" , stringify ! ( render_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) ) ) . render_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) , "::" , stringify ! ( render_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_3 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_3 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_3 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_3 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_3 > ( ) ) ) . render_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_3 ) , "::" , stringify ! ( render_size ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_4 { pub current_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_4__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_4__bindgen_ty_1 { pub current_width : :: std :: os :: raw :: c_int , pub current_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_4__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) ) ) . current_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) , "::" , stringify ! ( current_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) ) ) . current_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) , "::" , stringify ! ( current_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_4 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_4 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_4 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_4 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_4 > ( ) ) ) . current_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_4 ) , "::" , stringify ! ( current_size ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context > ( ) , 2744usize , concat ! ( "Size of: " , stringify ! ( rf_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . render_offset_x as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( render_offset_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . render_offset_y as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( render_offset_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . screen_scaling as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( screen_scaling ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . base_time as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( base_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . current_time as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( current_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . previous_time as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( previous_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . update_time as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( update_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . draw_time as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( draw_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . frame_time as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( frame_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . target_time as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( target_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . default_font as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( default_font ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . gl_ctx as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( gl_ctx ) ) ) ; } pub const rf_shader_location_index_rf_loc_vertex_position : rf_shader_location_index = 0 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord01 : rf_shader_location_index = 1 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord02 : rf_shader_location_index = 2 ; pub const rf_shader_location_index_rf_loc_vertex_normal : rf_shader_location_index = 3 ; pub const rf_shader_location_index_rf_loc_vertex_tangent : rf_shader_location_index = 4 ; pub const rf_shader_location_index_rf_loc_vertex_color : rf_shader_location_index = 5 ; pub const rf_shader_location_index_rf_loc_matrix_mvp : rf_shader_location_index = 6 ; pub const rf_shader_location_index_rf_loc_matrix_model : rf_shader_location_index = 7 ; pub const rf_shader_location_index_rf_loc_matrix_view : rf_shader_location_index = 8 ; pub const rf_shader_location_index_rf_loc_matrix_projection : rf_shader_location_index = 9 ; pub const rf_shader_location_index_rf_loc_vector_view : rf_shader_location_index = 10 ; pub const rf_shader_location_index_rf_loc_color_diffuse : rf_shader_location_index = 11 ; pub const rf_shader_location_index_rf_loc_color_specular : rf_shader_location_index = 12 ; pub const rf_shader_location_index_rf_loc_color_ambient : rf_shader_location_index = 13 ; pub const rf_shader_location_index_rf_loc_map_albedo : rf_shader_location_index = 14 ; pub const rf_shader_location_index_rf_loc_map_metalness : rf_shader_location_index = 15 ; pub const rf_shader_location_index_rf_loc_map_normal : rf_shader_location_index = 16 ; pub const rf_shader_location_index_rf_loc_map_roughness : rf_shader_location_index = 17 ; pub const rf_shader_location_index_rf_loc_map_occlusion : rf_shader_location_index = 18 ; pub const rf_shader_location_index_rf_loc_map_emission : rf_shader_location_index = 19 ; pub const rf_shader_location_index_rf_loc_map_height : rf_shader_location_index = 20 ; pub const rf_shader_location_index_rf_loc_map_cubemap : rf_shader_location_index = 21 ; pub const rf_shader_location_index_rf_loc_map_irradiance : rf_shader_location_index = 22 ; pub const rf_shader_location_index_rf_loc_map_prefilter : rf_shader_location_index = 23 ; pub const rf_shader_location_index_rf_loc_map_brdf : rf_shader_location_index = 24 ; pub type rf_shader_location_index = u32 ; pub const rf_shader_uniform_data_type_rf_uniform_float : rf_shader_uniform_data_type = 0 ; pub const rf_shader_uniform_data_type_rf_uniform_vec2 : rf_shader_uniform_data_type = 1 ; pub const rf_shader_uniform_data_type_rf_uniform_vec3 : rf_shader_uniform_data_type = 2 ; pub const rf_shader_uniform_data_type_rf_uniform_vec4 : rf_shader_uniform_data_type = 3 ; pub const rf_shader_uniform_data_type_rf_uniform_int : rf_shader_uniform_data_type = 4 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec2 : rf_shader_uniform_data_type = 5 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec3 : rf_shader_uniform_data_type = 6 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec4 : rf_shader_uniform_data_type = 7 ; pub const rf_shader_uniform_data_type_rf_uniform_sampler2d : rf_shader_uniform_data_type = 8 ; pub type rf_shader_uniform_data_type = u32 ; pub const rf_material_map_type_rf_map_albedo : rf_material_map_type = 0 ; pub const rf_material_map_type_rf_map_metalness : rf_material_map_type = 1 ; pub const rf_material_map_type_rf_map_normal : rf_material_map_type = 2 ; pub const rf_material_map_type_rf_map_roughness : rf_material_map_type = 3 ; pub const rf_material_map_type_rf_map_occlusion : rf_material_map_type = 4 ; pub const rf_material_map_type_rf_map_emission : rf_material_map_type = 5 ; pub const rf_material_map_type_rf_map_height : rf_material_map_type = 6 ; pub const rf_material_map_type_rf_map_cubemap : rf_material_map_type = 7 ; pub const rf_material_map_type_rf_map_irradiance : rf_material_map_type = 8 ; pub const rf_material_map_type_rf_map_prefilter : rf_material_map_type = 9 ; pub const rf_material_map_type_rf_map_brdf : rf_material_map_type = 10 ; pub type rf_material_map_type = u32 ; pub const rf_pixel_format_rf_uncompressed_grayscale : rf_pixel_format = 1 ; pub const rf_pixel_format_rf_uncompressed_gray_alpha : rf_pixel_format = 2 ; pub const rf_pixel_format_rf_uncompressed_r5g6b5 : rf_pixel_format = 3 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8 : rf_pixel_format = 4 ; pub const rf_pixel_format_rf_uncompressed_r5g5b5a1 : rf_pixel_format = 5 ; pub const rf_pixel_format_rf_uncompressed_r4g4b4a4 : rf_pixel_format = 6 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8a8 : rf_pixel_format = 7 ; pub const rf_pixel_format_rf_uncompressed_r32 : rf_pixel_format = 8 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32 : rf_pixel_format = 9 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32a32 : rf_pixel_format = 10 ; pub const rf_pixel_format_rf_compressed_dxt1_rgb : rf_pixel_format = 11 ; pub const rf_pixel_format_rf_compressed_dxt1_rgba : rf_pixel_format = 12 ; pub const rf_pixel_format_rf_compressed_dxt3_rgba : rf_pixel_format = 13 ; pub const rf_pixel_format_rf_compressed_dxt5_rgba : rf_pixel_format = 14 ; pub const rf_pixel_format_rf_compressed_etc1_rgb : rf_pixel_format = 15 ; pub const rf_pixel_format_rf_compressed_etc2_rgb : rf_pixel_format = 16 ; pub const rf_pixel_format_rf_compressed_etc2_eac_rgba : rf_pixel_format = 17 ; pub const rf_pixel_format_rf_compressed_pvrt_rgb : rf_pixel_format = 18 ; pub const rf_pixel_format_rf_compressed_pvrt_rgba : rf_pixel_format = 19 ; pub const rf_pixel_format_rf_compressed_astc_4x4_rgba : rf_pixel_format = 20 ; pub const rf_pixel_format_rf_compressed_astc_8x8_rgba : rf_pixel_format = 21 ; pub type rf_pixel_format = u32 ; pub const rf_texture_filter_mode_rf_filter_point : rf_texture_filter_mode = 0 ; pub const rf_texture_filter_mode_rf_filter_bilinear : rf_texture_filter_mode = 1 ; pub const rf_texture_filter_mode_rf_filter_trilinear : rf_texture_filter_mode = 2 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_4x : rf_texture_filter_mode = 3 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_8x : rf_texture_filter_mode = 4 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_16x : rf_texture_filter_mode = 5 ; pub type rf_texture_filter_mode = u32 ; pub const rf_cubemap_layout_type_rf_cubemap_auto_detect : rf_cubemap_layout_type = 0 ; pub const rf_cubemap_layout_type_rf_cubemap_line_vertical : rf_cubemap_layout_type = 1 ; pub const rf_cubemap_layout_type_rf_cubemap_line_horizontal : rf_cubemap_layout_type = 2 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_three_by_four : rf_cubemap_layout_type = 3 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_four_by_three : rf_cubemap_layout_type = 4 ; pub const rf_cubemap_layout_type_rf_cubemap_panorama : rf_cubemap_layout_type = 5 ; pub type rf_cubemap_layout_type = u32 ; pub const rf_texture_wrap_mode_rf_wrap_repeat : rf_texture_wrap_mode = 0 ; pub const rf_texture_wrap_mode_rf_wrap_clamp : rf_texture_wrap_mode = 1 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_repeat : rf_texture_wrap_mode = 2 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_clamp : rf_texture_wrap_mode = 3 ; pub type rf_texture_wrap_mode = u32 ; pub const rf_font_type_rf_font_default : rf_font_type = 0 ; pub const rf_font_type_rf_font_bitmap : rf_font_type = 1 ; pub const rf_font_type_rf_font_sdf : rf_font_type = 2 ; pub type rf_font_type = u32 ; pub const rf_blend_mode_rf_blend_alpha : rf_blend_mode = 0 ; pub const rf_blend_mode_rf_blend_additive : rf_blend_mode = 1 ; pub const rf_blend_mode_rf_blend_multiplied : rf_blend_mode = 2 ; pub type rf_blend_mode = u32 ; pub const rf_camera_mode_rf_camera_custom : rf_camera_mode = 0 ; pub const rf_camera_mode_rf_camera_free : rf_camera_mode = 1 ; pub const rf_camera_mode_rf_camera_orbital : rf_camera_mode = 2 ; pub const rf_camera_mode_rf_camera_first_person : rf_camera_mode = 3 ; pub const rf_camera_mode_rf_camera_third_person : rf_camera_mode = 4 ; pub type rf_camera_mode = u32 ; pub const rf_camera_type_rf_camera_perspective : rf_camera_type = 0 ; pub const rf_camera_type_rf_camera_orthographic : rf_camera_type = 1 ; pub type rf_camera_type = u32 ; pub const rf_ninepatch_type_rf_npt_9patch : rf_ninepatch_type = 0 ; pub const rf_ninepatch_type_rf_npt_3patch_vertical : rf_ninepatch_type = 1 ; pub const rf_ninepatch_type_rf_npt_3patch_horizontal : rf_ninepatch_type = 2 ; pub type rf_ninepatch_type = u32 ; extern "C" { pub fn rf_wait ( arg1 : f32 ) ; } extern "C" { pub fn rf_get_time ( ) -> f64 ; } extern "C" { pub fn rf_get_file_size ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_load_file_into_buffer ( filename : * const :: std :: os :: raw :: c_char , buffer : * mut rf_byte , buffer_size : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_context_init ( rf_ctx : * mut rf_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_global_context_ptr ( rf_ctx : * mut rf_context ) ; } extern "C" { pub fn rf_load_font_default ( ) ; } extern "C" { pub fn rf_clear_background ( color : rf_color ) ; } extern "C" { pub fn rf_begin_drawing ( ) ; } extern "C" { pub fn rf_end_drawing ( ) ; } extern "C" { pub fn rf_begin_mode2d ( camera : rf_camera2d ) ; } extern "C" { pub fn rf_end_mode2d ( ) ; } extern "C" { pub fn rf_begin_mode3d ( camera : rf_camera3d ) ; } extern "C" { pub fn rf_end_mode3d ( ) ; } extern "C" { pub fn rf_begin_texture_mode ( target : rf_render_texture2d ) ; } extern "C" { pub fn rf_end_texture_mode ( ) ; } extern "C" { pub fn rf_begin_scissor_mode ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_end_scissor_mode ( ) ; } extern "C" { pub fn rf_get_mouse_ray ( screen_size : rf_sizei , mouse_position : rf_vector2 , camera : rf_camera3d ) -> rf_ray ; } extern "C" { pub fn rf_get_camera_matrix ( camera : rf_camera3d ) -> rf_matrix ; } extern "C" { pub fn rf_get_camera_matrix2d ( camera : rf_camera2d ) -> rf_matrix ; } extern "C" { pub fn rf_get_world_to_screen ( screen_size : rf_sizei , position : rf_vector3 , camera : rf_camera3d ) -> rf_vector2 ; } extern "C" { pub fn rf_get_world_to_screen2d ( position : rf_vector2 , camera : rf_camera2d ) -> rf_vector2 ; } extern "C" { pub fn rf_get_screen_to_world2d ( position : rf_vector2 , camera : rf_camera2d ) -> rf_vector2 ; } extern "C" { pub fn rf_set_target_fps ( fps : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_get_fps ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_frame_time ( ) -> f32 ; } extern "C" { pub fn rf_color_to_int ( color : rf_color ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_color_normalize ( color : rf_color ) -> rf_vector4 ; } extern "C" { pub fn rf_color_from_normalized ( normalized : rf_vector4 ) -> rf_color ; } extern "C" { pub fn rf_color_to_hsv ( color : rf_color ) -> rf_vector3 ; } extern "C" { pub fn rf_color_from_hsv ( hsv : rf_vector3 ) -> rf_color ; } extern "C" { pub fn rf_color_from_int ( hexValue : :: std :: os :: raw :: c_int ) -> rf_color ; } extern "C" { pub fn rf_fade ( color : rf_color , alpha : f32 ) -> rf_color ; } extern "C" { pub fn rf_set_camera_mode ( camera : rf_camera3d , mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_update_camera3d ( camera : * mut rf_camera3d , inputState : rf_input_state_for_update_camera ) ; } extern "C" { pub fn rf_set_camera_pan_control ( panKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_camera_alt_control ( altKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_camera_smooth_zoom_control ( szKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_camera_move_controls ( frontKey : :: std :: os :: raw :: c_int , backKey : :: std :: os :: raw :: c_int , rightKey : :: std :: os :: raw :: c_int , leftKey : :: std :: os :: raw :: c_int , upKey : :: std :: os :: raw :: c_int , downKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_draw_pixel ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_pixel_v ( position : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line ( startPosX : :: std :: os :: raw :: c_int , startPosY : :: std :: os :: raw :: c_int , endPosX : :: std :: os :: raw :: c_int , endPosY : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_v ( startPos : rf_vector2 , endPos : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_ex ( startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_bezier ( startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_strip ( points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle ( centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_sector ( center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_sector_lines ( center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_gradient ( centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color1 : rf_color , color2 : rf_color ) ; } extern "C" { pub fn rf_draw_circle_v ( center : rf_vector2 , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_lines ( centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_ring ( center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_ring_lines ( center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_v ( position : rf_vector2 , size : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_rec ( rec : rf_rectangle , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_pro ( rec : rf_rectangle , origin : rf_vector2 , rotation : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_gradient_v ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_gradient_h ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_gradient_ex ( rec : rf_rectangle , col1 : rf_color , col2 : rf_color , col3 : rf_color , col4 : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_lines ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_lines_ex ( rec : rf_rectangle , lineThick : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_rounded ( rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_rounded_lines ( rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , lineThick : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle ( v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle_lines ( v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle_fan ( points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle_strip ( points : * mut rf_vector2 , pointsCount : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_poly ( center : rf_vector2 , sides : :: std :: os :: raw :: c_int , radius : f32 , rotation : f32 , color : rf_color ) ; } extern "C" { pub fn rf_set_shapes_texture ( texture : rf_texture2d , source : rf_rectangle ) ; } extern "C" { pub fn rf_load_image ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_image ; } extern "C" { pub fn rf_load_image_ex ( pixels : * mut rf_color , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_load_image_pro ( data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_load_image_raw ( fileName : * const :: std :: os :: raw :: c_char , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , headerSize : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_export_image ( image : rf_image , fileName : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn rf_load_texture ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_from_image ( image : rf_image ) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_cubemap ( image : rf_image , layoutType : :: std :: os :: raw :: c_int ) -> rf_texture_cubemap ; } extern "C" { pub fn rf_load_render_texture ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> rf_render_texture2d ; } extern "C" { pub fn rf_unload_image ( image : rf_image ) ; } extern "C" { pub fn rf_unload_texture ( texture : rf_texture2d ) ; } extern "C" { pub fn rf_unload_render_texture ( target : rf_render_texture2d ) ; } extern "C" { pub fn rf_get_image_data ( image : rf_image ) -> * mut rf_color ; } extern "C" { pub fn rf_get_image_data_normalized ( image : rf_image ) -> * mut rf_vector4 ; } extern "C" { pub fn rf_get_image_alpha_border ( image : rf_image , threshold : f32 ) -> rf_rectangle ; } extern "C" { pub fn rf_get_pixel_data_size ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_texture_data ( texture : rf_texture2d ) -> rf_image ; } extern "C" { pub fn rf_get_screen_data ( ) -> rf_image ; } extern "C" { pub fn rf_update_texture ( texture : rf_texture2d , pixels : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn rf_image_copy ( image : rf_image ) -> rf_image ; } extern "C" { pub fn rf_image_from_image ( image : rf_image , rec : rf_rectangle ) -> rf_image ; } extern "C" { pub fn rf_image_to_pot ( image : * mut rf_image , fillColor : rf_color ) ; } extern "C" { pub fn rf_image_format ( image : * mut rf_image , newFormat : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_alpha_mask ( image : * mut rf_image , alphaMask : rf_image ) ; } extern "C" { pub fn rf_image_alpha_clear ( image : * mut rf_image , color : rf_color , threshold : f32 ) ; } extern "C" { pub fn rf_image_alpha_crop ( image : * mut rf_image , threshold : f32 ) ; } extern "C" { pub fn rf_image_alpha_premultiply ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_crop ( image : * mut rf_image , crop : rf_rectangle ) ; } extern "C" { pub fn rf_image_resize ( image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_resize_nn ( image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_resize_canvas ( image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_image_mipmaps ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_dither ( image : * mut rf_image , rBpp : :: std :: os :: raw :: c_int , gBpp : :: std :: os :: raw :: c_int , bBpp : :: std :: os :: raw :: c_int , aBpp : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_extract_palette ( image : rf_image , maxPaletteSize : :: std :: os :: raw :: c_int , extractCount : * mut :: std :: os :: raw :: c_int ) -> * mut rf_color ; } extern "C" { pub fn rf_image_text ( text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color ) -> rf_image ; } extern "C" { pub fn rf_image_text_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , tint : rf_color ) -> rf_image ; } extern "C" { pub fn rf_image_draw ( dst : * mut rf_image , src : rf_image , srcRec : rf_rectangle , dstRec : rf_rectangle , tint : rf_color ) ; } extern "C" { pub fn rf_image_draw_rectangle ( dst : * mut rf_image , rec : rf_rectangle , color : rf_color ) ; } extern "C" { pub fn rf_image_draw_rectangle_lines ( dst : * mut rf_image , rec : rf_rectangle , thick : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_image_draw_text ( dst : * mut rf_image , position : rf_vector2 , text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_image_draw_text_ex ( dst : * mut rf_image , position : rf_vector2 , font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , color : rf_color ) ; } extern "C" { pub fn rf_image_flip_vertical ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_flip_horizontal ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_rotate_cw ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_rotate_ccw ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_color_tint ( image : * mut rf_image , color : rf_color ) ; } extern "C" { pub fn rf_image_color_invert ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_color_grayscale ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_color_contrast ( image : * mut rf_image , contrast : f32 ) ; } extern "C" { pub fn rf_image_color_brightness ( image : * mut rf_image , brightness : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_color_replace ( image : * mut rf_image , color : rf_color , replace : rf_color ) ; } extern "C" { pub fn rf_gen_image_color ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_v ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , top : rf_color , bottom : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_h ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , left : rf_color , right : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_radial ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , density : f32 , inner : rf_color , outer : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_checked ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , checksX : :: std :: os :: raw :: c_int , checksY : :: std :: os :: raw :: c_int , col1 : rf_color , col2 : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_white_noise ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , factor : f32 ) -> rf_image ; } extern "C" { pub fn rf_gen_image_perlin_noise ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , scale : f32 ) -> rf_image ; } extern "C" { pub fn rf_gen_image_cellular ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , tileSize : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_gen_texture_mipmaps ( texture : * mut rf_texture2d ) ; } extern "C" { pub fn rf_set_texture_filter ( texture : rf_texture2d , filterMode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_texture_wrap ( texture : rf_texture2d , wrapMode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_draw_texture ( texture : rf_texture2d , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_v ( texture : rf_texture2d , position : rf_vector2 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_ex ( texture : rf_texture2d , position : rf_vector2 , rotation : f32 , scale : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_rec ( texture : rf_texture2d , source_rec : rf_rectangle , position : rf_vector2 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_quad ( texture : rf_texture2d , tiling : rf_vector2 , offset : rf_vector2 , quad : rf_rectangle , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_pro ( texture : rf_texture2d , source_rec : rf_rectangle , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_npatch ( texture : rf_texture2d , nPatchInfo : rf_npatch_info , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_get_font_default ( ) -> rf_font ; } extern "C" { pub fn rf_load_font ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_font ; } extern "C" { pub fn rf_load_font_ex ( fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int ) -> rf_font ; } extern "C" { pub fn rf_load_font_async ( fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int ) -> rf_load_font_async_result ; } extern "C" { pub fn rf_finish_load_font_async ( fontJobResult : rf_load_font_async_result ) -> rf_font ; } extern "C" { pub fn rf_load_font_from_image ( image : rf_image , key : rf_color , firstChar : :: std :: os :: raw :: c_int ) -> rf_font ; } extern "C" { pub fn rf_load_font_data ( fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int ) -> * mut rf_char_info ; } extern "C" { pub fn rf_gen_image_font_atlas ( chars : * const rf_char_info , recs : * mut * mut rf_rectangle , chars_count : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , padding : :: std :: os :: raw :: c_int , packMethod : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_unload_font ( font : rf_font ) ; } extern "C" { pub fn rf_unload_font_default ( ) ; } extern "C" { pub fn rf_draw_fps ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_draw_text ( text : * const :: std :: os :: raw :: c_char , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_text_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_text_from_buffer ( font : rf_font , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_text_rec ( font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color ) ; } extern "C" { pub fn rf_draw_text_rec_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color , selectStart : :: std :: os :: raw :: c_int , selectLength : :: std :: os :: raw :: c_int , selectText : rf_color , selectBack : rf_color ) ; } extern "C" { pub fn rf_measure_text ( text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_text_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_measure_text_from_buffer ( font : rf_font , text : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , fontSize : f32 , spacing : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_get_glyph_index ( font : rf_font , character : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_height_of_text_in_container ( font : rf_font , fontSize : f32 , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , container_width : f32 ) -> f32 ; } extern "C" { pub fn rf_draw_line3d ( startPos : rf_vector3 , endPos : rf_vector3 , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle3d ( center : rf_vector3 , radius : f32 , rotationAxis : rf_vector3 , rotationAngle : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube ( position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_v ( position : rf_vector3 , size : rf_vector3 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_wires ( position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_wires_v ( position : rf_vector3 , size : rf_vector3 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_texture ( texture : rf_texture2d , position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_sphere ( centerPos : rf_vector3 , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_sphere_ex ( centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_sphere_wires ( centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_cylinder ( position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_cylinder_wires ( position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_plane ( centerPos : rf_vector3 , size : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_ray ( ray : rf_ray , color : rf_color ) ; } extern "C" { pub fn rf_draw_grid ( slices : :: std :: os :: raw :: c_int , spacing : f32 ) ; } extern "C" { pub fn rf_draw_gizmo ( position : rf_vector3 ) ; } extern "C" { pub fn rf_load_model ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_model ; } extern "C" { pub fn rf_load_model_from_mesh ( mesh : rf_mesh ) -> rf_model ; } extern "C" { pub fn rf_unload_model ( model : rf_model ) ; } extern "C" { pub fn rf_load_meshes ( fileName : * const :: std :: os :: raw :: c_char , mesh_count : * mut :: std :: os :: raw :: c_int ) -> * mut rf_mesh ; } extern "C" { pub fn rf_export_mesh ( mesh : rf_mesh , fileName : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn rf_unload_mesh ( mesh : rf_mesh ) ; } extern "C" { pub fn rf_load_materials ( fileName : * const :: std :: os :: raw :: c_char , material_count : * mut :: std :: os :: raw :: c_int ) -> * mut rf_material ; } extern "C" { pub fn rf_load_material_default ( ) -> rf_material ; } extern "C" { pub fn rf_unload_material ( material : rf_material ) ; } extern "C" { pub fn rf_set_material_texture ( material : * mut rf_material , mapType : :: std :: os :: raw :: c_int , texture : rf_texture2d ) ; } extern "C" { pub fn rf_set_model_mesh_material ( model : * mut rf_model , meshId : :: std :: os :: raw :: c_int , materialId : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_load_model_animations ( fileName : * const :: std :: os :: raw :: c_char , animsCount : * mut :: std :: os :: raw :: c_int ) -> * mut rf_model_animation ; } extern "C" { pub fn rf_update_model_animation ( model : rf_model , anim : rf_model_animation , frame : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_unload_model_animation ( anim : rf_model_animation ) ; } extern "C" { pub fn rf_is_model_animation_valid ( model : rf_model , anim : rf_model_animation ) -> bool ; } extern "C" { pub fn rf_gen_mesh_poly ( sides : :: std :: os :: raw :: c_int , radius : f32 ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_plane ( width : f32 , length : f32 , resX : :: std :: os :: raw :: c_int , resZ : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cube ( width : f32 , height : f32 , length : f32 ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_sphere ( radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_hemi_sphere ( radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cylinder ( radius : f32 , height : f32 , slices : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_torus ( radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_knot ( radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_heightmap ( heightmap : rf_image , size : rf_vector3 ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cubicmap ( cubicmap : rf_image , cubeSize : rf_vector3 ) -> rf_mesh ; } extern "C" { pub fn rf_mesh_bounding_box ( mesh : rf_mesh ) -> rf_bounding_box ; } extern "C" { pub fn rf_mesh_tangents ( mesh : * mut rf_mesh ) ; } extern "C" { pub fn rf_mesh_binormals ( mesh : * mut rf_mesh ) ; } extern "C" { pub fn rf_draw_model ( model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_model_ex ( model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_model_wires ( model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_model_wires_ex ( model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_bounding_box ( box_ : rf_bounding_box , color : rf_color ) ; } extern "C" { pub fn rf_draw_billboard ( camera : rf_camera3d , texture : rf_texture2d , center : rf_vector3 , size : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_billboard_rec ( camera : rf_camera3d , texture : rf_texture2d , source_rec : rf_rectangle , center : rf_vector3 , size : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_check_collision_spheres ( centerA : rf_vector3 , radiusA : f32 , centerB : rf_vector3 , radiusB : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_boxes ( box1 : rf_bounding_box , box2 : rf_bounding_box ) -> bool ; } extern "C" { pub fn rf_check_collision_box_sphere ( box_ : rf_bounding_box , center : rf_vector3 , radius : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere ( ray : rf_ray , center : rf_vector3 , radius : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere_ex ( ray : rf_ray , center : rf_vector3 , radius : f32 , collisionPoint : * mut rf_vector3 ) -> bool ; } extern "C" { pub fn rf_check_collision_ray_box ( ray : rf_ray , box_ : rf_bounding_box ) -> bool ; } extern "C" { pub fn rf_get_collision_ray_model ( ray : rf_ray , model : rf_model ) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_triangle ( ray : rf_ray , p1 : rf_vector3 , p2 : rf_vector3 , p3 : rf_vector3 ) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_ground ( ray : rf_ray , groundHeight : f32 ) -> rf_ray_hit_info ; } extern "C" { pub fn rf_load_shader ( vsFileName : * const :: std :: os :: raw :: c_char , fsFileName : * const :: std :: os :: raw :: c_char ) -> rf_shader ; } extern "C" { pub fn rf_load_shader_code ( vsCode : * const :: std :: os :: raw :: c_char , fsCode : * const :: std :: os :: raw :: c_char ) -> rf_shader ; } extern "C" { pub fn rf_unload_shader ( shader : rf_shader ) ; } extern "C" { pub fn rf_get_shader_default ( ) -> rf_shader ; } extern "C" { pub fn rf_get_texture_default ( ) -> rf_texture2d ; } extern "C" { pub fn rf_get_shader_location ( shader : rf_shader , uniformName : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_set_shader_value ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_shader_value_v ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int , count : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_shader_value_matrix ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , mat : rf_matrix ) ; } extern "C" { pub fn rf_set_shader_value_texture ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , texture : rf_texture2d ) ; } extern "C" { pub fn rf_set_matrix_projection ( proj : rf_matrix ) ; } extern "C" { pub fn rf_set_matrix_modelview ( view : rf_matrix ) ; } extern "C" { pub fn rf_get_matrix_modelview ( ) -> rf_matrix ; } extern "C" { pub fn rf_get_matrix_projection ( ) -> rf_matrix ; } extern "C" { pub fn rf_gen_texture_cubemap ( shader : rf_shader , skyHDR : rf_texture2d , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_irradiance ( shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_prefilter ( shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_brdf ( shader : rf_shader , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_begin_shader_mode ( shader : rf_shader ) ; } extern "C" { pub fn rf_end_shader_mode ( ) ; } extern "C" { pub fn rf_begin_blend_mode ( mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_end_blend_mode ( ) ; } extern "C" { pub fn rf_matrix_mode ( mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_push_matrix ( ) ; } extern "C" { pub fn rf_pop_matrix ( ) ; } extern "C" { pub fn rf_load_identity ( ) ; } extern "C" { pub fn rf_translatef ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_rotatef ( angleDeg : f32 , x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_scalef ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_mult_matrixf ( matf : * mut f32 ) ; } extern "C" { pub fn rf_frustum ( left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64 ) ; } extern "C" { pub fn rf_ortho ( left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64 ) ; } extern "C" { pub fn rf_gl_viewport ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_begin ( mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_end ( ) ; } extern "C" { pub fn rf_gl_vertex2i ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_vertex2f ( x : f32 , y : f32 ) ; } extern "C" { pub fn rf_gl_vertex3f ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_gl_tex_coord2f ( x : f32 , y : f32 ) ; } extern "C" { pub fn rf_gl_normal3f ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_gl_color4ub ( r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte ) ; } extern "C" { pub fn rf_gl_color3f ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_gl_color4f ( x : f32 , y : f32 , z : f32 , w : f32 ) ; } extern "C" { pub fn rf_gl_enable_texture ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_disable_texture ( ) ; } extern "C" { pub fn rf_gl_texture_parameters ( id : :: std :: os :: raw :: c_uint , param : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_enable_render_texture ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_disable_render_texture ( ) ; } extern "C" { pub fn rf_gl_enable_depth_test ( ) ; } extern "C" { pub fn rf_gl_disable_depth_test ( ) ; } extern "C" { pub fn rf_gl_enable_backface_culling ( ) ; } extern "C" { pub fn rf_gl_disable_backface_culling ( ) ; } extern "C" { pub fn rf_gl_enable_scissor_test ( ) ; } extern "C" { pub fn rf_gl_disable_scissor_test ( ) ; } extern "C" { pub fn rf_gl_scissor ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_enable_wire_mode ( ) ; } extern "C" { pub fn rf_gl_disable_wire_mode ( ) ; } extern "C" { pub fn rf_gl_delete_textures ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_delete_render_textures ( target : rf_render_texture2d ) ; } extern "C" { pub fn rf_gl_delete_shader ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_delete_vertex_arrays ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_delete_buffers ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_clear_color ( r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte ) ; } extern "C" { pub fn rf_gl_clear_screen_buffers ( ) ; } extern "C" { pub fn rf_gl_update_buffer ( bufferId : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , dataSize : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_load_attrib_buffer ( vao_id : :: std :: os :: raw :: c_uint , shaderLoc : :: std :: os :: raw :: c_int , buffer : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , dynamic : bool ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_close ( ) ; } extern "C" { pub fn rf_gl_draw ( ) ; } extern "C" { pub fn rf_gl_check_buffer_limit ( vCount : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn rf_gl_set_debug_marker ( text : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn rf_gl_load_extensions ( loader : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn rf_gl_unproject ( source : rf_vector3 , proj : rf_matrix , view : rf_matrix ) -> rf_vector3 ; } extern "C" { pub fn rf_gl_load_texture ( data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , mipmapCount : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_depth ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bits : :: std :: os :: raw :: c_int , useRenderBuffer : bool ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_cubemap ( data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_update_texture ( id : :: std :: os :: raw :: c_uint , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn rf_gl_get_gl_texture_formats ( format : :: std :: os :: raw :: c_int , glInternalFormat : * mut :: std :: os :: raw :: c_uint , glFormat : * mut :: std :: os :: raw :: c_uint , glType : * mut :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_unload_texture ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_generate_mipmaps ( texture : * mut rf_texture2d ) ; } extern "C" { pub fn rf_gl_read_texture_pixels ( texture : rf_texture2d ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rf_gl_read_screen_pixels ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn rf_gl_load_render_texture ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , depthBits : :: std :: os :: raw :: c_int , useDepthTexture : bool ) -> rf_render_texture2d ; } extern "C" { pub fn rf_gl_render_texture_attach ( target : rf_render_texture , id : :: std :: os :: raw :: c_uint , attachType : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_render_texture_complete ( target : rf_render_texture ) -> bool ; } extern "C" { pub fn rf_gl_load_mesh ( mesh : * mut rf_mesh , dynamic : bool ) ; } extern "C" { pub fn rf_gl_update_mesh ( mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_update_mesh_at ( mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_draw_mesh ( mesh : rf_mesh , material : rf_material , transform : rf_matrix ) ; } extern "C" { pub fn rf_gl_unload_mesh ( mesh : rf_mesh ) ; } extern "C" { pub static mut _rf_global_context_ptr : * mut rf_context ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig ( __x : f64 , __y : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acos ( __x : f64 ) -> f64 ; } extern "C" { pub fn asin ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asin ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atan ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan2 ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn __atan2 ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn cos ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cos ( __x : f64 ) -> f64 ; } extern "C" { pub fn sin ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sin ( __x : f64 ) -> f64 ; } extern "C" { pub fn tan ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tan ( __x : f64 ) -> f64 ; } extern "C" { pub fn cosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn sinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn tanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn acosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn asinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn atanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp ( __x : f64 ) -> f64 ; } extern "C" { pub fn frexp ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __frexp ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ldexp ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __ldexp ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn log ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log ( __x : f64 ) -> f64 ; } extern "C" { pub fn log10 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log10 ( __x : f64 ) -> f64 ; } extern "C" { pub fn modf ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn __modf ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn expm1 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __expm1 ( __x : f64 ) -> f64 ; } extern "C" { pub fn log1p ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log1p ( __x : f64 ) -> f64 ; } extern "C" { pub fn logb ( __x : f64 ) -> f64 ; } extern "C" { pub fn __logb ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn log2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn pow ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __pow ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn sqrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sqrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn hypot ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __hypot ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn cbrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cbrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn ceil ( __x : f64 ) -> f64 ; } extern "C" { pub fn __ceil ( __x : f64 ) -> f64 ; } extern "C" { pub fn fabs ( __x : f64 ) -> f64 ; } extern "C" { pub fn __fabs ( __x : f64 ) -> f64 ; } extern "C" { pub fn floor ( __x : f64 ) -> f64 ; } extern "C" { pub fn __floor ( __x : f64 ) -> f64 ; } extern "C" { pub fn fmod ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmod ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn isinf ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __drem ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn significand ( __x : f64 ) -> f64 ; } extern "C" { pub fn __significand ( __x : f64 ) -> f64 ; } extern "C" { pub fn copysign ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __copysign ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nan ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn __nan ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn isnan ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn j1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn jn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __jn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn y0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn y1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn yn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __yn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn erf ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erf ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn erfc ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erfc ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __lgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn tgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __tgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn gamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __gamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgamma_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __lgamma_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn rint ( __x : f64 ) -> f64 ; } extern "C" { pub fn __rint ( __x : f64 ) -> f64 ; } extern "C" { pub fn nextafter ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __nextafter ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nexttoward ( __x : f64 , __y : u128 ) -> f64 ; } extern "C" { pub fn __nexttoward ( __x : f64 , __y : u128 ) -> f64 ; } extern "C" { pub fn remainder ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __remainder ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn scalbn ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __scalbn ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ilogb ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn __scalbln ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn nearbyint ( __x : f64 ) -> f64 ; } extern "C" { pub fn __nearbyint ( __x : f64 ) -> f64 ; } extern "C" { pub fn round ( __x : f64 ) -> f64 ; } extern "C" { pub fn __round ( __x : f64 ) -> f64 ; } extern "C" { pub fn trunc ( __x : f64 ) -> f64 ; } extern "C" { pub fn __trunc ( __x : f64 ) -> f64 ; } extern "C" { pub fn remquo ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __remquo ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn lrint ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fdim ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmax ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmax ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmin ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmin ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fma ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn __fma ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn scalb ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __scalb ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __fpclassifyf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf ( __x : f32 , __y : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __acosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn asinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __asinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __atanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atan2f ( __y : f32 , __x : f32 ) -> f32 ; } extern "C" { pub fn __atan2f ( __y : f32 , __x : f32 ) -> f32 ; } extern "C" { pub fn cosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __cosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn sinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn tanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __tanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn coshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __coshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn sinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn tanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __tanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn acoshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __acoshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn asinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __asinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __atanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn expf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __expf ( __x : f32 ) -> f32 ; } extern "C" { pub fn frexpf ( __x : f32 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __frexpf ( __x : f32 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn ldexpf ( __x : f32 , __exponent : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __ldexpf ( __x : f32 , __exponent : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn logf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __logf ( __x : f32 ) -> f32 ; } extern "C" { pub fn log10f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log10f ( __x : f32 ) -> f32 ; } extern "C" { pub fn modff ( __x : f32 , __iptr : * mut f32 ) -> f32 ; } extern "C" { pub fn __modff ( __x : f32 , __iptr : * mut f32 ) -> f32 ; } extern "C" { pub fn expm1f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __expm1f ( __x : f32 ) -> f32 ; } extern "C" { pub fn log1pf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log1pf ( __x : f32 ) -> f32 ; } extern "C" { pub fn logbf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __logbf ( __x : f32 ) -> f32 ; } extern "C" { pub fn exp2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __exp2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn log2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn powf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __powf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn sqrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sqrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn hypotf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __hypotf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn cbrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __cbrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn ceilf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __ceilf ( __x : f32 ) -> f32 ; } extern "C" { pub fn fabsf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __fabsf ( __x : f32 ) -> f32 ; } extern "C" { pub fn floorf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __floorf ( __x : f32 ) -> f32 ; } extern "C" { pub fn fmodf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fmodf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn isinff ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __dremf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn significandf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __significandf ( __x : f32 ) -> f32 ; } extern "C" { pub fn copysignf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __copysignf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn nanf ( __tagb : * const :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn __nanf ( __tagb : * const :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn isnanf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __j0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn j1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __j1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn jnf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn __jnf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn y0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __y0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn y1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __y1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn ynf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn __ynf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn erff ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __erff ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn erfcf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __erfcf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn lgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __lgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn tgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __tgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn gammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __gammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn lgammaf_r ( arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __lgammaf_r ( arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn rintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __rintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn nextafterf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __nextafterf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn nexttowardf ( __x : f32 , __y : u128 ) -> f32 ; } extern "C" { pub fn __nexttowardf ( __x : f32 , __y : u128 ) -> f32 ; } extern "C" { pub fn remainderf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __remainderf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn scalbnf ( __x : f32 , __n : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __scalbnf ( __x : f32 , __n : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn ilogbf ( __x : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf ( __x : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf ( __x : f32 , __n : :: std :: os :: raw :: c_long ) -> f32 ; } extern "C" { pub fn __scalblnf ( __x : f32 , __n : :: std :: os :: raw :: c_long ) -> f32 ; } extern "C" { pub fn nearbyintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __nearbyintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn roundf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __roundf ( __x : f32 ) -> f32 ; } extern "C" { pub fn truncf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __truncf ( __x : f32 ) -> f32 ; } extern "C" { pub fn remquof ( __x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __remquof ( __x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn lrintf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fdimf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fmaxf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fmaxf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fminf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fminf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fmaf ( __x : f32 , __y : f32 , __z : f32 ) -> f32 ; } extern "C" { pub fn __fmaf ( __x : f32 , __y : f32 , __z : f32 ) -> f32 ; } extern "C" { pub fn scalbf ( __x : f32 , __n : f32 ) -> f32 ; } extern "C" { pub fn __scalbf ( __x : f32 , __n : f32 ) -> f32 ; } extern "C" { pub fn __fpclassifyl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl ( __x : u128 , __y : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __acosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn asinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __asinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn atanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __atanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn atan2l ( __y : u128 , __x : u128 ) -> u128 ; } extern "C" { pub fn __atan2l ( __y : u128 , __x : u128 ) -> u128 ; } extern "C" { pub fn cosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __cosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn sinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __sinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn tanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __tanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn coshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __coshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn sinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __sinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn tanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __tanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn acoshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __acoshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn asinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __asinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn atanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __atanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn expl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __expl ( __x : u128 ) -> u128 ; } extern "C" { pub fn frexpl ( __x : u128 , __exponent : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __frexpl ( __x : u128 , __exponent : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn ldexpl ( __x : u128 , __exponent : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __ldexpl ( __x : u128 , __exponent : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn logl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __logl ( __x : u128 ) -> u128 ; } extern "C" { pub fn log10l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __log10l ( __x : u128 ) -> u128 ; } extern "C" { pub fn modfl ( __x : u128 , __iptr : * mut u128 ) -> u128 ; } extern "C" { pub fn __modfl ( __x : u128 , __iptr : * mut u128 ) -> u128 ; } extern "C" { pub fn expm1l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __expm1l ( __x : u128 ) -> u128 ; } extern "C" { pub fn log1pl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __log1pl ( __x : u128 ) -> u128 ; } extern "C" { pub fn logbl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __logbl ( __x : u128 ) -> u128 ; } extern "C" { pub fn exp2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __exp2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn log2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __log2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn powl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __powl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn sqrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __sqrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn hypotl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __hypotl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn cbrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __cbrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn ceill ( __x : u128 ) -> u128 ; } extern "C" { pub fn __ceill ( __x : u128 ) -> u128 ; } extern "C" { pub fn fabsl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __fabsl ( __x : u128 ) -> u128 ; } extern "C" { pub fn floorl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __floorl ( __x : u128 ) -> u128 ; } extern "C" { pub fn fmodl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fmodl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn isinfl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __dreml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn significandl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __significandl ( __x : u128 ) -> u128 ; } extern "C" { pub fn copysignl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __copysignl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn nanl ( __tagb : * const :: std :: os :: raw :: c_char ) -> u128 ; } extern "C" { pub fn __nanl ( __tagb : * const :: std :: os :: raw :: c_char ) -> u128 ; } extern "C" { pub fn isnanl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __j0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn j1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __j1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn jnl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn __jnl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn y0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __y0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn y1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __y1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn ynl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn __ynl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn erfl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __erfl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn erfcl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __erfcl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn lgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __lgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn tgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __tgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn gammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __gammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn lgammal_r ( arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __lgammal_r ( arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn rintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __rintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn nextafterl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __nextafterl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn nexttowardl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __nexttowardl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn remainderl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __remainderl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn scalbnl ( __x : u128 , __n : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __scalbnl ( __x : u128 , __n : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn ilogbl ( __x : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl ( __x : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl ( __x : u128 , __n : :: std :: os :: raw :: c_long ) -> u128 ; } extern "C" { pub fn __scalblnl ( __x : u128 , __n : :: std :: os :: raw :: c_long ) -> u128 ; } extern "C" { pub fn nearbyintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __nearbyintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn roundl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __roundl ( __x : u128 ) -> u128 ; } extern "C" { pub fn truncl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __truncl ( __x : u128 ) -> u128 ; } extern "C" { pub fn remquol ( __x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __remquol ( __x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn lrintl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fdiml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn fmaxl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fmaxl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn fminl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fminl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn fmal ( __x : u128 , __y : u128 , __z : u128 ) -> u128 ; } extern "C" { pub fn __fmal ( __x : u128 , __y : u128 , __z : u128 ) -> u128 ; } extern "C" { pub fn scalbl ( __x : u128 , __n : u128 ) -> u128 ; } extern "C" { pub fn __scalbl ( __x : u128 , __n : u128 ) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pub const FP_ZERO : _bindgen_ty_1 = 2 ; pub const FP_SUBNORMAL : _bindgen_ty_1 = 3 ; pub const FP_NORMAL : _bindgen_ty_1 = 4 ; pub type _bindgen_ty_1 = u32 ; pub type wchar_t = :: std :: os :: raw :: c_int ; pub const idtype_t_P_ALL : idtype_t = 0 ; pub const idtype_t_P_PID : idtype_t = 1 ; pub const idtype_t_P_PGID : idtype_t = 2 ; pub type idtype_t = u32 ; # [ 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 ) -> u128 ; } extern "C" { pub fn strtol ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn strtoul ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strtoq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtouq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn strtoll ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtoull ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn l64a ( __n : :: std :: os :: raw :: c_long ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn a64l ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type clock_t = __clock_t ; pub type clockid_t = __clockid_t ; pub type time_t = __time_t ; pub type timer_t = __timer_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = :: std :: os :: raw :: c_uchar ; pub type u_int16_t = :: std :: os :: raw :: c_ushort ; pub type u_int32_t = :: std :: os :: raw :: c_uint ; pub type u_int64_t = :: std :: os :: raw :: c_ulong ; 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 ) ) ) ; } # [ 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 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 ; } extern "C" { pub fn gnu_dev_major ( __dev : __dev_t ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn gnu_dev_minor ( __dev : __dev_t ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn gnu_dev_makedev ( __major : :: std :: os :: raw :: c_uint , __minor : :: std :: os :: raw :: c_uint ) -> __dev_t ; } 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 ( 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 ( 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_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 ( Copy , Clone ) ] pub struct __pthread_cond_s { pub __bindgen_anon_1 : __pthread_cond_s__bindgen_ty_1 , pub __bindgen_anon_2 : __pthread_cond_s__bindgen_ty_2 , 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 ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __pthread_cond_s__bindgen_ty_1 { pub __wseq : :: std :: os :: raw :: c_ulonglong , pub __wseq32 : __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1 > ( ) ) ) . __wseq as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) , "::" , stringify ! ( __wseq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1 > ( ) ) ) . __wseq32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) , "::" , stringify ! ( __wseq32 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __pthread_cond_s__bindgen_ty_2 { pub __g1_start : :: std :: os :: raw :: c_ulonglong , pub __g1_start32 : __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2 > ( ) ) ) . __g1_start as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) , "::" , stringify ! ( __g1_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2 > ( ) ) ) . __g1_start32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) , "::" , stringify ! ( __g1_start32 ) ) ) ; } # [ 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 > ( ) ) ) . __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 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 malloc ( __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc ( __nmemb : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc ( __ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free ( __ptr : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn alloca ( __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn valloc ( __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn posix_memalign ( __memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : usize , __size : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn aligned_alloc ( __alignment : 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 : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qfcvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qgcvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ecvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fcvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qecvt_r ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qfcvt_r ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mblen ( __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbtowc ( __pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wctomb ( __s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbstowcs ( __pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> usize ; } extern "C" { pub fn wcstombs ( __s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : usize ) -> usize ; } extern "C" { pub fn rpmatch ( __response : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsubopt ( __optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * mut :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getloadavg ( __loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ repr ( align ( 16 ) ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [ test ] fn bindgen_test_layout_max_align_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce1 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_material_t { pub name : * mut :: std :: os :: raw :: c_char , pub ambient : [ f32 ; 3usize ] , pub diffuse : [ f32 ; 3usize ] , pub specular : [ f32 ; 3usize ] , pub transmittance : [ f32 ; 3usize ] , pub emission : [ f32 ; 3usize ] , pub shininess : f32 , pub ior : f32 , pub dissolve : f32 , pub illum : :: std :: os :: raw :: c_int , pub pad0 : :: std :: os :: raw :: c_int , pub ambient_texname : * mut :: std :: os :: raw :: c_char , pub diffuse_texname : * mut :: std :: os :: raw :: c_char , pub specular_texname : * mut :: std :: os :: raw :: c_char , pub specular_highlight_texname : * mut :: std :: os :: raw :: c_char , pub bump_texname : * mut :: std :: os :: raw :: c_char , pub displacement_texname : * mut :: std :: os :: raw :: c_char , pub alpha_texname : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_tinyobj_material_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_material_t > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( tinyobj_material_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_material_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_material_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . ambient as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( ambient ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . diffuse as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( diffuse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . specular as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( specular ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . transmittance as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( transmittance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . emission as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( emission ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . shininess as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( shininess ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . ior as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( ior ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . dissolve as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( dissolve ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . illum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( illum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . pad0 as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . ambient_texname as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( ambient_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . diffuse_texname as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( diffuse_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . specular_texname as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( specular_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . specular_highlight_texname as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( specular_highlight_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . bump_texname as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( bump_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . displacement_texname as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( displacement_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . alpha_texname as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( alpha_texname ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_shape_t { pub name : * mut :: std :: os :: raw :: c_char , pub face_offset : :: std :: os :: raw :: c_uint , pub length : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_tinyobj_shape_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_shape_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( tinyobj_shape_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_shape_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_shape_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_shape_t > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_shape_t ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_shape_t > ( ) ) ) . face_offset as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_shape_t ) , "::" , stringify ! ( face_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_shape_t > ( ) ) ) . length as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_shape_t ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_vertex_index_t { pub v_idx : :: std :: os :: raw :: c_int , pub vt_idx : :: std :: os :: raw :: c_int , pub vn_idx : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_tinyobj_vertex_index_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_vertex_index_t > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( tinyobj_vertex_index_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_vertex_index_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_vertex_index_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_vertex_index_t > ( ) ) ) . v_idx as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_vertex_index_t ) , "::" , stringify ! ( v_idx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_vertex_index_t > ( ) ) ) . vt_idx as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_vertex_index_t ) , "::" , stringify ! ( vt_idx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_vertex_index_t > ( ) ) ) . vn_idx as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_vertex_index_t ) , "::" , stringify ! ( vn_idx ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_attrib_t { pub num_vertices : :: std :: os :: raw :: c_uint , pub num_normals : :: std :: os :: raw :: c_uint , pub num_texcoords : :: std :: os :: raw :: c_uint , pub num_faces : :: std :: os :: raw :: c_uint , pub num_face_num_verts : :: std :: os :: raw :: c_uint , pub pad0 : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub normals : * mut f32 , pub texcoords : * mut f32 , pub faces : * mut tinyobj_vertex_index_t , pub face_num_verts : * mut :: std :: os :: raw :: c_int , pub material_ids : * mut :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_tinyobj_attrib_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_attrib_t > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( tinyobj_attrib_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_attrib_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_attrib_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_vertices as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_normals as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_texcoords as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_faces as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_faces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_face_num_verts as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_face_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . pad0 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . vertices as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . normals as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . texcoords as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . faces as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( faces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . face_num_verts as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( face_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . material_ids as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( material_ids ) ) ) ; } extern "C" { pub fn tinyobj_parse_obj ( attrib : * mut tinyobj_attrib_t , shapes : * mut * mut tinyobj_shape_t , num_shapes : * mut usize , materials : * mut * mut tinyobj_material_t , num_materials : * mut usize , buf : * const :: std :: os :: raw :: c_char , len : usize , flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tinyobj_parse_mtl_file ( materials_out : * mut * mut tinyobj_material_t , num_materials_out : * mut usize , filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tinyobj_attrib_init ( attrib : * mut tinyobj_attrib_t ) ; } extern "C" { pub fn tinyobj_attrib_free ( attrib : * mut tinyobj_attrib_t ) ; } extern "C" { pub fn tinyobj_shapes_free ( shapes : * mut tinyobj_shape_t , num_shapes : usize ) ; } extern "C" { pub fn tinyobj_materials_free ( materials : * mut tinyobj_material_t , num_materials : usize ) ; } pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [ :: std :: os :: raw :: c_char ; 4usize ] , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout___mbstate_t__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wch as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wchb as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wchb ) ) ) ; } # [ test ] fn bindgen_test_layout___mbstate_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __value as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __state ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos64_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos64_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos64_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __state ) ) ) ; } pub type va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [ :: std :: os :: raw :: c_char ; 1usize ] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_FILE > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_FILE > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_ptr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_end as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_base as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_base as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_ptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_end as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_base as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_end as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_base as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_backup_base as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_backup_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_end as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _markers as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _markers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _chain as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _chain ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _fileno as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _fileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags2 as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _old_offset as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _old_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _cur_column as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _cur_column ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _vtable_offset as * const _ as usize } , 130usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _vtable_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _shortbuf as * const _ as usize } , 131usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _shortbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _lock as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _offset as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad5 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _mode as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _unused2 as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _unused2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_FILE ; } extern "C" { pub fn remove ( __filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rename ( __old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn renameat ( __oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tmpfile ( ) -> * mut FILE ; } extern "C" { pub fn tmpnam ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tmpnam_r ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tempnam ( __dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn freopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> * mut FILE ; } extern "C" { pub fn fdopen ( __fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn fmemopen ( __s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub static mut sys_nerr : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut sys_errlist : [ * const :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub fn fileno ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fileno_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn popen ( __command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn pclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ctermid ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn flockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn ftrylockfile ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn funlockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn __assert_fail ( __assertion : * const :: std :: os :: raw :: c_char , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_uint , __function : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn __assert_perror_fail ( __errnum : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_uint , __function : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn __assert ( __assertion : * const :: std :: os :: raw :: c_char , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn memcpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memmove ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memccpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : 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 : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memcmp ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn memchr ( __s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcoll ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_ulong ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { 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 strcoll_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm_l ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize , __l : locale_t ) -> usize ; } extern "C" { pub fn strdup ( __s : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strndup ( __string : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strrchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn 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 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 : :: std :: os :: raw :: c_ulong ) ; } extern "C" { pub fn index ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn rindex ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ffs ( __i : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsl ( __l : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsll ( __ll : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn explicit_bzero ( __s : * mut :: std :: os :: raw :: c_void , __n : usize ) ; } extern "C" { pub fn strsep ( __stringp : * mut * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strsignal ( __sig : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __errno_location ( ) -> * mut :: std :: os :: raw :: c_int ; } extern "C" { pub fn dynamic_fgets ( buf : * mut * mut :: std :: os :: raw :: c_char , size : * mut usize , file : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct hash_table_entry_t { pub hash : :: std :: os :: raw :: c_ulong , pub filled : :: std :: os :: raw :: c_int , pub pad0 : :: std :: os :: raw :: c_int , pub value : :: std :: os :: raw :: c_long , pub next : * mut hash_table_entry_t , } # [ test ] fn bindgen_test_layout_hash_table_entry_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < hash_table_entry_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( hash_table_entry_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < hash_table_entry_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( hash_table_entry_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . hash as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . filled as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( filled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . pad0 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . value as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( next ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct hash_table_t { pub hashes : * mut :: std :: os :: raw :: c_ulong , pub entries : * mut hash_table_entry_t , pub capacity : usize , pub n : usize , } # [ test ] fn bindgen_test_layout_hash_table_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < hash_table_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( hash_table_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < hash_table_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( hash_table_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . hashes as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( hashes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . entries as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( entries ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . capacity as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( capacity ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . n as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( n ) ) ) ; } pub const CommandType_COMMAND_EMPTY : CommandType = 0 ; pub const CommandType_COMMAND_V : CommandType = 1 ; pub const CommandType_COMMAND_VN : CommandType = 2 ; pub const CommandType_COMMAND_VT : CommandType = 3 ; pub const CommandType_COMMAND_F : CommandType = 4 ; pub const CommandType_COMMAND_G : CommandType = 5 ; pub const CommandType_COMMAND_O : CommandType = 6 ; pub const CommandType_COMMAND_USEMTL : CommandType = 7 ; pub const CommandType_COMMAND_MTLLIB : CommandType = 8 ; pub type CommandType = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct Command { pub vx : f32 , pub vy : f32 , pub vz : f32 , pub nx : f32 , pub ny : f32 , pub nz : f32 , pub tx : f32 , pub ty : f32 , pub f : [ tinyobj_vertex_index_t ; 16usize ] , pub num_f : usize , pub f_num_verts : [ :: std :: os :: raw :: c_int ; 16usize ] , pub num_f_num_verts : usize , pub group_name : * const :: std :: os :: raw :: c_char , pub group_name_len : :: std :: os :: raw :: c_uint , pub pad0 : :: std :: os :: raw :: c_int , pub object_name : * const :: std :: os :: raw :: c_char , pub object_name_len : :: std :: os :: raw :: c_uint , pub pad1 : :: std :: os :: raw :: c_int , pub material_name : * const :: std :: os :: raw :: c_char , pub material_name_len : :: std :: os :: raw :: c_uint , pub pad2 : :: std :: os :: raw :: c_int , pub mtllib_name : * const :: std :: os :: raw :: c_char , pub mtllib_name_len : :: std :: os :: raw :: c_uint , pub type_ : CommandType , } # [ test ] fn bindgen_test_layout_Command ( ) { assert_eq ! ( :: std :: mem :: size_of :: < Command > ( ) , 368usize , concat ! ( "Size of: " , stringify ! ( Command ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < Command > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( Command ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . vx as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( vx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . vy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( vy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . vz as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( vz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . nx as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( nx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . ny as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( ny ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . nz as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( nz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . tx as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( tx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . ty as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( ty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . f as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( f ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . num_f as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( num_f ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . f_num_verts as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( f_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . num_f_num_verts as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( num_f_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . group_name as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( group_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . group_name_len as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( group_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . pad0 as * const _ as usize } , 316usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . object_name as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( object_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . object_name_len as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( object_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . pad1 as * const _ as usize } , 332usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . material_name as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( material_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . material_name_len as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( material_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . pad2 as * const _ as usize } , 348usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . mtllib_name as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( mtllib_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . mtllib_name_len as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( mtllib_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . type_ as * const _ as usize } , 364usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct LineInfo { pub pos : usize , pub len : usize , } # [ test ] fn bindgen_test_layout_LineInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < LineInfo > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( LineInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < LineInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( LineInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < LineInfo > ( ) ) ) . pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( LineInfo ) , "::" , stringify ! ( pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < LineInfo > ( ) ) ) . len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( LineInfo ) , "::" , stringify ! ( len ) ) ) ; } pub type cgltf_size = usize ; pub type cgltf_float = f32 ; pub type cgltf_int = :: std :: os :: raw :: c_int ; pub type cgltf_bool = :: std :: os :: raw :: c_int ; pub const cgltf_file_type_cgltf_file_type_invalid : cgltf_file_type = 0 ; pub const cgltf_file_type_cgltf_file_type_gltf : cgltf_file_type = 1 ; pub const cgltf_file_type_cgltf_file_type_glb : cgltf_file_type = 2 ; pub type cgltf_file_type = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_options { pub type_ : cgltf_file_type , pub json_token_count : cgltf_size , pub memory_alloc : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , size : cgltf_size ) -> * mut :: std :: os :: raw :: c_void > , pub memory_free : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , ptr : * mut :: std :: os :: raw :: c_void ) > , pub memory_user_data : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_cgltf_options ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_options > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_options ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_options > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_options ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . json_token_count as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( json_token_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . memory_alloc as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( memory_alloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . memory_free as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( memory_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . memory_user_data as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( memory_user_data ) ) ) ; } pub const cgltf_result_cgltf_result_success : cgltf_result = 0 ; pub const cgltf_result_cgltf_result_data_too_short : cgltf_result = 1 ; pub const cgltf_result_cgltf_result_unknown_format : cgltf_result = 2 ; pub const cgltf_result_cgltf_result_invalid_json : cgltf_result = 3 ; pub const cgltf_result_cgltf_result_invalid_gltf : cgltf_result = 4 ; pub const cgltf_result_cgltf_result_invalid_options : cgltf_result = 5 ; pub const cgltf_result_cgltf_result_file_not_found : cgltf_result = 6 ; pub const cgltf_result_cgltf_result_io_error : cgltf_result = 7 ; pub const cgltf_result_cgltf_result_out_of_memory : cgltf_result = 8 ; pub const cgltf_result_cgltf_result_legacy_gltf : cgltf_result = 9 ; pub type cgltf_result = u32 ; pub const cgltf_buffer_view_type_cgltf_buffer_view_type_invalid : cgltf_buffer_view_type = 0 ; pub const cgltf_buffer_view_type_cgltf_buffer_view_type_indices : cgltf_buffer_view_type = 1 ; pub const cgltf_buffer_view_type_cgltf_buffer_view_type_vertices : cgltf_buffer_view_type = 2 ; pub type cgltf_buffer_view_type = u32 ; pub const cgltf_attribute_type_cgltf_attribute_type_invalid : cgltf_attribute_type = 0 ; pub const cgltf_attribute_type_cgltf_attribute_type_position : cgltf_attribute_type = 1 ; pub const cgltf_attribute_type_cgltf_attribute_type_normal : cgltf_attribute_type = 2 ; pub const cgltf_attribute_type_cgltf_attribute_type_tangent : cgltf_attribute_type = 3 ; pub const cgltf_attribute_type_cgltf_attribute_type_texcoord : cgltf_attribute_type = 4 ; pub const cgltf_attribute_type_cgltf_attribute_type_color : cgltf_attribute_type = 5 ; pub const cgltf_attribute_type_cgltf_attribute_type_joints : cgltf_attribute_type = 6 ; pub const cgltf_attribute_type_cgltf_attribute_type_weights : cgltf_attribute_type = 7 ; pub type cgltf_attribute_type = u32 ; pub const cgltf_component_type_cgltf_component_type_invalid : cgltf_component_type = 0 ; pub const cgltf_component_type_cgltf_component_type_r_8 : cgltf_component_type = 1 ; pub const cgltf_component_type_cgltf_component_type_r_8u : cgltf_component_type = 2 ; pub const cgltf_component_type_cgltf_component_type_r_16 : cgltf_component_type = 3 ; pub const cgltf_component_type_cgltf_component_type_r_16u : cgltf_component_type = 4 ; pub const cgltf_component_type_cgltf_component_type_r_32u : cgltf_component_type = 5 ; pub const cgltf_component_type_cgltf_component_type_r_32f : cgltf_component_type = 6 ; pub type cgltf_component_type = u32 ; pub const cgltf_type_cgltf_type_invalid : cgltf_type = 0 ; pub const cgltf_type_cgltf_type_scalar : cgltf_type = 1 ; pub const cgltf_type_cgltf_type_vec2 : cgltf_type = 2 ; pub const cgltf_type_cgltf_type_vec3 : cgltf_type = 3 ; pub const cgltf_type_cgltf_type_vec4 : cgltf_type = 4 ; pub const cgltf_type_cgltf_type_mat2 : cgltf_type = 5 ; pub const cgltf_type_cgltf_type_mat3 : cgltf_type = 6 ; pub const cgltf_type_cgltf_type_mat4 : cgltf_type = 7 ; pub type cgltf_type = u32 ; pub const cgltf_primitive_type_cgltf_primitive_type_points : cgltf_primitive_type = 0 ; pub const cgltf_primitive_type_cgltf_primitive_type_lines : cgltf_primitive_type = 1 ; pub const cgltf_primitive_type_cgltf_primitive_type_line_loop : cgltf_primitive_type = 2 ; pub const cgltf_primitive_type_cgltf_primitive_type_line_strip : cgltf_primitive_type = 3 ; pub const cgltf_primitive_type_cgltf_primitive_type_triangles : cgltf_primitive_type = 4 ; pub const cgltf_primitive_type_cgltf_primitive_type_triangle_strip : cgltf_primitive_type = 5 ; pub const cgltf_primitive_type_cgltf_primitive_type_triangle_fan : cgltf_primitive_type = 6 ; pub type cgltf_primitive_type = u32 ; pub const cgltf_alpha_mode_cgltf_alpha_mode_opaque : cgltf_alpha_mode = 0 ; pub const cgltf_alpha_mode_cgltf_alpha_mode_mask : cgltf_alpha_mode = 1 ; pub const cgltf_alpha_mode_cgltf_alpha_mode_blend : cgltf_alpha_mode = 2 ; pub type cgltf_alpha_mode = u32 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_invalid : cgltf_animation_path_type = 0 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_translation : cgltf_animation_path_type = 1 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_rotation : cgltf_animation_path_type = 2 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_scale : cgltf_animation_path_type = 3 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_weights : cgltf_animation_path_type = 4 ; pub type cgltf_animation_path_type = u32 ; pub const cgltf_interpolation_type_cgltf_interpolation_type_linear : cgltf_interpolation_type = 0 ; pub const cgltf_interpolation_type_cgltf_interpolation_type_step : cgltf_interpolation_type = 1 ; pub const cgltf_interpolation_type_cgltf_interpolation_type_cubic_spline : cgltf_interpolation_type = 2 ; pub type cgltf_interpolation_type = u32 ; pub const cgltf_camera_type_cgltf_camera_type_invalid : cgltf_camera_type = 0 ; pub const cgltf_camera_type_cgltf_camera_type_perspective : cgltf_camera_type = 1 ; pub const cgltf_camera_type_cgltf_camera_type_orthographic : cgltf_camera_type = 2 ; pub type cgltf_camera_type = u32 ; pub const cgltf_light_type_cgltf_light_type_invalid : cgltf_light_type = 0 ; pub const cgltf_light_type_cgltf_light_type_directional : cgltf_light_type = 1 ; pub const cgltf_light_type_cgltf_light_type_point : cgltf_light_type = 2 ; pub const cgltf_light_type_cgltf_light_type_spot : cgltf_light_type = 3 ; pub type cgltf_light_type = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_extras { pub start_offset : cgltf_size , pub end_offset : cgltf_size , } # [ test ] fn bindgen_test_layout_cgltf_extras ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_extras > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( cgltf_extras ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_extras > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_extras > ( ) ) ) . start_offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_extras ) , "::" , stringify ! ( start_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_extras > ( ) ) ) . end_offset as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_extras ) , "::" , stringify ! ( end_offset ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_buffer { pub size : cgltf_size , pub uri : * mut :: std :: os :: raw :: c_char , pub data : * mut :: std :: os :: raw :: c_void , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_buffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_buffer > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_buffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_buffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . uri as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( uri ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_buffer_view { pub buffer : * mut cgltf_buffer , pub offset : cgltf_size , pub size : cgltf_size , pub stride : cgltf_size , pub type_ : cgltf_buffer_view_type , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_buffer_view ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_buffer_view > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( cgltf_buffer_view ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_buffer_view > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . buffer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . offset as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . stride as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( stride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . type_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . extras as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_accessor_sparse { pub count : cgltf_size , pub indices_buffer_view : * mut cgltf_buffer_view , pub indices_byte_offset : cgltf_size , pub indices_component_type : cgltf_component_type , pub values_buffer_view : * mut cgltf_buffer_view , pub values_byte_offset : cgltf_size , pub extras : cgltf_extras , pub indices_extras : cgltf_extras , pub values_extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_accessor_sparse ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_accessor_sparse > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( cgltf_accessor_sparse ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_accessor_sparse > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_accessor_sparse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_buffer_view as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_byte_offset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_byte_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_component_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_component_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . values_buffer_view as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( values_buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . values_byte_offset as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( values_byte_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . extras as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_extras as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . values_extras as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( values_extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_accessor { pub component_type : cgltf_component_type , pub normalized : cgltf_bool , pub type_ : cgltf_type , pub offset : cgltf_size , pub count : cgltf_size , pub stride : cgltf_size , pub buffer_view : * mut cgltf_buffer_view , pub has_min : cgltf_bool , pub min : [ cgltf_float ; 16usize ] , pub has_max : cgltf_bool , pub max : [ cgltf_float ; 16usize ] , pub is_sparse : cgltf_bool , pub sparse : cgltf_accessor_sparse , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_accessor ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_accessor > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( cgltf_accessor ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_accessor > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_accessor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . component_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( component_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . normalized as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( normalized ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . offset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . stride as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( stride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . buffer_view as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . has_min as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( has_min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . min as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . has_max as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( has_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . max as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . is_sparse as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( is_sparse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . sparse as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( sparse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . extras as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_attribute { pub name : * mut :: std :: os :: raw :: c_char , pub type_ : cgltf_attribute_type , pub index : cgltf_int , pub data : * mut cgltf_accessor , } # [ test ] fn bindgen_test_layout_cgltf_attribute ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_attribute > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( cgltf_attribute ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_attribute > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_attribute ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . index as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( data ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_image { pub name : * mut :: std :: os :: raw :: c_char , pub uri : * mut :: std :: os :: raw :: c_char , pub buffer_view : * mut cgltf_buffer_view , pub mime_type : * mut :: std :: os :: raw :: c_char , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_image ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_image > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( cgltf_image ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_image > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . uri as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( uri ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . buffer_view as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . mime_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( mime_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . extras as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_sampler { pub mag_filter : cgltf_int , pub min_filter : cgltf_int , pub wrap_s : cgltf_int , pub wrap_t : cgltf_int , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_sampler ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_sampler > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_sampler ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_sampler > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . mag_filter as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( mag_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . min_filter as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( min_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . wrap_s as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( wrap_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . wrap_t as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( wrap_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . extras as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_texture { pub name : * mut :: std :: os :: raw :: c_char , pub image : * mut cgltf_image , pub sampler : * mut cgltf_sampler , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_texture ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_texture > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_texture ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_texture > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . image as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . sampler as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_texture_transform { pub offset : [ cgltf_float ; 2usize ] , pub rotation : cgltf_float , pub scale : [ cgltf_float ; 2usize ] , pub texcoord : cgltf_int , } # [ test ] fn bindgen_test_layout_cgltf_texture_transform ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_texture_transform > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( cgltf_texture_transform ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_texture_transform > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( cgltf_texture_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . rotation as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . scale as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . texcoord as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( texcoord ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_texture_view { pub texture : * mut cgltf_texture , pub texcoord : cgltf_int , pub scale : cgltf_float , pub has_transform : cgltf_bool , pub transform : cgltf_texture_transform , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_texture_view ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_texture_view > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( cgltf_texture_view ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_texture_view > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_texture_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . texcoord as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( texcoord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . scale as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . has_transform as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( has_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . transform as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . extras as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_pbr_metallic_roughness { pub base_color_texture : cgltf_texture_view , pub metallic_roughness_texture : cgltf_texture_view , pub base_color_factor : [ cgltf_float ; 4usize ] , pub metallic_factor : cgltf_float , pub roughness_factor : cgltf_float , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_pbr_metallic_roughness ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_pbr_metallic_roughness > ( ) , 168usize , concat ! ( "Size of: " , stringify ! ( cgltf_pbr_metallic_roughness ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_pbr_metallic_roughness > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_pbr_metallic_roughness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . base_color_texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( base_color_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . metallic_roughness_texture as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( metallic_roughness_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . base_color_factor as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( base_color_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . metallic_factor as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( metallic_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . roughness_factor as * const _ as usize } , 148usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( roughness_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . extras as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_pbr_specular_glossiness { pub diffuse_texture : cgltf_texture_view , pub specular_glossiness_texture : cgltf_texture_view , pub diffuse_factor : [ cgltf_float ; 4usize ] , pub specular_factor : [ cgltf_float ; 3usize ] , pub glossiness_factor : cgltf_float , } # [ test ] fn bindgen_test_layout_cgltf_pbr_specular_glossiness ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_pbr_specular_glossiness > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( cgltf_pbr_specular_glossiness ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_pbr_specular_glossiness > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_pbr_specular_glossiness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . diffuse_texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( diffuse_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . specular_glossiness_texture as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( specular_glossiness_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . diffuse_factor as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( diffuse_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . specular_factor as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( specular_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . glossiness_factor as * const _ as usize } , 156usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( glossiness_factor ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_material { pub name : * mut :: std :: os :: raw :: c_char , pub has_pbr_metallic_roughness : cgltf_bool , pub has_pbr_specular_glossiness : cgltf_bool , pub pbr_metallic_roughness : cgltf_pbr_metallic_roughness , pub pbr_specular_glossiness : cgltf_pbr_specular_glossiness , pub normal_texture : cgltf_texture_view , pub occlusion_texture : cgltf_texture_view , pub emissive_texture : cgltf_texture_view , pub emissive_factor : [ cgltf_float ; 3usize ] , pub alpha_mode : cgltf_alpha_mode , pub alpha_cutoff : cgltf_float , pub double_sided : cgltf_bool , pub unlit : cgltf_bool , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_material ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_material > ( ) , 584usize , concat ! ( "Size of: " , stringify ! ( cgltf_material ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_material > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . has_pbr_metallic_roughness as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( has_pbr_metallic_roughness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . has_pbr_specular_glossiness as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( has_pbr_specular_glossiness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . pbr_metallic_roughness as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( pbr_metallic_roughness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . pbr_specular_glossiness as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( pbr_specular_glossiness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . normal_texture as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( normal_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . occlusion_texture as * const _ as usize } , 408usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( occlusion_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . emissive_texture as * const _ as usize } , 472usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( emissive_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . emissive_factor as * const _ as usize } , 536usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( emissive_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . alpha_mode as * const _ as usize } , 548usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( alpha_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . alpha_cutoff as * const _ as usize } , 552usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( alpha_cutoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . double_sided as * const _ as usize } , 556usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( double_sided ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . unlit as * const _ as usize } , 560usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( unlit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . extras as * const _ as usize } , 568usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_morph_target { pub attributes : * mut cgltf_attribute , pub attributes_count : cgltf_size , } # [ test ] fn bindgen_test_layout_cgltf_morph_target ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_morph_target > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( cgltf_morph_target ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_morph_target > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_morph_target ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_morph_target > ( ) ) ) . attributes as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_morph_target ) , "::" , stringify ! ( attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_morph_target > ( ) ) ) . attributes_count as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_morph_target ) , "::" , stringify ! ( attributes_count ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_primitive { pub type_ : cgltf_primitive_type , pub indices : * mut cgltf_accessor , pub material : * mut cgltf_material , pub attributes : * mut cgltf_attribute , pub attributes_count : cgltf_size , pub targets : * mut cgltf_morph_target , pub targets_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_primitive ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_primitive > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( cgltf_primitive ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_primitive > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_primitive ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . indices as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( indices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . material as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . attributes as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . attributes_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( attributes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . targets as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( targets ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . targets_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( targets_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . extras as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_mesh { pub name : * mut :: std :: os :: raw :: c_char , pub primitives : * mut cgltf_primitive , pub primitives_count : cgltf_size , pub weights : * mut cgltf_float , pub weights_count : cgltf_size , pub target_names : * mut * mut :: std :: os :: raw :: c_char , pub target_names_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_mesh ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_mesh > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( cgltf_mesh ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_mesh > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_mesh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . primitives as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( primitives ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . primitives_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( primitives_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . weights as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( weights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . weights_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( weights_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . target_names as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( target_names ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . target_names_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( target_names_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . extras as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_skin { pub name : * mut :: std :: os :: raw :: c_char , pub joints : * mut * mut cgltf_node , pub joints_count : cgltf_size , pub skeleton : * mut cgltf_node , pub inverse_bind_matrices : * mut cgltf_accessor , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_skin ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_skin > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( cgltf_skin ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_skin > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_skin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . joints as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( joints ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . joints_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( joints_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . skeleton as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( skeleton ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . inverse_bind_matrices as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( inverse_bind_matrices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . extras as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_camera_perspective { pub aspect_ratio : cgltf_float , pub yfov : cgltf_float , pub zfar : cgltf_float , pub znear : cgltf_float , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_camera_perspective ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera_perspective > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera_perspective ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera_perspective > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera_perspective ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . aspect_ratio as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( aspect_ratio ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . yfov as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( yfov ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . zfar as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( zfar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . znear as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( znear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . extras as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_camera_orthographic { pub xmag : cgltf_float , pub ymag : cgltf_float , pub zfar : cgltf_float , pub znear : cgltf_float , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_camera_orthographic ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera_orthographic > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera_orthographic ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera_orthographic > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera_orthographic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . xmag as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( xmag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . ymag as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( ymag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . zfar as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( zfar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . znear as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( znear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . extras as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct cgltf_camera { pub name : * mut :: std :: os :: raw :: c_char , pub type_ : cgltf_camera_type , pub data : cgltf_camera__bindgen_ty_1 , pub extras : cgltf_extras , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union cgltf_camera__bindgen_ty_1 { pub perspective : cgltf_camera_perspective , pub orthographic : cgltf_camera_orthographic , _bindgen_union_align : [ u64 ; 4usize ] , } # [ test ] fn bindgen_test_layout_cgltf_camera__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera__bindgen_ty_1 > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera__bindgen_ty_1 > ( ) ) ) . perspective as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera__bindgen_ty_1 ) , "::" , stringify ! ( perspective ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera__bindgen_ty_1 > ( ) ) ) . orthographic as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera__bindgen_ty_1 ) , "::" , stringify ! ( orthographic ) ) ) ; } # [ test ] fn bindgen_test_layout_cgltf_camera ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . extras as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_light { pub name : * mut :: std :: os :: raw :: c_char , pub color : [ cgltf_float ; 3usize ] , pub intensity : cgltf_float , pub type_ : cgltf_light_type , pub range : cgltf_float , pub spot_inner_cone_angle : cgltf_float , pub spot_outer_cone_angle : cgltf_float , } # [ test ] fn bindgen_test_layout_cgltf_light ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_light > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_light ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_light > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_light ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . color as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( color ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . intensity as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( intensity ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . type_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . range as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . spot_inner_cone_angle as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( spot_inner_cone_angle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . spot_outer_cone_angle as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( spot_outer_cone_angle ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_node { pub name : * mut :: std :: os :: raw :: c_char , pub parent : * mut cgltf_node , pub children : * mut * mut cgltf_node , pub children_count : cgltf_size , pub skin : * mut cgltf_skin , pub mesh : * mut cgltf_mesh , pub camera : * mut cgltf_camera , pub light : * mut cgltf_light , pub weights : * mut cgltf_float , pub weights_count : cgltf_size , pub has_translation : cgltf_bool , pub has_rotation : cgltf_bool , pub has_scale : cgltf_bool , pub has_matrix : cgltf_bool , pub translation : [ cgltf_float ; 3usize ] , pub rotation : [ cgltf_float ; 4usize ] , pub scale : [ cgltf_float ; 3usize ] , pub matrix : [ cgltf_float ; 16usize ] , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_node ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_node > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( cgltf_node ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_node > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_node ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . parent as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . children as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( children ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . children_count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( children_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . skin as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( skin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . mesh as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( mesh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . camera as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( camera ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . light as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( light ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . weights as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( weights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . weights_count as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( weights_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_translation as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_translation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_rotation as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_scale as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_matrix as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . translation as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( translation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . rotation as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . scale as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . matrix as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . extras as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_scene { pub name : * mut :: std :: os :: raw :: c_char , pub nodes : * mut * mut cgltf_node , pub nodes_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_scene ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_scene > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_scene ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_scene > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_scene ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . nodes as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . nodes_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( nodes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_animation_sampler { pub input : * mut cgltf_accessor , pub output : * mut cgltf_accessor , pub interpolation : cgltf_interpolation_type , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_animation_sampler ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_animation_sampler > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_animation_sampler ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_animation_sampler > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_animation_sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . input as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( input ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . output as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( output ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . interpolation as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( interpolation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_animation_channel { pub sampler : * mut cgltf_animation_sampler , pub target_node : * mut cgltf_node , pub target_path : cgltf_animation_path_type , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_animation_channel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_animation_channel > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_animation_channel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_animation_channel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_animation_channel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . sampler as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . target_node as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( target_node ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . target_path as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( target_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_animation { pub name : * mut :: std :: os :: raw :: c_char , pub samplers : * mut cgltf_animation_sampler , pub samplers_count : cgltf_size , pub channels : * mut cgltf_animation_channel , pub channels_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_animation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_animation > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( cgltf_animation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_animation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_animation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . samplers as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( samplers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . samplers_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( samplers_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . channels as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( channels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . channels_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( channels_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . extras as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_asset { pub copyright : * mut :: std :: os :: raw :: c_char , pub generator : * mut :: std :: os :: raw :: c_char , pub version : * mut :: std :: os :: raw :: c_char , pub min_version : * mut :: std :: os :: raw :: c_char , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_asset ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_asset > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( cgltf_asset ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_asset > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_asset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . copyright as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( copyright ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . generator as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( generator ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . version as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . min_version as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( min_version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . extras as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_data { pub file_type : cgltf_file_type , pub file_data : * mut :: std :: os :: raw :: c_void , pub asset : cgltf_asset , pub meshes : * mut cgltf_mesh , pub meshes_count : cgltf_size , pub materials : * mut cgltf_material , pub materials_count : cgltf_size , pub accessors : * mut cgltf_accessor , pub accessors_count : cgltf_size , pub buffer_views : * mut cgltf_buffer_view , pub buffer_views_count : cgltf_size , pub buffers : * mut cgltf_buffer , pub buffers_count : cgltf_size , pub images : * mut cgltf_image , pub images_count : cgltf_size , pub textures : * mut cgltf_texture , pub textures_count : cgltf_size , pub samplers : * mut cgltf_sampler , pub samplers_count : cgltf_size , pub skins : * mut cgltf_skin , pub skins_count : cgltf_size , pub cameras : * mut cgltf_camera , pub cameras_count : cgltf_size , pub lights : * mut cgltf_light , pub lights_count : cgltf_size , pub nodes : * mut cgltf_node , pub nodes_count : cgltf_size , pub scenes : * mut cgltf_scene , pub scenes_count : cgltf_size , pub scene : * mut cgltf_scene , pub animations : * mut cgltf_animation , pub animations_count : cgltf_size , pub extras : cgltf_extras , pub extensions_used : * mut * mut :: std :: os :: raw :: c_char , pub extensions_used_count : cgltf_size , pub extensions_required : * mut * mut :: std :: os :: raw :: c_char , pub extensions_required_count : cgltf_size , pub json : * const :: std :: os :: raw :: c_char , pub json_size : cgltf_size , pub bin : * const :: std :: os :: raw :: c_void , pub bin_size : cgltf_size , pub memory_free : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , ptr : * mut :: std :: os :: raw :: c_void ) > , pub memory_user_data : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_cgltf_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_data > ( ) , 392usize , concat ! ( "Size of: " , stringify ! ( cgltf_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_data > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . file_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( file_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . file_data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( file_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . asset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( asset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . meshes as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( meshes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . meshes_count as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( meshes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . materials as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( materials ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . materials_count as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( materials_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . accessors as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( accessors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . accessors_count as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( accessors_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffer_views as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffer_views ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffer_views_count as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffer_views_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffers as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffers_count as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffers_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . images as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( images ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . images_count as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( images_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . textures as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( textures ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . textures_count as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( textures_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . samplers as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( samplers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . samplers_count as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( samplers_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . skins as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( skins ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . skins_count as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( skins_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . cameras as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( cameras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . cameras_count as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( cameras_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . lights as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( lights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . lights_count as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( lights_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . nodes as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . nodes_count as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( nodes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . scenes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( scenes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . scenes_count as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( scenes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . scene as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( scene ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . animations as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( animations ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . animations_count as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( animations_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extras as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_used as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_used ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_used_count as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_used_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_required as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_required ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_required_count as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_required_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . json as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( json ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . json_size as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( json_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . bin as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( bin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . bin_size as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( bin_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . memory_free as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( memory_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . memory_user_data as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( memory_user_data ) ) ) ; } extern "C" { pub fn cgltf_parse ( options : * const cgltf_options , data : * const :: std :: os :: raw :: c_void , size : cgltf_size , out_data : * mut * mut cgltf_data ) -> cgltf_result ; } extern "C" { pub fn cgltf_parse_file ( options : * const cgltf_options , path : * const :: std :: os :: raw :: c_char , out_data : * mut * mut cgltf_data ) -> cgltf_result ; } extern "C" { pub fn cgltf_load_buffers ( options : * const cgltf_options , data : * mut cgltf_data , gltf_path : * const :: std :: os :: raw :: c_char ) -> cgltf_result ; } extern "C" { pub fn cgltf_load_buffer_base64 ( options : * const cgltf_options , size : cgltf_size , base64 : * const :: std :: os :: raw :: c_char , out_data : * mut * mut :: std :: os :: raw :: c_void ) -> cgltf_result ; } extern "C" { pub fn cgltf_validate ( data : * mut cgltf_data ) -> cgltf_result ; } extern "C" { pub fn cgltf_free ( data : * mut cgltf_data ) ; } extern "C" { pub fn cgltf_node_transform_local ( node : * const cgltf_node , out_matrix : * mut cgltf_float ) ; } extern "C" { pub fn cgltf_node_transform_world ( node : * const cgltf_node , out_matrix : * mut cgltf_float ) ; } extern "C" { pub fn cgltf_accessor_read_float ( accessor : * const cgltf_accessor , index : cgltf_size , out : * mut cgltf_float , element_size : cgltf_size ) -> cgltf_bool ; } extern "C" { pub fn cgltf_accessor_read_index ( accessor : * const cgltf_accessor , index : cgltf_size ) -> cgltf_size ; } extern "C" { pub fn cgltf_num_components ( type_ : cgltf_type ) -> cgltf_size ; } extern "C" { pub fn cgltf_accessor_unpack_floats ( accessor : * const cgltf_accessor , out : * mut cgltf_float , float_count : cgltf_size ) -> cgltf_size ; } extern "C" { pub fn cgltf_copy_extras_json ( data : * const cgltf_data , extras : * const cgltf_extras , dest : * mut :: std :: os :: raw :: c_char , dest_size : * mut cgltf_size ) -> cgltf_result ; } pub const jsmntype_t_JSMN_UNDEFINED : jsmntype_t = 0 ; pub const jsmntype_t_JSMN_OBJECT : jsmntype_t = 1 ; pub const jsmntype_t_JSMN_ARRAY : jsmntype_t = 2 ; pub const jsmntype_t_JSMN_STRING : jsmntype_t = 3 ; pub const jsmntype_t_JSMN_PRIMITIVE : jsmntype_t = 4 ; pub type jsmntype_t = u32 ; pub const jsmnerr_JSMN_ERROR_NOMEM : jsmnerr = -1 ; pub const jsmnerr_JSMN_ERROR_INVAL : jsmnerr = -2 ; pub const jsmnerr_JSMN_ERROR_PART : jsmnerr = -3 ; pub type jsmnerr = i32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct jsmntok_t { pub type_ : jsmntype_t , pub start : :: std :: os :: raw :: c_int , pub end : :: std :: os :: raw :: c_int , pub size : :: std :: os :: raw :: c_int , pub parent : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_jsmntok_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < jsmntok_t > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( jsmntok_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < jsmntok_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( jsmntok_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . start as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . end as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . size as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . parent as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( parent ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct jsmn_parser { pub pos : :: std :: os :: raw :: c_uint , pub toknext : :: std :: os :: raw :: c_uint , pub toksuper : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_jsmn_parser ( ) { assert_eq ! ( :: std :: mem :: size_of :: < jsmn_parser > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( jsmn_parser ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < jsmn_parser > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( jsmn_parser ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmn_parser > ( ) ) ) . pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( jsmn_parser ) , "::" , stringify ! ( pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmn_parser > ( ) ) ) . toknext as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( jsmn_parser ) , "::" , stringify ! ( toknext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmn_parser > ( ) ) ) . toksuper as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( jsmn_parser ) , "::" , stringify ! ( toksuper ) ) ) ; } pub const GlbHeaderSize : cgltf_size = 12 ; pub const GlbChunkHeaderSize : cgltf_size = 8 ; pub const GlbVersion : u32 = 2 ; pub const GlbMagic : u32 = 1179937895 ; pub const GlbMagicJsonChunk : u32 = 1313821514 ; pub const GlbMagicBinChunk : u32 = 5130562 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes_mesh_s { pub points : * mut f32 , pub npoints : :: std :: os :: raw :: c_int , pub triangles : * mut u16 , pub ntriangles : :: std :: os :: raw :: c_int , pub normals : * mut f32 , pub tcoords : * mut f32 , } # [ test ] fn bindgen_test_layout_par_shapes_mesh_s ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes_mesh_s > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( par_shapes_mesh_s ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes_mesh_s > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes_mesh_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . points as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( points ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . npoints as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( npoints ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . triangles as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( triangles ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . ntriangles as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( ntriangles ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . normals as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . tcoords as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( tcoords ) ) ) ; } pub type par_shapes_mesh = par_shapes_mesh_s ; extern "C" { pub fn par_shapes_free_mesh ( arg1 : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_create_cylinder ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_cone ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_torus ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int , radius : f32 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_parametric_sphere ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_subdivided_sphere ( nsubdivisions : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_klein_bottle ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_trefoil_knot ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int , radius : f32 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_hemisphere ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_plane ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } pub type par_shapes_fn = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const f32 , arg2 : * mut f32 , arg3 : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub fn par_shapes_create_parametric ( arg1 : par_shapes_fn , slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int , userdata : * mut :: std :: os :: raw :: c_void ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_icosahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_dodecahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_octahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_tetrahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_cube ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_disk ( radius : f32 , slices : :: std :: os :: raw :: c_int , center : * const f32 , normal : * const f32 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_empty ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_rock ( seed : :: std :: os :: raw :: c_int , nsubdivisions : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_lsystem ( program : * const :: std :: os :: raw :: c_char , slices : :: std :: os :: raw :: c_int , maxdepth : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_export ( arg1 : * const par_shapes_mesh , objfile : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn par_shapes_compute_aabb ( mesh : * const par_shapes_mesh , aabb : * mut f32 ) ; } extern "C" { pub fn par_shapes_clone ( mesh : * const par_shapes_mesh , target : * mut par_shapes_mesh ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_merge ( dst : * mut par_shapes_mesh , src : * const par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_translate ( arg1 : * mut par_shapes_mesh , x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn par_shapes_rotate ( arg1 : * mut par_shapes_mesh , radians : f32 , axis : * const f32 ) ; } extern "C" { pub fn par_shapes_scale ( arg1 : * mut par_shapes_mesh , x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn par_shapes_merge_and_free ( dst : * mut par_shapes_mesh , src : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_invert ( arg1 : * mut par_shapes_mesh , startface : :: std :: os :: raw :: c_int , nfaces : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn par_shapes_remove_degenerate ( arg1 : * mut par_shapes_mesh , minarea : f32 ) ; } extern "C" { pub fn par_shapes_unweld ( mesh : * mut par_shapes_mesh , create_indices : bool ) ; } extern "C" { pub fn par_shapes_weld ( arg1 : * const par_shapes_mesh , epsilon : f32 , mapping : * mut u16 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_compute_normals ( m : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_set_epsilon_welded_normals ( epsilon : f32 ) ; } extern "C" { pub fn par_shapes_set_epsilon_degenerate_sphere ( epsilon : f32 ) ; } extern "C" { pub fn par_shapes__compute_welded_normals ( m : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes__connect ( scene : * mut par_shapes_mesh , cylinder : * mut par_shapes_mesh , slices : :: std :: os :: raw :: c_int ) ; } pub const par_shapes__epsilon_welded_normals : f32 = 0.0010000000474974513 ; pub const par_shapes__epsilon_degenerate_sphere : f32 = 0.00009999999747378752 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes__command { pub cmd : * mut :: std :: os :: raw :: c_char , pub arg : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_par_shapes__command ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes__command > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( par_shapes__command ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes__command > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes__command ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__command > ( ) ) ) . cmd as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__command ) , "::" , stringify ! ( cmd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__command > ( ) ) ) . arg as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__command ) , "::" , stringify ! ( arg ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes__rule { pub name : * const :: std :: os :: raw :: c_char , pub weight : :: std :: os :: raw :: c_int , pub ncommands : :: std :: os :: raw :: c_int , pub commands : * mut par_shapes__command , } # [ test ] fn bindgen_test_layout_par_shapes__rule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes__rule > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( par_shapes__rule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes__rule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes__rule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . weight as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( weight ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . ncommands as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( ncommands ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . commands as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( commands ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes__stackframe { pub pc : :: std :: os :: raw :: c_int , pub position : [ f32 ; 3usize ] , pub scale : [ f32 ; 3usize ] , pub orientation : * mut par_shapes_mesh , pub rule : * mut par_shapes__rule , } # [ test ] fn bindgen_test_layout_par_shapes__stackframe ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes__stackframe > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( par_shapes__stackframe ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes__stackframe > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes__stackframe ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . pc as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( pc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . position as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . scale as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . orientation as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( orientation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . rule as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( rule ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _bindgen_ty_2 { pub points : * const f32 , pub gridsize : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _bindgen_ty_2 > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _bindgen_ty_2 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _bindgen_ty_2 > ( ) ) ) . points as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _bindgen_ty_2 ) , "::" , stringify ! ( points ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _bindgen_ty_2 > ( ) ) ) . gridsize as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _bindgen_ty_2 ) , "::" , stringify ! ( gridsize ) ) ) ; } extern "C" { pub static mut par_shapes__sort_context : _bindgen_ty_2 ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct osn_context { pub perm : * mut i16 , pub permGradIndex3D : * mut i16 , } # [ test ] fn bindgen_test_layout_osn_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < osn_context > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( osn_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < osn_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( osn_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < osn_context > ( ) ) ) . perm as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( osn_context ) , "::" , stringify ! ( perm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < osn_context > ( ) ) ) . permGradIndex3D as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( osn_context ) , "::" , stringify ! ( permGradIndex3D ) ) ) ; } extern "C" { pub static mut gradients2D : [ i8 ; 16usize ] ; } extern "C" { pub static mut gradients3D : [ :: std :: os :: raw :: c_schar ; 72usize ] ; } extern "C" { pub static mut gradients4D : [ :: std :: os :: raw :: c_schar ; 256usize ] ; } pub const STBI_default : _bindgen_ty_3 = 0 ; pub const STBI_grey : _bindgen_ty_3 = 1 ; pub const STBI_grey_alpha : _bindgen_ty_3 = 2 ; pub const STBI_rgb : _bindgen_ty_3 = 3 ; pub const STBI_rgb_alpha : _bindgen_ty_3 = 4 ; pub type _bindgen_ty_3 = u32 ; pub type stbi_uc = :: std :: os :: raw :: c_uchar ; pub type stbi_us = :: std :: os :: raw :: c_ushort ; # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi_io_callbacks { pub read : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > , pub skip : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , n : :: std :: os :: raw :: c_int ) > , pub eof : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > , } # [ test ] fn bindgen_test_layout_stbi_io_callbacks ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi_io_callbacks > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stbi_io_callbacks ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi_io_callbacks > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi_io_callbacks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi_io_callbacks > ( ) ) ) . read as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi_io_callbacks ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi_io_callbacks > ( ) ) ) . skip as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi_io_callbacks ) , "::" , stringify ! ( skip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi_io_callbacks > ( ) ) ) . eof as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi_io_callbacks ) , "::" , stringify ! ( eof ) ) ) ; } extern "C" { # [ doc = "" ] pub fn stbi_load_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load_from_file ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load_gif_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , delays : * mut * mut :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , z : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int , req_comp : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { # [ doc = "" ] pub fn stbi_load_16_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_load_16_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_load_16 ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_load_from_file_16 ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_loadf_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_loadf_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_loadf ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_loadf_from_file ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_hdr_to_ldr_gamma ( gamma : f32 ) ; } extern "C" { pub fn stbi_hdr_to_ldr_scale ( scale : f32 ) ; } extern "C" { pub fn stbi_ldr_to_hdr_gamma ( gamma : f32 ) ; } extern "C" { pub fn stbi_ldr_to_hdr_scale ( scale : f32 ) ; } extern "C" { pub fn stbi_is_hdr_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_hdr_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_hdr ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_hdr_from_file ( f : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_failure_reason ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_image_free ( retval_from_stbi_load : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn stbi_info_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_info_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_info ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_info_from_file ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit_from_file ( f : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_set_unpremultiply_on_load ( flag_true_if_should_unpremultiply : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbi_convert_iphone_png_to_rgb ( flag_true_if_should_convert : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbi_set_flip_vertically_on_load ( flag_true_if_should_flip : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbi_zlib_decode_malloc_guesssize ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , initial_size : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_malloc_guesssize_headerflag ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , initial_size : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int , parse_header : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_malloc ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_buffer ( obuffer : * mut :: std :: os :: raw :: c_char , olen : :: std :: os :: raw :: c_int , ibuffer : * const :: std :: os :: raw :: c_char , ilen : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_zlib_decode_noheader_malloc ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_noheader_buffer ( obuffer : * mut :: std :: os :: raw :: c_char , olen : :: std :: os :: raw :: c_int , ibuffer : * const :: std :: os :: raw :: c_char , ilen : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type stbi__uint16 = u16 ; pub type stbi__int16 = i16 ; pub type stbi__uint32 = u32 ; pub type stbi__int32 = i32 ; pub type validate_uint32 = [ :: std :: os :: raw :: c_uchar ; 1usize ] ; pub type __m64 = [ :: std :: os :: raw :: c_longlong ; 1usize ] ; pub type __v1di = [ :: std :: os :: raw :: c_longlong ; 1usize ] ; pub type __v2si = [ :: std :: os :: raw :: c_int ; 2usize ] ; pub type __v4hi = [ :: std :: os :: raw :: c_short ; 4usize ] ; pub type __v8qi = [ :: std :: os :: raw :: c_char ; 8usize ] ; pub type __v4si = [ :: std :: os :: raw :: c_int ; 4usize ] ; pub type __v4sf = [ f32 ; 4usize ] ; pub type __m128 = [ f32 ; 4usize ] ; pub type __v4su = [ :: std :: os :: raw :: c_uint ; 4usize ] ; extern "C" { pub fn _mm_sfence ( ) ; } extern "C" { pub fn _mm_getcsr ( ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn _mm_setcsr ( __i : :: std :: os :: raw :: c_uint ) ; } pub type __m128d = [ f64 ; 2usize ] ; pub type __m128i = [ :: std :: os :: raw :: c_longlong ; 2usize ] ; pub type __v2df = [ f64 ; 2usize ] ; pub type __v2di = [ :: std :: os :: raw :: c_longlong ; 2usize ] ; pub type __v8hi = [ :: std :: os :: raw :: c_short ; 8usize ] ; pub type __v16qi = [ :: std :: os :: raw :: c_char ; 16usize ] ; pub type __v2du = [ :: std :: os :: raw :: c_ulonglong ; 2usize ] ; pub type __v8hu = [ :: std :: os :: raw :: c_ushort ; 8usize ] ; pub type __v16qu = [ :: std :: os :: raw :: c_uchar ; 16usize ] ; pub type __v16qs = [ :: std :: os :: raw :: c_schar ; 16usize ] ; extern "C" { pub fn _mm_clflush ( __p : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn _mm_lfence ( ) ; } extern "C" { pub fn _mm_mfence ( ) ; } extern "C" { pub fn _mm_pause ( ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__context { pub img_x : stbi__uint32 , pub img_y : stbi__uint32 , pub img_n : :: std :: os :: raw :: c_int , pub img_out_n : :: std :: os :: raw :: c_int , pub io : stbi_io_callbacks , pub io_user_data : * mut :: std :: os :: raw :: c_void , pub read_from_callbacks : :: std :: os :: raw :: c_int , pub buflen : :: std :: os :: raw :: c_int , pub buffer_start : [ stbi_uc ; 128usize ] , pub img_buffer : * mut stbi_uc , pub img_buffer_end : * mut stbi_uc , pub img_buffer_original : * mut stbi_uc , pub img_buffer_original_end : * mut stbi_uc , } # [ test ] fn bindgen_test_layout_stbi__context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__context > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( stbi__context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_n as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_out_n as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_out_n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . io as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( io ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . io_user_data as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( io_user_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . read_from_callbacks as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( read_from_callbacks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . buflen as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( buflen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . buffer_start as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( buffer_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer_end as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer_original as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer_original ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer_original_end as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer_original_end ) ) ) ; } extern "C" { pub static mut stbi__stdio_callbacks : stbi_io_callbacks ; } pub const STBI_ORDER_RGB : _bindgen_ty_4 = 0 ; pub const STBI_ORDER_BGR : _bindgen_ty_4 = 1 ; pub type _bindgen_ty_4 = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__result_info { pub bits_per_channel : :: std :: os :: raw :: c_int , pub num_channels : :: std :: os :: raw :: c_int , pub channel_order : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__result_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__result_info > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( stbi__result_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__result_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__result_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__result_info > ( ) ) ) . bits_per_channel as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__result_info ) , "::" , stringify ! ( bits_per_channel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__result_info > ( ) ) ) . num_channels as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__result_info ) , "::" , stringify ! ( num_channels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__result_info > ( ) ) ) . channel_order as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__result_info ) , "::" , stringify ! ( channel_order ) ) ) ; } extern "C" { pub static mut stbi__g_failure_reason : * const :: std :: os :: raw :: c_char ; } pub const stbi__vertically_flip_on_load : :: std :: os :: raw :: c_int = 0 ; pub const stbi__l2h_gamma : f32 = 2.200000047683716 ; pub const stbi__l2h_scale : f32 = 1.0 ; pub const stbi__h2l_gamma_i : f32 = 0.45454543828964233 ; pub const stbi__h2l_scale_i : f32 = 1.0 ; pub const STBI__SCAN_load : _bindgen_ty_5 = 0 ; pub const STBI__SCAN_type : _bindgen_ty_5 = 1 ; pub const STBI__SCAN_header : _bindgen_ty_5 = 2 ; # [ doc = "" ] pub type _bindgen_ty_5 = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__huffman { pub fast : [ stbi_uc ; 512usize ] , pub code : [ stbi__uint16 ; 256usize ] , pub values : [ stbi_uc ; 256usize ] , pub size : [ stbi_uc ; 257usize ] , pub maxcode : [ :: std :: os :: raw :: c_uint ; 18usize ] , pub delta : [ :: std :: os :: raw :: c_int ; 17usize ] , } # [ test ] fn bindgen_test_layout_stbi__huffman ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__huffman > ( ) , 1680usize , concat ! ( "Size of: " , stringify ! ( stbi__huffman ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__huffman > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__huffman ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . fast as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( fast ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . code as * const _ as usize } , 512usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( code ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . values as * const _ as usize } , 1024usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( values ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . size as * const _ as usize } , 1280usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . maxcode as * const _ as usize } , 1540usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( maxcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . delta as * const _ as usize } , 1612usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( delta ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__jpeg { pub s : * mut stbi__context , pub huff_dc : [ stbi__huffman ; 4usize ] , pub huff_ac : [ stbi__huffman ; 4usize ] , pub dequant : [ [ stbi__uint16 ; 64usize ] ; 4usize ] , pub fast_ac : [ [ stbi__int16 ; 512usize ] ; 4usize ] , pub img_h_max : :: std :: os :: raw :: c_int , pub img_v_max : :: std :: os :: raw :: c_int , pub img_mcu_x : :: std :: os :: raw :: c_int , pub img_mcu_y : :: std :: os :: raw :: c_int , pub img_mcu_w : :: std :: os :: raw :: c_int , pub img_mcu_h : :: std :: os :: raw :: c_int , pub img_comp : [ stbi__jpeg__bindgen_ty_1 ; 4usize ] , pub code_buffer : stbi__uint32 , pub code_bits : :: std :: os :: raw :: c_int , pub marker : :: std :: os :: raw :: c_uchar , pub nomore : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , pub spec_start : :: std :: os :: raw :: c_int , pub spec_end : :: std :: os :: raw :: c_int , pub succ_high : :: std :: os :: raw :: c_int , pub succ_low : :: std :: os :: raw :: c_int , pub eob_run : :: std :: os :: raw :: c_int , pub jfif : :: std :: os :: raw :: c_int , pub app14_color_transform : :: std :: os :: raw :: c_int , pub rgb : :: std :: os :: raw :: c_int , pub scan_n : :: std :: os :: raw :: c_int , pub order : [ :: std :: os :: raw :: c_int ; 4usize ] , pub restart_interval : :: std :: os :: raw :: c_int , pub todo : :: std :: os :: raw :: c_int , pub idct_block_kernel : :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , out_stride : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_short ) > , pub YCbCr_to_RGB_kernel : :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , y : * const stbi_uc , pcb : * const stbi_uc , pcr : * const stbi_uc , count : :: std :: os :: raw :: c_int , step : :: std :: os :: raw :: c_int ) > , pub resample_row_hv_2_kernel : :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , in_near : * mut stbi_uc , in_far : * mut stbi_uc , w : :: std :: os :: raw :: c_int , hs : :: std :: os :: raw :: c_int ) -> * mut stbi_uc > , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__jpeg__bindgen_ty_1 { pub id : :: std :: os :: raw :: c_int , pub h : :: std :: os :: raw :: c_int , pub v : :: std :: os :: raw :: c_int , pub tq : :: std :: os :: raw :: c_int , pub hd : :: std :: os :: raw :: c_int , pub ha : :: std :: os :: raw :: c_int , pub dc_pred : :: std :: os :: raw :: c_int , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub w2 : :: std :: os :: raw :: c_int , pub h2 : :: std :: os :: raw :: c_int , pub data : * mut stbi_uc , pub raw_data : * mut :: std :: os :: raw :: c_void , pub raw_coeff : * mut :: std :: os :: raw :: c_void , pub linebuf : * mut stbi_uc , pub coeff : * mut :: std :: os :: raw :: c_short , pub coeff_w : :: std :: os :: raw :: c_int , pub coeff_h : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__jpeg__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__jpeg__bindgen_ty_1 > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__jpeg__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . h as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . v as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( v ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . tq as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( tq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . hd as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( hd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . ha as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( ha ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . dc_pred as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( dc_pred ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . x as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . y as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . w2 as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( w2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . h2 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( h2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . data as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . raw_data as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( raw_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . raw_coeff as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( raw_coeff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . linebuf as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( linebuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . coeff as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( coeff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . coeff_w as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( coeff_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . coeff_h as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( coeff_h ) ) ) ; } # [ test ] fn bindgen_test_layout_stbi__jpeg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__jpeg > ( ) , 18568usize , concat ! ( "Size of: " , stringify ! ( stbi__jpeg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__jpeg > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__jpeg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . huff_dc as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( huff_dc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . huff_ac as * const _ as usize } , 6728usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( huff_ac ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . dequant as * const _ as usize } , 13448usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( dequant ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . fast_ac as * const _ as usize } , 13960usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( fast_ac ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_h_max as * const _ as usize } , 18056usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_h_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_v_max as * const _ as usize } , 18060usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_v_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_x as * const _ as usize } , 18064usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_y as * const _ as usize } , 18068usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_w as * const _ as usize } , 18072usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_h as * const _ as usize } , 18076usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_comp as * const _ as usize } , 18080usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_comp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . code_buffer as * const _ as usize } , 18464usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( code_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . code_bits as * const _ as usize } , 18468usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( code_bits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . marker as * const _ as usize } , 18472usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . nomore as * const _ as usize } , 18476usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( nomore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . progressive as * const _ as usize } , 18480usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( progressive ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . spec_start as * const _ as usize } , 18484usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( spec_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . spec_end as * const _ as usize } , 18488usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( spec_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . succ_high as * const _ as usize } , 18492usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( succ_high ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . succ_low as * const _ as usize } , 18496usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( succ_low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . eob_run as * const _ as usize } , 18500usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( eob_run ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . jfif as * const _ as usize } , 18504usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( jfif ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . app14_color_transform as * const _ as usize } , 18508usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( app14_color_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . rgb as * const _ as usize } , 18512usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( rgb ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . scan_n as * const _ as usize } , 18516usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( scan_n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . order as * const _ as usize } , 18520usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( order ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . restart_interval as * const _ as usize } , 18536usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( restart_interval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . todo as * const _ as usize } , 18540usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( todo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . idct_block_kernel as * const _ as usize } , 18544usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( idct_block_kernel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . YCbCr_to_RGB_kernel as * const _ as usize } , 18552usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( YCbCr_to_RGB_kernel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . resample_row_hv_2_kernel as * const _ as usize } , 18560usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( resample_row_hv_2_kernel ) ) ) ; } extern "C" { pub static mut stbi__bmask : [ stbi__uint32 ; 17usize ] ; } extern "C" { pub static mut stbi__jbias : [ :: std :: os :: raw :: c_int ; 16usize ] ; } extern "C" { pub static mut stbi__jpeg_dezigzag : [ stbi_uc ; 79usize ] ; } pub type resample_row_func = :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , in0 : * mut stbi_uc , in1 : * mut stbi_uc , w : :: std :: os :: raw :: c_int , hs : :: std :: os :: raw :: c_int ) -> * mut stbi_uc > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__resample { pub resample : resample_row_func , pub line0 : * mut stbi_uc , pub line1 : * mut stbi_uc , pub hs : :: std :: os :: raw :: c_int , pub vs : :: std :: os :: raw :: c_int , pub w_lores : :: std :: os :: raw :: c_int , pub ystep : :: std :: os :: raw :: c_int , pub ypos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__resample ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__resample > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( stbi__resample ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__resample > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__resample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . resample as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( resample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . line0 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( line0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . line1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( line1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . hs as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( hs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . vs as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( vs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . w_lores as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( w_lores ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . ystep as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( ystep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . ypos as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( ypos ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__zhuffman { pub fast : [ stbi__uint16 ; 512usize ] , pub firstcode : [ stbi__uint16 ; 16usize ] , pub maxcode : [ :: std :: os :: raw :: c_int ; 17usize ] , pub firstsymbol : [ stbi__uint16 ; 16usize ] , pub size : [ stbi_uc ; 288usize ] , pub value : [ stbi__uint16 ; 288usize ] , } # [ test ] fn bindgen_test_layout_stbi__zhuffman ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__zhuffman > ( ) , 2020usize , concat ! ( "Size of: " , stringify ! ( stbi__zhuffman ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__zhuffman > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__zhuffman ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . fast as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( fast ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . firstcode as * const _ as usize } , 1024usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( firstcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . maxcode as * const _ as usize } , 1056usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( maxcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . firstsymbol as * const _ as usize } , 1124usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( firstsymbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . size as * const _ as usize } , 1156usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . value as * const _ as usize } , 1444usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__zbuf { pub zbuffer : * mut stbi_uc , pub zbuffer_end : * mut stbi_uc , pub num_bits : :: std :: os :: raw :: c_int , pub code_buffer : stbi__uint32 , pub zout : * mut :: std :: os :: raw :: c_char , pub zout_start : * mut :: std :: os :: raw :: c_char , pub zout_end : * mut :: std :: os :: raw :: c_char , pub z_expandable : :: std :: os :: raw :: c_int , pub z_length : stbi__zhuffman , pub z_distance : stbi__zhuffman , } # [ test ] fn bindgen_test_layout_stbi__zbuf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__zbuf > ( ) , 4096usize , concat ! ( "Size of: " , stringify ! ( stbi__zbuf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__zbuf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__zbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zbuffer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zbuffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zbuffer_end as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zbuffer_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . num_bits as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( num_bits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . code_buffer as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( code_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zout as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zout_start as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zout_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zout_end as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zout_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . z_expandable as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( z_expandable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . z_length as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( z_length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . z_distance as * const _ as usize } , 2072usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( z_distance ) ) ) ; } extern "C" { pub static mut stbi__zlength_base : [ :: std :: os :: raw :: c_int ; 31usize ] ; } extern "C" { pub static mut stbi__zlength_extra : [ :: std :: os :: raw :: c_int ; 31usize ] ; } extern "C" { pub static mut stbi__zdist_base : [ :: std :: os :: raw :: c_int ; 32usize ] ; } extern "C" { pub static mut stbi__zdist_extra : [ :: std :: os :: raw :: c_int ; 32usize ] ; } extern "C" { pub static mut stbi__zdefault_length : [ stbi_uc ; 288usize ] ; } extern "C" { pub static mut stbi__zdefault_distance : [ stbi_uc ; 32usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__pngchunk { pub length : stbi__uint32 , pub type_ : stbi__uint32 , } # [ test ] fn bindgen_test_layout_stbi__pngchunk ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__pngchunk > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbi__pngchunk ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__pngchunk > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__pngchunk ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pngchunk > ( ) ) ) . length as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pngchunk ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pngchunk > ( ) ) ) . type_ as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pngchunk ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__png { pub s : * mut stbi__context , pub idata : * mut stbi_uc , pub expanded : * mut stbi_uc , pub out : * mut stbi_uc , pub depth : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__png ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__png > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( stbi__png ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__png > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__png ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . idata as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( idata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . expanded as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( expanded ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . out as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( out ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . depth as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( depth ) ) ) ; } pub const STBI__F_none : _bindgen_ty_6 = 0 ; pub const STBI__F_sub : _bindgen_ty_6 = 1 ; pub const STBI__F_up : _bindgen_ty_6 = 2 ; pub const STBI__F_avg : _bindgen_ty_6 = 3 ; pub const STBI__F_paeth : _bindgen_ty_6 = 4 ; pub const STBI__F_avg_first : _bindgen_ty_6 = 5 ; pub const STBI__F_paeth_first : _bindgen_ty_6 = 6 ; pub type _bindgen_ty_6 = u32 ; extern "C" { pub static mut first_row_filter : [ stbi_uc ; 5usize ] ; } extern "C" { pub static mut stbi__depth_scale_table : [ stbi_uc ; 9usize ] ; } pub const stbi__unpremultiply_on_load : :: std :: os :: raw :: c_int = 0 ; pub const stbi__de_iphone_flag : :: std :: os :: raw :: c_int = 0 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__bmp_data { pub bpp : :: std :: os :: raw :: c_int , pub offset : :: std :: os :: raw :: c_int , pub hsz : :: std :: os :: raw :: c_int , pub mr : :: std :: os :: raw :: c_uint , pub mg : :: std :: os :: raw :: c_uint , pub mb : :: std :: os :: raw :: c_uint , pub ma : :: std :: os :: raw :: c_uint , pub all_a : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_stbi__bmp_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__bmp_data > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( stbi__bmp_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__bmp_data > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__bmp_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . bpp as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( bpp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . offset as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . hsz as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( hsz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . mr as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( mr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . mg as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( mg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . mb as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( mb ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . ma as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( ma ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . all_a as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( all_a ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__pic_packet { pub size : stbi_uc , pub type_ : stbi_uc , pub channel : stbi_uc , } # [ test ] fn bindgen_test_layout_stbi__pic_packet ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__pic_packet > ( ) , 3usize , concat ! ( "Size of: " , stringify ! ( stbi__pic_packet ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__pic_packet > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( stbi__pic_packet ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pic_packet > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pic_packet ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pic_packet > ( ) ) ) . type_ as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pic_packet ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pic_packet > ( ) ) ) . channel as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pic_packet ) , "::" , stringify ! ( channel ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__gif_lzw { pub prefix : stbi__int16 , pub first : stbi_uc , pub suffix : stbi_uc , } # [ test ] fn bindgen_test_layout_stbi__gif_lzw ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__gif_lzw > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( stbi__gif_lzw ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__gif_lzw > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( stbi__gif_lzw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif_lzw > ( ) ) ) . prefix as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif_lzw ) , "::" , stringify ! ( prefix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif_lzw > ( ) ) ) . first as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif_lzw ) , "::" , stringify ! ( first ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif_lzw > ( ) ) ) . suffix as * const _ as usize } , 3usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif_lzw ) , "::" , stringify ! ( suffix ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__gif { pub w : :: std :: os :: raw :: c_int , pub h : :: std :: os :: raw :: c_int , pub out : * mut stbi_uc , pub background : * mut stbi_uc , pub history : * mut stbi_uc , pub flags : :: std :: os :: raw :: c_int , pub bgindex : :: std :: os :: raw :: c_int , pub ratio : :: std :: os :: raw :: c_int , pub transparent : :: std :: os :: raw :: c_int , pub eflags : :: std :: os :: raw :: c_int , pub pal : [ [ stbi_uc ; 4usize ] ; 256usize ] , pub lpal : [ [ stbi_uc ; 4usize ] ; 256usize ] , pub codes : [ stbi__gif_lzw ; 8192usize ] , pub color_table : * mut stbi_uc , pub parse : :: std :: os :: raw :: c_int , pub step : :: std :: os :: raw :: c_int , pub lflags : :: std :: os :: raw :: c_int , pub start_x : :: std :: os :: raw :: c_int , pub start_y : :: std :: os :: raw :: c_int , pub max_x : :: std :: os :: raw :: c_int , pub max_y : :: std :: os :: raw :: c_int , pub cur_x : :: std :: os :: raw :: c_int , pub cur_y : :: std :: os :: raw :: c_int , pub line_size : :: std :: os :: raw :: c_int , pub delay : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__gif ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__gif > ( ) , 34928usize , concat ! ( "Size of: " , stringify ! ( stbi__gif ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__gif > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__gif ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . w as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . h as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . out as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( out ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . background as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( background ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . history as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( history ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . flags as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . bgindex as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( bgindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . ratio as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( ratio ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . transparent as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( transparent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . eflags as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( eflags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . pal as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( pal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . lpal as * const _ as usize } , 1076usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( lpal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . codes as * const _ as usize } , 2100usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( codes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . color_table as * const _ as usize } , 34872usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( color_table ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . parse as * const _ as usize } , 34880usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( parse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . step as * const _ as usize } , 34884usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( step ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . lflags as * const _ as usize } , 34888usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( lflags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . start_x as * const _ as usize } , 34892usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( start_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . start_y as * const _ as usize } , 34896usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( start_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . max_x as * const _ as usize } , 34900usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( max_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . max_y as * const _ as usize } , 34904usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( max_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . cur_x as * const _ as usize } , 34908usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( cur_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . cur_y as * const _ as usize } , 34912usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( cur_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . line_size as * const _ as usize } , 34916usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( line_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . delay as * const _ as usize } , 34920usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( delay ) ) ) ; } extern "C" { pub static mut stbi_write_tga_with_rle : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut stbi_write_png_compression_level : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut stbi_write_force_png_filter : :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_png ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , stride_in_bytes : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_bmp ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_tga ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_hdr ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_jpg ( filename : * const :: std :: os :: raw :: c_char , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , quality : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type stbi_write_func = :: std :: option :: Option < unsafe extern "C" fn ( context : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int ) > ; extern "C" { pub fn stbi_write_png_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , stride_in_bytes : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_bmp_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_tga_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_hdr_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_jpg_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , quality : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_flip_vertically_on_write ( flip_boolean : :: std :: os :: raw :: c_int ) ; } pub const stbi__flip_vertically_on_write : :: std :: os :: raw :: c_int = 0 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__write_context { pub func : stbi_write_func , pub context : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_stbi__write_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__write_context > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbi__write_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__write_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__write_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__write_context > ( ) ) ) . func as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__write_context ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__write_context > ( ) ) ) . context as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__write_context ) , "::" , stringify ! ( context ) ) ) ; } pub type stbiw_uint32 = :: std :: os :: raw :: c_uint ; pub type stb_image_write_test = [ :: std :: os :: raw :: c_int ; 1usize ] ; extern "C" { pub fn stbi_zlib_compress ( data : * mut :: std :: os :: raw :: c_uchar , data_len : :: std :: os :: raw :: c_int , out_len : * mut :: std :: os :: raw :: c_int , quality : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn stbi_write_png_to_mem ( pixels : * const :: std :: os :: raw :: c_uchar , stride_bytes : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , n : :: std :: os :: raw :: c_int , out_len : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub static mut stbiw__jpg_ZigZag : [ :: std :: os :: raw :: c_uchar ; 64usize ] ; } pub type stbir_uint8 = u8 ; pub type stbir_uint16 = u16 ; pub type stbir_uint32 = u32 ; extern "C" { pub fn stbir_resize_uint8 ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_float ( input_pixels : * const f32 , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut f32 , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_uint8_srgb ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub const stbir_edge_STBIR_EDGE_CLAMP : stbir_edge = 1 ; pub const stbir_edge_STBIR_EDGE_REFLECT : stbir_edge = 2 ; pub const stbir_edge_STBIR_EDGE_WRAP : stbir_edge = 3 ; pub const stbir_edge_STBIR_EDGE_ZERO : stbir_edge = 4 ; pub type stbir_edge = u32 ; extern "C" { pub fn stbir_resize_uint8_srgb_edgemode ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge ) -> :: std :: os :: raw :: c_int ; } pub const stbir_filter_STBIR_FILTER_DEFAULT : stbir_filter = 0 ; pub const stbir_filter_STBIR_FILTER_BOX : stbir_filter = 1 ; pub const stbir_filter_STBIR_FILTER_TRIANGLE : stbir_filter = 2 ; pub const stbir_filter_STBIR_FILTER_CUBICBSPLINE : stbir_filter = 3 ; pub const stbir_filter_STBIR_FILTER_CATMULLROM : stbir_filter = 4 ; pub const stbir_filter_STBIR_FILTER_MITCHELL : stbir_filter = 5 ; # [ doc = "" ] pub type stbir_filter = u32 ; pub const stbir_colorspace_STBIR_COLORSPACE_LINEAR : stbir_colorspace = 0 ; pub const stbir_colorspace_STBIR_COLORSPACE_SRGB : stbir_colorspace = 1 ; pub const stbir_colorspace_STBIR_MAX_COLORSPACES : stbir_colorspace = 2 ; pub type stbir_colorspace = u32 ; extern "C" { pub fn stbir_resize_uint8_generic ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge , filter : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_uint16_generic ( input_pixels : * const stbir_uint16 , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut stbir_uint16 , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge , filter : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_float_generic ( input_pixels : * const f32 , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut f32 , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge , filter : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } pub const stbir_datatype_STBIR_TYPE_UINT8 : stbir_datatype = 0 ; pub const stbir_datatype_STBIR_TYPE_UINT16 : stbir_datatype = 1 ; pub const stbir_datatype_STBIR_TYPE_UINT32 : stbir_datatype = 2 ; pub const stbir_datatype_STBIR_TYPE_FLOAT : stbir_datatype = 3 ; pub const stbir_datatype_STBIR_MAX_TYPES : stbir_datatype = 4 ; # [ doc = "" ] pub type stbir_datatype = u32 ; extern "C" { pub fn stbir_resize ( input_pixels : * const :: std :: os :: raw :: c_void , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_void , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , datatype : stbir_datatype , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_mode_horizontal : stbir_edge , edge_mode_vertical : stbir_edge , filter_horizontal : stbir_filter , filter_vertical : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_subpixel ( input_pixels : * const :: std :: os :: raw :: c_void , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_void , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , datatype : stbir_datatype , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_mode_horizontal : stbir_edge , edge_mode_vertical : stbir_edge , filter_horizontal : stbir_filter , filter_vertical : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void , x_scale : f32 , y_scale : f32 , x_offset : f32 , y_offset : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_region ( input_pixels : * const :: std :: os :: raw :: c_void , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_void , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , datatype : stbir_datatype , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_mode_horizontal : stbir_edge , edge_mode_vertical : stbir_edge , filter_horizontal : stbir_filter , filter_vertical : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void , s0 : f32 , t0 : f32 , s1 : f32 , t1 : f32 ) -> :: std :: os :: raw :: c_int ; } pub type stbir__validate_uint32 = [ :: std :: os :: raw :: c_uchar ; 1usize ] ; extern "C" { pub static mut stbir__type_size : [ :: std :: os :: raw :: c_uchar ; 4usize ] ; } pub type stbir__kernel_fn = :: std :: option :: Option < unsafe extern "C" fn ( x : f32 , scale : f32 ) -> f32 > ; pub type stbir__support_fn = :: std :: option :: Option < unsafe extern "C" fn ( scale : f32 ) -> f32 > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbir__filter_info { pub kernel : stbir__kernel_fn , pub support : stbir__support_fn , } # [ test ] fn bindgen_test_layout_stbir__filter_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__filter_info > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbir__filter_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__filter_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbir__filter_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__filter_info > ( ) ) ) . kernel as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__filter_info ) , "::" , stringify ! ( kernel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__filter_info > ( ) ) ) . support as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbir__filter_info ) , "::" , stringify ! ( support ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbir__contributors { pub n0 : :: std :: os :: raw :: c_int , pub n1 : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbir__contributors ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__contributors > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbir__contributors ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__contributors > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbir__contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__contributors > ( ) ) ) . n0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__contributors ) , "::" , stringify ! ( n0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__contributors > ( ) ) ) . n1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbir__contributors ) , "::" , stringify ! ( n1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbir__info { pub input_data : * const :: std :: os :: raw :: c_void , pub input_w : :: std :: os :: raw :: c_int , pub input_h : :: std :: os :: raw :: c_int , pub input_stride_bytes : :: std :: os :: raw :: c_int , pub output_data : * mut :: std :: os :: raw :: c_void , pub output_w : :: std :: os :: raw :: c_int , pub output_h : :: std :: os :: raw :: c_int , pub output_stride_bytes : :: std :: os :: raw :: c_int , pub s0 : f32 , pub t0 : f32 , pub s1 : f32 , pub t1 : f32 , pub horizontal_shift : f32 , pub vertical_shift : f32 , pub horizontal_scale : f32 , pub vertical_scale : f32 , pub channels : :: std :: os :: raw :: c_int , pub alpha_channel : :: std :: os :: raw :: c_int , pub flags : stbir_uint32 , pub type_ : stbir_datatype , pub horizontal_filter : stbir_filter , pub vertical_filter : stbir_filter , pub edge_horizontal : stbir_edge , pub edge_vertical : stbir_edge , pub colorspace : stbir_colorspace , pub horizontal_contributors : * mut stbir__contributors , pub horizontal_coefficients : * mut f32 , pub vertical_contributors : * mut stbir__contributors , pub vertical_coefficients : * mut f32 , pub decode_buffer_pixels : :: std :: os :: raw :: c_int , pub decode_buffer : * mut f32 , pub horizontal_buffer : * mut f32 , pub horizontal_coefficient_width : :: std :: os :: raw :: c_int , pub vertical_coefficient_width : :: std :: os :: raw :: c_int , pub horizontal_filter_pixel_width : :: std :: os :: raw :: c_int , pub vertical_filter_pixel_width : :: std :: os :: raw :: c_int , pub horizontal_filter_pixel_margin : :: std :: os :: raw :: c_int , pub vertical_filter_pixel_margin : :: std :: os :: raw :: c_int , pub horizontal_num_contributors : :: std :: os :: raw :: c_int , pub vertical_num_contributors : :: std :: os :: raw :: c_int , pub ring_buffer_length_bytes : :: std :: os :: raw :: c_int , pub ring_buffer_num_entries : :: std :: os :: raw :: c_int , pub ring_buffer_first_scanline : :: std :: os :: raw :: c_int , pub ring_buffer_last_scanline : :: std :: os :: raw :: c_int , pub ring_buffer_begin_index : :: std :: os :: raw :: c_int , pub ring_buffer : * mut f32 , pub encode_buffer : * mut f32 , pub horizontal_contributors_size : :: std :: os :: raw :: c_int , pub horizontal_coefficients_size : :: std :: os :: raw :: c_int , pub vertical_contributors_size : :: std :: os :: raw :: c_int , pub vertical_coefficients_size : :: std :: os :: raw :: c_int , pub decode_buffer_size : :: std :: os :: raw :: c_int , pub horizontal_buffer_size : :: std :: os :: raw :: c_int , pub ring_buffer_size : :: std :: os :: raw :: c_int , pub encode_buffer_size : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbir__info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__info > ( ) , 272usize , concat ! ( "Size of: " , stringify ! ( stbir__info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbir__info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_w as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_h as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_stride_bytes as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_stride_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_data as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_w as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_h as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_stride_bytes as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_stride_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . s0 as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( s0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . t0 as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( t0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . s1 as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( s1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . t1 as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( t1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_shift as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_shift ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_shift as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_shift ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_scale as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_scale as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . channels as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( channels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . alpha_channel as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( alpha_channel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . flags as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . type_ as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_filter as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_filter as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . edge_horizontal as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( edge_horizontal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . edge_vertical as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( edge_vertical ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . colorspace as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( colorspace ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_contributors as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_coefficients as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_coefficients ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_contributors as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_coefficients as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_coefficients ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . decode_buffer_pixels as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( decode_buffer_pixels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . decode_buffer as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( decode_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_buffer as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_coefficient_width as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_coefficient_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_coefficient_width as * const _ as usize } , 172usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_coefficient_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_filter_pixel_width as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_filter_pixel_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_filter_pixel_width as * const _ as usize } , 180usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_filter_pixel_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_filter_pixel_margin as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_filter_pixel_margin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_filter_pixel_margin as * const _ as usize } , 188usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_filter_pixel_margin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_num_contributors as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_num_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_num_contributors as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_num_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_length_bytes as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_length_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_num_entries as * const _ as usize } , 204usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_num_entries ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_first_scanline as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_first_scanline ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_last_scanline as * const _ as usize } , 212usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_last_scanline ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_begin_index as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_begin_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . encode_buffer as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( encode_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_contributors_size as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_contributors_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_coefficients_size as * const _ as usize } , 244usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_coefficients_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_contributors_size as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_contributors_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_coefficients_size as * const _ as usize } , 252usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_coefficients_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . decode_buffer_size as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( decode_buffer_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_buffer_size as * const _ as usize } , 260usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_buffer_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_size as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . encode_buffer_size as * const _ as usize } , 268usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( encode_buffer_size ) ) ) ; } pub const stbir__max_uint8_as_float : f32 = 255.0 ; pub const stbir__max_uint16_as_float : f32 = 65535.0 ; pub const stbir__max_uint32_as_float : f64 = 4294967295.0 ; extern "C" { pub static mut stbir__srgb_uchar_to_linear_float : [ f32 ; 256usize ] ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union stbir__FP32 { pub u : stbir_uint32 , pub f : f32 , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_stbir__FP32 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__FP32 > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( stbir__FP32 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__FP32 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbir__FP32 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__FP32 > ( ) ) ) . u as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__FP32 ) , "::" , stringify ! ( u ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__FP32 > ( ) ) ) . f as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__FP32 ) , "::" , stringify ! ( f ) ) ) ; } extern "C" { pub static mut fp32_to_srgb8_tab4 : [ stbir_uint32 ; 104usize ] ; } extern "C" { pub static mut stbir__filter_info_table : [ stbir__filter_info ; 6usize ] ; } extern "C" { pub fn stb_perlin_noise3 ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_ridge_noise3 ( x : f32 , y : f32 , z : f32 , lacunarity : f32 , gain : f32 , offset : f32 , octaves : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_fbm_noise3 ( x : f32 , y : f32 , z : f32 , lacunarity : f32 , gain : f32 , octaves : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_turbulence_noise3 ( x : f32 , y : f32 , z : f32 , lacunarity : f32 , gain : f32 , octaves : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_noise3_wrap_nonpow2 ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int , seed : :: std :: os :: raw :: c_uchar ) -> f32 ; } extern "C" { pub static mut stb__perlin_randtab : [ :: std :: os :: raw :: c_uchar ; 512usize ] ; } extern "C" { pub static mut stb__perlin_randtab_grad_idx : [ :: std :: os :: raw :: c_uchar ; 512usize ] ; } extern "C" { pub fn stb_perlin_noise3_internal ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int , seed : :: std :: os :: raw :: c_uchar ) -> f32 ; } extern "C" { pub fn stb_perlin_noise3_seed ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int , seed : :: std :: os :: raw :: c_int ) -> f32 ; } pub type stbrp_coord = :: std :: os :: raw :: c_ushort ; extern "C" { pub fn stbrp_pack_rects ( context : * mut stbrp_context , rects : * mut stbrp_rect , num_rects : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp_rect { pub id : :: std :: os :: raw :: c_int , pub w : stbrp_coord , pub h : stbrp_coord , pub x : stbrp_coord , pub y : stbrp_coord , pub was_packed : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbrp_rect ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp_rect > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbrp_rect ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp_rect > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbrp_rect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . w as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . h as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . x as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . y as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . was_packed as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( was_packed ) ) ) ; } extern "C" { pub fn stbrp_init_target ( context : * mut stbrp_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , nodes : * mut stbrp_node , num_nodes : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbrp_setup_allow_out_of_mem ( context : * mut stbrp_context , allow_out_of_mem : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbrp_setup_heuristic ( context : * mut stbrp_context , heuristic : :: std :: os :: raw :: c_int ) ; } pub const STBRP_HEURISTIC_Skyline_default : _bindgen_ty_7 = 0 ; pub const STBRP_HEURISTIC_Skyline_BL_sortHeight : _bindgen_ty_7 = 0 ; pub const STBRP_HEURISTIC_Skyline_BF_sortHeight : _bindgen_ty_7 = 1 ; pub type _bindgen_ty_7 = u32 ; # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp_node { pub x : stbrp_coord , pub y : stbrp_coord , pub next : * mut stbrp_node , } # [ test ] fn bindgen_test_layout_stbrp_node ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp_node > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbrp_node ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp_node > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbrp_node ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_node > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_node ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_node > ( ) ) ) . y as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_node ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_node > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_node ) , "::" , stringify ! ( next ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp_context { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub align : :: std :: os :: raw :: c_int , pub init_mode : :: std :: os :: raw :: c_int , pub heuristic : :: std :: os :: raw :: c_int , pub num_nodes : :: std :: os :: raw :: c_int , pub active_head : * mut stbrp_node , pub free_head : * mut stbrp_node , pub extra : [ stbrp_node ; 2usize ] , } # [ test ] fn bindgen_test_layout_stbrp_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp_context > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( stbrp_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbrp_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . align as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( align ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . init_mode as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( init_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . heuristic as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( heuristic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . num_nodes as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( num_nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . active_head as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( active_head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . free_head as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( free_head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . extra as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( extra ) ) ) ; } pub const STBRP__INIT_skyline : _bindgen_ty_8 = 1 ; pub type _bindgen_ty_8 = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp__findresult { pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub prev_link : * mut * mut stbrp_node , } # [ test ] fn bindgen_test_layout_stbrp__findresult ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp__findresult > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbrp__findresult ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp__findresult > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbrp__findresult ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp__findresult > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp__findresult ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp__findresult > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbrp__findresult ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp__findresult > ( ) ) ) . prev_link as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp__findresult ) , "::" , stringify ! ( prev_link ) ) ) ; } pub type stbtt_uint8 = :: std :: os :: raw :: c_uchar ; pub type stbtt_int8 = :: std :: os :: raw :: c_schar ; pub type stbtt_uint16 = :: std :: os :: raw :: c_ushort ; pub type stbtt_int16 = :: std :: os :: raw :: c_short ; pub type stbtt_uint32 = :: std :: os :: raw :: c_uint ; pub type stbtt_int32 = :: std :: os :: raw :: c_int ; pub type stbtt__check_size32 = [ :: std :: os :: raw :: c_char ; 1usize ] ; pub type stbtt__check_size16 = [ :: std :: os :: raw :: c_char ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__buf { pub data : * mut :: std :: os :: raw :: c_uchar , pub cursor : :: std :: os :: raw :: c_int , pub size : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__buf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__buf > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbtt__buf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__buf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__buf > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__buf ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__buf > ( ) ) ) . cursor as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__buf ) , "::" , stringify ! ( cursor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__buf > ( ) ) ) . size as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__buf ) , "::" , stringify ! ( size ) ) ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_bakedchar { pub x0 : :: std :: os :: raw :: c_ushort , pub y0 : :: std :: os :: raw :: c_ushort , pub x1 : :: std :: os :: raw :: c_ushort , pub y1 : :: std :: os :: raw :: c_ushort , pub xoff : f32 , pub yoff : f32 , pub xadvance : f32 , } # [ test ] fn bindgen_test_layout_stbtt_bakedchar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_bakedchar > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( stbtt_bakedchar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_bakedchar > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt_bakedchar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . y0 as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . x1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . y1 as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . xoff as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( xoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . yoff as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( yoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . xadvance as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( xadvance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_aligned_quad { pub x0 : f32 , pub y0 : f32 , pub s0 : f32 , pub t0 : f32 , pub x1 : f32 , pub y1 : f32 , pub s1 : f32 , pub t1 : f32 , } # [ test ] fn bindgen_test_layout_stbtt_aligned_quad ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_aligned_quad > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( stbtt_aligned_quad ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_aligned_quad > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt_aligned_quad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . y0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . s0 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( s0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . t0 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( t0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . x1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . y1 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . s1 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( s1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . t1 as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( t1 ) ) ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_packedchar { pub x0 : :: std :: os :: raw :: c_ushort , pub y0 : :: std :: os :: raw :: c_ushort , pub x1 : :: std :: os :: raw :: c_ushort , pub y1 : :: std :: os :: raw :: c_ushort , pub xoff : f32 , pub yoff : f32 , pub xadvance : f32 , pub xoff2 : f32 , pub yoff2 : f32 , } # [ test ] fn bindgen_test_layout_stbtt_packedchar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_packedchar > ( ) , 28usize , concat ! ( "Size of: " , stringify ! ( stbtt_packedchar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_packedchar > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt_packedchar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . y0 as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . x1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . y1 as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . xoff as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( xoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . yoff as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( yoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . xadvance as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( xadvance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . xoff2 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( xoff2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . yoff2 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( yoff2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_pack_range { pub font_size : f32 , pub first_unicode_codepoint_in_range : :: std :: os :: raw :: c_int , pub array_of_unicode_codepoints : * mut :: std :: os :: raw :: c_int , pub num_chars : :: std :: os :: raw :: c_int , pub chardata_for_range : * mut stbtt_packedchar , pub h_oversample : :: std :: os :: raw :: c_uchar , pub v_oversample : :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_stbtt_pack_range ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_pack_range > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( stbtt_pack_range ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_pack_range > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt_pack_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . font_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( font_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . first_unicode_codepoint_in_range as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( first_unicode_codepoint_in_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . array_of_unicode_codepoints as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( array_of_unicode_codepoints ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . num_chars as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( num_chars ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . chardata_for_range as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( chardata_for_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . h_oversample as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( h_oversample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . v_oversample as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( v_oversample ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_pack_context { pub user_allocator_context : * mut :: std :: os :: raw :: c_void , pub pack_info : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub stride_in_bytes : :: std :: os :: raw :: c_int , pub padding : :: std :: os :: raw :: c_int , pub skip_missing : :: std :: os :: raw :: c_int , pub h_oversample : :: std :: os :: raw :: c_uint , pub v_oversample : :: std :: os :: raw :: c_uint , pub pixels : * mut :: std :: os :: raw :: c_uchar , pub nodes : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_stbtt_pack_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_pack_context > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( stbtt_pack_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_pack_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt_pack_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . user_allocator_context as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( user_allocator_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . pack_info as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( pack_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . width as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . height as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . stride_in_bytes as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( stride_in_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . padding as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( padding ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . skip_missing as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( skip_missing ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . h_oversample as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( h_oversample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . v_oversample as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( v_oversample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . pixels as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( pixels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . nodes as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( nodes ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_fontinfo { pub userdata : * mut :: std :: os :: raw :: c_void , pub data : * mut :: std :: os :: raw :: c_uchar , pub fontstart : :: std :: os :: raw :: c_int , pub numGlyphs : :: std :: os :: raw :: c_int , pub loca : :: std :: os :: raw :: c_int , pub head : :: std :: os :: raw :: c_int , pub glyf : :: std :: os :: raw :: c_int , pub hhea : :: std :: os :: raw :: c_int , pub hmtx : :: std :: os :: raw :: c_int , pub kern : :: std :: os :: raw :: c_int , pub gpos : :: std :: os :: raw :: c_int , pub index_map : :: std :: os :: raw :: c_int , pub indexToLocFormat : :: std :: os :: raw :: c_int , pub cff : stbtt__buf , pub charstrings : stbtt__buf , pub gsubrs : stbtt__buf , pub subrs : stbtt__buf , pub fontdicts : stbtt__buf , pub fdselect : stbtt__buf , } # [ test ] fn bindgen_test_layout_stbtt_fontinfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_fontinfo > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( stbtt_fontinfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_fontinfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt_fontinfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . userdata as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( userdata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . fontstart as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( fontstart ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . numGlyphs as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( numGlyphs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . loca as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( loca ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . head as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . glyf as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( glyf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . hhea as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( hhea ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . hmtx as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( hmtx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . kern as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( kern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . gpos as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( gpos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . index_map as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( index_map ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . indexToLocFormat as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( indexToLocFormat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . cff as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( cff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . charstrings as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( charstrings ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . gsubrs as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( gsubrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . subrs as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( subrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . fontdicts as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( fontdicts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . fdselect as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( fdselect ) ) ) ; } pub const STBTT_vmove : _bindgen_ty_9 = 1 ; pub const STBTT_vline : _bindgen_ty_9 = 2 ; pub const STBTT_vcurve : _bindgen_ty_9 = 3 ; pub const STBTT_vcubic : _bindgen_ty_9 = 4 ; pub type _bindgen_ty_9 = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_vertex { pub x : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub cx : :: std :: os :: raw :: c_short , pub cy : :: std :: os :: raw :: c_short , pub cx1 : :: std :: os :: raw :: c_short , pub cy1 : :: std :: os :: raw :: c_short , pub type_ : :: std :: os :: raw :: c_uchar , pub padding : :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_stbtt_vertex ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_vertex > ( ) , 14usize , concat ! ( "Size of: " , stringify ! ( stbtt_vertex ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_vertex > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( stbtt_vertex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . y as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cx as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cy as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cx1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cx1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cy1 as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cy1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . type_ as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . padding as * const _ as usize } , 13usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( padding ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__bitmap { pub w : :: std :: os :: raw :: c_int , pub h : :: std :: os :: raw :: c_int , pub stride : :: std :: os :: raw :: c_int , pub pixels : * mut :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_stbtt__bitmap ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__bitmap > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stbtt__bitmap ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__bitmap > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__bitmap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . w as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . h as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . stride as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( stride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . pixels as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( pixels ) ) ) ; } pub const STBTT_PLATFORM_ID_UNICODE : _bindgen_ty_10 = 0 ; pub const STBTT_PLATFORM_ID_MAC : _bindgen_ty_10 = 1 ; pub const STBTT_PLATFORM_ID_ISO : _bindgen_ty_10 = 2 ; pub const STBTT_PLATFORM_ID_MICROSOFT : _bindgen_ty_10 = 3 ; pub type _bindgen_ty_10 = u32 ; pub const STBTT_UNICODE_EID_UNICODE_1_0 : _bindgen_ty_11 = 0 ; pub const STBTT_UNICODE_EID_UNICODE_1_1 : _bindgen_ty_11 = 1 ; pub const STBTT_UNICODE_EID_ISO_10646 : _bindgen_ty_11 = 2 ; pub const STBTT_UNICODE_EID_UNICODE_2_0_BMP : _bindgen_ty_11 = 3 ; pub const STBTT_UNICODE_EID_UNICODE_2_0_FULL : _bindgen_ty_11 = 4 ; pub type _bindgen_ty_11 = u32 ; pub const STBTT_MS_EID_SYMBOL : _bindgen_ty_12 = 0 ; pub const STBTT_MS_EID_UNICODE_BMP : _bindgen_ty_12 = 1 ; pub const STBTT_MS_EID_SHIFTJIS : _bindgen_ty_12 = 2 ; pub const STBTT_MS_EID_UNICODE_FULL : _bindgen_ty_12 = 10 ; pub type _bindgen_ty_12 = u32 ; pub const STBTT_MAC_EID_ROMAN : _bindgen_ty_13 = 0 ; pub const STBTT_MAC_EID_ARABIC : _bindgen_ty_13 = 4 ; pub const STBTT_MAC_EID_JAPANESE : _bindgen_ty_13 = 1 ; pub const STBTT_MAC_EID_HEBREW : _bindgen_ty_13 = 5 ; pub const STBTT_MAC_EID_CHINESE_TRAD : _bindgen_ty_13 = 2 ; pub const STBTT_MAC_EID_GREEK : _bindgen_ty_13 = 6 ; pub const STBTT_MAC_EID_KOREAN : _bindgen_ty_13 = 3 ; pub const STBTT_MAC_EID_RUSSIAN : _bindgen_ty_13 = 7 ; pub type _bindgen_ty_13 = u32 ; pub const STBTT_MS_LANG_ENGLISH : _bindgen_ty_14 = 1033 ; pub const STBTT_MS_LANG_ITALIAN : _bindgen_ty_14 = 1040 ; pub const STBTT_MS_LANG_CHINESE : _bindgen_ty_14 = 2052 ; pub const STBTT_MS_LANG_JAPANESE : _bindgen_ty_14 = 1041 ; pub const STBTT_MS_LANG_DUTCH : _bindgen_ty_14 = 1043 ; pub const STBTT_MS_LANG_KOREAN : _bindgen_ty_14 = 1042 ; pub const STBTT_MS_LANG_FRENCH : _bindgen_ty_14 = 1036 ; pub const STBTT_MS_LANG_RUSSIAN : _bindgen_ty_14 = 1049 ; pub const STBTT_MS_LANG_GERMAN : _bindgen_ty_14 = 1031 ; pub const STBTT_MS_LANG_SPANISH : _bindgen_ty_14 = 1033 ; pub const STBTT_MS_LANG_HEBREW : _bindgen_ty_14 = 1037 ; pub const STBTT_MS_LANG_SWEDISH : _bindgen_ty_14 = 1053 ; pub type _bindgen_ty_14 = u32 ; pub const STBTT_MAC_LANG_ENGLISH : _bindgen_ty_15 = 0 ; pub const STBTT_MAC_LANG_JAPANESE : _bindgen_ty_15 = 11 ; pub const STBTT_MAC_LANG_ARABIC : _bindgen_ty_15 = 12 ; pub const STBTT_MAC_LANG_KOREAN : _bindgen_ty_15 = 23 ; pub const STBTT_MAC_LANG_DUTCH : _bindgen_ty_15 = 4 ; pub const STBTT_MAC_LANG_RUSSIAN : _bindgen_ty_15 = 32 ; pub const STBTT_MAC_LANG_FRENCH : _bindgen_ty_15 = 1 ; pub const STBTT_MAC_LANG_SPANISH : _bindgen_ty_15 = 6 ; pub const STBTT_MAC_LANG_GERMAN : _bindgen_ty_15 = 2 ; pub const STBTT_MAC_LANG_SWEDISH : _bindgen_ty_15 = 5 ; pub const STBTT_MAC_LANG_HEBREW : _bindgen_ty_15 = 10 ; pub const STBTT_MAC_LANG_CHINESE_SIMPLIFIED : _bindgen_ty_15 = 33 ; pub const STBTT_MAC_LANG_ITALIAN : _bindgen_ty_15 = 3 ; pub const STBTT_MAC_LANG_CHINESE_TRAD : _bindgen_ty_15 = 19 ; pub type _bindgen_ty_15 = u32 ; pub type stbtt__test_oversample_pow2 = [ :: std :: os :: raw :: c_int ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__csctx { pub bounds : :: std :: os :: raw :: c_int , pub started : :: std :: os :: raw :: c_int , pub first_x : f32 , pub first_y : f32 , pub x : f32 , pub y : f32 , pub min_x : stbtt_int32 , pub max_x : stbtt_int32 , pub min_y : stbtt_int32 , pub max_y : stbtt_int32 , pub pvertices : * mut stbtt_vertex , pub num_vertices : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__csctx ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__csctx > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( stbtt__csctx ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__csctx > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__csctx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . bounds as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( bounds ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . started as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( started ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . first_x as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( first_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . first_y as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( first_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . x as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . y as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . min_x as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( min_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . max_x as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( max_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . min_y as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( min_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . max_y as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( max_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . pvertices as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( pvertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . num_vertices as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( num_vertices ) ) ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__hheap_chunk { pub next : * mut stbtt__hheap_chunk , } # [ test ] fn bindgen_test_layout_stbtt__hheap_chunk ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__hheap_chunk > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbtt__hheap_chunk ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__hheap_chunk > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__hheap_chunk ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap_chunk > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap_chunk ) , "::" , stringify ! ( next ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__hheap { pub head : * mut stbtt__hheap_chunk , pub first_free : * mut :: std :: os :: raw :: c_void , pub num_remaining_in_head_chunk : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__hheap ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__hheap > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stbtt__hheap ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__hheap > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__hheap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap > ( ) ) ) . head as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap ) , "::" , stringify ! ( head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap > ( ) ) ) . first_free as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap ) , "::" , stringify ! ( first_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap > ( ) ) ) . num_remaining_in_head_chunk as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap ) , "::" , stringify ! ( num_remaining_in_head_chunk ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__edge { pub x0 : f32 , pub y0 : f32 , pub x1 : f32 , pub y1 : f32 , pub invert : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__edge ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__edge > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( stbtt__edge ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__edge > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt__edge ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . y0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . x1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . y1 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . invert as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( invert ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__active_edge { pub next : * mut stbtt__active_edge , pub fx : f32 , pub fdx : f32 , pub fdy : f32 , pub direction : f32 , pub sy : f32 , pub ey : f32 , } # [ test ] fn bindgen_test_layout_stbtt__active_edge ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__active_edge > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( stbtt__active_edge ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__active_edge > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__active_edge ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . fx as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( fx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . fdx as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( fdx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . fdy as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( fdy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . direction as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( direction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . sy as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( sy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . ey as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( ey ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__point { pub x : f32 , pub y : f32 , } # [ test ] fn bindgen_test_layout_stbtt__point ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__point > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbtt__point ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__point > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt__point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__point > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__point ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__point > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__point ) , "::" , stringify ! ( y ) ) ) ; } # [ 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 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct sigevent { _unused : [ u8 ; 0 ] , } 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" { pub static mut __tzname : [ * mut :: std :: os :: raw :: c_char ; 2usize ] ; } extern "C" { pub static mut __daylight : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut __timezone : :: std :: os :: raw :: c_long ; } extern "C" { pub static mut tzname : [ * mut :: std :: os :: raw :: c_char ; 2usize ] ; } extern "C" { pub fn tzset ( ) ; } extern "C" { pub static mut daylight : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut timezone : :: std :: os :: raw :: c_long ; } extern "C" { pub fn stime ( __when : * const time_t ) -> :: std :: os :: raw :: c_int ; } 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 const rf_camera_move_rf_move_front : rf_camera_move = 0 ; pub const rf_camera_move_rf_move_back : rf_camera_move = 1 ; pub const rf_camera_move_rf_move_right : rf_camera_move = 2 ; pub const rf_camera_move_rf_move_left : rf_camera_move = 3 ; pub const rf_camera_move_rf_move_up : rf_camera_move = 4 ; pub const rf_camera_move_rf_move_down : rf_camera_move = 5 ; pub type rf_camera_move = u32 ; extern "C" { pub static mut rf_base64_table : [ :: std :: os :: raw :: c_uchar ; 123usize ] ; } pub type RFRSloadproc = :: std :: option :: Option < unsafe extern "C" fn ( name : * const :: std :: os :: raw :: c_char , userdata : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut _rfrsLoadProcUserData : * mut :: std :: os :: raw :: c_void ; } extern "C" { pub static mut _rfrsLoadProcProc : RFRSloadproc ; } extern "C" { pub fn _rfrsGLADLoadGLLoader ( name : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rfrsLoadGL ( proc_ : RFRSloadproc , userdata : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } [INFO] [stderr] | --------------------------------- previous definition of the value `FP_INFINITE` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_INFINITE` redefined here [INFO] [stderr] | [INFO] [stderr] = note: `FP_INFINITE` must be defined only once in the value namespace of this module [INFO] [stderr] [INFO] [stderr] error[E0428]: the name `FP_INFINITE` is defined multiple times [INFO] [stderr] --> /opt/rustwide/target/debug/build/rayfork-sys-ea336cab987eacc3/out/bindings.rs:3:414698 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = -128 ; pub const INT16_MIN : i32 = -32768 ; pub const INT32_MIN : i32 = -2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = -128 ; pub const INT_LEAST16_MIN : i32 = -32768 ; pub const INT_LEAST32_MIN : i32 = -2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = -128 ; pub const INT_FAST16_MIN : i64 = -9223372036854775808 ; pub const INT_FAST32_MIN : i64 = -9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = -1 ; pub const UINT_FAST32_MAX : i32 = -1 ; pub const INTPTR_MIN : i64 = -9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = -1 ; pub const PTRDIFF_MIN : i64 = -9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = -2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = -1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub const KHRONOS_SUPPORT_INT64 : u32 = 1 ; pub const KHRONOS_SUPPORT_FLOAT : u32 = 1 ; pub const KHRONOS_MAX_ENUM : u32 = 2147483647 ; pub const GL_DEPTH_BUFFER_BIT : u32 = 256 ; pub const GL_STENCIL_BUFFER_BIT : u32 = 1024 ; pub const GL_COLOR_BUFFER_BIT : u32 = 16384 ; pub const GL_FALSE : u32 = 0 ; pub const GL_TRUE : u32 = 1 ; pub const GL_POINTS : u32 = 0 ; pub const GL_LINES : u32 = 1 ; pub const GL_LINE_LOOP : u32 = 2 ; pub const GL_LINE_STRIP : u32 = 3 ; pub const GL_TRIANGLES : u32 = 4 ; pub const GL_TRIANGLE_STRIP : u32 = 5 ; pub const GL_TRIANGLE_FAN : u32 = 6 ; pub const GL_QUADS : u32 = 7 ; pub const GL_NEVER : u32 = 512 ; pub const GL_LESS : u32 = 513 ; pub const GL_EQUAL : u32 = 514 ; pub const GL_LEQUAL : u32 = 515 ; pub const GL_GREATER : u32 = 516 ; pub const GL_NOTEQUAL : u32 = 517 ; pub const GL_GEQUAL : u32 = 518 ; pub const GL_ALWAYS : u32 = 519 ; pub const GL_ZERO : u32 = 0 ; pub const GL_ONE : u32 = 1 ; pub const GL_SRC_COLOR : u32 = 768 ; pub const GL_ONE_MINUS_SRC_COLOR : u32 = 769 ; pub const GL_SRC_ALPHA : u32 = 770 ; pub const GL_ONE_MINUS_SRC_ALPHA : u32 = 771 ; pub const GL_DST_ALPHA : u32 = 772 ; pub const GL_ONE_MINUS_DST_ALPHA : u32 = 773 ; pub const GL_DST_COLOR : u32 = 774 ; pub const GL_ONE_MINUS_DST_COLOR : u32 = 775 ; pub const GL_SRC_ALPHA_SATURATE : u32 = 776 ; pub const GL_NONE : u32 = 0 ; pub const GL_FRONT_LEFT : u32 = 1024 ; pub const GL_FRONT_RIGHT : u32 = 1025 ; pub const GL_BACK_LEFT : u32 = 1026 ; pub const GL_BACK_RIGHT : u32 = 1027 ; pub const GL_FRONT : u32 = 1028 ; pub const GL_BACK : u32 = 1029 ; pub const GL_LEFT : u32 = 1030 ; pub const GL_RIGHT : u32 = 1031 ; pub const GL_FRONT_AND_BACK : u32 = 1032 ; pub const GL_NO_ERROR : u32 = 0 ; pub const GL_INVALID_ENUM : u32 = 1280 ; pub const GL_INVALID_VALUE : u32 = 1281 ; pub const GL_INVALID_OPERATION : u32 = 1282 ; pub const GL_OUT_OF_MEMORY : u32 = 1285 ; pub const GL_CW : u32 = 2304 ; pub const GL_CCW : u32 = 2305 ; pub const GL_POINT_SIZE : u32 = 2833 ; pub const GL_POINT_SIZE_RANGE : u32 = 2834 ; pub const GL_POINT_SIZE_GRANULARITY : u32 = 2835 ; pub const GL_LINE_SMOOTH : u32 = 2848 ; pub const GL_LINE_WIDTH : u32 = 2849 ; pub const GL_LINE_WIDTH_RANGE : u32 = 2850 ; pub const GL_LINE_WIDTH_GRANULARITY : u32 = 2851 ; pub const GL_POLYGON_MODE : u32 = 2880 ; pub const GL_POLYGON_SMOOTH : u32 = 2881 ; pub const GL_CULL_FACE : u32 = 2884 ; pub const GL_CULL_FACE_MODE : u32 = 2885 ; pub const GL_FRONT_FACE : u32 = 2886 ; pub const GL_DEPTH_RANGE : u32 = 2928 ; pub const GL_DEPTH_TEST : u32 = 2929 ; pub const GL_DEPTH_WRITEMASK : u32 = 2930 ; pub const GL_DEPTH_CLEAR_VALUE : u32 = 2931 ; pub const GL_DEPTH_FUNC : u32 = 2932 ; pub const GL_STENCIL_TEST : u32 = 2960 ; pub const GL_STENCIL_CLEAR_VALUE : u32 = 2961 ; pub const GL_STENCIL_FUNC : u32 = 2962 ; pub const GL_STENCIL_VALUE_MASK : u32 = 2963 ; pub const GL_STENCIL_FAIL : u32 = 2964 ; pub const GL_STENCIL_PASS_DEPTH_FAIL : u32 = 2965 ; pub const GL_STENCIL_PASS_DEPTH_PASS : u32 = 2966 ; pub const GL_STENCIL_REF : u32 = 2967 ; pub const GL_STENCIL_WRITEMASK : u32 = 2968 ; pub const GL_VIEWPORT : u32 = 2978 ; pub const GL_DITHER : u32 = 3024 ; pub const GL_BLEND_DST : u32 = 3040 ; pub const GL_BLEND_SRC : u32 = 3041 ; pub const GL_BLEND : u32 = 3042 ; pub const GL_LOGIC_OP_MODE : u32 = 3056 ; pub const GL_DRAW_BUFFER : u32 = 3073 ; pub const GL_READ_BUFFER : u32 = 3074 ; pub const GL_SCISSOR_BOX : u32 = 3088 ; pub const GL_SCISSOR_TEST : u32 = 3089 ; pub const GL_COLOR_CLEAR_VALUE : u32 = 3106 ; pub const GL_COLOR_WRITEMASK : u32 = 3107 ; pub const GL_DOUBLEBUFFER : u32 = 3122 ; pub const GL_STEREO : u32 = 3123 ; pub const GL_LINE_SMOOTH_HINT : u32 = 3154 ; pub const GL_POLYGON_SMOOTH_HINT : u32 = 3155 ; pub const GL_UNPACK_SWAP_BYTES : u32 = 3312 ; pub const GL_UNPACK_LSB_FIRST : u32 = 3313 ; pub const GL_UNPACK_ROW_LENGTH : u32 = 3314 ; pub const GL_UNPACK_SKIP_ROWS : u32 = 3315 ; pub const GL_UNPACK_SKIP_PIXELS : u32 = 3316 ; pub const GL_UNPACK_ALIGNMENT : u32 = 3317 ; pub const GL_PACK_SWAP_BYTES : u32 = 3328 ; pub const GL_PACK_LSB_FIRST : u32 = 3329 ; pub const GL_PACK_ROW_LENGTH : u32 = 3330 ; pub const GL_PACK_SKIP_ROWS : u32 = 3331 ; pub const GL_PACK_SKIP_PIXELS : u32 = 3332 ; pub const GL_PACK_ALIGNMENT : u32 = 3333 ; pub const GL_MAX_TEXTURE_SIZE : u32 = 3379 ; pub const GL_MAX_VIEWPORT_DIMS : u32 = 3386 ; pub const GL_SUBPIXEL_BITS : u32 = 3408 ; pub const GL_TEXTURE_1D : u32 = 3552 ; pub const GL_TEXTURE_2D : u32 = 3553 ; pub const GL_TEXTURE_WIDTH : u32 = 4096 ; pub const GL_TEXTURE_HEIGHT : u32 = 4097 ; pub const GL_TEXTURE_BORDER_COLOR : u32 = 4100 ; pub const GL_DONT_CARE : u32 = 4352 ; pub const GL_FASTEST : u32 = 4353 ; pub const GL_NICEST : u32 = 4354 ; pub const GL_BYTE : u32 = 5120 ; pub const GL_UNSIGNED_BYTE : u32 = 5121 ; pub const GL_SHORT : u32 = 5122 ; pub const GL_UNSIGNED_SHORT : u32 = 5123 ; pub const GL_INT : u32 = 5124 ; pub const GL_UNSIGNED_INT : u32 = 5125 ; pub const GL_FLOAT : u32 = 5126 ; pub const GL_STACK_OVERFLOW : u32 = 1283 ; pub const GL_STACK_UNDERFLOW : u32 = 1284 ; pub const GL_CLEAR : u32 = 5376 ; pub const GL_AND : u32 = 5377 ; pub const GL_AND_REVERSE : u32 = 5378 ; pub const GL_COPY : u32 = 5379 ; pub const GL_AND_INVERTED : u32 = 5380 ; pub const GL_NOOP : u32 = 5381 ; pub const GL_XOR : u32 = 5382 ; pub const GL_OR : u32 = 5383 ; pub const GL_NOR : u32 = 5384 ; pub const GL_EQUIV : u32 = 5385 ; pub const GL_INVERT : u32 = 5386 ; pub const GL_OR_REVERSE : u32 = 5387 ; pub const GL_COPY_INVERTED : u32 = 5388 ; pub const GL_OR_INVERTED : u32 = 5389 ; pub const GL_NAND : u32 = 5390 ; pub const GL_SET : u32 = 5391 ; pub const GL_TEXTURE : u32 = 5890 ; pub const GL_COLOR : u32 = 6144 ; pub const GL_DEPTH : u32 = 6145 ; pub const GL_STENCIL : u32 = 6146 ; pub const GL_STENCIL_INDEX : u32 = 6401 ; pub const GL_DEPTH_COMPONENT : u32 = 6402 ; pub const GL_RED : u32 = 6403 ; pub const GL_GREEN : u32 = 6404 ; pub const GL_BLUE : u32 = 6405 ; pub const GL_ALPHA : u32 = 6406 ; pub const GL_RGB : u32 = 6407 ; pub const GL_RGBA : u32 = 6408 ; pub const GL_POINT : u32 = 6912 ; pub const GL_LINE : u32 = 6913 ; pub const GL_FILL : u32 = 6914 ; pub const GL_KEEP : u32 = 7680 ; pub const GL_REPLACE : u32 = 7681 ; pub const GL_INCR : u32 = 7682 ; pub const GL_DECR : u32 = 7683 ; pub const GL_VENDOR : u32 = 7936 ; pub const GL_RENDERER : u32 = 7937 ; pub const GL_VERSION : u32 = 7938 ; pub const GL_EXTENSIONS : u32 = 7939 ; pub const GL_NEAREST : u32 = 9728 ; pub const GL_LINEAR : u32 = 9729 ; pub const GL_NEAREST_MIPMAP_NEAREST : u32 = 9984 ; pub const GL_LINEAR_MIPMAP_NEAREST : u32 = 9985 ; pub const GL_NEAREST_MIPMAP_LINEAR : u32 = 9986 ; pub const GL_LINEAR_MIPMAP_LINEAR : u32 = 9987 ; pub const GL_TEXTURE_MAG_FILTER : u32 = 10240 ; pub const GL_TEXTURE_MIN_FILTER : u32 = 10241 ; pub const GL_TEXTURE_WRAP_S : u32 = 10242 ; pub const GL_TEXTURE_WRAP_T : u32 = 10243 ; pub const GL_REPEAT : u32 = 10497 ; pub const GL_CURRENT_BIT : u32 = 1 ; pub const GL_POINT_BIT : u32 = 2 ; pub const GL_LINE_BIT : u32 = 4 ; pub const GL_POLYGON_BIT : u32 = 8 ; pub const GL_POLYGON_STIPPLE_BIT : u32 = 16 ; pub const GL_PIXEL_MODE_BIT : u32 = 32 ; pub const GL_LIGHTING_BIT : u32 = 64 ; pub const GL_FOG_BIT : u32 = 128 ; pub const GL_ACCUM_BUFFER_BIT : u32 = 512 ; pub const GL_VIEWPORT_BIT : u32 = 2048 ; pub const GL_TRANSFORM_BIT : u32 = 4096 ; pub const GL_ENABLE_BIT : u32 = 8192 ; pub const GL_HINT_BIT : u32 = 32768 ; pub const GL_EVAL_BIT : u32 = 65536 ; pub const GL_LIST_BIT : u32 = 131072 ; pub const GL_TEXTURE_BIT : u32 = 262144 ; pub const GL_SCISSOR_BIT : u32 = 524288 ; pub const GL_ALL_ATTRIB_BITS : u32 = 4294967295 ; pub const GL_QUAD_STRIP : u32 = 8 ; pub const GL_POLYGON : u32 = 9 ; pub const GL_ACCUM : u32 = 256 ; pub const GL_LOAD : u32 = 257 ; pub const GL_RETURN : u32 = 258 ; pub const GL_MULT : u32 = 259 ; pub const GL_ADD : u32 = 260 ; pub const GL_AUX0 : u32 = 1033 ; pub const GL_AUX1 : u32 = 1034 ; pub const GL_AUX2 : u32 = 1035 ; pub const GL_AUX3 : u32 = 1036 ; pub const GL_2D : u32 = 1536 ; pub const GL_3D : u32 = 1537 ; pub const GL_3D_COLOR : u32 = 1538 ; pub const GL_3D_COLOR_TEXTURE : u32 = 1539 ; pub const GL_4D_COLOR_TEXTURE : u32 = 1540 ; pub const GL_PASS_THROUGH_TOKEN : u32 = 1792 ; pub const GL_POINT_TOKEN : u32 = 1793 ; pub const GL_LINE_TOKEN : u32 = 1794 ; pub const GL_POLYGON_TOKEN : u32 = 1795 ; pub const GL_BITMAP_TOKEN : u32 = 1796 ; pub const GL_DRAW_PIXEL_TOKEN : u32 = 1797 ; pub const GL_COPY_PIXEL_TOKEN : u32 = 1798 ; pub const GL_LINE_RESET_TOKEN : u32 = 1799 ; pub const GL_EXP : u32 = 2048 ; pub const GL_EXP2 : u32 = 2049 ; pub const GL_COEFF : u32 = 2560 ; pub const GL_ORDER : u32 = 2561 ; pub const GL_DOMAIN : u32 = 2562 ; pub const GL_PIXEL_MAP_I_TO_I : u32 = 3184 ; pub const GL_PIXEL_MAP_S_TO_S : u32 = 3185 ; pub const GL_PIXEL_MAP_I_TO_R : u32 = 3186 ; pub const GL_PIXEL_MAP_I_TO_G : u32 = 3187 ; pub const GL_PIXEL_MAP_I_TO_B : u32 = 3188 ; pub const GL_PIXEL_MAP_I_TO_A : u32 = 3189 ; pub const GL_PIXEL_MAP_R_TO_R : u32 = 3190 ; pub const GL_PIXEL_MAP_G_TO_G : u32 = 3191 ; pub const GL_PIXEL_MAP_B_TO_B : u32 = 3192 ; pub const GL_PIXEL_MAP_A_TO_A : u32 = 3193 ; pub const GL_CURRENT_COLOR : u32 = 2816 ; pub const GL_CURRENT_INDEX : u32 = 2817 ; pub const GL_CURRENT_NORMAL : u32 = 2818 ; pub const GL_CURRENT_TEXTURE_COORDS : u32 = 2819 ; pub const GL_CURRENT_RASTER_COLOR : u32 = 2820 ; pub const GL_CURRENT_RASTER_INDEX : u32 = 2821 ; pub const GL_CURRENT_RASTER_TEXTURE_COORDS : u32 = 2822 ; pub const GL_CURRENT_RASTER_POSITION : u32 = 2823 ; pub const GL_CURRENT_RASTER_POSITION_VALID : u32 = 2824 ; pub const GL_CURRENT_RASTER_DISTANCE : u32 = 2825 ; pub const GL_POINT_SMOOTH : u32 = 2832 ; pub const GL_LINE_STIPPLE : u32 = 2852 ; pub const GL_LINE_STIPPLE_PATTERN : u32 = 2853 ; pub const GL_LINE_STIPPLE_REPEAT : u32 = 2854 ; pub const GL_LIST_MODE : u32 = 2864 ; pub const GL_MAX_LIST_NESTING : u32 = 2865 ; pub const GL_LIST_BASE : u32 = 2866 ; pub const GL_LIST_INDEX : u32 = 2867 ; pub const GL_POLYGON_STIPPLE : u32 = 2882 ; pub const GL_EDGE_FLAG : u32 = 2883 ; pub const GL_LIGHTING : u32 = 2896 ; pub const GL_LIGHT_MODEL_LOCAL_VIEWER : u32 = 2897 ; pub const GL_LIGHT_MODEL_TWO_SIDE : u32 = 2898 ; pub const GL_LIGHT_MODEL_AMBIENT : u32 = 2899 ; pub const GL_SHADE_MODEL : u32 = 2900 ; pub const GL_COLOR_MATERIAL_FACE : u32 = 2901 ; pub const GL_COLOR_MATERIAL_PARAMETER : u32 = 2902 ; pub const GL_COLOR_MATERIAL : u32 = 2903 ; pub const GL_FOG : u32 = 2912 ; pub const GL_FOG_INDEX : u32 = 2913 ; pub const GL_FOG_DENSITY : u32 = 2914 ; pub const GL_FOG_START : u32 = 2915 ; pub const GL_FOG_END : u32 = 2916 ; pub const GL_FOG_MODE : u32 = 2917 ; pub const GL_FOG_COLOR : u32 = 2918 ; pub const GL_ACCUM_CLEAR_VALUE : u32 = 2944 ; pub const GL_MATRIX_MODE : u32 = 2976 ; pub const GL_NORMALIZE : u32 = 2977 ; pub const GL_MODELVIEW_STACK_DEPTH : u32 = 2979 ; pub const GL_PROJECTION_STACK_DEPTH : u32 = 2980 ; pub const GL_TEXTURE_STACK_DEPTH : u32 = 2981 ; pub const GL_MODELVIEW_MATRIX : u32 = 2982 ; pub const GL_PROJECTION_MATRIX : u32 = 2983 ; pub const GL_TEXTURE_MATRIX : u32 = 2984 ; pub const GL_ATTRIB_STACK_DEPTH : u32 = 2992 ; pub const GL_ALPHA_TEST : u32 = 3008 ; pub const GL_ALPHA_TEST_FUNC : u32 = 3009 ; pub const GL_ALPHA_TEST_REF : u32 = 3010 ; pub const GL_LOGIC_OP : u32 = 3057 ; pub const GL_AUX_BUFFERS : u32 = 3072 ; pub const GL_INDEX_CLEAR_VALUE : u32 = 3104 ; pub const GL_INDEX_WRITEMASK : u32 = 3105 ; pub const GL_INDEX_MODE : u32 = 3120 ; pub const GL_RGBA_MODE : u32 = 3121 ; pub const GL_RENDER_MODE : u32 = 3136 ; pub const GL_PERSPECTIVE_CORRECTION_HINT : u32 = 3152 ; pub const GL_POINT_SMOOTH_HINT : u32 = 3153 ; pub const GL_FOG_HINT : u32 = 3156 ; pub const GL_TEXTURE_GEN_S : u32 = 3168 ; pub const GL_TEXTURE_GEN_T : u32 = 3169 ; pub const GL_TEXTURE_GEN_R : u32 = 3170 ; pub const GL_TEXTURE_GEN_Q : u32 = 3171 ; pub const GL_PIXEL_MAP_I_TO_I_SIZE : u32 = 3248 ; pub const GL_PIXEL_MAP_S_TO_S_SIZE : u32 = 3249 ; pub const GL_PIXEL_MAP_I_TO_R_SIZE : u32 = 3250 ; pub const GL_PIXEL_MAP_I_TO_G_SIZE : u32 = 3251 ; pub const GL_PIXEL_MAP_I_TO_B_SIZE : u32 = 3252 ; pub const GL_PIXEL_MAP_I_TO_A_SIZE : u32 = 3253 ; pub const GL_PIXEL_MAP_R_TO_R_SIZE : u32 = 3254 ; pub const GL_PIXEL_MAP_G_TO_G_SIZE : u32 = 3255 ; pub const GL_PIXEL_MAP_B_TO_B_SIZE : u32 = 3256 ; pub const GL_PIXEL_MAP_A_TO_A_SIZE : u32 = 3257 ; pub const GL_MAP_COLOR : u32 = 3344 ; pub const GL_MAP_STENCIL : u32 = 3345 ; pub const GL_INDEX_SHIFT : u32 = 3346 ; pub const GL_INDEX_OFFSET : u32 = 3347 ; pub const GL_RED_SCALE : u32 = 3348 ; pub const GL_RED_BIAS : u32 = 3349 ; pub const GL_ZOOM_X : u32 = 3350 ; pub const GL_ZOOM_Y : u32 = 3351 ; pub const GL_GREEN_SCALE : u32 = 3352 ; pub const GL_GREEN_BIAS : u32 = 3353 ; pub const GL_BLUE_SCALE : u32 = 3354 ; pub const GL_BLUE_BIAS : u32 = 3355 ; pub const GL_ALPHA_SCALE : u32 = 3356 ; pub const GL_ALPHA_BIAS : u32 = 3357 ; pub const GL_DEPTH_SCALE : u32 = 3358 ; pub const GL_DEPTH_BIAS : u32 = 3359 ; pub const GL_MAX_EVAL_ORDER : u32 = 3376 ; pub const GL_MAX_LIGHTS : u32 = 3377 ; pub const GL_MAX_CLIP_PLANES : u32 = 3378 ; pub const GL_MAX_PIXEL_MAP_TABLE : u32 = 3380 ; pub const GL_MAX_ATTRIB_STACK_DEPTH : u32 = 3381 ; pub const GL_MAX_MODELVIEW_STACK_DEPTH : u32 = 3382 ; pub const GL_MAX_NAME_STACK_DEPTH : u32 = 3383 ; pub const GL_MAX_PROJECTION_STACK_DEPTH : u32 = 3384 ; pub const GL_MAX_TEXTURE_STACK_DEPTH : u32 = 3385 ; pub const GL_INDEX_BITS : u32 = 3409 ; pub const GL_RED_BITS : u32 = 3410 ; pub const GL_GREEN_BITS : u32 = 3411 ; pub const GL_BLUE_BITS : u32 = 3412 ; pub const GL_ALPHA_BITS : u32 = 3413 ; pub const GL_DEPTH_BITS : u32 = 3414 ; pub const GL_STENCIL_BITS : u32 = 3415 ; pub const GL_ACCUM_RED_BITS : u32 = 3416 ; pub const GL_ACCUM_GREEN_BITS : u32 = 3417 ; pub const GL_ACCUM_BLUE_BITS : u32 = 3418 ; pub const GL_ACCUM_ALPHA_BITS : u32 = 3419 ; pub const GL_NAME_STACK_DEPTH : u32 = 3440 ; pub const GL_AUTO_NORMAL : u32 = 3456 ; pub const GL_MAP1_COLOR_4 : u32 = 3472 ; pub const GL_MAP1_INDEX : u32 = 3473 ; pub const GL_MAP1_NORMAL : u32 = 3474 ; pub const GL_MAP1_TEXTURE_COORD_1 : u32 = 3475 ; pub const GL_MAP1_TEXTURE_COORD_2 : u32 = 3476 ; pub const GL_MAP1_TEXTURE_COORD_3 : u32 = 3477 ; pub const GL_MAP1_TEXTURE_COORD_4 : u32 = 3478 ; pub const GL_MAP1_VERTEX_3 : u32 = 3479 ; pub const GL_MAP1_VERTEX_4 : u32 = 3480 ; pub const GL_MAP2_COLOR_4 : u32 = 3504 ; pub const GL_MAP2_INDEX : u32 = 3505 ; pub const GL_MAP2_NORMAL : u32 = 3506 ; pub const GL_MAP2_TEXTURE_COORD_1 : u32 = 3507 ; pub const GL_MAP2_TEXTURE_COORD_2 : u32 = 3508 ; pub const GL_MAP2_TEXTURE_COORD_3 : u32 = 3509 ; pub const GL_MAP2_TEXTURE_COORD_4 : u32 = 3510 ; pub const GL_MAP2_VERTEX_3 : u32 = 3511 ; pub const GL_MAP2_VERTEX_4 : u32 = 3512 ; pub const GL_MAP1_GRID_DOMAIN : u32 = 3536 ; pub const GL_MAP1_GRID_SEGMENTS : u32 = 3537 ; pub const GL_MAP2_GRID_DOMAIN : u32 = 3538 ; pub const GL_MAP2_GRID_SEGMENTS : u32 = 3539 ; pub const GL_TEXTURE_COMPONENTS : u32 = 4099 ; pub const GL_TEXTURE_BORDER : u32 = 4101 ; pub const GL_AMBIENT : u32 = 4608 ; pub const GL_DIFFUSE : u32 = 4609 ; pub const GL_SPECULAR : u32 = 4610 ; pub const GL_POSITION : u32 = 4611 ; pub const GL_SPOT_DIRECTION : u32 = 4612 ; pub const GL_SPOT_EXPONENT : u32 = 4613 ; pub const GL_SPOT_CUTOFF : u32 = 4614 ; pub const GL_CONSTANT_ATTENUATION : u32 = 4615 ; pub const GL_LINEAR_ATTENUATION : u32 = 4616 ; pub const GL_QUADRATIC_ATTENUATION : u32 = 4617 ; pub const GL_COMPILE : u32 = 4864 ; pub const GL_COMPILE_AND_EXECUTE : u32 = 4865 ; pub const GL_2_BYTES : u32 = 5127 ; pub const GL_3_BYTES : u32 = 5128 ; pub const GL_4_BYTES : u32 = 5129 ; pub const GL_EMISSION : u32 = 5632 ; pub const GL_SHININESS : u32 = 5633 ; pub const GL_AMBIENT_AND_DIFFUSE : u32 = 5634 ; pub const GL_COLOR_INDEXES : u32 = 5635 ; pub const GL_MODELVIEW : u32 = 5888 ; pub const GL_PROJECTION : u32 = 5889 ; pub const GL_COLOR_INDEX : u32 = 6400 ; pub const GL_LUMINANCE : u32 = 6409 ; pub const GL_LUMINANCE_ALPHA : u32 = 6410 ; pub const GL_BITMAP : u32 = 6656 ; pub const GL_RENDER : u32 = 7168 ; pub const GL_FEEDBACK : u32 = 7169 ; pub const GL_SELECT : u32 = 7170 ; pub const GL_FLAT : u32 = 7424 ; pub const GL_SMOOTH : u32 = 7425 ; pub const GL_S : u32 = 8192 ; pub const GL_T : u32 = 8193 ; pub const GL_R : u32 = 8194 ; pub const GL_Q : u32 = 8195 ; pub const GL_MODULATE : u32 = 8448 ; pub const GL_DECAL : u32 = 8449 ; pub const GL_TEXTURE_ENV_MODE : u32 = 8704 ; pub const GL_TEXTURE_ENV_COLOR : u32 = 8705 ; pub const GL_TEXTURE_ENV : u32 = 8960 ; pub const GL_EYE_LINEAR : u32 = 9216 ; pub const GL_OBJECT_LINEAR : u32 = 9217 ; pub const GL_SPHERE_MAP : u32 = 9218 ; pub const GL_TEXTURE_GEN_MODE : u32 = 9472 ; pub const GL_OBJECT_PLANE : u32 = 9473 ; pub const GL_EYE_PLANE : u32 = 9474 ; pub const GL_CLAMP : u32 = 10496 ; pub const GL_CLIP_PLANE0 : u32 = 12288 ; pub const GL_CLIP_PLANE1 : u32 = 12289 ; pub const GL_CLIP_PLANE2 : u32 = 12290 ; pub const GL_CLIP_PLANE3 : u32 = 12291 ; pub const GL_CLIP_PLANE4 : u32 = 12292 ; pub const GL_CLIP_PLANE5 : u32 = 12293 ; pub const GL_LIGHT0 : u32 = 16384 ; pub const GL_LIGHT1 : u32 = 16385 ; pub const GL_LIGHT2 : u32 = 16386 ; pub const GL_LIGHT3 : u32 = 16387 ; pub const GL_LIGHT4 : u32 = 16388 ; pub const GL_LIGHT5 : u32 = 16389 ; pub const GL_LIGHT6 : u32 = 16390 ; pub const GL_LIGHT7 : u32 = 16391 ; pub const GL_COLOR_LOGIC_OP : u32 = 3058 ; pub const GL_POLYGON_OFFSET_UNITS : u32 = 10752 ; pub const GL_POLYGON_OFFSET_POINT : u32 = 10753 ; pub const GL_POLYGON_OFFSET_LINE : u32 = 10754 ; pub const GL_POLYGON_OFFSET_FILL : u32 = 32823 ; pub const GL_POLYGON_OFFSET_FACTOR : u32 = 32824 ; pub const GL_TEXTURE_BINDING_1D : u32 = 32872 ; pub const GL_TEXTURE_BINDING_2D : u32 = 32873 ; pub const GL_TEXTURE_INTERNAL_FORMAT : u32 = 4099 ; pub const GL_TEXTURE_RED_SIZE : u32 = 32860 ; pub const GL_TEXTURE_GREEN_SIZE : u32 = 32861 ; pub const GL_TEXTURE_BLUE_SIZE : u32 = 32862 ; pub const GL_TEXTURE_ALPHA_SIZE : u32 = 32863 ; pub const GL_DOUBLE : u32 = 5130 ; pub const GL_PROXY_TEXTURE_1D : u32 = 32867 ; pub const GL_PROXY_TEXTURE_2D : u32 = 32868 ; pub const GL_R3_G3_B2 : u32 = 10768 ; pub const GL_RGB4 : u32 = 32847 ; pub const GL_RGB5 : u32 = 32848 ; pub const GL_RGB8 : u32 = 32849 ; pub const GL_RGB10 : u32 = 32850 ; pub const GL_RGB12 : u32 = 32851 ; pub const GL_RGB16 : u32 = 32852 ; pub const GL_RGBA2 : u32 = 32853 ; pub const GL_RGBA4 : u32 = 32854 ; pub const GL_RGB5_A1 : u32 = 32855 ; pub const GL_RGBA8 : u32 = 32856 ; pub const GL_RGB10_A2 : u32 = 32857 ; pub const GL_RGBA12 : u32 = 32858 ; pub const GL_RGBA16 : u32 = 32859 ; pub const GL_CLIENT_PIXEL_STORE_BIT : u32 = 1 ; pub const GL_CLIENT_VERTEX_ARRAY_BIT : u32 = 2 ; pub const GL_CLIENT_ALL_ATTRIB_BITS : u32 = 4294967295 ; pub const GL_VERTEX_ARRAY_POINTER : u32 = 32910 ; pub const GL_NORMAL_ARRAY_POINTER : u32 = 32911 ; pub const GL_COLOR_ARRAY_POINTER : u32 = 32912 ; pub const GL_INDEX_ARRAY_POINTER : u32 = 32913 ; pub const GL_TEXTURE_COORD_ARRAY_POINTER : u32 = 32914 ; pub const GL_EDGE_FLAG_ARRAY_POINTER : u32 = 32915 ; pub const GL_FEEDBACK_BUFFER_POINTER : u32 = 3568 ; pub const GL_SELECTION_BUFFER_POINTER : u32 = 3571 ; pub const GL_CLIENT_ATTRIB_STACK_DEPTH : u32 = 2993 ; pub const GL_INDEX_LOGIC_OP : u32 = 3057 ; pub const GL_MAX_CLIENT_ATTRIB_STACK_DEPTH : u32 = 3387 ; pub const GL_FEEDBACK_BUFFER_SIZE : u32 = 3569 ; pub const GL_FEEDBACK_BUFFER_TYPE : u32 = 3570 ; pub const GL_SELECTION_BUFFER_SIZE : u32 = 3572 ; pub const GL_VERTEX_ARRAY : u32 = 32884 ; pub const GL_NORMAL_ARRAY : u32 = 32885 ; pub const GL_COLOR_ARRAY : u32 = 32886 ; pub const GL_INDEX_ARRAY : u32 = 32887 ; pub const GL_TEXTURE_COORD_ARRAY : u32 = 32888 ; pub const GL_EDGE_FLAG_ARRAY : u32 = 32889 ; pub const GL_VERTEX_ARRAY_SIZE : u32 = 32890 ; pub const GL_VERTEX_ARRAY_TYPE : u32 = 32891 ; pub const GL_VERTEX_ARRAY_STRIDE : u32 = 32892 ; pub const GL_NORMAL_ARRAY_TYPE : u32 = 32894 ; pub const GL_NORMAL_ARRAY_STRIDE : u32 = 32895 ; pub const GL_COLOR_ARRAY_SIZE : u32 = 32897 ; pub const GL_COLOR_ARRAY_TYPE : u32 = 32898 ; pub const GL_COLOR_ARRAY_STRIDE : u32 = 32899 ; pub const GL_INDEX_ARRAY_TYPE : u32 = 32901 ; pub const GL_INDEX_ARRAY_STRIDE : u32 = 32902 ; pub const GL_TEXTURE_COORD_ARRAY_SIZE : u32 = 32904 ; pub const GL_TEXTURE_COORD_ARRAY_TYPE : u32 = 32905 ; pub const GL_TEXTURE_COORD_ARRAY_STRIDE : u32 = 32906 ; pub const GL_EDGE_FLAG_ARRAY_STRIDE : u32 = 32908 ; pub const GL_TEXTURE_LUMINANCE_SIZE : u32 = 32864 ; pub const GL_TEXTURE_INTENSITY_SIZE : u32 = 32865 ; pub const GL_TEXTURE_PRIORITY : u32 = 32870 ; pub const GL_TEXTURE_RESIDENT : u32 = 32871 ; pub const GL_ALPHA4 : u32 = 32827 ; pub const GL_ALPHA8 : u32 = 32828 ; pub const GL_ALPHA12 : u32 = 32829 ; pub const GL_ALPHA16 : u32 = 32830 ; pub const GL_LUMINANCE4 : u32 = 32831 ; pub const GL_LUMINANCE8 : u32 = 32832 ; pub const GL_LUMINANCE12 : u32 = 32833 ; pub const GL_LUMINANCE16 : u32 = 32834 ; pub const GL_LUMINANCE4_ALPHA4 : u32 = 32835 ; pub const GL_LUMINANCE6_ALPHA2 : u32 = 32836 ; pub const GL_LUMINANCE8_ALPHA8 : u32 = 32837 ; pub const GL_LUMINANCE12_ALPHA4 : u32 = 32838 ; pub const GL_LUMINANCE12_ALPHA12 : u32 = 32839 ; pub const GL_LUMINANCE16_ALPHA16 : u32 = 32840 ; pub const GL_INTENSITY : u32 = 32841 ; pub const GL_INTENSITY4 : u32 = 32842 ; pub const GL_INTENSITY8 : u32 = 32843 ; pub const GL_INTENSITY12 : u32 = 32844 ; pub const GL_INTENSITY16 : u32 = 32845 ; pub const GL_V2F : u32 = 10784 ; pub const GL_V3F : u32 = 10785 ; pub const GL_C4UB_V2F : u32 = 10786 ; pub const GL_C4UB_V3F : u32 = 10787 ; pub const GL_C3F_V3F : u32 = 10788 ; pub const GL_N3F_V3F : u32 = 10789 ; pub const GL_C4F_N3F_V3F : u32 = 10790 ; pub const GL_T2F_V3F : u32 = 10791 ; pub const GL_T4F_V4F : u32 = 10792 ; pub const GL_T2F_C4UB_V3F : u32 = 10793 ; pub const GL_T2F_C3F_V3F : u32 = 10794 ; pub const GL_T2F_N3F_V3F : u32 = 10795 ; pub const GL_T2F_C4F_N3F_V3F : u32 = 10796 ; pub const GL_T4F_C4F_N3F_V4F : u32 = 10797 ; pub const GL_UNSIGNED_BYTE_3_3_2 : u32 = 32818 ; pub const GL_UNSIGNED_SHORT_4_4_4_4 : u32 = 32819 ; pub const GL_UNSIGNED_SHORT_5_5_5_1 : u32 = 32820 ; pub const GL_UNSIGNED_INT_8_8_8_8 : u32 = 32821 ; pub const GL_UNSIGNED_INT_10_10_10_2 : u32 = 32822 ; pub const GL_TEXTURE_BINDING_3D : u32 = 32874 ; pub const GL_PACK_SKIP_IMAGES : u32 = 32875 ; pub const GL_PACK_IMAGE_HEIGHT : u32 = 32876 ; pub const GL_UNPACK_SKIP_IMAGES : u32 = 32877 ; pub const GL_UNPACK_IMAGE_HEIGHT : u32 = 32878 ; pub const GL_TEXTURE_3D : u32 = 32879 ; pub const GL_PROXY_TEXTURE_3D : u32 = 32880 ; pub const GL_TEXTURE_DEPTH : u32 = 32881 ; pub const GL_TEXTURE_WRAP_R : u32 = 32882 ; pub const GL_MAX_3D_TEXTURE_SIZE : u32 = 32883 ; pub const GL_UNSIGNED_BYTE_2_3_3_REV : u32 = 33634 ; pub const GL_UNSIGNED_SHORT_5_6_5 : u32 = 33635 ; pub const GL_UNSIGNED_SHORT_5_6_5_REV : u32 = 33636 ; pub const GL_UNSIGNED_SHORT_4_4_4_4_REV : u32 = 33637 ; pub const GL_UNSIGNED_SHORT_1_5_5_5_REV : u32 = 33638 ; pub const GL_UNSIGNED_INT_8_8_8_8_REV : u32 = 33639 ; pub const GL_UNSIGNED_INT_2_10_10_10_REV : u32 = 33640 ; pub const GL_BGR : u32 = 32992 ; pub const GL_BGRA : u32 = 32993 ; pub const GL_MAX_ELEMENTS_VERTICES : u32 = 33000 ; pub const GL_MAX_ELEMENTS_INDICES : u32 = 33001 ; pub const GL_CLAMP_TO_EDGE : u32 = 33071 ; pub const GL_TEXTURE_MIN_LOD : u32 = 33082 ; pub const GL_TEXTURE_MAX_LOD : u32 = 33083 ; pub const GL_TEXTURE_BASE_LEVEL : u32 = 33084 ; pub const GL_TEXTURE_MAX_LEVEL : u32 = 33085 ; pub const GL_SMOOTH_POINT_SIZE_RANGE : u32 = 2834 ; pub const GL_SMOOTH_POINT_SIZE_GRANULARITY : u32 = 2835 ; pub const GL_SMOOTH_LINE_WIDTH_RANGE : u32 = 2850 ; pub const GL_SMOOTH_LINE_WIDTH_GRANULARITY : u32 = 2851 ; pub const GL_ALIASED_LINE_WIDTH_RANGE : u32 = 33902 ; pub const GL_RESCALE_NORMAL : u32 = 32826 ; pub const GL_LIGHT_MODEL_COLOR_CONTROL : u32 = 33272 ; pub const GL_SINGLE_COLOR : u32 = 33273 ; pub const GL_SEPARATE_SPECULAR_COLOR : u32 = 33274 ; pub const GL_ALIASED_POINT_SIZE_RANGE : u32 = 33901 ; pub const GL_TEXTURE0 : u32 = 33984 ; pub const GL_TEXTURE1 : u32 = 33985 ; pub const GL_TEXTURE2 : u32 = 33986 ; pub const GL_TEXTURE3 : u32 = 33987 ; pub const GL_TEXTURE4 : u32 = 33988 ; pub const GL_TEXTURE5 : u32 = 33989 ; pub const GL_TEXTURE6 : u32 = 33990 ; pub const GL_TEXTURE7 : u32 = 33991 ; pub const GL_TEXTURE8 : u32 = 33992 ; pub const GL_TEXTURE9 : u32 = 33993 ; pub const GL_TEXTURE10 : u32 = 33994 ; pub const GL_TEXTURE11 : u32 = 33995 ; pub const GL_TEXTURE12 : u32 = 33996 ; pub const GL_TEXTURE13 : u32 = 33997 ; pub const GL_TEXTURE14 : u32 = 33998 ; pub const GL_TEXTURE15 : u32 = 33999 ; pub const GL_TEXTURE16 : u32 = 34000 ; pub const GL_TEXTURE17 : u32 = 34001 ; pub const GL_TEXTURE18 : u32 = 34002 ; pub const GL_TEXTURE19 : u32 = 34003 ; pub const GL_TEXTURE20 : u32 = 34004 ; pub const GL_TEXTURE21 : u32 = 34005 ; pub const GL_TEXTURE22 : u32 = 34006 ; pub const GL_TEXTURE23 : u32 = 34007 ; pub const GL_TEXTURE24 : u32 = 34008 ; pub const GL_TEXTURE25 : u32 = 34009 ; pub const GL_TEXTURE26 : u32 = 34010 ; pub const GL_TEXTURE27 : u32 = 34011 ; pub const GL_TEXTURE28 : u32 = 34012 ; pub const GL_TEXTURE29 : u32 = 34013 ; pub const GL_TEXTURE30 : u32 = 34014 ; pub const GL_TEXTURE31 : u32 = 34015 ; pub const GL_ACTIVE_TEXTURE : u32 = 34016 ; pub const GL_MULTISAMPLE : u32 = 32925 ; pub const GL_SAMPLE_ALPHA_TO_COVERAGE : u32 = 32926 ; pub const GL_SAMPLE_ALPHA_TO_ONE : u32 = 32927 ; pub const GL_SAMPLE_COVERAGE : u32 = 32928 ; pub const GL_SAMPLE_BUFFERS : u32 = 32936 ; pub const GL_SAMPLES : u32 = 32937 ; pub const GL_SAMPLE_COVERAGE_VALUE : u32 = 32938 ; pub const GL_SAMPLE_COVERAGE_INVERT : u32 = 32939 ; pub const GL_TEXTURE_CUBE_MAP : u32 = 34067 ; pub const GL_TEXTURE_BINDING_CUBE_MAP : u32 = 34068 ; pub const GL_TEXTURE_CUBE_MAP_POSITIVE_X : u32 = 34069 ; pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_X : u32 = 34070 ; pub const GL_TEXTURE_CUBE_MAP_POSITIVE_Y : u32 = 34071 ; pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_Y : u32 = 34072 ; pub const GL_TEXTURE_CUBE_MAP_POSITIVE_Z : u32 = 34073 ; pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_Z : u32 = 34074 ; pub const GL_PROXY_TEXTURE_CUBE_MAP : u32 = 34075 ; pub const GL_MAX_CUBE_MAP_TEXTURE_SIZE : u32 = 34076 ; pub const GL_COMPRESSED_RGB : u32 = 34029 ; pub const GL_COMPRESSED_RGBA : u32 = 34030 ; pub const GL_TEXTURE_COMPRESSION_HINT : u32 = 34031 ; pub const GL_TEXTURE_COMPRESSED_IMAGE_SIZE : u32 = 34464 ; pub const GL_TEXTURE_COMPRESSED : u32 = 34465 ; pub const GL_NUM_COMPRESSED_TEXTURE_FORMATS : u32 = 34466 ; pub const GL_COMPRESSED_TEXTURE_FORMATS : u32 = 34467 ; pub const GL_CLAMP_TO_BORDER : u32 = 33069 ; pub const GL_CLIENT_ACTIVE_TEXTURE : u32 = 34017 ; pub const GL_MAX_TEXTURE_UNITS : u32 = 34018 ; pub const GL_TRANSPOSE_MODELVIEW_MATRIX : u32 = 34019 ; pub const GL_TRANSPOSE_PROJECTION_MATRIX : u32 = 34020 ; pub const GL_TRANSPOSE_TEXTURE_MATRIX : u32 = 34021 ; pub const GL_TRANSPOSE_COLOR_MATRIX : u32 = 34022 ; pub const GL_MULTISAMPLE_BIT : u32 = 536870912 ; pub const GL_NORMAL_MAP : u32 = 34065 ; pub const GL_REFLECTION_MAP : u32 = 34066 ; pub const GL_COMPRESSED_ALPHA : u32 = 34025 ; pub const GL_COMPRESSED_LUMINANCE : u32 = 34026 ; pub const GL_COMPRESSED_LUMINANCE_ALPHA : u32 = 34027 ; pub const GL_COMPRESSED_INTENSITY : u32 = 34028 ; pub const GL_COMBINE : u32 = 34160 ; pub const GL_COMBINE_RGB : u32 = 34161 ; pub const GL_COMBINE_ALPHA : u32 = 34162 ; pub const GL_SOURCE0_RGB : u32 = 34176 ; pub const GL_SOURCE1_RGB : u32 = 34177 ; pub const GL_SOURCE2_RGB : u32 = 34178 ; pub const GL_SOURCE0_ALPHA : u32 = 34184 ; pub const GL_SOURCE1_ALPHA : u32 = 34185 ; pub const GL_SOURCE2_ALPHA : u32 = 34186 ; pub const GL_OPERAND0_RGB : u32 = 34192 ; pub const GL_OPERAND1_RGB : u32 = 34193 ; pub const GL_OPERAND2_RGB : u32 = 34194 ; pub const GL_OPERAND0_ALPHA : u32 = 34200 ; pub const GL_OPERAND1_ALPHA : u32 = 34201 ; pub const GL_OPERAND2_ALPHA : u32 = 34202 ; pub const GL_RGB_SCALE : u32 = 34163 ; pub const GL_ADD_SIGNED : u32 = 34164 ; pub const GL_INTERPOLATE : u32 = 34165 ; pub const GL_SUBTRACT : u32 = 34023 ; pub const GL_CONSTANT : u32 = 34166 ; pub const GL_PRIMARY_COLOR : u32 = 34167 ; pub const GL_PREVIOUS : u32 = 34168 ; pub const GL_DOT3_RGB : u32 = 34478 ; pub const GL_DOT3_RGBA : u32 = 34479 ; pub const GL_BLEND_DST_RGB : u32 = 32968 ; pub const GL_BLEND_SRC_RGB : u32 = 32969 ; pub const GL_BLEND_DST_ALPHA : u32 = 32970 ; pub const GL_BLEND_SRC_ALPHA : u32 = 32971 ; pub const GL_POINT_FADE_THRESHOLD_SIZE : u32 = 33064 ; pub const GL_DEPTH_COMPONENT16 : u32 = 33189 ; pub const GL_DEPTH_COMPONENT24 : u32 = 33190 ; pub const GL_DEPTH_COMPONENT32 : u32 = 33191 ; pub const GL_MIRRORED_REPEAT : u32 = 33648 ; pub const GL_MAX_TEXTURE_LOD_BIAS : u32 = 34045 ; pub const GL_TEXTURE_LOD_BIAS : u32 = 34049 ; pub const GL_INCR_WRAP : u32 = 34055 ; pub const GL_DECR_WRAP : u32 = 34056 ; pub const GL_TEXTURE_DEPTH_SIZE : u32 = 34890 ; pub const GL_TEXTURE_COMPARE_MODE : u32 = 34892 ; pub const GL_TEXTURE_COMPARE_FUNC : u32 = 34893 ; pub const GL_POINT_SIZE_MIN : u32 = 33062 ; pub const GL_POINT_SIZE_MAX : u32 = 33063 ; pub const GL_POINT_DISTANCE_ATTENUATION : u32 = 33065 ; pub const GL_GENERATE_MIPMAP : u32 = 33169 ; pub const GL_GENERATE_MIPMAP_HINT : u32 = 33170 ; pub const GL_FOG_COORDINATE_SOURCE : u32 = 33872 ; pub const GL_FOG_COORDINATE : u32 = 33873 ; pub const GL_FRAGMENT_DEPTH : u32 = 33874 ; pub const GL_CURRENT_FOG_COORDINATE : u32 = 33875 ; pub const GL_FOG_COORDINATE_ARRAY_TYPE : u32 = 33876 ; pub const GL_FOG_COORDINATE_ARRAY_STRIDE : u32 = 33877 ; pub const GL_FOG_COORDINATE_ARRAY_POINTER : u32 = 33878 ; pub const GL_FOG_COORDINATE_ARRAY : u32 = 33879 ; pub const GL_COLOR_SUM : u32 = 33880 ; pub const GL_CURRENT_SECONDARY_COLOR : u32 = 33881 ; pub const GL_SECONDARY_COLOR_ARRAY_SIZE : u32 = 33882 ; pub const GL_SECONDARY_COLOR_ARRAY_TYPE : u32 = 33883 ; pub const GL_SECONDARY_COLOR_ARRAY_STRIDE : u32 = 33884 ; pub const GL_SECONDARY_COLOR_ARRAY_POINTER : u32 = 33885 ; pub const GL_SECONDARY_COLOR_ARRAY : u32 = 33886 ; pub const GL_TEXTURE_FILTER_CONTROL : u32 = 34048 ; pub const GL_DEPTH_TEXTURE_MODE : u32 = 34891 ; pub const GL_COMPARE_R_TO_TEXTURE : u32 = 34894 ; pub const GL_BLEND_COLOR : u32 = 32773 ; pub const GL_BLEND_EQUATION : u32 = 32777 ; pub const GL_CONSTANT_COLOR : u32 = 32769 ; pub const GL_ONE_MINUS_CONSTANT_COLOR : u32 = 32770 ; pub const GL_CONSTANT_ALPHA : u32 = 32771 ; pub const GL_ONE_MINUS_CONSTANT_ALPHA : u32 = 32772 ; pub const GL_FUNC_ADD : u32 = 32774 ; pub const GL_FUNC_REVERSE_SUBTRACT : u32 = 32779 ; pub const GL_FUNC_SUBTRACT : u32 = 32778 ; pub const GL_MIN : u32 = 32775 ; pub const GL_MAX : u32 = 32776 ; pub const GL_BUFFER_SIZE : u32 = 34660 ; pub const GL_BUFFER_USAGE : u32 = 34661 ; pub const GL_QUERY_COUNTER_BITS : u32 = 34916 ; pub const GL_CURRENT_QUERY : u32 = 34917 ; pub const GL_QUERY_RESULT : u32 = 34918 ; pub const GL_QUERY_RESULT_AVAILABLE : u32 = 34919 ; pub const GL_ARRAY_BUFFER : u32 = 34962 ; pub const GL_ELEMENT_ARRAY_BUFFER : u32 = 34963 ; pub const GL_ARRAY_BUFFER_BINDING : u32 = 34964 ; pub const GL_ELEMENT_ARRAY_BUFFER_BINDING : u32 = 34965 ; pub const GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING : u32 = 34975 ; pub const GL_READ_ONLY : u32 = 35000 ; pub const GL_WRITE_ONLY : u32 = 35001 ; pub const GL_READ_WRITE : u32 = 35002 ; pub const GL_BUFFER_ACCESS : u32 = 35003 ; pub const GL_BUFFER_MAPPED : u32 = 35004 ; pub const GL_BUFFER_MAP_POINTER : u32 = 35005 ; pub const GL_STREAM_DRAW : u32 = 35040 ; pub const GL_STREAM_READ : u32 = 35041 ; pub const GL_STREAM_COPY : u32 = 35042 ; pub const GL_STATIC_DRAW : u32 = 35044 ; pub const GL_STATIC_READ : u32 = 35045 ; pub const GL_STATIC_COPY : u32 = 35046 ; pub const GL_DYNAMIC_DRAW : u32 = 35048 ; pub const GL_DYNAMIC_READ : u32 = 35049 ; pub const GL_DYNAMIC_COPY : u32 = 35050 ; pub const GL_SAMPLES_PASSED : u32 = 35092 ; pub const GL_SRC1_ALPHA : u32 = 34185 ; pub const GL_VERTEX_ARRAY_BUFFER_BINDING : u32 = 34966 ; pub const GL_NORMAL_ARRAY_BUFFER_BINDING : u32 = 34967 ; pub const GL_COLOR_ARRAY_BUFFER_BINDING : u32 = 34968 ; pub const GL_INDEX_ARRAY_BUFFER_BINDING : u32 = 34969 ; pub const GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING : u32 = 34970 ; pub const GL_EDGE_FLAG_ARRAY_BUFFER_BINDING : u32 = 34971 ; pub const GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING : u32 = 34972 ; pub const GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING : u32 = 34973 ; pub const GL_WEIGHT_ARRAY_BUFFER_BINDING : u32 = 34974 ; pub const GL_FOG_COORD_SRC : u32 = 33872 ; pub const GL_FOG_COORD : u32 = 33873 ; pub const GL_CURRENT_FOG_COORD : u32 = 33875 ; pub const GL_FOG_COORD_ARRAY_TYPE : u32 = 33876 ; pub const GL_FOG_COORD_ARRAY_STRIDE : u32 = 33877 ; pub const GL_FOG_COORD_ARRAY_POINTER : u32 = 33878 ; pub const GL_FOG_COORD_ARRAY : u32 = 33879 ; pub const GL_FOG_COORD_ARRAY_BUFFER_BINDING : u32 = 34973 ; pub const GL_SRC0_RGB : u32 = 34176 ; pub const GL_SRC1_RGB : u32 = 34177 ; pub const GL_SRC2_RGB : u32 = 34178 ; pub const GL_SRC0_ALPHA : u32 = 34184 ; pub const GL_SRC2_ALPHA : u32 = 34186 ; pub const GL_BLEND_EQUATION_RGB : u32 = 32777 ; pub const GL_VERTEX_ATTRIB_ARRAY_ENABLED : u32 = 34338 ; pub const GL_VERTEX_ATTRIB_ARRAY_SIZE : u32 = 34339 ; pub const GL_VERTEX_ATTRIB_ARRAY_STRIDE : u32 = 34340 ; pub const GL_VERTEX_ATTRIB_ARRAY_TYPE : u32 = 34341 ; pub const GL_CURRENT_VERTEX_ATTRIB : u32 = 34342 ; pub const GL_VERTEX_PROGRAM_POINT_SIZE : u32 = 34370 ; pub const GL_VERTEX_ATTRIB_ARRAY_POINTER : u32 = 34373 ; pub const GL_STENCIL_BACK_FUNC : u32 = 34816 ; pub const GL_STENCIL_BACK_FAIL : u32 = 34817 ; pub const GL_STENCIL_BACK_PASS_DEPTH_FAIL : u32 = 34818 ; pub const GL_STENCIL_BACK_PASS_DEPTH_PASS : u32 = 34819 ; pub const GL_MAX_DRAW_BUFFERS : u32 = 34852 ; pub const GL_DRAW_BUFFER0 : u32 = 34853 ; pub const GL_DRAW_BUFFER1 : u32 = 34854 ; pub const GL_DRAW_BUFFER2 : u32 = 34855 ; pub const GL_DRAW_BUFFER3 : u32 = 34856 ; pub const GL_DRAW_BUFFER4 : u32 = 34857 ; pub const GL_DRAW_BUFFER5 : u32 = 34858 ; pub const GL_DRAW_BUFFER6 : u32 = 34859 ; pub const GL_DRAW_BUFFER7 : u32 = 34860 ; pub const GL_DRAW_BUFFER8 : u32 = 34861 ; pub const GL_DRAW_BUFFER9 : u32 = 34862 ; pub const GL_DRAW_BUFFER10 : u32 = 34863 ; pub const GL_DRAW_BUFFER11 : u32 = 34864 ; pub const GL_DRAW_BUFFER12 : u32 = 34865 ; pub const GL_DRAW_BUFFER13 : u32 = 34866 ; pub const GL_DRAW_BUFFER14 : u32 = 34867 ; pub const GL_DRAW_BUFFER15 : u32 = 34868 ; pub const GL_BLEND_EQUATION_ALPHA : u32 = 34877 ; pub const GL_MAX_VERTEX_ATTRIBS : u32 = 34921 ; pub const GL_VERTEX_ATTRIB_ARRAY_NORMALIZED : u32 = 34922 ; pub const GL_MAX_TEXTURE_IMAGE_UNITS : u32 = 34930 ; pub const GL_FRAGMENT_SHADER : u32 = 35632 ; pub const GL_VERTEX_SHADER : u32 = 35633 ; pub const GL_MAX_FRAGMENT_UNIFORM_COMPONENTS : u32 = 35657 ; pub const GL_MAX_VERTEX_UNIFORM_COMPONENTS : u32 = 35658 ; pub const GL_MAX_VARYING_FLOATS : u32 = 35659 ; pub const GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS : u32 = 35660 ; pub const GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS : u32 = 35661 ; pub const GL_SHADER_TYPE : u32 = 35663 ; pub const GL_FLOAT_VEC2 : u32 = 35664 ; pub const GL_FLOAT_VEC3 : u32 = 35665 ; pub const GL_FLOAT_VEC4 : u32 = 35666 ; pub const GL_INT_VEC2 : u32 = 35667 ; pub const GL_INT_VEC3 : u32 = 35668 ; pub const GL_INT_VEC4 : u32 = 35669 ; pub const GL_BOOL : u32 = 35670 ; pub const GL_BOOL_VEC2 : u32 = 35671 ; pub const GL_BOOL_VEC3 : u32 = 35672 ; pub const GL_BOOL_VEC4 : u32 = 35673 ; pub const GL_FLOAT_MAT2 : u32 = 35674 ; pub const GL_FLOAT_MAT3 : u32 = 35675 ; pub const GL_FLOAT_MAT4 : u32 = 35676 ; pub const GL_SAMPLER_1D : u32 = 35677 ; pub const GL_SAMPLER_2D : u32 = 35678 ; pub const GL_SAMPLER_3D : u32 = 35679 ; pub const GL_SAMPLER_CUBE : u32 = 35680 ; pub const GL_SAMPLER_1D_SHADOW : u32 = 35681 ; pub const GL_SAMPLER_2D_SHADOW : u32 = 35682 ; pub const GL_DELETE_STATUS : u32 = 35712 ; pub const GL_COMPILE_STATUS : u32 = 35713 ; pub const GL_LINK_STATUS : u32 = 35714 ; pub const GL_VALIDATE_STATUS : u32 = 35715 ; pub const GL_INFO_LOG_LENGTH : u32 = 35716 ; pub const GL_ATTACHED_SHADERS : u32 = 35717 ; pub const GL_ACTIVE_UNIFORMS : u32 = 35718 ; pub const GL_ACTIVE_UNIFORM_MAX_LENGTH : u32 = 35719 ; pub const GL_SHADER_SOURCE_LENGTH : u32 = 35720 ; pub const GL_ACTIVE_ATTRIBUTES : u32 = 35721 ; pub const GL_ACTIVE_ATTRIBUTE_MAX_LENGTH : u32 = 35722 ; pub const GL_FRAGMENT_SHADER_DERIVATIVE_HINT : u32 = 35723 ; pub const GL_SHADING_LANGUAGE_VERSION : u32 = 35724 ; pub const GL_CURRENT_PROGRAM : u32 = 35725 ; pub const GL_POINT_SPRITE_COORD_ORIGIN : u32 = 36000 ; pub const GL_LOWER_LEFT : u32 = 36001 ; pub const GL_UPPER_LEFT : u32 = 36002 ; pub const GL_STENCIL_BACK_REF : u32 = 36003 ; pub const GL_STENCIL_BACK_VALUE_MASK : u32 = 36004 ; pub const GL_STENCIL_BACK_WRITEMASK : u32 = 36005 ; pub const GL_VERTEX_PROGRAM_TWO_SIDE : u32 = 34371 ; pub const GL_POINT_SPRITE : u32 = 34913 ; pub const GL_COORD_REPLACE : u32 = 34914 ; pub const GL_MAX_TEXTURE_COORDS : u32 = 34929 ; pub const GL_PIXEL_PACK_BUFFER : u32 = 35051 ; pub const GL_PIXEL_UNPACK_BUFFER : u32 = 35052 ; pub const GL_PIXEL_PACK_BUFFER_BINDING : u32 = 35053 ; pub const GL_PIXEL_UNPACK_BUFFER_BINDING : u32 = 35055 ; pub const GL_FLOAT_MAT2x3 : u32 = 35685 ; pub const GL_FLOAT_MAT2x4 : u32 = 35686 ; pub const GL_FLOAT_MAT3x2 : u32 = 35687 ; pub const GL_FLOAT_MAT3x4 : u32 = 35688 ; pub const GL_FLOAT_MAT4x2 : u32 = 35689 ; pub const GL_FLOAT_MAT4x3 : u32 = 35690 ; pub const GL_SRGB : u32 = 35904 ; pub const GL_SRGB8 : u32 = 35905 ; pub const GL_SRGB_ALPHA : u32 = 35906 ; pub const GL_SRGB8_ALPHA8 : u32 = 35907 ; pub const GL_COMPRESSED_SRGB : u32 = 35912 ; pub const GL_COMPRESSED_SRGB_ALPHA : u32 = 35913 ; pub const GL_CURRENT_RASTER_SECONDARY_COLOR : u32 = 33887 ; pub const GL_SLUMINANCE_ALPHA : u32 = 35908 ; pub const GL_SLUMINANCE8_ALPHA8 : u32 = 35909 ; pub const GL_SLUMINANCE : u32 = 35910 ; pub const GL_SLUMINANCE8 : u32 = 35911 ; pub const GL_COMPRESSED_SLUMINANCE : u32 = 35914 ; pub const GL_COMPRESSED_SLUMINANCE_ALPHA : u32 = 35915 ; pub const GL_COMPARE_REF_TO_TEXTURE : u32 = 34894 ; pub const GL_CLIP_DISTANCE0 : u32 = 12288 ; pub const GL_CLIP_DISTANCE1 : u32 = 12289 ; pub const GL_CLIP_DISTANCE2 : u32 = 12290 ; pub const GL_CLIP_DISTANCE3 : u32 = 12291 ; pub const GL_CLIP_DISTANCE4 : u32 = 12292 ; pub const GL_CLIP_DISTANCE5 : u32 = 12293 ; pub const GL_CLIP_DISTANCE6 : u32 = 12294 ; pub const GL_CLIP_DISTANCE7 : u32 = 12295 ; pub const GL_MAX_CLIP_DISTANCES : u32 = 3378 ; pub const GL_MAJOR_VERSION : u32 = 33307 ; pub const GL_MINOR_VERSION : u32 = 33308 ; pub const GL_NUM_EXTENSIONS : u32 = 33309 ; pub const GL_CONTEXT_FLAGS : u32 = 33310 ; pub const GL_COMPRESSED_RED : u32 = 33317 ; pub const GL_COMPRESSED_RG : u32 = 33318 ; pub const GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT : u32 = 1 ; pub const GL_RGBA32F : u32 = 34836 ; pub const GL_RGB32F : u32 = 34837 ; pub const GL_RGBA16F : u32 = 34842 ; pub const GL_RGB16F : u32 = 34843 ; pub const GL_VERTEX_ATTRIB_ARRAY_INTEGER : u32 = 35069 ; pub const GL_MAX_ARRAY_TEXTURE_LAYERS : u32 = 35071 ; pub const GL_MIN_PROGRAM_TEXEL_OFFSET : u32 = 35076 ; pub const GL_MAX_PROGRAM_TEXEL_OFFSET : u32 = 35077 ; pub const GL_CLAMP_READ_COLOR : u32 = 35100 ; pub const GL_FIXED_ONLY : u32 = 35101 ; pub const GL_MAX_VARYING_COMPONENTS : u32 = 35659 ; pub const GL_TEXTURE_1D_ARRAY : u32 = 35864 ; pub const GL_PROXY_TEXTURE_1D_ARRAY : u32 = 35865 ; pub const GL_TEXTURE_2D_ARRAY : u32 = 35866 ; pub const GL_PROXY_TEXTURE_2D_ARRAY : u32 = 35867 ; pub const GL_TEXTURE_BINDING_1D_ARRAY : u32 = 35868 ; pub const GL_TEXTURE_BINDING_2D_ARRAY : u32 = 35869 ; pub const GL_R11F_G11F_B10F : u32 = 35898 ; pub const GL_UNSIGNED_INT_10F_11F_11F_REV : u32 = 35899 ; pub const GL_RGB9_E5 : u32 = 35901 ; pub const GL_UNSIGNED_INT_5_9_9_9_REV : u32 = 35902 ; pub const GL_TEXTURE_SHARED_SIZE : u32 = 35903 ; pub const GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH : u32 = 35958 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_MODE : u32 = 35967 ; pub const GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS : u32 = 35968 ; pub const GL_TRANSFORM_FEEDBACK_VARYINGS : u32 = 35971 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_START : u32 = 35972 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_SIZE : u32 = 35973 ; pub const GL_PRIMITIVES_GENERATED : u32 = 35975 ; pub const GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN : u32 = 35976 ; pub const GL_RASTERIZER_DISCARD : u32 = 35977 ; pub const GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS : u32 = 35978 ; pub const GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS : u32 = 35979 ; pub const GL_INTERLEAVED_ATTRIBS : u32 = 35980 ; pub const GL_SEPARATE_ATTRIBS : u32 = 35981 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER : u32 = 35982 ; pub const GL_TRANSFORM_FEEDBACK_BUFFER_BINDING : u32 = 35983 ; pub const GL_RGBA32UI : u32 = 36208 ; pub const GL_RGB32UI : u32 = 36209 ; pub const GL_RGBA16UI : u32 = 36214 ; pub const GL_RGB16UI : u32 = 36215 ; pub const GL_RGBA8UI : u32 = 36220 ; pub const GL_RGB8UI : u32 = 36221 ; pub const GL_RGBA32I : u32 = 36226 ; pub const GL_RGB32I : u32 = 36227 ; pub const GL_RGBA16I : u32 = 36232 ; pub const GL_RGB16I : u32 = 36233 ; pub const GL_RGBA8I : u32 = 36238 ; pub const GL_RGB8I : u32 = 36239 ; pub const GL_RED_INTEGER : u32 = 36244 ; pub const GL_GREEN_INTEGER : u32 = 36245 ; pub const GL_BLUE_INTEGER : u32 = 36246 ; pub const GL_RGB_INTEGER : u32 = 36248 ; pub const GL_RGBA_INTEGER : u32 = 36249 ; pub const GL_BGR_INTEGER : u32 = 36250 ; pub const GL_BGRA_INTEGER : u32 = 36251 ; pub const GL_SAMPLER_1D_ARRAY : u32 = 36288 ; pub const GL_SAMPLER_2D_ARRAY : u32 = 36289 ; pub const GL_SAMPLER_1D_ARRAY_SHADOW : u32 = 36291 ; pub const GL_SAMPLER_2D_ARRAY_SHADOW : u32 = 36292 ; pub const GL_SAMPLER_CUBE_SHADOW : u32 = 36293 ; pub const GL_UNSIGNED_INT_VEC2 : u32 = 36294 ; pub const GL_UNSIGNED_INT_VEC3 : u32 = 36295 ; pub const GL_UNSIGNED_INT_VEC4 : u32 = 36296 ; pub const GL_INT_SAMPLER_1D : u32 = 36297 ; pub const GL_INT_SAMPLER_2D : u32 = 36298 ; pub const GL_INT_SAMPLER_3D : u32 = 36299 ; pub const GL_INT_SAMPLER_CUBE : u32 = 36300 ; pub const GL_INT_SAMPLER_1D_ARRAY : u32 = 36302 ; pub const GL_INT_SAMPLER_2D_ARRAY : u32 = 36303 ; pub const GL_UNSIGNED_INT_SAMPLER_1D : u32 = 36305 ; pub const GL_UNSIGNED_INT_SAMPLER_2D : u32 = 36306 ; pub const GL_UNSIGNED_INT_SAMPLER_3D : u32 = 36307 ; pub const GL_UNSIGNED_INT_SAMPLER_CUBE : u32 = 36308 ; pub const GL_UNSIGNED_INT_SAMPLER_1D_ARRAY : u32 = 36310 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_ARRAY : u32 = 36311 ; pub const GL_QUERY_WAIT : u32 = 36371 ; pub const GL_QUERY_NO_WAIT : u32 = 36372 ; pub const GL_QUERY_BY_REGION_WAIT : u32 = 36373 ; pub const GL_QUERY_BY_REGION_NO_WAIT : u32 = 36374 ; pub const GL_BUFFER_ACCESS_FLAGS : u32 = 37151 ; pub const GL_BUFFER_MAP_LENGTH : u32 = 37152 ; pub const GL_BUFFER_MAP_OFFSET : u32 = 37153 ; pub const GL_DEPTH_COMPONENT32F : u32 = 36012 ; pub const GL_DEPTH32F_STENCIL8 : u32 = 36013 ; pub const GL_FLOAT_32_UNSIGNED_INT_24_8_REV : u32 = 36269 ; pub const GL_INVALID_FRAMEBUFFER_OPERATION : u32 = 1286 ; pub const GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING : u32 = 33296 ; pub const GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE : u32 = 33297 ; pub const GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE : u32 = 33298 ; pub const GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE : u32 = 33299 ; pub const GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE : u32 = 33300 ; pub const GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE : u32 = 33301 ; pub const GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE : u32 = 33302 ; pub const GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE : u32 = 33303 ; pub const GL_FRAMEBUFFER_DEFAULT : u32 = 33304 ; pub const GL_FRAMEBUFFER_UNDEFINED : u32 = 33305 ; pub const GL_DEPTH_STENCIL_ATTACHMENT : u32 = 33306 ; pub const GL_MAX_RENDERBUFFER_SIZE : u32 = 34024 ; pub const GL_DEPTH_STENCIL : u32 = 34041 ; pub const GL_UNSIGNED_INT_24_8 : u32 = 34042 ; pub const GL_DEPTH24_STENCIL8 : u32 = 35056 ; pub const GL_TEXTURE_STENCIL_SIZE : u32 = 35057 ; pub const GL_TEXTURE_RED_TYPE : u32 = 35856 ; pub const GL_TEXTURE_GREEN_TYPE : u32 = 35857 ; pub const GL_TEXTURE_BLUE_TYPE : u32 = 35858 ; pub const GL_TEXTURE_ALPHA_TYPE : u32 = 35859 ; pub const GL_TEXTURE_DEPTH_TYPE : u32 = 35862 ; pub const GL_UNSIGNED_NORMALIZED : u32 = 35863 ; pub const GL_FRAMEBUFFER_BINDING : u32 = 36006 ; pub const GL_DRAW_FRAMEBUFFER_BINDING : u32 = 36006 ; pub const GL_RENDERBUFFER_BINDING : u32 = 36007 ; pub const GL_READ_FRAMEBUFFER : u32 = 36008 ; pub const GL_DRAW_FRAMEBUFFER : u32 = 36009 ; pub const GL_READ_FRAMEBUFFER_BINDING : u32 = 36010 ; pub const GL_RENDERBUFFER_SAMPLES : u32 = 36011 ; pub const GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE : u32 = 36048 ; pub const GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME : u32 = 36049 ; pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL : u32 = 36050 ; pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE : u32 = 36051 ; pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER : u32 = 36052 ; pub const GL_FRAMEBUFFER_COMPLETE : u32 = 36053 ; pub const GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT : u32 = 36054 ; pub const GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT : u32 = 36055 ; pub const GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER : u32 = 36059 ; pub const GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER : u32 = 36060 ; pub const GL_FRAMEBUFFER_UNSUPPORTED : u32 = 36061 ; pub const GL_MAX_COLOR_ATTACHMENTS : u32 = 36063 ; pub const GL_COLOR_ATTACHMENT0 : u32 = 36064 ; pub const GL_COLOR_ATTACHMENT1 : u32 = 36065 ; pub const GL_COLOR_ATTACHMENT2 : u32 = 36066 ; pub const GL_COLOR_ATTACHMENT3 : u32 = 36067 ; pub const GL_COLOR_ATTACHMENT4 : u32 = 36068 ; pub const GL_COLOR_ATTACHMENT5 : u32 = 36069 ; pub const GL_COLOR_ATTACHMENT6 : u32 = 36070 ; pub const GL_COLOR_ATTACHMENT7 : u32 = 36071 ; pub const GL_COLOR_ATTACHMENT8 : u32 = 36072 ; pub const GL_COLOR_ATTACHMENT9 : u32 = 36073 ; pub const GL_COLOR_ATTACHMENT10 : u32 = 36074 ; pub const GL_COLOR_ATTACHMENT11 : u32 = 36075 ; pub const GL_COLOR_ATTACHMENT12 : u32 = 36076 ; pub const GL_COLOR_ATTACHMENT13 : u32 = 36077 ; pub const GL_COLOR_ATTACHMENT14 : u32 = 36078 ; pub const GL_COLOR_ATTACHMENT15 : u32 = 36079 ; pub const GL_COLOR_ATTACHMENT16 : u32 = 36080 ; pub const GL_COLOR_ATTACHMENT17 : u32 = 36081 ; pub const GL_COLOR_ATTACHMENT18 : u32 = 36082 ; pub const GL_COLOR_ATTACHMENT19 : u32 = 36083 ; pub const GL_COLOR_ATTACHMENT20 : u32 = 36084 ; pub const GL_COLOR_ATTACHMENT21 : u32 = 36085 ; pub const GL_COLOR_ATTACHMENT22 : u32 = 36086 ; pub const GL_COLOR_ATTACHMENT23 : u32 = 36087 ; pub const GL_COLOR_ATTACHMENT24 : u32 = 36088 ; pub const GL_COLOR_ATTACHMENT25 : u32 = 36089 ; pub const GL_COLOR_ATTACHMENT26 : u32 = 36090 ; pub const GL_COLOR_ATTACHMENT27 : u32 = 36091 ; pub const GL_COLOR_ATTACHMENT28 : u32 = 36092 ; pub const GL_COLOR_ATTACHMENT29 : u32 = 36093 ; pub const GL_COLOR_ATTACHMENT30 : u32 = 36094 ; pub const GL_COLOR_ATTACHMENT31 : u32 = 36095 ; pub const GL_DEPTH_ATTACHMENT : u32 = 36096 ; pub const GL_STENCIL_ATTACHMENT : u32 = 36128 ; pub const GL_FRAMEBUFFER : u32 = 36160 ; pub const GL_RENDERBUFFER : u32 = 36161 ; pub const GL_RENDERBUFFER_WIDTH : u32 = 36162 ; pub const GL_RENDERBUFFER_HEIGHT : u32 = 36163 ; pub const GL_RENDERBUFFER_INTERNAL_FORMAT : u32 = 36164 ; pub const GL_STENCIL_INDEX1 : u32 = 36166 ; pub const GL_STENCIL_INDEX4 : u32 = 36167 ; pub const GL_STENCIL_INDEX8 : u32 = 36168 ; pub const GL_STENCIL_INDEX16 : u32 = 36169 ; pub const GL_RENDERBUFFER_RED_SIZE : u32 = 36176 ; pub const GL_RENDERBUFFER_GREEN_SIZE : u32 = 36177 ; pub const GL_RENDERBUFFER_BLUE_SIZE : u32 = 36178 ; pub const GL_RENDERBUFFER_ALPHA_SIZE : u32 = 36179 ; pub const GL_RENDERBUFFER_DEPTH_SIZE : u32 = 36180 ; pub const GL_RENDERBUFFER_STENCIL_SIZE : u32 = 36181 ; pub const GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE : u32 = 36182 ; pub const GL_MAX_SAMPLES : u32 = 36183 ; pub const GL_INDEX : u32 = 33314 ; pub const GL_TEXTURE_LUMINANCE_TYPE : u32 = 35860 ; pub const GL_TEXTURE_INTENSITY_TYPE : u32 = 35861 ; pub const GL_FRAMEBUFFER_SRGB : u32 = 36281 ; pub const GL_HALF_FLOAT : u32 = 5131 ; pub const GL_MAP_READ_BIT : u32 = 1 ; pub const GL_MAP_WRITE_BIT : u32 = 2 ; pub const GL_MAP_INVALIDATE_RANGE_BIT : u32 = 4 ; pub const GL_MAP_INVALIDATE_BUFFER_BIT : u32 = 8 ; pub const GL_MAP_FLUSH_EXPLICIT_BIT : u32 = 16 ; pub const GL_MAP_UNSYNCHRONIZED_BIT : u32 = 32 ; pub const GL_COMPRESSED_RED_RGTC1 : u32 = 36283 ; pub const GL_COMPRESSED_SIGNED_RED_RGTC1 : u32 = 36284 ; pub const GL_COMPRESSED_RG_RGTC2 : u32 = 36285 ; pub const GL_COMPRESSED_SIGNED_RG_RGTC2 : u32 = 36286 ; pub const GL_RG : u32 = 33319 ; pub const GL_RG_INTEGER : u32 = 33320 ; pub const GL_R8 : u32 = 33321 ; pub const GL_R16 : u32 = 33322 ; pub const GL_RG8 : u32 = 33323 ; pub const GL_RG16 : u32 = 33324 ; pub const GL_R16F : u32 = 33325 ; pub const GL_R32F : u32 = 33326 ; pub const GL_RG16F : u32 = 33327 ; pub const GL_RG32F : u32 = 33328 ; pub const GL_R8I : u32 = 33329 ; pub const GL_R8UI : u32 = 33330 ; pub const GL_R16I : u32 = 33331 ; pub const GL_R16UI : u32 = 33332 ; pub const GL_R32I : u32 = 33333 ; pub const GL_R32UI : u32 = 33334 ; pub const GL_RG8I : u32 = 33335 ; pub const GL_RG8UI : u32 = 33336 ; pub const GL_RG16I : u32 = 33337 ; pub const GL_RG16UI : u32 = 33338 ; pub const GL_RG32I : u32 = 33339 ; pub const GL_RG32UI : u32 = 33340 ; pub const GL_VERTEX_ARRAY_BINDING : u32 = 34229 ; pub const GL_CLAMP_VERTEX_COLOR : u32 = 35098 ; pub const GL_CLAMP_FRAGMENT_COLOR : u32 = 35099 ; pub const GL_ALPHA_INTEGER : u32 = 36247 ; pub const GL_SAMPLER_2D_RECT : u32 = 35683 ; pub const GL_SAMPLER_2D_RECT_SHADOW : u32 = 35684 ; pub const GL_SAMPLER_BUFFER : u32 = 36290 ; pub const GL_INT_SAMPLER_2D_RECT : u32 = 36301 ; pub const GL_INT_SAMPLER_BUFFER : u32 = 36304 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_RECT : u32 = 36309 ; pub const GL_UNSIGNED_INT_SAMPLER_BUFFER : u32 = 36312 ; pub const GL_TEXTURE_BUFFER : u32 = 35882 ; pub const GL_MAX_TEXTURE_BUFFER_SIZE : u32 = 35883 ; pub const GL_TEXTURE_BINDING_BUFFER : u32 = 35884 ; pub const GL_TEXTURE_BUFFER_DATA_STORE_BINDING : u32 = 35885 ; pub const GL_TEXTURE_RECTANGLE : u32 = 34037 ; pub const GL_TEXTURE_BINDING_RECTANGLE : u32 = 34038 ; pub const GL_PROXY_TEXTURE_RECTANGLE : u32 = 34039 ; pub const GL_MAX_RECTANGLE_TEXTURE_SIZE : u32 = 34040 ; pub const GL_R8_SNORM : u32 = 36756 ; pub const GL_RG8_SNORM : u32 = 36757 ; pub const GL_RGB8_SNORM : u32 = 36758 ; pub const GL_RGBA8_SNORM : u32 = 36759 ; pub const GL_R16_SNORM : u32 = 36760 ; pub const GL_RG16_SNORM : u32 = 36761 ; pub const GL_RGB16_SNORM : u32 = 36762 ; pub const GL_RGBA16_SNORM : u32 = 36763 ; pub const GL_SIGNED_NORMALIZED : u32 = 36764 ; pub const GL_PRIMITIVE_RESTART : u32 = 36765 ; pub const GL_PRIMITIVE_RESTART_INDEX : u32 = 36766 ; pub const GL_COPY_READ_BUFFER : u32 = 36662 ; pub const GL_COPY_WRITE_BUFFER : u32 = 36663 ; pub const GL_UNIFORM_BUFFER : u32 = 35345 ; pub const GL_UNIFORM_BUFFER_BINDING : u32 = 35368 ; pub const GL_UNIFORM_BUFFER_START : u32 = 35369 ; pub const GL_UNIFORM_BUFFER_SIZE : u32 = 35370 ; pub const GL_MAX_VERTEX_UNIFORM_BLOCKS : u32 = 35371 ; pub const GL_MAX_GEOMETRY_UNIFORM_BLOCKS : u32 = 35372 ; pub const GL_MAX_FRAGMENT_UNIFORM_BLOCKS : u32 = 35373 ; pub const GL_MAX_COMBINED_UNIFORM_BLOCKS : u32 = 35374 ; pub const GL_MAX_UNIFORM_BUFFER_BINDINGS : u32 = 35375 ; pub const GL_MAX_UNIFORM_BLOCK_SIZE : u32 = 35376 ; pub const GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS : u32 = 35377 ; pub const GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS : u32 = 35378 ; pub const GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS : u32 = 35379 ; pub const GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT : u32 = 35380 ; pub const GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH : u32 = 35381 ; pub const GL_ACTIVE_UNIFORM_BLOCKS : u32 = 35382 ; pub const GL_UNIFORM_TYPE : u32 = 35383 ; pub const GL_UNIFORM_SIZE : u32 = 35384 ; pub const GL_UNIFORM_NAME_LENGTH : u32 = 35385 ; pub const GL_UNIFORM_BLOCK_INDEX : u32 = 35386 ; pub const GL_UNIFORM_OFFSET : u32 = 35387 ; pub const GL_UNIFORM_ARRAY_STRIDE : u32 = 35388 ; pub const GL_UNIFORM_MATRIX_STRIDE : u32 = 35389 ; pub const GL_UNIFORM_IS_ROW_MAJOR : u32 = 35390 ; pub const GL_UNIFORM_BLOCK_BINDING : u32 = 35391 ; pub const GL_UNIFORM_BLOCK_DATA_SIZE : u32 = 35392 ; pub const GL_UNIFORM_BLOCK_NAME_LENGTH : u32 = 35393 ; pub const GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS : u32 = 35394 ; pub const GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES : u32 = 35395 ; pub const GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER : u32 = 35396 ; pub const GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER : u32 = 35397 ; pub const GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER : u32 = 35398 ; pub const GL_INVALID_INDEX : u32 = 4294967295 ; pub const GL_CONTEXT_CORE_PROFILE_BIT : u32 = 1 ; pub const GL_CONTEXT_COMPATIBILITY_PROFILE_BIT : u32 = 2 ; pub const GL_LINES_ADJACENCY : u32 = 10 ; pub const GL_LINE_STRIP_ADJACENCY : u32 = 11 ; pub const GL_TRIANGLES_ADJACENCY : u32 = 12 ; pub const GL_TRIANGLE_STRIP_ADJACENCY : u32 = 13 ; pub const GL_PROGRAM_POINT_SIZE : u32 = 34370 ; pub const GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS : u32 = 35881 ; pub const GL_FRAMEBUFFER_ATTACHMENT_LAYERED : u32 = 36263 ; pub const GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS : u32 = 36264 ; pub const GL_GEOMETRY_SHADER : u32 = 36313 ; pub const GL_GEOMETRY_VERTICES_OUT : u32 = 35094 ; pub const GL_GEOMETRY_INPUT_TYPE : u32 = 35095 ; pub const GL_GEOMETRY_OUTPUT_TYPE : u32 = 35096 ; pub const GL_MAX_GEOMETRY_UNIFORM_COMPONENTS : u32 = 36319 ; pub const GL_MAX_GEOMETRY_OUTPUT_VERTICES : u32 = 36320 ; pub const GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS : u32 = 36321 ; pub const GL_MAX_VERTEX_OUTPUT_COMPONENTS : u32 = 37154 ; pub const GL_MAX_GEOMETRY_INPUT_COMPONENTS : u32 = 37155 ; pub const GL_MAX_GEOMETRY_OUTPUT_COMPONENTS : u32 = 37156 ; pub const GL_MAX_FRAGMENT_INPUT_COMPONENTS : u32 = 37157 ; pub const GL_CONTEXT_PROFILE_MASK : u32 = 37158 ; pub const GL_DEPTH_CLAMP : u32 = 34383 ; pub const GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION : u32 = 36428 ; pub const GL_FIRST_VERTEX_CONVENTION : u32 = 36429 ; pub const GL_LAST_VERTEX_CONVENTION : u32 = 36430 ; pub const GL_PROVOKING_VERTEX : u32 = 36431 ; pub const GL_TEXTURE_CUBE_MAP_SEAMLESS : u32 = 34895 ; pub const GL_MAX_SERVER_WAIT_TIMEOUT : u32 = 37137 ; pub const GL_OBJECT_TYPE : u32 = 37138 ; pub const GL_SYNC_CONDITION : u32 = 37139 ; pub const GL_SYNC_STATUS : u32 = 37140 ; pub const GL_SYNC_FLAGS : u32 = 37141 ; pub const GL_SYNC_FENCE : u32 = 37142 ; pub const GL_SYNC_GPU_COMMANDS_COMPLETE : u32 = 37143 ; pub const GL_UNSIGNALED : u32 = 37144 ; pub const GL_SIGNALED : u32 = 37145 ; pub const GL_ALREADY_SIGNALED : u32 = 37146 ; pub const GL_TIMEOUT_EXPIRED : u32 = 37147 ; pub const GL_CONDITION_SATISFIED : u32 = 37148 ; pub const GL_WAIT_FAILED : u32 = 37149 ; pub const GL_TIMEOUT_IGNORED : i32 = -1 ; pub const GL_SYNC_FLUSH_COMMANDS_BIT : u32 = 1 ; pub const GL_SAMPLE_POSITION : u32 = 36432 ; pub const GL_SAMPLE_MASK : u32 = 36433 ; pub const GL_SAMPLE_MASK_VALUE : u32 = 36434 ; pub const GL_MAX_SAMPLE_MASK_WORDS : u32 = 36441 ; pub const GL_TEXTURE_2D_MULTISAMPLE : u32 = 37120 ; pub const GL_PROXY_TEXTURE_2D_MULTISAMPLE : u32 = 37121 ; pub const GL_TEXTURE_2D_MULTISAMPLE_ARRAY : u32 = 37122 ; pub const GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY : u32 = 37123 ; pub const GL_TEXTURE_BINDING_2D_MULTISAMPLE : u32 = 37124 ; pub const GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY : u32 = 37125 ; pub const GL_TEXTURE_SAMPLES : u32 = 37126 ; pub const GL_TEXTURE_FIXED_SAMPLE_LOCATIONS : u32 = 37127 ; pub const GL_SAMPLER_2D_MULTISAMPLE : u32 = 37128 ; pub const GL_INT_SAMPLER_2D_MULTISAMPLE : u32 = 37129 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE : u32 = 37130 ; pub const GL_SAMPLER_2D_MULTISAMPLE_ARRAY : u32 = 37131 ; pub const GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY : u32 = 37132 ; pub const GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY : u32 = 37133 ; pub const GL_MAX_COLOR_TEXTURE_SAMPLES : u32 = 37134 ; pub const GL_MAX_DEPTH_TEXTURE_SAMPLES : u32 = 37135 ; pub const GL_MAX_INTEGER_SAMPLES : u32 = 37136 ; pub const GL_VERTEX_ATTRIB_ARRAY_DIVISOR : u32 = 35070 ; pub const GL_SRC1_COLOR : u32 = 35065 ; pub const GL_ONE_MINUS_SRC1_COLOR : u32 = 35066 ; pub const GL_ONE_MINUS_SRC1_ALPHA : u32 = 35067 ; pub const GL_MAX_DUAL_SOURCE_DRAW_BUFFERS : u32 = 35068 ; pub const GL_ANY_SAMPLES_PASSED : u32 = 35887 ; pub const GL_SAMPLER_BINDING : u32 = 35097 ; pub const GL_RGB10_A2UI : u32 = 36975 ; pub const GL_TEXTURE_SWIZZLE_R : u32 = 36418 ; pub const GL_TEXTURE_SWIZZLE_G : u32 = 36419 ; pub const GL_TEXTURE_SWIZZLE_B : u32 = 36420 ; pub const GL_TEXTURE_SWIZZLE_A : u32 = 36421 ; pub const GL_TEXTURE_SWIZZLE_RGBA : u32 = 36422 ; pub const GL_TIME_ELAPSED : u32 = 35007 ; pub const GL_TIMESTAMP : u32 = 36392 ; pub const GL_INT_2_10_10_10_REV : u32 = 36255 ; pub const GL_VERSION_1_0 : u32 = 1 ; pub const GL_VERSION_1_1 : u32 = 1 ; pub const GL_VERSION_1_2 : u32 = 1 ; pub const GL_VERSION_1_3 : u32 = 1 ; pub const GL_VERSION_1_4 : u32 = 1 ; pub const GL_VERSION_1_5 : u32 = 1 ; pub const GL_VERSION_2_0 : u32 = 1 ; pub const GL_VERSION_2_1 : u32 = 1 ; pub const GL_VERSION_3_0 : u32 = 1 ; pub const GL_VERSION_3_1 : u32 = 1 ; pub const GL_VERSION_3_2 : u32 = 1 ; pub const GL_VERSION_3_3 : u32 = 1 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const RF_PI : f64 = 3.141592653589793 ; pub const RF_DEG2RAD : f64 = 0.017453292519943295 ; pub const RF_RAD2DEG : f64 = 57.29577951308232 ; pub const rf_max_text_buffer_length : u32 = 1024 ; pub const rf_max_text_unicode_chars : u32 = 512 ; pub const rf_textsplit_max_text_buffer_length : u32 = 1024 ; pub const rf_textsplit_max_substrings_count : u32 = 128 ; pub const rf_max_batch_elements : u32 = 8192 ; pub const rf_max_batch_buffering : u32 = 1 ; pub const rf_max_matrix_stack_size : u32 = 32 ; pub const rf_max_drawcall_registered : u32 = 256 ; pub const rf_max_shader_locations : u32 = 32 ; pub const rf_max_material_maps : u32 = 12 ; pub const GL_TEXTURE_ANISOTROPIC_FILTER : u32 = 12288 ; pub const GL_MIRROR_CLAMP_EXT : u32 = 34626 ; pub const DEFAULT_ATTRIB_POSITION_NAME : & 'static [ u8 ; 15usize ] = b"vertexPosition\0" ; pub const DEFAULT_ATTRIB_TEXCOORD_NAME : & 'static [ u8 ; 15usize ] = b"vertexTexCoord\0" ; pub const DEFAULT_ATTRIB_NORMAL_NAME : & 'static [ u8 ; 13usize ] = b"vertexNormal\0" ; pub const DEFAULT_ATTRIB_COLOR_NAME : & 'static [ u8 ; 12usize ] = b"vertexColor\0" ; pub const DEFAULT_ATTRIB_TANGENT_NAME : & 'static [ u8 ; 14usize ] = b"vertexTangent\0" ; pub const DEFAULT_ATTRIB_TEXCOORD2_NAME : & 'static [ u8 ; 16usize ] = b"vertexTexCoord2\0" ; pub const RF_LOG_TRACE : u32 = 0 ; pub const RF_LOG_DEBUG : u32 = 1 ; pub const RF_LOG_INFO : u32 = 2 ; pub const RF_LOG_WARNING : u32 = 3 ; pub const RF_LOG_ERROR : u32 = 4 ; pub const RF_LOG_FATAL : u32 = 5 ; pub const _MATH_H : u32 = 1 ; pub const _BITS_LIBM_SIMD_DECL_STUBS_H : u32 = 1 ; pub const __HAVE_FLOAT128 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 0 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const __FP_LOGB0_IS_MIN : u32 = 1 ; pub const __FP_LOGBNAN_IS_MIN : u32 = 1 ; pub const FP_ILOGB0 : i32 = -2147483648 ; pub const FP_ILOGBNAN : i32 = -2147483648 ; pub const __MATH_DECLARING_DOUBLE : u32 = 1 ; pub const __MATH_DECLARING_FLOATN : u32 = 0 ; pub const __MATH_DECLARE_LDOUBLE : u32 = 1 ; pub const 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 _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 __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; 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 __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : 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 __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [ u8 ; 6usize ] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const __timespec_defined : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _SYS_SYSMACROS_H : u32 = 1 ; pub const _BITS_SYSMACROS_H : u32 = 1 ; 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 __PTHREAD_MUTEX_LOCK_ELISION : u32 = 1 ; pub const __PTHREAD_MUTEX_NUSERS_AFTER_KIND : u32 = 0 ; pub const __PTHREAD_MUTEX_USE_UNION : u32 = 0 ; pub const __PTHREAD_RWLOCK_INT_FLAGS_SHARED : 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 TINYOBJ_FLAG_TRIANGULATE : u32 = 1 ; pub const TINYOBJ_INVALID_INDEX : u32 = 2147483648 ; pub const TINYOBJ_SUCCESS : u32 = 0 ; pub const TINYOBJ_ERROR_EMPTY : i32 = -1 ; pub const TINYOBJ_ERROR_INVALID_PARAMETER : i32 = -2 ; pub const TINYOBJ_ERROR_FILE_OPERATION : i32 = -3 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [ u8 ; 5usize ] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const _ASSERT_H : u32 = 1 ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; 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 TINYOBJ_MAX_FACES_PER_F_LINE : u32 = 16 ; pub const HASH_TABLE_ERROR : u32 = 1 ; pub const HASH_TABLE_SUCCESS : u32 = 0 ; pub const HASH_TABLE_DEFAULT_SIZE : u32 = 10 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const CGLTF_ERROR_JSON : i32 = -1 ; pub const CGLTF_ERROR_NOMEM : i32 = -2 ; pub const CGLTF_ERROR_LEGACY : i32 = -3 ; pub const PAR_PI : f64 = 3.14159265359 ; pub const STRETCH_CONSTANT_2D : f64 = -0.211324865405187 ; pub const SQUISH_CONSTANT_2D : f64 = 0.366025403784439 ; pub const STRETCH_CONSTANT_3D : f64 = -0.16666666666666666 ; pub const SQUISH_CONSTANT_3D : f64 = 0.3333333333333333 ; pub const STRETCH_CONSTANT_4D : f64 = -0.138196601125011 ; pub const SQUISH_CONSTANT_4D : f64 = 0.309016994374947 ; pub const NORM_CONSTANT_2D : f64 = 47.0 ; pub const NORM_CONSTANT_3D : f64 = 103.0 ; pub const NORM_CONSTANT_4D : f64 = 30.0 ; pub const DEFAULT_SEED : u32 = 0 ; pub const STBI_VERSION : u32 = 1 ; pub const _MM_HINT_ET0 : u32 = 7 ; pub const _MM_HINT_ET1 : u32 = 6 ; pub const _MM_HINT_T0 : u32 = 3 ; pub const _MM_HINT_T1 : u32 = 2 ; pub const _MM_HINT_T2 : u32 = 1 ; pub const _MM_HINT_NTA : u32 = 0 ; pub const _MM_EXCEPT_INVALID : u32 = 1 ; pub const _MM_EXCEPT_DENORM : u32 = 2 ; pub const _MM_EXCEPT_DIV_ZERO : u32 = 4 ; pub const _MM_EXCEPT_OVERFLOW : u32 = 8 ; pub const _MM_EXCEPT_UNDERFLOW : u32 = 16 ; pub const _MM_EXCEPT_INEXACT : u32 = 32 ; pub const _MM_EXCEPT_MASK : u32 = 63 ; pub const _MM_MASK_INVALID : u32 = 128 ; pub const _MM_MASK_DENORM : u32 = 256 ; pub const _MM_MASK_DIV_ZERO : u32 = 512 ; pub const _MM_MASK_OVERFLOW : u32 = 1024 ; pub const _MM_MASK_UNDERFLOW : u32 = 2048 ; pub const _MM_MASK_INEXACT : u32 = 4096 ; pub const _MM_MASK_MASK : u32 = 8064 ; pub const _MM_ROUND_NEAREST : u32 = 0 ; pub const _MM_ROUND_DOWN : u32 = 8192 ; pub const _MM_ROUND_UP : u32 = 16384 ; pub const _MM_ROUND_TOWARD_ZERO : u32 = 24576 ; pub const _MM_ROUND_MASK : u32 = 24576 ; pub const _MM_FLUSH_ZERO_MASK : u32 = 32768 ; pub const _MM_FLUSH_ZERO_ON : u32 = 32768 ; pub const _MM_FLUSH_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_ON : u32 = 64 ; pub const _MM_DENORMALS_ZERO_OFF : u32 = 0 ; pub const _MM_DENORMALS_ZERO_MASK : u32 = 64 ; pub const FAST_BITS : u32 = 9 ; pub const STBI__MARKER_none : u32 = 255 ; pub const STBI__ZFAST_BITS : u32 = 9 ; pub const STBI__ZFAST_MASK : u32 = 511 ; pub const STBI__HDR_BUFLEN : u32 = 1024 ; pub const stbiw__ZHASH : u32 = 16384 ; pub const STBIR_ALPHA_CHANNEL_NONE : i32 = -1 ; pub const STBIR_FLAG_ALPHA_PREMULTIPLIED : u32 = 1 ; pub const STBIR_FLAG_ALPHA_USES_COLORSPACE : u32 = 2 ; pub const STBIR_MAX_CHANNELS : u32 = 64 ; pub const STB_RECT_PACK_VERSION : u32 = 1 ; pub const STBRP__MAXVAL : u32 = 65535 ; pub const STBTT_MACSTYLE_DONTCARE : u32 = 0 ; pub const STBTT_MACSTYLE_BOLD : u32 = 1 ; pub const STBTT_MACSTYLE_ITALIC : u32 = 2 ; pub const STBTT_MACSTYLE_UNDERSCORE : u32 = 4 ; pub const STBTT_MACSTYLE_NONE : u32 = 8 ; pub const STBTT_MAX_OVERSAMPLE : u32 = 8 ; pub const STBTT_RASTERIZER_VERSION : u32 = 2 ; pub const STBTT__OVER_MASK : u32 = 7 ; pub const _TIME_H : u32 = 1 ; pub const _BITS_TIME_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 __struct_tm_defined : u32 = 1 ; pub const __itimerspec_defined : u32 = 1 ; pub const TIME_UTC : u32 = 1 ; pub const rf_max_filepath_length : u32 = 512 ; pub const rf_max_filenamewithoutext_length : u32 = 128 ; pub const rf_default_ttf_fontsize : u32 = 32 ; pub const rf_default_ttf_numchars : u32 = 95 ; pub const rf_default_first_char : u32 = 32 ; pub const rf_max_fontchars : u32 = 256 ; pub const rf_sdf_char_padding : u32 = 4 ; pub const rf_sdf_on_edge_value : u32 = 128 ; pub const rf_sdf_pixel_dist_scale : f64 = 64.0 ; pub const rf_bitmap_alpha_threshold : u32 = 80 ; pub const GL_COMPRESSED_RGB_S3TC_DXT1_EXT : u32 = 33776 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT1_EXT : u32 = 33777 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT3_EXT : u32 = 33778 ; pub const GL_COMPRESSED_RGBA_S3TC_DXT5_EXT : u32 = 33779 ; pub const GL_ETC1_RGB8_OES : u32 = 36196 ; pub const GL_COMPRESSED_RGB8_ETC2 : u32 = 37492 ; pub const GL_COMPRESSED_RGBA8_ETC2_EAC : u32 = 37496 ; pub const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG : u32 = 35840 ; pub const GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG : u32 = 35842 ; pub const GL_COMPRESSED_RGBA_ASTC_4x4_KHR : u32 = 37808 ; pub const GL_COMPRESSED_RGBA_ASTC_8x8_KHR : u32 = 37815 ; pub const GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34047 ; pub const GL_TEXTURE_MAX_ANISOTROPY_EXT : u32 = 34046 ; pub const MAX_MIPMAP_LEVELS : u32 = 5 ; pub const rf_camera_mouse_move_sensitivity : f64 = 0.003 ; pub const rf_camera_mouse_scroll_sensitivity : f64 = 1.5 ; pub const rf_camera_free_mouse_sensitivity : f64 = 0.01 ; pub const rf_camera_free_distance_min_clamp : f64 = 0.3 ; pub const rf_camera_free_distance_max_clamp : f64 = 120.0 ; pub const rf_camera_free_min_clamp : f64 = 85.0 ; pub const rf_camera_free_max_clamp : f64 = -85.0 ; pub const rf_camera_free_smooth_zoom_sensitivity : f64 = 0.05 ; pub const rf_camera_free_panning_divider : f64 = 5.1 ; pub const rf_camera_orbital_speed : f64 = 0.01 ; pub const rf_camera_first_person_focus_distance : f64 = 25.0 ; pub const rf_camera_first_person_min_clamp : f64 = 85.0 ; pub const rf_camera_first_person_max_clamp : f64 = -85.0 ; pub const rf_camera_first_person_step_trigonometric_divider : f64 = 5.0 ; pub const rf_camera_first_person_step_divider : f64 = 30.0 ; pub const rf_camera_first_person_waving_divider : f64 = 200.0 ; pub const rf_camera_third_person_distance_clamp : f64 = 1.2 ; pub const rf_camera_third_person_min_clamp : f64 = 5.0 ; pub const rf_camera_third_person_max_clamp : f64 = -85.0 ; pub const rf_player_movement_sensitivity : f64 = 20.0 ; pub const rf_max_mesh_vbo : u32 = 7 ; pub const rf_iqm_magic : & 'static [ u8 ; 16usize ] = b"INTERQUAKEMODEL\0" ; pub const rf_iqm_version : u32 = 2 ; pub const rf_epsilon : f64 = 0.000001 ; pub const rf_bone_name_length : u32 = 32 ; pub const rf_mesh_name_length : u32 = 32 ; pub const rf_line_divisions : u32 = 24 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct gladGLversionStruct { pub major : :: std :: os :: raw :: c_int , pub minor : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_gladGLversionStruct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < gladGLversionStruct > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( gladGLversionStruct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < gladGLversionStruct > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( gladGLversionStruct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < gladGLversionStruct > ( ) ) ) . major as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( gladGLversionStruct ) , "::" , stringify ! ( major ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < gladGLversionStruct > ( ) ) ) . minor as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( gladGLversionStruct ) , "::" , stringify ! ( minor ) ) ) ; } pub type GLADloadproc = :: std :: option :: Option < unsafe extern "C" fn ( name : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut GLVersion : gladGLversionStruct ; } extern "C" { pub fn gladLoadGL ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gladLoadGLLoader ( arg1 : GLADloadproc ) -> :: 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 __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __fsid_t { pub __val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __fsid_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type khronos_int32_t = i32 ; pub type khronos_uint32_t = u32 ; pub type khronos_int64_t = i64 ; pub type khronos_uint64_t = u64 ; pub type khronos_int8_t = :: std :: os :: raw :: c_schar ; pub type khronos_uint8_t = :: std :: os :: raw :: c_uchar ; pub type khronos_int16_t = :: std :: os :: raw :: c_short ; pub type khronos_uint16_t = :: std :: os :: raw :: c_ushort ; pub type khronos_intptr_t = :: std :: os :: raw :: c_long ; pub type khronos_uintptr_t = :: std :: os :: raw :: c_ulong ; pub type khronos_ssize_t = :: std :: os :: raw :: c_long ; pub type khronos_usize_t = :: std :: os :: raw :: c_ulong ; pub type khronos_float_t = f32 ; pub type khronos_utime_nanoseconds_t = khronos_uint64_t ; pub type khronos_stime_nanoseconds_t = khronos_int64_t ; pub const khronos_boolean_enum_t_KHRONOS_FALSE : khronos_boolean_enum_t = 0 ; pub const khronos_boolean_enum_t_KHRONOS_TRUE : khronos_boolean_enum_t = 1 ; pub const khronos_boolean_enum_t_KHRONOS_BOOLEAN_ENUM_FORCE_SIZE : khronos_boolean_enum_t = 2147483647 ; pub type khronos_boolean_enum_t = u32 ; pub type GLenum = :: std :: os :: raw :: c_uint ; pub type GLboolean = :: std :: os :: raw :: c_uchar ; pub type GLbitfield = :: std :: os :: raw :: c_uint ; pub type GLvoid = :: std :: os :: raw :: c_void ; pub type GLbyte = khronos_int8_t ; pub type GLubyte = khronos_uint8_t ; pub type GLshort = khronos_int16_t ; pub type GLushort = khronos_uint16_t ; pub type GLint = :: std :: os :: raw :: c_int ; pub type GLuint = :: std :: os :: raw :: c_uint ; pub type GLclampx = khronos_int32_t ; pub type GLsizei = :: std :: os :: raw :: c_int ; pub type GLfloat = khronos_float_t ; pub type GLclampf = khronos_float_t ; pub type GLdouble = f64 ; pub type GLclampd = f64 ; pub type GLeglClientBufferEXT = * mut :: std :: os :: raw :: c_void ; pub type GLeglImageOES = * mut :: std :: os :: raw :: c_void ; pub type GLchar = :: std :: os :: raw :: c_char ; pub type GLcharARB = :: std :: os :: raw :: c_char ; pub type GLhandleARB = :: std :: os :: raw :: c_uint ; pub type GLhalf = khronos_uint16_t ; pub type GLhalfARB = khronos_uint16_t ; pub type GLfixed = khronos_int32_t ; pub type GLintptr = khronos_intptr_t ; pub type GLintptrARB = khronos_intptr_t ; pub type GLsizeiptr = khronos_ssize_t ; pub type GLsizeiptrARB = khronos_ssize_t ; pub type GLint64 = khronos_int64_t ; pub type GLint64EXT = khronos_int64_t ; pub type GLuint64 = khronos_uint64_t ; pub type GLuint64EXT = khronos_uint64_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __GLsync { _unused : [ u8 ; 0 ] , } pub type GLsync = * mut __GLsync ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _cl_context { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _cl_event { _unused : [ u8 ; 0 ] , } pub type GLDEBUGPROC = :: std :: option :: Option < unsafe extern "C" fn ( source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void ) > ; pub type GLDEBUGPROCARB = :: std :: option :: Option < unsafe extern "C" fn ( source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void ) > ; pub type GLDEBUGPROCKHR = :: std :: option :: Option < unsafe extern "C" fn ( source : GLenum , type_ : GLenum , id : GLuint , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * const :: std :: os :: raw :: c_void ) > ; pub type GLDEBUGPROCAMD = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , category : GLenum , severity : GLenum , length : GLsizei , message : * const GLchar , userParam : * mut :: std :: os :: raw :: c_void ) > ; pub type GLhalfNV = :: std :: os :: raw :: c_ushort ; pub type GLvdpauSurfaceNV = GLintptr ; pub type GLVULKANPROCNV = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut GLAD_GL_VERSION_1_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCULLFACEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glCullFace : PFNGLCULLFACEPROC ; } pub type PFNGLFRONTFACEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glFrontFace : PFNGLFRONTFACEPROC ; } pub type PFNGLHINTPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , mode : GLenum ) > ; extern "C" { pub static mut glad_glHint : PFNGLHINTPROC ; } pub type PFNGLLINEWIDTHPROC = :: std :: option :: Option < unsafe extern "C" fn ( width : GLfloat ) > ; extern "C" { pub static mut glad_glLineWidth : PFNGLLINEWIDTHPROC ; } pub type PFNGLPOINTSIZEPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLfloat ) > ; extern "C" { pub static mut glad_glPointSize : PFNGLPOINTSIZEPROC ; } pub type PFNGLPOLYGONMODEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , mode : GLenum ) > ; extern "C" { pub static mut glad_glPolygonMode : PFNGLPOLYGONMODEPROC ; } pub type PFNGLSCISSORPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glScissor : PFNGLSCISSORPROC ; } pub type PFNGLTEXPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glTexParameterf : PFNGLTEXPARAMETERFPROC ; } pub type PFNGLTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexParameterfv : PFNGLTEXPARAMETERFVPROC ; } pub type PFNGLTEXPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glTexParameteri : PFNGLTEXPARAMETERIPROC ; } pub type PFNGLTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexParameteriv : PFNGLTEXPARAMETERIVPROC ; } pub type PFNGLTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexImage1D : PFNGLTEXIMAGE1DPROC ; } pub type PFNGLTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexImage2D : PFNGLTEXIMAGE2DPROC ; } pub type PFNGLDRAWBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( buf : GLenum ) > ; extern "C" { pub static mut glad_glDrawBuffer : PFNGLDRAWBUFFERPROC ; } pub type PFNGLCLEARPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLbitfield ) > ; extern "C" { pub static mut glad_glClear : PFNGLCLEARPROC ; } pub type PFNGLCLEARCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glClearColor : PFNGLCLEARCOLORPROC ; } pub type PFNGLCLEARSTENCILPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint ) > ; extern "C" { pub static mut glad_glClearStencil : PFNGLCLEARSTENCILPROC ; } pub type PFNGLCLEARDEPTHPROC = :: std :: option :: Option < unsafe extern "C" fn ( depth : GLdouble ) > ; extern "C" { pub static mut glad_glClearDepth : PFNGLCLEARDEPTHPROC ; } pub type PFNGLSTENCILMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilMask : PFNGLSTENCILMASKPROC ; } pub type PFNGLCOLORMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLboolean , green : GLboolean , blue : GLboolean , alpha : GLboolean ) > ; extern "C" { pub static mut glad_glColorMask : PFNGLCOLORMASKPROC ; } pub type PFNGLDEPTHMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( flag : GLboolean ) > ; extern "C" { pub static mut glad_glDepthMask : PFNGLDEPTHMASKPROC ; } pub type PFNGLDISABLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( cap : GLenum ) > ; extern "C" { pub static mut glad_glDisable : PFNGLDISABLEPROC ; } pub type PFNGLENABLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( cap : GLenum ) > ; extern "C" { pub static mut glad_glEnable : PFNGLENABLEPROC ; } pub type PFNGLFINISHPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glFinish : PFNGLFINISHPROC ; } pub type PFNGLFLUSHPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glFlush : PFNGLFLUSHPROC ; } pub type PFNGLBLENDFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sfactor : GLenum , dfactor : GLenum ) > ; extern "C" { pub static mut glad_glBlendFunc : PFNGLBLENDFUNCPROC ; } pub type PFNGLLOGICOPPROC = :: std :: option :: Option < unsafe extern "C" fn ( opcode : GLenum ) > ; extern "C" { pub static mut glad_glLogicOp : PFNGLLOGICOPPROC ; } pub type PFNGLSTENCILFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( func : GLenum , ref_ : GLint , mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilFunc : PFNGLSTENCILFUNCPROC ; } pub type PFNGLSTENCILOPPROC = :: std :: option :: Option < unsafe extern "C" fn ( fail : GLenum , zfail : GLenum , zpass : GLenum ) > ; extern "C" { pub static mut glad_glStencilOp : PFNGLSTENCILOPPROC ; } pub type PFNGLDEPTHFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( func : GLenum ) > ; extern "C" { pub static mut glad_glDepthFunc : PFNGLDEPTHFUNCPROC ; } pub type PFNGLPIXELSTOREFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glPixelStoref : PFNGLPIXELSTOREFPROC ; } pub type PFNGLPIXELSTOREIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glPixelStorei : PFNGLPIXELSTOREIPROC ; } pub type PFNGLREADBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( src : GLenum ) > ; extern "C" { pub static mut glad_glReadBuffer : PFNGLREADBUFFERPROC ; } pub type PFNGLREADPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glReadPixels : PFNGLREADPIXELSPROC ; } pub type PFNGLGETBOOLEANVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLboolean ) > ; extern "C" { pub static mut glad_glGetBooleanv : PFNGLGETBOOLEANVPROC ; } pub type PFNGLGETDOUBLEVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetDoublev : PFNGLGETDOUBLEVPROC ; } pub type PFNGLGETERRORPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) -> GLenum > ; extern "C" { pub static mut glad_glGetError : PFNGLGETERRORPROC ; } pub type PFNGLGETFLOATVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetFloatv : PFNGLGETFLOATVPROC ; } pub type PFNGLGETINTEGERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLint ) > ; extern "C" { pub static mut glad_glGetIntegerv : PFNGLGETINTEGERVPROC ; } pub type PFNGLGETSTRINGPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLenum ) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetString : PFNGLGETSTRINGPROC ; } pub type PFNGLGETTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , format : GLenum , type_ : GLenum , pixels : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetTexImage : PFNGLGETTEXIMAGEPROC ; } pub type PFNGLGETTEXPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexParameterfv : PFNGLGETTEXPARAMETERFVPROC ; } pub type PFNGLGETTEXPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexParameteriv : PFNGLGETTEXPARAMETERIVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexLevelParameterfv : PFNGLGETTEXLEVELPARAMETERFVPROC ; } pub type PFNGLGETTEXLEVELPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexLevelParameteriv : PFNGLGETTEXLEVELPARAMETERIVPROC ; } pub type PFNGLISENABLEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( cap : GLenum ) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabled : PFNGLISENABLEDPROC ; } pub type PFNGLDEPTHRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLdouble , f : GLdouble ) > ; extern "C" { pub static mut glad_glDepthRange : PFNGLDEPTHRANGEPROC ; } pub type PFNGLVIEWPORTPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glViewport : PFNGLVIEWPORTPROC ; } pub type PFNGLNEWLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint , mode : GLenum ) > ; extern "C" { pub static mut glad_glNewList : PFNGLNEWLISTPROC ; } pub type PFNGLENDLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEndList : PFNGLENDLISTPROC ; } pub type PFNGLCALLLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint ) > ; extern "C" { pub static mut glad_glCallList : PFNGLCALLLISTPROC ; } pub type PFNGLCALLLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , type_ : GLenum , lists : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCallLists : PFNGLCALLLISTSPROC ; } pub type PFNGLDELETELISTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint , range : GLsizei ) > ; extern "C" { pub static mut glad_glDeleteLists : PFNGLDELETELISTSPROC ; } pub type PFNGLGENLISTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( range : GLsizei ) -> GLuint > ; extern "C" { pub static mut glad_glGenLists : PFNGLGENLISTSPROC ; } pub type PFNGLLISTBASEPROC = :: std :: option :: Option < unsafe extern "C" fn ( base : GLuint ) > ; extern "C" { pub static mut glad_glListBase : PFNGLLISTBASEPROC ; } pub type PFNGLBEGINPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glBegin : PFNGLBEGINPROC ; } pub type PFNGLBITMAPPROC = :: std :: option :: Option < unsafe extern "C" fn ( width : GLsizei , height : GLsizei , xorig : GLfloat , yorig : GLfloat , xmove : GLfloat , ymove : GLfloat , bitmap : * const GLubyte ) > ; extern "C" { pub static mut glad_glBitmap : PFNGLBITMAPPROC ; } pub type PFNGLCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLbyte , green : GLbyte , blue : GLbyte ) > ; extern "C" { pub static mut glad_glColor3b : PFNGLCOLOR3BPROC ; } pub type PFNGLCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glColor3bv : PFNGLCOLOR3BVPROC ; } pub type PFNGLCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLdouble , green : GLdouble , blue : GLdouble ) > ; extern "C" { pub static mut glad_glColor3d : PFNGLCOLOR3DPROC ; } pub type PFNGLCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glColor3dv : PFNGLCOLOR3DVPROC ; } pub type PFNGLCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat ) > ; extern "C" { pub static mut glad_glColor3f : PFNGLCOLOR3FPROC ; } pub type PFNGLCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glColor3fv : PFNGLCOLOR3FVPROC ; } pub type PFNGLCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLint , green : GLint , blue : GLint ) > ; extern "C" { pub static mut glad_glColor3i : PFNGLCOLOR3IPROC ; } pub type PFNGLCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glColor3iv : PFNGLCOLOR3IVPROC ; } pub type PFNGLCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLshort , green : GLshort , blue : GLshort ) > ; extern "C" { pub static mut glad_glColor3s : PFNGLCOLOR3SPROC ; } pub type PFNGLCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glColor3sv : PFNGLCOLOR3SVPROC ; } pub type PFNGLCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLubyte , green : GLubyte , blue : GLubyte ) > ; extern "C" { pub static mut glad_glColor3ub : PFNGLCOLOR3UBPROC ; } pub type PFNGLCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLubyte ) > ; extern "C" { pub static mut glad_glColor3ubv : PFNGLCOLOR3UBVPROC ; } pub type PFNGLCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLuint , green : GLuint , blue : GLuint ) > ; extern "C" { pub static mut glad_glColor3ui : PFNGLCOLOR3UIPROC ; } pub type PFNGLCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLuint ) > ; extern "C" { pub static mut glad_glColor3uiv : PFNGLCOLOR3UIVPROC ; } pub type PFNGLCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLushort , green : GLushort , blue : GLushort ) > ; extern "C" { pub static mut glad_glColor3us : PFNGLCOLOR3USPROC ; } pub type PFNGLCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLushort ) > ; extern "C" { pub static mut glad_glColor3usv : PFNGLCOLOR3USVPROC ; } pub type PFNGLCOLOR4BPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLbyte , green : GLbyte , blue : GLbyte , alpha : GLbyte ) > ; extern "C" { pub static mut glad_glColor4b : PFNGLCOLOR4BPROC ; } pub type PFNGLCOLOR4BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glColor4bv : PFNGLCOLOR4BVPROC ; } pub type PFNGLCOLOR4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLdouble , green : GLdouble , blue : GLdouble , alpha : GLdouble ) > ; extern "C" { pub static mut glad_glColor4d : PFNGLCOLOR4DPROC ; } pub type PFNGLCOLOR4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glColor4dv : PFNGLCOLOR4DVPROC ; } pub type PFNGLCOLOR4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glColor4f : PFNGLCOLOR4FPROC ; } pub type PFNGLCOLOR4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glColor4fv : PFNGLCOLOR4FVPROC ; } pub type PFNGLCOLOR4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLint , green : GLint , blue : GLint , alpha : GLint ) > ; extern "C" { pub static mut glad_glColor4i : PFNGLCOLOR4IPROC ; } pub type PFNGLCOLOR4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glColor4iv : PFNGLCOLOR4IVPROC ; } pub type PFNGLCOLOR4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLshort , green : GLshort , blue : GLshort , alpha : GLshort ) > ; extern "C" { pub static mut glad_glColor4s : PFNGLCOLOR4SPROC ; } pub type PFNGLCOLOR4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glColor4sv : PFNGLCOLOR4SVPROC ; } pub type PFNGLCOLOR4UBPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLubyte , green : GLubyte , blue : GLubyte , alpha : GLubyte ) > ; extern "C" { pub static mut glad_glColor4ub : PFNGLCOLOR4UBPROC ; } pub type PFNGLCOLOR4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLubyte ) > ; extern "C" { pub static mut glad_glColor4ubv : PFNGLCOLOR4UBVPROC ; } pub type PFNGLCOLOR4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLuint , green : GLuint , blue : GLuint , alpha : GLuint ) > ; extern "C" { pub static mut glad_glColor4ui : PFNGLCOLOR4UIPROC ; } pub type PFNGLCOLOR4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLuint ) > ; extern "C" { pub static mut glad_glColor4uiv : PFNGLCOLOR4UIVPROC ; } pub type PFNGLCOLOR4USPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLushort , green : GLushort , blue : GLushort , alpha : GLushort ) > ; extern "C" { pub static mut glad_glColor4us : PFNGLCOLOR4USPROC ; } pub type PFNGLCOLOR4USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLushort ) > ; extern "C" { pub static mut glad_glColor4usv : PFNGLCOLOR4USVPROC ; } pub type PFNGLEDGEFLAGPROC = :: std :: option :: Option < unsafe extern "C" fn ( flag : GLboolean ) > ; extern "C" { pub static mut glad_glEdgeFlag : PFNGLEDGEFLAGPROC ; } pub type PFNGLEDGEFLAGVPROC = :: std :: option :: Option < unsafe extern "C" fn ( flag : * const GLboolean ) > ; extern "C" { pub static mut glad_glEdgeFlagv : PFNGLEDGEFLAGVPROC ; } pub type PFNGLENDPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEnd : PFNGLENDPROC ; } pub type PFNGLINDEXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLdouble ) > ; extern "C" { pub static mut glad_glIndexd : PFNGLINDEXDPROC ; } pub type PFNGLINDEXDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLdouble ) > ; extern "C" { pub static mut glad_glIndexdv : PFNGLINDEXDVPROC ; } pub type PFNGLINDEXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLfloat ) > ; extern "C" { pub static mut glad_glIndexf : PFNGLINDEXFPROC ; } pub type PFNGLINDEXFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLfloat ) > ; extern "C" { pub static mut glad_glIndexfv : PFNGLINDEXFVPROC ; } pub type PFNGLINDEXIPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLint ) > ; extern "C" { pub static mut glad_glIndexi : PFNGLINDEXIPROC ; } pub type PFNGLINDEXIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLint ) > ; extern "C" { pub static mut glad_glIndexiv : PFNGLINDEXIVPROC ; } pub type PFNGLINDEXSPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLshort ) > ; extern "C" { pub static mut glad_glIndexs : PFNGLINDEXSPROC ; } pub type PFNGLINDEXSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLshort ) > ; extern "C" { pub static mut glad_glIndexsv : PFNGLINDEXSVPROC ; } pub type PFNGLNORMAL3BPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLbyte , ny : GLbyte , nz : GLbyte ) > ; extern "C" { pub static mut glad_glNormal3b : PFNGLNORMAL3BPROC ; } pub type PFNGLNORMAL3BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glNormal3bv : PFNGLNORMAL3BVPROC ; } pub type PFNGLNORMAL3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLdouble , ny : GLdouble , nz : GLdouble ) > ; extern "C" { pub static mut glad_glNormal3d : PFNGLNORMAL3DPROC ; } pub type PFNGLNORMAL3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glNormal3dv : PFNGLNORMAL3DVPROC ; } pub type PFNGLNORMAL3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLfloat , ny : GLfloat , nz : GLfloat ) > ; extern "C" { pub static mut glad_glNormal3f : PFNGLNORMAL3FPROC ; } pub type PFNGLNORMAL3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glNormal3fv : PFNGLNORMAL3FVPROC ; } pub type PFNGLNORMAL3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLint , ny : GLint , nz : GLint ) > ; extern "C" { pub static mut glad_glNormal3i : PFNGLNORMAL3IPROC ; } pub type PFNGLNORMAL3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glNormal3iv : PFNGLNORMAL3IVPROC ; } pub type PFNGLNORMAL3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( nx : GLshort , ny : GLshort , nz : GLshort ) > ; extern "C" { pub static mut glad_glNormal3s : PFNGLNORMAL3SPROC ; } pub type PFNGLNORMAL3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glNormal3sv : PFNGLNORMAL3SVPROC ; } pub type PFNGLRASTERPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos2d : PFNGLRASTERPOS2DPROC ; } pub type PFNGLRASTERPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos2dv : PFNGLRASTERPOS2DVPROC ; } pub type PFNGLRASTERPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos2f : PFNGLRASTERPOS2FPROC ; } pub type PFNGLRASTERPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos2fv : PFNGLRASTERPOS2FVPROC ; } pub type PFNGLRASTERPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glRasterPos2i : PFNGLRASTERPOS2IPROC ; } pub type PFNGLRASTERPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glRasterPos2iv : PFNGLRASTERPOS2IVPROC ; } pub type PFNGLRASTERPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glRasterPos2s : PFNGLRASTERPOS2SPROC ; } pub type PFNGLRASTERPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glRasterPos2sv : PFNGLRASTERPOS2SVPROC ; } pub type PFNGLRASTERPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos3d : PFNGLRASTERPOS3DPROC ; } pub type PFNGLRASTERPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos3dv : PFNGLRASTERPOS3DVPROC ; } pub type PFNGLRASTERPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos3f : PFNGLRASTERPOS3FPROC ; } pub type PFNGLRASTERPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos3fv : PFNGLRASTERPOS3FVPROC ; } pub type PFNGLRASTERPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glRasterPos3i : PFNGLRASTERPOS3IPROC ; } pub type PFNGLRASTERPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glRasterPos3iv : PFNGLRASTERPOS3IVPROC ; } pub type PFNGLRASTERPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glRasterPos3s : PFNGLRASTERPOS3SPROC ; } pub type PFNGLRASTERPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glRasterPos3sv : PFNGLRASTERPOS3SVPROC ; } pub type PFNGLRASTERPOS4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos4d : PFNGLRASTERPOS4DPROC ; } pub type PFNGLRASTERPOS4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glRasterPos4dv : PFNGLRASTERPOS4DVPROC ; } pub type PFNGLRASTERPOS4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos4f : PFNGLRASTERPOS4FPROC ; } pub type PFNGLRASTERPOS4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glRasterPos4fv : PFNGLRASTERPOS4FVPROC ; } pub type PFNGLRASTERPOS4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint , w : GLint ) > ; extern "C" { pub static mut glad_glRasterPos4i : PFNGLRASTERPOS4IPROC ; } pub type PFNGLRASTERPOS4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glRasterPos4iv : PFNGLRASTERPOS4IVPROC ; } pub type PFNGLRASTERPOS4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort , w : GLshort ) > ; extern "C" { pub static mut glad_glRasterPos4s : PFNGLRASTERPOS4SPROC ; } pub type PFNGLRASTERPOS4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glRasterPos4sv : PFNGLRASTERPOS4SVPROC ; } pub type PFNGLRECTDPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLdouble , y1 : GLdouble , x2 : GLdouble , y2 : GLdouble ) > ; extern "C" { pub static mut glad_glRectd : PFNGLRECTDPROC ; } pub type PFNGLRECTDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLdouble , v2 : * const GLdouble ) > ; extern "C" { pub static mut glad_glRectdv : PFNGLRECTDVPROC ; } pub type PFNGLRECTFPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLfloat , y1 : GLfloat , x2 : GLfloat , y2 : GLfloat ) > ; extern "C" { pub static mut glad_glRectf : PFNGLRECTFPROC ; } pub type PFNGLRECTFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLfloat , v2 : * const GLfloat ) > ; extern "C" { pub static mut glad_glRectfv : PFNGLRECTFVPROC ; } pub type PFNGLRECTIPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLint , y1 : GLint , x2 : GLint , y2 : GLint ) > ; extern "C" { pub static mut glad_glRecti : PFNGLRECTIPROC ; } pub type PFNGLRECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLint , v2 : * const GLint ) > ; extern "C" { pub static mut glad_glRectiv : PFNGLRECTIVPROC ; } pub type PFNGLRECTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( x1 : GLshort , y1 : GLshort , x2 : GLshort , y2 : GLshort ) > ; extern "C" { pub static mut glad_glRects : PFNGLRECTSPROC ; } pub type PFNGLRECTSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v1 : * const GLshort , v2 : * const GLshort ) > ; extern "C" { pub static mut glad_glRectsv : PFNGLRECTSVPROC ; } pub type PFNGLTEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord1d : PFNGLTEXCOORD1DPROC ; } pub type PFNGLTEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord1dv : PFNGLTEXCOORD1DVPROC ; } pub type PFNGLTEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord1f : PFNGLTEXCOORD1FPROC ; } pub type PFNGLTEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord1fv : PFNGLTEXCOORD1FVPROC ; } pub type PFNGLTEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint ) > ; extern "C" { pub static mut glad_glTexCoord1i : PFNGLTEXCOORD1IPROC ; } pub type PFNGLTEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord1iv : PFNGLTEXCOORD1IVPROC ; } pub type PFNGLTEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord1s : PFNGLTEXCOORD1SPROC ; } pub type PFNGLTEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord1sv : PFNGLTEXCOORD1SVPROC ; } pub type PFNGLTEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble , t : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord2d : PFNGLTEXCOORD2DPROC ; } pub type PFNGLTEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord2dv : PFNGLTEXCOORD2DVPROC ; } pub type PFNGLTEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat , t : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord2f : PFNGLTEXCOORD2FPROC ; } pub type PFNGLTEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord2fv : PFNGLTEXCOORD2FVPROC ; } pub type PFNGLTEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint , t : GLint ) > ; extern "C" { pub static mut glad_glTexCoord2i : PFNGLTEXCOORD2IPROC ; } pub type PFNGLTEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord2iv : PFNGLTEXCOORD2IVPROC ; } pub type PFNGLTEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort , t : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord2s : PFNGLTEXCOORD2SPROC ; } pub type PFNGLTEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord2sv : PFNGLTEXCOORD2SVPROC ; } pub type PFNGLTEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble , t : GLdouble , r : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord3d : PFNGLTEXCOORD3DPROC ; } pub type PFNGLTEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord3dv : PFNGLTEXCOORD3DVPROC ; } pub type PFNGLTEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat , t : GLfloat , r : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord3f : PFNGLTEXCOORD3FPROC ; } pub type PFNGLTEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord3fv : PFNGLTEXCOORD3FVPROC ; } pub type PFNGLTEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint , t : GLint , r : GLint ) > ; extern "C" { pub static mut glad_glTexCoord3i : PFNGLTEXCOORD3IPROC ; } pub type PFNGLTEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord3iv : PFNGLTEXCOORD3IVPROC ; } pub type PFNGLTEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort , t : GLshort , r : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord3s : PFNGLTEXCOORD3SPROC ; } pub type PFNGLTEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord3sv : PFNGLTEXCOORD3SVPROC ; } pub type PFNGLTEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord4d : PFNGLTEXCOORD4DPROC ; } pub type PFNGLTEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexCoord4dv : PFNGLTEXCOORD4DVPROC ; } pub type PFNGLTEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord4f : PFNGLTEXCOORD4FPROC ; } pub type PFNGLTEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexCoord4fv : PFNGLTEXCOORD4FVPROC ; } pub type PFNGLTEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLint , t : GLint , r : GLint , q : GLint ) > ; extern "C" { pub static mut glad_glTexCoord4i : PFNGLTEXCOORD4IPROC ; } pub type PFNGLTEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glTexCoord4iv : PFNGLTEXCOORD4IVPROC ; } pub type PFNGLTEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( s : GLshort , t : GLshort , r : GLshort , q : GLshort ) > ; extern "C" { pub static mut glad_glTexCoord4s : PFNGLTEXCOORD4SPROC ; } pub type PFNGLTEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glTexCoord4sv : PFNGLTEXCOORD4SVPROC ; } pub type PFNGLVERTEX2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glVertex2d : PFNGLVERTEX2DPROC ; } pub type PFNGLVERTEX2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertex2dv : PFNGLVERTEX2DVPROC ; } pub type PFNGLVERTEX2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glVertex2f : PFNGLVERTEX2FPROC ; } pub type PFNGLVERTEX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertex2fv : PFNGLVERTEX2FVPROC ; } pub type PFNGLVERTEX2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glVertex2i : PFNGLVERTEX2IPROC ; } pub type PFNGLVERTEX2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glVertex2iv : PFNGLVERTEX2IVPROC ; } pub type PFNGLVERTEX2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glVertex2s : PFNGLVERTEX2SPROC ; } pub type PFNGLVERTEX2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertex2sv : PFNGLVERTEX2SVPROC ; } pub type PFNGLVERTEX3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glVertex3d : PFNGLVERTEX3DPROC ; } pub type PFNGLVERTEX3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertex3dv : PFNGLVERTEX3DVPROC ; } pub type PFNGLVERTEX3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glVertex3f : PFNGLVERTEX3FPROC ; } pub type PFNGLVERTEX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertex3fv : PFNGLVERTEX3FVPROC ; } pub type PFNGLVERTEX3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glVertex3i : PFNGLVERTEX3IPROC ; } pub type PFNGLVERTEX3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glVertex3iv : PFNGLVERTEX3IVPROC ; } pub type PFNGLVERTEX3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glVertex3s : PFNGLVERTEX3SPROC ; } pub type PFNGLVERTEX3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertex3sv : PFNGLVERTEX3SVPROC ; } pub type PFNGLVERTEX4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble ) > ; extern "C" { pub static mut glad_glVertex4d : PFNGLVERTEX4DPROC ; } pub type PFNGLVERTEX4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertex4dv : PFNGLVERTEX4DVPROC ; } pub type PFNGLVERTEX4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat ) > ; extern "C" { pub static mut glad_glVertex4f : PFNGLVERTEX4FPROC ; } pub type PFNGLVERTEX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertex4fv : PFNGLVERTEX4FVPROC ; } pub type PFNGLVERTEX4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint , w : GLint ) > ; extern "C" { pub static mut glad_glVertex4i : PFNGLVERTEX4IPROC ; } pub type PFNGLVERTEX4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glVertex4iv : PFNGLVERTEX4IVPROC ; } pub type PFNGLVERTEX4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort , w : GLshort ) > ; extern "C" { pub static mut glad_glVertex4s : PFNGLVERTEX4SPROC ; } pub type PFNGLVERTEX4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertex4sv : PFNGLVERTEX4SVPROC ; } pub type PFNGLCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn ( plane : GLenum , equation : * const GLdouble ) > ; extern "C" { pub static mut glad_glClipPlane : PFNGLCLIPPLANEPROC ; } pub type PFNGLCOLORMATERIALPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , mode : GLenum ) > ; extern "C" { pub static mut glad_glColorMaterial : PFNGLCOLORMATERIALPROC ; } pub type PFNGLFOGFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glFogf : PFNGLFOGFPROC ; } pub type PFNGLFOGFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glFogfv : PFNGLFOGFVPROC ; } pub type PFNGLFOGIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glFogi : PFNGLFOGIPROC ; } pub type PFNGLFOGIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glFogiv : PFNGLFOGIVPROC ; } pub type PFNGLLIGHTFPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glLightf : PFNGLLIGHTFPROC ; } pub type PFNGLLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glLightfv : PFNGLLIGHTFVPROC ; } pub type PFNGLLIGHTIPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glLighti : PFNGLLIGHTIPROC ; } pub type PFNGLLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glLightiv : PFNGLLIGHTIVPROC ; } pub type PFNGLLIGHTMODELFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glLightModelf : PFNGLLIGHTMODELFPROC ; } pub type PFNGLLIGHTMODELFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glLightModelfv : PFNGLLIGHTMODELFVPROC ; } pub type PFNGLLIGHTMODELIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glLightModeli : PFNGLLIGHTMODELIPROC ; } pub type PFNGLLIGHTMODELIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glLightModeliv : PFNGLLIGHTMODELIVPROC ; } pub type PFNGLLINESTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( factor : GLint , pattern : GLushort ) > ; extern "C" { pub static mut glad_glLineStipple : PFNGLLINESTIPPLEPROC ; } pub type PFNGLMATERIALFPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glMaterialf : PFNGLMATERIALFPROC ; } pub type PFNGLMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glMaterialfv : PFNGLMATERIALFVPROC ; } pub type PFNGLMATERIALIPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glMateriali : PFNGLMATERIALIPROC ; } pub type PFNGLMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glMaterialiv : PFNGLMATERIALIVPROC ; } pub type PFNGLPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : * const GLubyte ) > ; extern "C" { pub static mut glad_glPolygonStipple : PFNGLPOLYGONSTIPPLEPROC ; } pub type PFNGLSHADEMODELPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glShadeModel : PFNGLSHADEMODELPROC ; } pub type PFNGLTEXENVFPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glTexEnvf : PFNGLTEXENVFPROC ; } pub type PFNGLTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexEnvfv : PFNGLTEXENVFVPROC ; } pub type PFNGLTEXENVIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glTexEnvi : PFNGLTEXENVIPROC ; } pub type PFNGLTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexEnviv : PFNGLTEXENVIVPROC ; } pub type PFNGLTEXGENDPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , param : GLdouble ) > ; extern "C" { pub static mut glad_glTexGend : PFNGLTEXGENDPROC ; } pub type PFNGLTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * const GLdouble ) > ; extern "C" { pub static mut glad_glTexGendv : PFNGLTEXGENDVPROC ; } pub type PFNGLTEXGENFPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glTexGenf : PFNGLTEXGENFPROC ; } pub type PFNGLTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glTexGenfv : PFNGLTEXGENFVPROC ; } pub type PFNGLTEXGENIPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glTexGeni : PFNGLTEXGENIPROC ; } pub type PFNGLTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexGeniv : PFNGLTEXGENIVPROC ; } pub type PFNGLFEEDBACKBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLsizei , type_ : GLenum , buffer : * mut GLfloat ) > ; extern "C" { pub static mut glad_glFeedbackBuffer : PFNGLFEEDBACKBUFFERPROC ; } pub type PFNGLSELECTBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLsizei , buffer : * mut GLuint ) > ; extern "C" { pub static mut glad_glSelectBuffer : PFNGLSELECTBUFFERPROC ; } pub type PFNGLRENDERMODEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) -> GLint > ; extern "C" { pub static mut glad_glRenderMode : PFNGLRENDERMODEPROC ; } pub type PFNGLINITNAMESPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glInitNames : PFNGLINITNAMESPROC ; } pub type PFNGLLOADNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLuint ) > ; extern "C" { pub static mut glad_glLoadName : PFNGLLOADNAMEPROC ; } pub type PFNGLPASSTHROUGHPROC = :: std :: option :: Option < unsafe extern "C" fn ( token : GLfloat ) > ; extern "C" { pub static mut glad_glPassThrough : PFNGLPASSTHROUGHPROC ; } pub type PFNGLPOPNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopName : PFNGLPOPNAMEPROC ; } pub type PFNGLPUSHNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLuint ) > ; extern "C" { pub static mut glad_glPushName : PFNGLPUSHNAMEPROC ; } pub type PFNGLCLEARACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glClearAccum : PFNGLCLEARACCUMPROC ; } pub type PFNGLCLEARINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLfloat ) > ; extern "C" { pub static mut glad_glClearIndex : PFNGLCLEARINDEXPROC ; } pub type PFNGLINDEXMASKPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLuint ) > ; extern "C" { pub static mut glad_glIndexMask : PFNGLINDEXMASKPROC ; } pub type PFNGLACCUMPROC = :: std :: option :: Option < unsafe extern "C" fn ( op : GLenum , value : GLfloat ) > ; extern "C" { pub static mut glad_glAccum : PFNGLACCUMPROC ; } pub type PFNGLPOPATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopAttrib : PFNGLPOPATTRIBPROC ; } pub type PFNGLPUSHATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLbitfield ) > ; extern "C" { pub static mut glad_glPushAttrib : PFNGLPUSHATTRIBPROC ; } pub type PFNGLMAP1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLdouble , u2 : GLdouble , stride : GLint , order : GLint , points : * const GLdouble ) > ; extern "C" { pub static mut glad_glMap1d : PFNGLMAP1DPROC ; } pub type PFNGLMAP1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLfloat , u2 : GLfloat , stride : GLint , order : GLint , points : * const GLfloat ) > ; extern "C" { pub static mut glad_glMap1f : PFNGLMAP1FPROC ; } pub type PFNGLMAP2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLdouble , u2 : GLdouble , ustride : GLint , uorder : GLint , v1 : GLdouble , v2 : GLdouble , vstride : GLint , vorder : GLint , points : * const GLdouble ) > ; extern "C" { pub static mut glad_glMap2d : PFNGLMAP2DPROC ; } pub type PFNGLMAP2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , u1 : GLfloat , u2 : GLfloat , ustride : GLint , uorder : GLint , v1 : GLfloat , v2 : GLfloat , vstride : GLint , vorder : GLint , points : * const GLfloat ) > ; extern "C" { pub static mut glad_glMap2f : PFNGLMAP2FPROC ; } pub type PFNGLMAPGRID1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLdouble , u2 : GLdouble ) > ; extern "C" { pub static mut glad_glMapGrid1d : PFNGLMAPGRID1DPROC ; } pub type PFNGLMAPGRID1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLfloat , u2 : GLfloat ) > ; extern "C" { pub static mut glad_glMapGrid1f : PFNGLMAPGRID1FPROC ; } pub type PFNGLMAPGRID2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLdouble , u2 : GLdouble , vn : GLint , v1 : GLdouble , v2 : GLdouble ) > ; extern "C" { pub static mut glad_glMapGrid2d : PFNGLMAPGRID2DPROC ; } pub type PFNGLMAPGRID2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( un : GLint , u1 : GLfloat , u2 : GLfloat , vn : GLint , v1 : GLfloat , v2 : GLfloat ) > ; extern "C" { pub static mut glad_glMapGrid2f : PFNGLMAPGRID2FPROC ; } pub type PFNGLEVALCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord1d : PFNGLEVALCOORD1DPROC ; } pub type PFNGLEVALCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord1dv : PFNGLEVALCOORD1DVPROC ; } pub type PFNGLEVALCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord1f : PFNGLEVALCOORD1FPROC ; } pub type PFNGLEVALCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord1fv : PFNGLEVALCOORD1FVPROC ; } pub type PFNGLEVALCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLdouble , v : GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord2d : PFNGLEVALCOORD2DPROC ; } pub type PFNGLEVALCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLdouble ) > ; extern "C" { pub static mut glad_glEvalCoord2dv : PFNGLEVALCOORD2DVPROC ; } pub type PFNGLEVALCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : GLfloat , v : GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord2f : PFNGLEVALCOORD2FPROC ; } pub type PFNGLEVALCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( u : * const GLfloat ) > ; extern "C" { pub static mut glad_glEvalCoord2fv : PFNGLEVALCOORD2FVPROC ; } pub type PFNGLEVALMESH1PROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , i1 : GLint , i2 : GLint ) > ; extern "C" { pub static mut glad_glEvalMesh1 : PFNGLEVALMESH1PROC ; } pub type PFNGLEVALPOINT1PROC = :: std :: option :: Option < unsafe extern "C" fn ( i : GLint ) > ; extern "C" { pub static mut glad_glEvalPoint1 : PFNGLEVALPOINT1PROC ; } pub type PFNGLEVALMESH2PROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , i1 : GLint , i2 : GLint , j1 : GLint , j2 : GLint ) > ; extern "C" { pub static mut glad_glEvalMesh2 : PFNGLEVALMESH2PROC ; } pub type PFNGLEVALPOINT2PROC = :: std :: option :: Option < unsafe extern "C" fn ( i : GLint , j : GLint ) > ; extern "C" { pub static mut glad_glEvalPoint2 : PFNGLEVALPOINT2PROC ; } pub type PFNGLALPHAFUNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( func : GLenum , ref_ : GLfloat ) > ; extern "C" { pub static mut glad_glAlphaFunc : PFNGLALPHAFUNCPROC ; } pub type PFNGLPIXELZOOMPROC = :: std :: option :: Option < unsafe extern "C" fn ( xfactor : GLfloat , yfactor : GLfloat ) > ; extern "C" { pub static mut glad_glPixelZoom : PFNGLPIXELZOOMPROC ; } pub type PFNGLPIXELTRANSFERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glPixelTransferf : PFNGLPIXELTRANSFERFPROC ; } pub type PFNGLPIXELTRANSFERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glPixelTransferi : PFNGLPIXELTRANSFERIPROC ; } pub type PFNGLPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , mapsize : GLsizei , values : * const GLfloat ) > ; extern "C" { pub static mut glad_glPixelMapfv : PFNGLPIXELMAPFVPROC ; } pub type PFNGLPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , mapsize : GLsizei , values : * const GLuint ) > ; extern "C" { pub static mut glad_glPixelMapuiv : PFNGLPIXELMAPUIVPROC ; } pub type PFNGLPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , mapsize : GLsizei , values : * const GLushort ) > ; extern "C" { pub static mut glad_glPixelMapusv : PFNGLPIXELMAPUSVPROC ; } pub type PFNGLCOPYPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , width : GLsizei , height : GLsizei , type_ : GLenum ) > ; extern "C" { pub static mut glad_glCopyPixels : PFNGLCOPYPIXELSPROC ; } pub type PFNGLDRAWPIXELSPROC = :: std :: option :: Option < unsafe extern "C" fn ( width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glDrawPixels : PFNGLDRAWPIXELSPROC ; } pub type PFNGLGETCLIPPLANEPROC = :: std :: option :: Option < unsafe extern "C" fn ( plane : GLenum , equation : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetClipPlane : PFNGLGETCLIPPLANEPROC ; } pub type PFNGLGETLIGHTFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetLightfv : PFNGLGETLIGHTFVPROC ; } pub type PFNGLGETLIGHTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( light : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetLightiv : PFNGLGETLIGHTIVPROC ; } pub type PFNGLGETMAPDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , query : GLenum , v : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetMapdv : PFNGLGETMAPDVPROC ; } pub type PFNGLGETMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , query : GLenum , v : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetMapfv : PFNGLGETMAPFVPROC ; } pub type PFNGLGETMAPIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , query : GLenum , v : * mut GLint ) > ; extern "C" { pub static mut glad_glGetMapiv : PFNGLGETMAPIVPROC ; } pub type PFNGLGETMATERIALFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetMaterialfv : PFNGLGETMATERIALFVPROC ; } pub type PFNGLGETMATERIALIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetMaterialiv : PFNGLGETMATERIALIVPROC ; } pub type PFNGLGETPIXELMAPFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , values : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetPixelMapfv : PFNGLGETPIXELMAPFVPROC ; } pub type PFNGLGETPIXELMAPUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , values : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetPixelMapuiv : PFNGLGETPIXELMAPUIVPROC ; } pub type PFNGLGETPIXELMAPUSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( map : GLenum , values : * mut GLushort ) > ; extern "C" { pub static mut glad_glGetPixelMapusv : PFNGLGETPIXELMAPUSVPROC ; } pub type PFNGLGETPOLYGONSTIPPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : * mut GLubyte ) > ; extern "C" { pub static mut glad_glGetPolygonStipple : PFNGLGETPOLYGONSTIPPLEPROC ; } pub type PFNGLGETTEXENVFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexEnvfv : PFNGLGETTEXENVFVPROC ; } pub type PFNGLGETTEXENVIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexEnviv : PFNGLGETTEXENVIVPROC ; } pub type PFNGLGETTEXGENDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetTexGendv : PFNGLGETTEXGENDVPROC ; } pub type PFNGLGETTEXGENFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetTexGenfv : PFNGLGETTEXGENFVPROC ; } pub type PFNGLGETTEXGENIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexGeniv : PFNGLGETTEXGENIVPROC ; } pub type PFNGLISLISTPROC = :: std :: option :: Option < unsafe extern "C" fn ( list : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsList : PFNGLISLISTPROC ; } pub type PFNGLFRUSTUMPROC = :: std :: option :: Option < unsafe extern "C" fn ( left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble ) > ; extern "C" { pub static mut glad_glFrustum : PFNGLFRUSTUMPROC ; } pub type PFNGLLOADIDENTITYPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glLoadIdentity : PFNGLLOADIDENTITYPROC ; } pub type PFNGLLOADMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glLoadMatrixf : PFNGLLOADMATRIXFPROC ; } pub type PFNGLLOADMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glLoadMatrixd : PFNGLLOADMATRIXDPROC ; } pub type PFNGLMATRIXMODEPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glMatrixMode : PFNGLMATRIXMODEPROC ; } pub type PFNGLMULTMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultMatrixf : PFNGLMULTMATRIXFPROC ; } pub type PFNGLMULTMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultMatrixd : PFNGLMULTMATRIXDPROC ; } pub type PFNGLORTHOPROC = :: std :: option :: Option < unsafe extern "C" fn ( left : GLdouble , right : GLdouble , bottom : GLdouble , top : GLdouble , zNear : GLdouble , zFar : GLdouble ) > ; extern "C" { pub static mut glad_glOrtho : PFNGLORTHOPROC ; } pub type PFNGLPOPMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopMatrix : PFNGLPOPMATRIXPROC ; } pub type PFNGLPUSHMATRIXPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPushMatrix : PFNGLPUSHMATRIXPROC ; } pub type PFNGLROTATEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( angle : GLdouble , x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glRotated : PFNGLROTATEDPROC ; } pub type PFNGLROTATEFPROC = :: std :: option :: Option < unsafe extern "C" fn ( angle : GLfloat , x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glRotatef : PFNGLROTATEFPROC ; } pub type PFNGLSCALEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glScaled : PFNGLSCALEDPROC ; } pub type PFNGLSCALEFPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glScalef : PFNGLSCALEFPROC ; } pub type PFNGLTRANSLATEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glTranslated : PFNGLTRANSLATEDPROC ; } pub type PFNGLTRANSLATEFPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glTranslatef : PFNGLTRANSLATEFPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , first : GLint , count : GLsizei ) > ; extern "C" { pub static mut glad_glDrawArrays : PFNGLDRAWARRAYSPROC ; } pub type PFNGLDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glDrawElements : PFNGLDRAWELEMENTSPROC ; } pub type PFNGLGETPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetPointerv : PFNGLGETPOINTERVPROC ; } pub type PFNGLPOLYGONOFFSETPROC = :: std :: option :: Option < unsafe extern "C" fn ( factor : GLfloat , units : GLfloat ) > ; extern "C" { pub static mut glad_glPolygonOffset : PFNGLPOLYGONOFFSETPROC ; } pub type PFNGLCOPYTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , border : GLint ) > ; extern "C" { pub static mut glad_glCopyTexImage1D : PFNGLCOPYTEXIMAGE1DPROC ; } pub type PFNGLCOPYTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , x : GLint , y : GLint , width : GLsizei , height : GLsizei , border : GLint ) > ; extern "C" { pub static mut glad_glCopyTexImage2D : PFNGLCOPYTEXIMAGE2DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , x : GLint , y : GLint , width : GLsizei ) > ; extern "C" { pub static mut glad_glCopyTexSubImage1D : PFNGLCOPYTEXSUBIMAGE1DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glCopyTexSubImage2D : PFNGLCOPYTEXSUBIMAGE2DPROC ; } pub type PFNGLTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexSubImage1D : PFNGLTEXSUBIMAGE1DPROC ; } pub type PFNGLTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexSubImage2D : PFNGLTEXSUBIMAGE2DPROC ; } pub type PFNGLBINDTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , texture : GLuint ) > ; extern "C" { pub static mut glad_glBindTexture : PFNGLBINDTEXTUREPROC ; } pub type PFNGLDELETETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteTextures : PFNGLDELETETEXTURESPROC ; } pub type PFNGLGENTEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenTextures : PFNGLGENTEXTURESPROC ; } pub type PFNGLISTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsTexture : PFNGLISTEXTUREPROC ; } pub type PFNGLARRAYELEMENTPROC = :: std :: option :: Option < unsafe extern "C" fn ( i : GLint ) > ; extern "C" { pub static mut glad_glArrayElement : PFNGLARRAYELEMENTPROC ; } pub type PFNGLCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glColorPointer : PFNGLCOLORPOINTERPROC ; } pub type PFNGLDISABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLenum ) > ; extern "C" { pub static mut glad_glDisableClientState : PFNGLDISABLECLIENTSTATEPROC ; } pub type PFNGLEDGEFLAGPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glEdgeFlagPointer : PFNGLEDGEFLAGPOINTERPROC ; } pub type PFNGLENABLECLIENTSTATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLenum ) > ; extern "C" { pub static mut glad_glEnableClientState : PFNGLENABLECLIENTSTATEPROC ; } pub type PFNGLINDEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glIndexPointer : PFNGLINDEXPOINTERPROC ; } pub type PFNGLINTERLEAVEDARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( format : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glInterleavedArrays : PFNGLINTERLEAVEDARRAYSPROC ; } pub type PFNGLNORMALPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glNormalPointer : PFNGLNORMALPOINTERPROC ; } pub type PFNGLTEXCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexCoordPointer : PFNGLTEXCOORDPOINTERPROC ; } pub type PFNGLVERTEXPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glVertexPointer : PFNGLVERTEXPOINTERPROC ; } pub type PFNGLARETEXTURESRESIDENTPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * const GLuint , residences : * mut GLboolean ) -> GLboolean > ; extern "C" { pub static mut glad_glAreTexturesResident : PFNGLARETEXTURESRESIDENTPROC ; } pub type PFNGLPRIORITIZETEXTURESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , textures : * const GLuint , priorities : * const GLfloat ) > ; extern "C" { pub static mut glad_glPrioritizeTextures : PFNGLPRIORITIZETEXTURESPROC ; } pub type PFNGLINDEXUBPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : GLubyte ) > ; extern "C" { pub static mut glad_glIndexub : PFNGLINDEXUBPROC ; } pub type PFNGLINDEXUBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( c : * const GLubyte ) > ; extern "C" { pub static mut glad_glIndexubv : PFNGLINDEXUBVPROC ; } pub type PFNGLPOPCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glPopClientAttrib : PFNGLPOPCLIENTATTRIBPROC ; } pub type PFNGLPUSHCLIENTATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( mask : GLbitfield ) > ; extern "C" { pub static mut glad_glPushClientAttrib : PFNGLPUSHCLIENTATTRIBPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWRANGEELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glDrawRangeElements : PFNGLDRAWRANGEELEMENTSPROC ; } pub type PFNGLTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexImage3D : PFNGLTEXIMAGE3DPROC ; } pub type PFNGLTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , type_ : GLenum , pixels : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glTexSubImage3D : PFNGLTEXSUBIMAGE3DPROC ; } pub type PFNGLCOPYTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , x : GLint , y : GLint , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glCopyTexSubImage3D : PFNGLCOPYTEXSUBIMAGE3DPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum ) > ; extern "C" { pub static mut glad_glActiveTexture : PFNGLACTIVETEXTUREPROC ; } pub type PFNGLSAMPLECOVERAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( value : GLfloat , invert : GLboolean ) > ; extern "C" { pub static mut glad_glSampleCoverage : PFNGLSAMPLECOVERAGEPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexImage3D : PFNGLCOMPRESSEDTEXIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexImage2D : PFNGLCOMPRESSEDTEXIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , border : GLint , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexImage1D : PFNGLCOMPRESSEDTEXIMAGE1DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , zoffset : GLint , width : GLsizei , height : GLsizei , depth : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexSubImage3D : PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , yoffset : GLint , width : GLsizei , height : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexSubImage2D : PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC ; } pub type PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , xoffset : GLint , width : GLsizei , format : GLenum , imageSize : GLsizei , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glCompressedTexSubImage1D : PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC ; } pub type PFNGLGETCOMPRESSEDTEXIMAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , level : GLint , img : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetCompressedTexImage : PFNGLGETCOMPRESSEDTEXIMAGEPROC ; } pub type PFNGLCLIENTACTIVETEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum ) > ; extern "C" { pub static mut glad_glClientActiveTexture : PFNGLCLIENTACTIVETEXTUREPROC ; } pub type PFNGLMULTITEXCOORD1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord1d : PFNGLMULTITEXCOORD1DPROC ; } pub type PFNGLMULTITEXCOORD1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord1dv : PFNGLMULTITEXCOORD1DVPROC ; } pub type PFNGLMULTITEXCOORD1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord1f : PFNGLMULTITEXCOORD1FPROC ; } pub type PFNGLMULTITEXCOORD1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord1fv : PFNGLMULTITEXCOORD1FVPROC ; } pub type PFNGLMULTITEXCOORD1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord1i : PFNGLMULTITEXCOORD1IPROC ; } pub type PFNGLMULTITEXCOORD1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord1iv : PFNGLMULTITEXCOORD1IVPROC ; } pub type PFNGLMULTITEXCOORD1SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord1s : PFNGLMULTITEXCOORD1SPROC ; } pub type PFNGLMULTITEXCOORD1SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord1sv : PFNGLMULTITEXCOORD1SVPROC ; } pub type PFNGLMULTITEXCOORD2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble , t : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord2d : PFNGLMULTITEXCOORD2DPROC ; } pub type PFNGLMULTITEXCOORD2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord2dv : PFNGLMULTITEXCOORD2DVPROC ; } pub type PFNGLMULTITEXCOORD2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat , t : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord2f : PFNGLMULTITEXCOORD2FPROC ; } pub type PFNGLMULTITEXCOORD2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord2fv : PFNGLMULTITEXCOORD2FVPROC ; } pub type PFNGLMULTITEXCOORD2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint , t : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord2i : PFNGLMULTITEXCOORD2IPROC ; } pub type PFNGLMULTITEXCOORD2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord2iv : PFNGLMULTITEXCOORD2IVPROC ; } pub type PFNGLMULTITEXCOORD2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort , t : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord2s : PFNGLMULTITEXCOORD2SPROC ; } pub type PFNGLMULTITEXCOORD2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord2sv : PFNGLMULTITEXCOORD2SVPROC ; } pub type PFNGLMULTITEXCOORD3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord3d : PFNGLMULTITEXCOORD3DPROC ; } pub type PFNGLMULTITEXCOORD3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord3dv : PFNGLMULTITEXCOORD3DVPROC ; } pub type PFNGLMULTITEXCOORD3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord3f : PFNGLMULTITEXCOORD3FPROC ; } pub type PFNGLMULTITEXCOORD3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord3fv : PFNGLMULTITEXCOORD3FVPROC ; } pub type PFNGLMULTITEXCOORD3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint , t : GLint , r : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord3i : PFNGLMULTITEXCOORD3IPROC ; } pub type PFNGLMULTITEXCOORD3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord3iv : PFNGLMULTITEXCOORD3IVPROC ; } pub type PFNGLMULTITEXCOORD3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort , t : GLshort , r : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord3s : PFNGLMULTITEXCOORD3SPROC ; } pub type PFNGLMULTITEXCOORD3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord3sv : PFNGLMULTITEXCOORD3SVPROC ; } pub type PFNGLMULTITEXCOORD4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLdouble , t : GLdouble , r : GLdouble , q : GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord4d : PFNGLMULTITEXCOORD4DPROC ; } pub type PFNGLMULTITEXCOORD4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultiTexCoord4dv : PFNGLMULTITEXCOORD4DVPROC ; } pub type PFNGLMULTITEXCOORD4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLfloat , t : GLfloat , r : GLfloat , q : GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord4f : PFNGLMULTITEXCOORD4FPROC ; } pub type PFNGLMULTITEXCOORD4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultiTexCoord4fv : PFNGLMULTITEXCOORD4FVPROC ; } pub type PFNGLMULTITEXCOORD4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLint , t : GLint , r : GLint , q : GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord4i : PFNGLMULTITEXCOORD4IPROC ; } pub type PFNGLMULTITEXCOORD4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLint ) > ; extern "C" { pub static mut glad_glMultiTexCoord4iv : PFNGLMULTITEXCOORD4IVPROC ; } pub type PFNGLMULTITEXCOORD4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , s : GLshort , t : GLshort , r : GLshort , q : GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord4s : PFNGLMULTITEXCOORD4SPROC ; } pub type PFNGLMULTITEXCOORD4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , v : * const GLshort ) > ; extern "C" { pub static mut glad_glMultiTexCoord4sv : PFNGLMULTITEXCOORD4SVPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixf : PFNGLLOADTRANSPOSEMATRIXFPROC ; } pub type PFNGLLOADTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glLoadTransposeMatrixd : PFNGLLOADTRANSPOSEMATRIXDPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXFPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLfloat ) > ; extern "C" { pub static mut glad_glMultTransposeMatrixf : PFNGLMULTTRANSPOSEMATRIXFPROC ; } pub type PFNGLMULTTRANSPOSEMATRIXDPROC = :: std :: option :: Option < unsafe extern "C" fn ( m : * const GLdouble ) > ; extern "C" { pub static mut glad_glMultTransposeMatrixd : PFNGLMULTTRANSPOSEMATRIXDPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_4 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( sfactorRGB : GLenum , dfactorRGB : GLenum , sfactorAlpha : GLenum , dfactorAlpha : GLenum ) > ; extern "C" { pub static mut glad_glBlendFuncSeparate : PFNGLBLENDFUNCSEPARATEPROC ; } pub type PFNGLMULTIDRAWARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , first : * const GLint , count : * const GLsizei , drawcount : GLsizei ) > ; extern "C" { pub static mut glad_glMultiDrawArrays : PFNGLMULTIDRAWARRAYSPROC ; } pub type PFNGLMULTIDRAWELEMENTSPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei ) > ; extern "C" { pub static mut glad_glMultiDrawElements : PFNGLMULTIDRAWELEMENTSPROC ; } pub type PFNGLPOINTPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glPointParameterf : PFNGLPOINTPARAMETERFPROC ; } pub type PFNGLPOINTPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLfloat ) > ; extern "C" { pub static mut glad_glPointParameterfv : PFNGLPOINTPARAMETERFVPROC ; } pub type PFNGLPOINTPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glPointParameteri : PFNGLPOINTPARAMETERIPROC ; } pub type PFNGLPOINTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glPointParameteriv : PFNGLPOINTPARAMETERIVPROC ; } pub type PFNGLFOGCOORDFPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLfloat ) > ; extern "C" { pub static mut glad_glFogCoordf : PFNGLFOGCOORDFPROC ; } pub type PFNGLFOGCOORDFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : * const GLfloat ) > ; extern "C" { pub static mut glad_glFogCoordfv : PFNGLFOGCOORDFVPROC ; } pub type PFNGLFOGCOORDDPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : GLdouble ) > ; extern "C" { pub static mut glad_glFogCoordd : PFNGLFOGCOORDDPROC ; } pub type PFNGLFOGCOORDDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( coord : * const GLdouble ) > ; extern "C" { pub static mut glad_glFogCoorddv : PFNGLFOGCOORDDVPROC ; } pub type PFNGLFOGCOORDPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glFogCoordPointer : PFNGLFOGCOORDPOINTERPROC ; } pub type PFNGLSECONDARYCOLOR3BPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLbyte , green : GLbyte , blue : GLbyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3b : PFNGLSECONDARYCOLOR3BPROC ; } pub type PFNGLSECONDARYCOLOR3BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLbyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3bv : PFNGLSECONDARYCOLOR3BVPROC ; } pub type PFNGLSECONDARYCOLOR3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLdouble , green : GLdouble , blue : GLdouble ) > ; extern "C" { pub static mut glad_glSecondaryColor3d : PFNGLSECONDARYCOLOR3DPROC ; } pub type PFNGLSECONDARYCOLOR3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glSecondaryColor3dv : PFNGLSECONDARYCOLOR3DVPROC ; } pub type PFNGLSECONDARYCOLOR3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat ) > ; extern "C" { pub static mut glad_glSecondaryColor3f : PFNGLSECONDARYCOLOR3FPROC ; } pub type PFNGLSECONDARYCOLOR3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glSecondaryColor3fv : PFNGLSECONDARYCOLOR3FVPROC ; } pub type PFNGLSECONDARYCOLOR3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLint , green : GLint , blue : GLint ) > ; extern "C" { pub static mut glad_glSecondaryColor3i : PFNGLSECONDARYCOLOR3IPROC ; } pub type PFNGLSECONDARYCOLOR3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glSecondaryColor3iv : PFNGLSECONDARYCOLOR3IVPROC ; } pub type PFNGLSECONDARYCOLOR3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLshort , green : GLshort , blue : GLshort ) > ; extern "C" { pub static mut glad_glSecondaryColor3s : PFNGLSECONDARYCOLOR3SPROC ; } pub type PFNGLSECONDARYCOLOR3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glSecondaryColor3sv : PFNGLSECONDARYCOLOR3SVPROC ; } pub type PFNGLSECONDARYCOLOR3UBPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLubyte , green : GLubyte , blue : GLubyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3ub : PFNGLSECONDARYCOLOR3UBPROC ; } pub type PFNGLSECONDARYCOLOR3UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLubyte ) > ; extern "C" { pub static mut glad_glSecondaryColor3ubv : PFNGLSECONDARYCOLOR3UBVPROC ; } pub type PFNGLSECONDARYCOLOR3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLuint , green : GLuint , blue : GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColor3ui : PFNGLSECONDARYCOLOR3UIPROC ; } pub type PFNGLSECONDARYCOLOR3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColor3uiv : PFNGLSECONDARYCOLOR3UIVPROC ; } pub type PFNGLSECONDARYCOLOR3USPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLushort , green : GLushort , blue : GLushort ) > ; extern "C" { pub static mut glad_glSecondaryColor3us : PFNGLSECONDARYCOLOR3USPROC ; } pub type PFNGLSECONDARYCOLOR3USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLushort ) > ; extern "C" { pub static mut glad_glSecondaryColor3usv : PFNGLSECONDARYCOLOR3USVPROC ; } pub type PFNGLSECONDARYCOLORPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glSecondaryColorPointer : PFNGLSECONDARYCOLORPOINTERPROC ; } pub type PFNGLWINDOWPOS2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos2d : PFNGLWINDOWPOS2DPROC ; } pub type PFNGLWINDOWPOS2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos2dv : PFNGLWINDOWPOS2DVPROC ; } pub type PFNGLWINDOWPOS2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos2f : PFNGLWINDOWPOS2FPROC ; } pub type PFNGLWINDOWPOS2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos2fv : PFNGLWINDOWPOS2FVPROC ; } pub type PFNGLWINDOWPOS2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glWindowPos2i : PFNGLWINDOWPOS2IPROC ; } pub type PFNGLWINDOWPOS2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glWindowPos2iv : PFNGLWINDOWPOS2IVPROC ; } pub type PFNGLWINDOWPOS2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glWindowPos2s : PFNGLWINDOWPOS2SPROC ; } pub type PFNGLWINDOWPOS2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glWindowPos2sv : PFNGLWINDOWPOS2SVPROC ; } pub type PFNGLWINDOWPOS3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos3d : PFNGLWINDOWPOS3DPROC ; } pub type PFNGLWINDOWPOS3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLdouble ) > ; extern "C" { pub static mut glad_glWindowPos3dv : PFNGLWINDOWPOS3DVPROC ; } pub type PFNGLWINDOWPOS3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos3f : PFNGLWINDOWPOS3FPROC ; } pub type PFNGLWINDOWPOS3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLfloat ) > ; extern "C" { pub static mut glad_glWindowPos3fv : PFNGLWINDOWPOS3FVPROC ; } pub type PFNGLWINDOWPOS3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glWindowPos3i : PFNGLWINDOWPOS3IPROC ; } pub type PFNGLWINDOWPOS3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLint ) > ; extern "C" { pub static mut glad_glWindowPos3iv : PFNGLWINDOWPOS3IVPROC ; } pub type PFNGLWINDOWPOS3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glWindowPos3s : PFNGLWINDOWPOS3SPROC ; } pub type PFNGLWINDOWPOS3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( v : * const GLshort ) > ; extern "C" { pub static mut glad_glWindowPos3sv : PFNGLWINDOWPOS3SVPROC ; } pub type PFNGLBLENDCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn ( red : GLfloat , green : GLfloat , blue : GLfloat , alpha : GLfloat ) > ; extern "C" { pub static mut glad_glBlendColor : PFNGLBLENDCOLORPROC ; } pub type PFNGLBLENDEQUATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glBlendEquation : PFNGLBLENDEQUATIONPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_1_5 : :: std :: os :: raw :: c_int ; } pub type PFNGLGENQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , ids : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenQueries : PFNGLGENQUERIESPROC ; } pub type PFNGLDELETEQUERIESPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , ids : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteQueries : PFNGLDELETEQUERIESPROC ; } pub type PFNGLISQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsQuery : PFNGLISQUERYPROC ; } pub type PFNGLBEGINQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , id : GLuint ) > ; extern "C" { pub static mut glad_glBeginQuery : PFNGLBEGINQUERYPROC ; } pub type PFNGLENDQUERYPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) > ; extern "C" { pub static mut glad_glEndQuery : PFNGLENDQUERYPROC ; } pub type PFNGLGETQUERYIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetQueryiv : PFNGLGETQUERYIVPROC ; } pub type PFNGLGETQUERYOBJECTIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetQueryObjectiv : PFNGLGETQUERYOBJECTIVPROC ; } pub type PFNGLGETQUERYOBJECTUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetQueryObjectuiv : PFNGLGETQUERYOBJECTUIVPROC ; } pub type PFNGLBINDBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , buffer : GLuint ) > ; extern "C" { pub static mut glad_glBindBuffer : PFNGLBINDBUFFERPROC ; } pub type PFNGLDELETEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , buffers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteBuffers : PFNGLDELETEBUFFERSPROC ; } pub type PFNGLGENBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , buffers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenBuffers : PFNGLGENBUFFERSPROC ; } pub type PFNGLISBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsBuffer : PFNGLISBUFFERPROC ; } pub type PFNGLBUFFERDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void , usage : GLenum ) > ; extern "C" { pub static mut glad_glBufferData : PFNGLBUFFERDATAPROC ; } pub type PFNGLBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glBufferSubData : PFNGLBUFFERSUBDATAPROC ; } pub type PFNGLGETBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , size : GLsizeiptr , data : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetBufferSubData : PFNGLGETBUFFERSUBDATAPROC ; } pub type PFNGLMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , access : GLenum ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBuffer : PFNGLMAPBUFFERPROC ; } pub type PFNGLUNMAPBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) -> GLboolean > ; extern "C" { pub static mut glad_glUnmapBuffer : PFNGLUNMAPBUFFERPROC ; } pub type PFNGLGETBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetBufferParameteriv : PFNGLGETBUFFERPARAMETERIVPROC ; } pub type PFNGLGETBUFFERPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetBufferPointerv : PFNGLGETBUFFERPOINTERVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLBLENDEQUATIONSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( modeRGB : GLenum , modeAlpha : GLenum ) > ; extern "C" { pub static mut glad_glBlendEquationSeparate : PFNGLBLENDEQUATIONSEPARATEPROC ; } pub type PFNGLDRAWBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , bufs : * const GLenum ) > ; extern "C" { pub static mut glad_glDrawBuffers : PFNGLDRAWBUFFERSPROC ; } pub type PFNGLSTENCILOPSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , sfail : GLenum , dpfail : GLenum , dppass : GLenum ) > ; extern "C" { pub static mut glad_glStencilOpSeparate : PFNGLSTENCILOPSEPARATEPROC ; } pub type PFNGLSTENCILFUNCSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , func : GLenum , ref_ : GLint , mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilFuncSeparate : PFNGLSTENCILFUNCSEPARATEPROC ; } pub type PFNGLSTENCILMASKSEPARATEPROC = :: std :: option :: Option < unsafe extern "C" fn ( face : GLenum , mask : GLuint ) > ; extern "C" { pub static mut glad_glStencilMaskSeparate : PFNGLSTENCILMASKSEPARATEPROC ; } pub type PFNGLATTACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , shader : GLuint ) > ; extern "C" { pub static mut glad_glAttachShader : PFNGLATTACHSHADERPROC ; } pub type PFNGLBINDATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , name : * const GLchar ) > ; extern "C" { pub static mut glad_glBindAttribLocation : PFNGLBINDATTRIBLOCATIONPROC ; } pub type PFNGLCOMPILESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint ) > ; extern "C" { pub static mut glad_glCompileShader : PFNGLCOMPILESHADERPROC ; } pub type PFNGLCREATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) -> GLuint > ; extern "C" { pub static mut glad_glCreateProgram : PFNGLCREATEPROGRAMPROC ; } pub type PFNGLCREATESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum ) -> GLuint > ; extern "C" { pub static mut glad_glCreateShader : PFNGLCREATESHADERPROC ; } pub type PFNGLDELETEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glDeleteProgram : PFNGLDELETEPROGRAMPROC ; } pub type PFNGLDELETESHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint ) > ; extern "C" { pub static mut glad_glDeleteShader : PFNGLDELETESHADERPROC ; } pub type PFNGLDETACHSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , shader : GLuint ) > ; extern "C" { pub static mut glad_glDetachShader : PFNGLDETACHSHADERPROC ; } pub type PFNGLDISABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint ) > ; extern "C" { pub static mut glad_glDisableVertexAttribArray : PFNGLDISABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLENABLEVERTEXATTRIBARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint ) > ; extern "C" { pub static mut glad_glEnableVertexAttribArray : PFNGLENABLEVERTEXATTRIBARRAYPROC ; } pub type PFNGLGETACTIVEATTRIBPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveAttrib : PFNGLGETACTIVEATTRIBPROC ; } pub type PFNGLGETACTIVEUNIFORMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLint , type_ : * mut GLenum , name : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveUniform : PFNGLGETACTIVEUNIFORMPROC ; } pub type PFNGLGETATTACHEDSHADERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , maxCount : GLsizei , count : * mut GLsizei , shaders : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetAttachedShaders : PFNGLGETATTACHEDSHADERSPROC ; } pub type PFNGLGETATTRIBLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetAttribLocation : PFNGLGETATTRIBLOCATIONPROC ; } pub type PFNGLGETPROGRAMIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetProgramiv : PFNGLGETPROGRAMIVPROC ; } pub type PFNGLGETPROGRAMINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetProgramInfoLog : PFNGLGETPROGRAMINFOLOGPROC ; } pub type PFNGLGETSHADERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetShaderiv : PFNGLGETSHADERIVPROC ; } pub type PFNGLGETSHADERINFOLOGPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , infoLog : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetShaderInfoLog : PFNGLGETSHADERINFOLOGPROC ; } pub type PFNGLGETSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , bufSize : GLsizei , length : * mut GLsizei , source : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetShaderSource : PFNGLGETSHADERSOURCEPROC ; } pub type PFNGLGETUNIFORMLOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetUniformLocation : PFNGLGETUNIFORMLOCATIONPROC ; } pub type PFNGLGETUNIFORMFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , location : GLint , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetUniformfv : PFNGLGETUNIFORMFVPROC ; } pub type PFNGLGETUNIFORMIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , location : GLint , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetUniformiv : PFNGLGETUNIFORMIVPROC ; } pub type PFNGLGETVERTEXATTRIBDVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLdouble ) > ; extern "C" { pub static mut glad_glGetVertexAttribdv : PFNGLGETVERTEXATTRIBDVPROC ; } pub type PFNGLGETVERTEXATTRIBFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetVertexAttribfv : PFNGLGETVERTEXATTRIBFVPROC ; } pub type PFNGLGETVERTEXATTRIBIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetVertexAttribiv : PFNGLGETVERTEXATTRIBIVPROC ; } pub type PFNGLGETVERTEXATTRIBPOINTERVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , pointer : * mut * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glGetVertexAttribPointerv : PFNGLGETVERTEXATTRIBPOINTERVPROC ; } pub type PFNGLISPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsProgram : PFNGLISPROGRAMPROC ; } pub type PFNGLISSHADERPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsShader : PFNGLISSHADERPROC ; } pub type PFNGLLINKPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glLinkProgram : PFNGLLINKPROGRAMPROC ; } pub type PFNGLSHADERSOURCEPROC = :: std :: option :: Option < unsafe extern "C" fn ( shader : GLuint , count : GLsizei , string : * const * const GLchar , length : * const GLint ) > ; extern "C" { pub static mut glad_glShaderSource : PFNGLSHADERSOURCEPROC ; } pub type PFNGLUSEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glUseProgram : PFNGLUSEPROGRAMPROC ; } pub type PFNGLUNIFORM1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform1f : PFNGLUNIFORM1FPROC ; } pub type PFNGLUNIFORM2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat , v1 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform2f : PFNGLUNIFORM2FPROC ; } pub type PFNGLUNIFORM3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform3f : PFNGLUNIFORM3FPROC ; } pub type PFNGLUNIFORM4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLfloat , v1 : GLfloat , v2 : GLfloat , v3 : GLfloat ) > ; extern "C" { pub static mut glad_glUniform4f : PFNGLUNIFORM4FPROC ; } pub type PFNGLUNIFORM1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint ) > ; extern "C" { pub static mut glad_glUniform1i : PFNGLUNIFORM1IPROC ; } pub type PFNGLUNIFORM2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint , v1 : GLint ) > ; extern "C" { pub static mut glad_glUniform2i : PFNGLUNIFORM2IPROC ; } pub type PFNGLUNIFORM3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint , v1 : GLint , v2 : GLint ) > ; extern "C" { pub static mut glad_glUniform3i : PFNGLUNIFORM3IPROC ; } pub type PFNGLUNIFORM4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLint , v1 : GLint , v2 : GLint , v3 : GLint ) > ; extern "C" { pub static mut glad_glUniform4i : PFNGLUNIFORM4IPROC ; } pub type PFNGLUNIFORM1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform1fv : PFNGLUNIFORM1FVPROC ; } pub type PFNGLUNIFORM2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform2fv : PFNGLUNIFORM2FVPROC ; } pub type PFNGLUNIFORM3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform3fv : PFNGLUNIFORM3FVPROC ; } pub type PFNGLUNIFORM4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniform4fv : PFNGLUNIFORM4FVPROC ; } pub type PFNGLUNIFORM1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform1iv : PFNGLUNIFORM1IVPROC ; } pub type PFNGLUNIFORM2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform2iv : PFNGLUNIFORM2IVPROC ; } pub type PFNGLUNIFORM3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform3iv : PFNGLUNIFORM3IVPROC ; } pub type PFNGLUNIFORM4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLint ) > ; extern "C" { pub static mut glad_glUniform4iv : PFNGLUNIFORM4IVPROC ; } pub type PFNGLUNIFORMMATRIX2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix2fv : PFNGLUNIFORMMATRIX2FVPROC ; } pub type PFNGLUNIFORMMATRIX3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix3fv : PFNGLUNIFORMMATRIX3FVPROC ; } pub type PFNGLUNIFORMMATRIX4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix4fv : PFNGLUNIFORMMATRIX4FVPROC ; } pub type PFNGLVALIDATEPROGRAMPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint ) > ; extern "C" { pub static mut glad_glValidateProgram : PFNGLVALIDATEPROGRAMPROC ; } pub type PFNGLVERTEXATTRIB1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib1d : PFNGLVERTEXATTRIB1DPROC ; } pub type PFNGLVERTEXATTRIB1DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib1dv : PFNGLVERTEXATTRIB1DVPROC ; } pub type PFNGLVERTEXATTRIB1FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib1f : PFNGLVERTEXATTRIB1FPROC ; } pub type PFNGLVERTEXATTRIB1FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib1fv : PFNGLVERTEXATTRIB1FVPROC ; } pub type PFNGLVERTEXATTRIB1SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib1s : PFNGLVERTEXATTRIB1SPROC ; } pub type PFNGLVERTEXATTRIB1SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib1sv : PFNGLVERTEXATTRIB1SVPROC ; } pub type PFNGLVERTEXATTRIB2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble , y : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib2d : PFNGLVERTEXATTRIB2DPROC ; } pub type PFNGLVERTEXATTRIB2DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib2dv : PFNGLVERTEXATTRIB2DVPROC ; } pub type PFNGLVERTEXATTRIB2FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat , y : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib2f : PFNGLVERTEXATTRIB2FPROC ; } pub type PFNGLVERTEXATTRIB2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib2fv : PFNGLVERTEXATTRIB2FVPROC ; } pub type PFNGLVERTEXATTRIB2SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort , y : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib2s : PFNGLVERTEXATTRIB2SPROC ; } pub type PFNGLVERTEXATTRIB2SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib2sv : PFNGLVERTEXATTRIB2SVPROC ; } pub type PFNGLVERTEXATTRIB3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib3d : PFNGLVERTEXATTRIB3DPROC ; } pub type PFNGLVERTEXATTRIB3DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib3dv : PFNGLVERTEXATTRIB3DVPROC ; } pub type PFNGLVERTEXATTRIB3FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib3f : PFNGLVERTEXATTRIB3FPROC ; } pub type PFNGLVERTEXATTRIB3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib3fv : PFNGLVERTEXATTRIB3FVPROC ; } pub type PFNGLVERTEXATTRIB3SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort , y : GLshort , z : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib3s : PFNGLVERTEXATTRIB3SPROC ; } pub type PFNGLVERTEXATTRIB3SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib3sv : PFNGLVERTEXATTRIB3SVPROC ; } pub type PFNGLVERTEXATTRIB4NBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLbyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nbv : PFNGLVERTEXATTRIB4NBVPROC ; } pub type PFNGLVERTEXATTRIB4NIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttrib4Niv : PFNGLVERTEXATTRIB4NIVPROC ; } pub type PFNGLVERTEXATTRIB4NSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nsv : PFNGLVERTEXATTRIB4NSVPROC ; } pub type PFNGLVERTEXATTRIB4NUBPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLubyte , y : GLubyte , z : GLubyte , w : GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nub : PFNGLVERTEXATTRIB4NUBPROC ; } pub type PFNGLVERTEXATTRIB4NUBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nubv : PFNGLVERTEXATTRIB4NUBVPROC ; } pub type PFNGLVERTEXATTRIB4NUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nuiv : PFNGLVERTEXATTRIB4NUIVPROC ; } pub type PFNGLVERTEXATTRIB4NUSVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLushort ) > ; extern "C" { pub static mut glad_glVertexAttrib4Nusv : PFNGLVERTEXATTRIB4NUSVPROC ; } pub type PFNGLVERTEXATTRIB4BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLbyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4bv : PFNGLVERTEXATTRIB4BVPROC ; } pub type PFNGLVERTEXATTRIB4DPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLdouble , y : GLdouble , z : GLdouble , w : GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib4d : PFNGLVERTEXATTRIB4DPROC ; } pub type PFNGLVERTEXATTRIB4DVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLdouble ) > ; extern "C" { pub static mut glad_glVertexAttrib4dv : PFNGLVERTEXATTRIB4DVPROC ; } pub type PFNGLVERTEXATTRIB4FPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLfloat , y : GLfloat , z : GLfloat , w : GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib4f : PFNGLVERTEXATTRIB4FPROC ; } pub type PFNGLVERTEXATTRIB4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLfloat ) > ; extern "C" { pub static mut glad_glVertexAttrib4fv : PFNGLVERTEXATTRIB4FVPROC ; } pub type PFNGLVERTEXATTRIB4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttrib4iv : PFNGLVERTEXATTRIB4IVPROC ; } pub type PFNGLVERTEXATTRIB4SPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLshort , y : GLshort , z : GLshort , w : GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib4s : PFNGLVERTEXATTRIB4SPROC ; } pub type PFNGLVERTEXATTRIB4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttrib4sv : PFNGLVERTEXATTRIB4SVPROC ; } pub type PFNGLVERTEXATTRIB4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttrib4ubv : PFNGLVERTEXATTRIB4UBVPROC ; } pub type PFNGLVERTEXATTRIB4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttrib4uiv : PFNGLVERTEXATTRIB4UIVPROC ; } pub type PFNGLVERTEXATTRIB4USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLushort ) > ; extern "C" { pub static mut glad_glVertexAttrib4usv : PFNGLVERTEXATTRIB4USVPROC ; } pub type PFNGLVERTEXATTRIBPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , size : GLint , type_ : GLenum , normalized : GLboolean , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glVertexAttribPointer : PFNGLVERTEXATTRIBPOINTERPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_2_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLUNIFORMMATRIX2X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix2x3fv : PFNGLUNIFORMMATRIX2X3FVPROC ; } pub type PFNGLUNIFORMMATRIX3X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix3x2fv : PFNGLUNIFORMMATRIX3X2FVPROC ; } pub type PFNGLUNIFORMMATRIX2X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix2x4fv : PFNGLUNIFORMMATRIX2X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X2FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix4x2fv : PFNGLUNIFORMMATRIX4X2FVPROC ; } pub type PFNGLUNIFORMMATRIX3X4FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix3x4fv : PFNGLUNIFORMMATRIX3X4FVPROC ; } pub type PFNGLUNIFORMMATRIX4X3FVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , transpose : GLboolean , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glUniformMatrix4x3fv : PFNGLUNIFORMMATRIX4X3FVPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_0 : :: std :: os :: raw :: c_int ; } pub type PFNGLCOLORMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , r : GLboolean , g : GLboolean , b : GLboolean , a : GLboolean ) > ; extern "C" { pub static mut glad_glColorMaski : PFNGLCOLORMASKIPROC ; } pub type PFNGLGETBOOLEANI_VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , data : * mut GLboolean ) > ; extern "C" { pub static mut glad_glGetBooleani_v : PFNGLGETBOOLEANI_VPROC ; } pub type PFNGLGETINTEGERI_VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , data : * mut GLint ) > ; extern "C" { pub static mut glad_glGetIntegeri_v : PFNGLGETINTEGERI_VPROC ; } pub type PFNGLENABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint ) > ; extern "C" { pub static mut glad_glEnablei : PFNGLENABLEIPROC ; } pub type PFNGLDISABLEIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint ) > ; extern "C" { pub static mut glad_glDisablei : PFNGLDISABLEIPROC ; } pub type PFNGLISENABLEDIPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsEnabledi : PFNGLISENABLEDIPROC ; } pub type PFNGLBEGINTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn ( primitiveMode : GLenum ) > ; extern "C" { pub static mut glad_glBeginTransformFeedback : PFNGLBEGINTRANSFORMFEEDBACKPROC ; } pub type PFNGLENDTRANSFORMFEEDBACKPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEndTransformFeedback : PFNGLENDTRANSFORMFEEDBACKPROC ; } pub type PFNGLBINDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , buffer : GLuint , offset : GLintptr , size : GLsizeiptr ) > ; extern "C" { pub static mut glad_glBindBufferRange : PFNGLBINDBUFFERRANGEPROC ; } pub type PFNGLBINDBUFFERBASEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , buffer : GLuint ) > ; extern "C" { pub static mut glad_glBindBufferBase : PFNGLBINDBUFFERBASEPROC ; } pub type PFNGLTRANSFORMFEEDBACKVARYINGSPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , count : GLsizei , varyings : * const * const GLchar , bufferMode : GLenum ) > ; extern "C" { pub static mut glad_glTransformFeedbackVaryings : PFNGLTRANSFORMFEEDBACKVARYINGSPROC ; } pub type PFNGLGETTRANSFORMFEEDBACKVARYINGPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , index : GLuint , bufSize : GLsizei , length : * mut GLsizei , size : * mut GLsizei , type_ : * mut GLenum , name : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetTransformFeedbackVarying : PFNGLGETTRANSFORMFEEDBACKVARYINGPROC ; } pub type PFNGLCLAMPCOLORPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , clamp : GLenum ) > ; extern "C" { pub static mut glad_glClampColor : PFNGLCLAMPCOLORPROC ; } pub type PFNGLBEGINCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , mode : GLenum ) > ; extern "C" { pub static mut glad_glBeginConditionalRender : PFNGLBEGINCONDITIONALRENDERPROC ; } pub type PFNGLENDCONDITIONALRENDERPROC = :: std :: option :: Option < unsafe extern "C" fn ( ) > ; extern "C" { pub static mut glad_glEndConditionalRender : PFNGLENDCONDITIONALRENDERPROC ; } pub type PFNGLVERTEXATTRIBIPOINTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , size : GLint , type_ : GLenum , stride : GLsizei , pointer : * const :: std :: os :: raw :: c_void ) > ; extern "C" { pub static mut glad_glVertexAttribIPointer : PFNGLVERTEXATTRIBIPOINTERPROC ; } pub type PFNGLGETVERTEXATTRIBIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetVertexAttribIiv : PFNGLGETVERTEXATTRIBIIVPROC ; } pub type PFNGLGETVERTEXATTRIBIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetVertexAttribIuiv : PFNGLGETVERTEXATTRIBIUIVPROC ; } pub type PFNGLVERTEXATTRIBI1IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI1i : PFNGLVERTEXATTRIBI1IPROC ; } pub type PFNGLVERTEXATTRIBI2IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint , y : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI2i : PFNGLVERTEXATTRIBI2IPROC ; } pub type PFNGLVERTEXATTRIBI3IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint , y : GLint , z : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI3i : PFNGLVERTEXATTRIBI3IPROC ; } pub type PFNGLVERTEXATTRIBI4IPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLint , y : GLint , z : GLint , w : GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI4i : PFNGLVERTEXATTRIBI4IPROC ; } pub type PFNGLVERTEXATTRIBI1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI1ui : PFNGLVERTEXATTRIBI1UIPROC ; } pub type PFNGLVERTEXATTRIBI2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint , y : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI2ui : PFNGLVERTEXATTRIBI2UIPROC ; } pub type PFNGLVERTEXATTRIBI3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint , y : GLuint , z : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI3ui : PFNGLVERTEXATTRIBI3UIPROC ; } pub type PFNGLVERTEXATTRIBI4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , x : GLuint , y : GLuint , z : GLuint , w : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI4ui : PFNGLVERTEXATTRIBI4UIPROC ; } pub type PFNGLVERTEXATTRIBI1IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI1iv : PFNGLVERTEXATTRIBI1IVPROC ; } pub type PFNGLVERTEXATTRIBI2IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI2iv : PFNGLVERTEXATTRIBI2IVPROC ; } pub type PFNGLVERTEXATTRIBI3IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI3iv : PFNGLVERTEXATTRIBI3IVPROC ; } pub type PFNGLVERTEXATTRIBI4IVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLint ) > ; extern "C" { pub static mut glad_glVertexAttribI4iv : PFNGLVERTEXATTRIBI4IVPROC ; } pub type PFNGLVERTEXATTRIBI1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI1uiv : PFNGLVERTEXATTRIBI1UIVPROC ; } pub type PFNGLVERTEXATTRIBI2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI2uiv : PFNGLVERTEXATTRIBI2UIVPROC ; } pub type PFNGLVERTEXATTRIBI3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI3uiv : PFNGLVERTEXATTRIBI3UIVPROC ; } pub type PFNGLVERTEXATTRIBI4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribI4uiv : PFNGLVERTEXATTRIBI4UIVPROC ; } pub type PFNGLVERTEXATTRIBI4BVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLbyte ) > ; extern "C" { pub static mut glad_glVertexAttribI4bv : PFNGLVERTEXATTRIBI4BVPROC ; } pub type PFNGLVERTEXATTRIBI4SVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLshort ) > ; extern "C" { pub static mut glad_glVertexAttribI4sv : PFNGLVERTEXATTRIBI4SVPROC ; } pub type PFNGLVERTEXATTRIBI4UBVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLubyte ) > ; extern "C" { pub static mut glad_glVertexAttribI4ubv : PFNGLVERTEXATTRIBI4UBVPROC ; } pub type PFNGLVERTEXATTRIBI4USVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , v : * const GLushort ) > ; extern "C" { pub static mut glad_glVertexAttribI4usv : PFNGLVERTEXATTRIBI4USVPROC ; } pub type PFNGLGETUNIFORMUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , location : GLint , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetUniformuiv : PFNGLGETUNIFORMUIVPROC ; } pub type PFNGLBINDFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , color : GLuint , name : * const GLchar ) > ; extern "C" { pub static mut glad_glBindFragDataLocation : PFNGLBINDFRAGDATALOCATIONPROC ; } pub type PFNGLGETFRAGDATALOCATIONPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataLocation : PFNGLGETFRAGDATALOCATIONPROC ; } pub type PFNGLUNIFORM1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint ) > ; extern "C" { pub static mut glad_glUniform1ui : PFNGLUNIFORM1UIPROC ; } pub type PFNGLUNIFORM2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint , v1 : GLuint ) > ; extern "C" { pub static mut glad_glUniform2ui : PFNGLUNIFORM2UIPROC ; } pub type PFNGLUNIFORM3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint ) > ; extern "C" { pub static mut glad_glUniform3ui : PFNGLUNIFORM3UIPROC ; } pub type PFNGLUNIFORM4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , v0 : GLuint , v1 : GLuint , v2 : GLuint , v3 : GLuint ) > ; extern "C" { pub static mut glad_glUniform4ui : PFNGLUNIFORM4UIPROC ; } pub type PFNGLUNIFORM1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform1uiv : PFNGLUNIFORM1UIVPROC ; } pub type PFNGLUNIFORM2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform2uiv : PFNGLUNIFORM2UIVPROC ; } pub type PFNGLUNIFORM3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform3uiv : PFNGLUNIFORM3UIVPROC ; } pub type PFNGLUNIFORM4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( location : GLint , count : GLsizei , value : * const GLuint ) > ; extern "C" { pub static mut glad_glUniform4uiv : PFNGLUNIFORM4UIVPROC ; } pub type PFNGLTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLint ) > ; extern "C" { pub static mut glad_glTexParameterIiv : PFNGLTEXPARAMETERIIVPROC ; } pub type PFNGLTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * const GLuint ) > ; extern "C" { pub static mut glad_glTexParameterIuiv : PFNGLTEXPARAMETERIUIVPROC ; } pub type PFNGLGETTEXPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetTexParameterIiv : PFNGLGETTEXPARAMETERIIVPROC ; } pub type PFNGLGETTEXPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetTexParameterIuiv : PFNGLGETTEXPARAMETERIUIVPROC ; } pub type PFNGLCLEARBUFFERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , value : * const GLint ) > ; extern "C" { pub static mut glad_glClearBufferiv : PFNGLCLEARBUFFERIVPROC ; } pub type PFNGLCLEARBUFFERUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , value : * const GLuint ) > ; extern "C" { pub static mut glad_glClearBufferuiv : PFNGLCLEARBUFFERUIVPROC ; } pub type PFNGLCLEARBUFFERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , value : * const GLfloat ) > ; extern "C" { pub static mut glad_glClearBufferfv : PFNGLCLEARBUFFERFVPROC ; } pub type PFNGLCLEARBUFFERFIPROC = :: std :: option :: Option < unsafe extern "C" fn ( buffer : GLenum , drawbuffer : GLint , depth : GLfloat , stencil : GLint ) > ; extern "C" { pub static mut glad_glClearBufferfi : PFNGLCLEARBUFFERFIPROC ; } pub type PFNGLGETSTRINGIPROC = :: std :: option :: Option < unsafe extern "C" fn ( name : GLenum , index : GLuint ) -> * const GLubyte > ; extern "C" { pub static mut glad_glGetStringi : PFNGLGETSTRINGIPROC ; } pub type PFNGLISRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( renderbuffer : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsRenderbuffer : PFNGLISRENDERBUFFERPROC ; } pub type PFNGLBINDRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , renderbuffer : GLuint ) > ; extern "C" { pub static mut glad_glBindRenderbuffer : PFNGLBINDRENDERBUFFERPROC ; } pub type PFNGLDELETERENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , renderbuffers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteRenderbuffers : PFNGLDELETERENDERBUFFERSPROC ; } pub type PFNGLGENRENDERBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , renderbuffers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenRenderbuffers : PFNGLGENRENDERBUFFERSPROC ; } pub type PFNGLRENDERBUFFERSTORAGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , internalformat : GLenum , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glRenderbufferStorage : PFNGLRENDERBUFFERSTORAGEPROC ; } pub type PFNGLGETRENDERBUFFERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetRenderbufferParameteriv : PFNGLGETRENDERBUFFERPARAMETERIVPROC ; } pub type PFNGLISFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( framebuffer : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsFramebuffer : PFNGLISFRAMEBUFFERPROC ; } pub type PFNGLBINDFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , framebuffer : GLuint ) > ; extern "C" { pub static mut glad_glBindFramebuffer : PFNGLBINDFRAMEBUFFERPROC ; } pub type PFNGLDELETEFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , framebuffers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteFramebuffers : PFNGLDELETEFRAMEBUFFERSPROC ; } pub type PFNGLGENFRAMEBUFFERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , framebuffers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenFramebuffers : PFNGLGENFRAMEBUFFERSPROC ; } pub type PFNGLCHECKFRAMEBUFFERSTATUSPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) -> GLenum > ; extern "C" { pub static mut glad_glCheckFramebufferStatus : PFNGLCHECKFRAMEBUFFERSTATUSPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE1DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture1D : PFNGLFRAMEBUFFERTEXTURE1DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE2DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture2D : PFNGLFRAMEBUFFERTEXTURE2DPROC ; } pub type PFNGLFRAMEBUFFERTEXTURE3DPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , textarget : GLenum , texture : GLuint , level : GLint , zoffset : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture3D : PFNGLFRAMEBUFFERTEXTURE3DPROC ; } pub type PFNGLFRAMEBUFFERRENDERBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , renderbuffertarget : GLenum , renderbuffer : GLuint ) > ; extern "C" { pub static mut glad_glFramebufferRenderbuffer : PFNGLFRAMEBUFFERRENDERBUFFERPROC ; } pub type PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetFramebufferAttachmentParameteriv : PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC ; } pub type PFNGLGENERATEMIPMAPPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum ) > ; extern "C" { pub static mut glad_glGenerateMipmap : PFNGLGENERATEMIPMAPPROC ; } pub type PFNGLBLITFRAMEBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( srcX0 : GLint , srcY0 : GLint , srcX1 : GLint , srcY1 : GLint , dstX0 : GLint , dstY0 : GLint , dstX1 : GLint , dstY1 : GLint , mask : GLbitfield , filter : GLenum ) > ; extern "C" { pub static mut glad_glBlitFramebuffer : PFNGLBLITFRAMEBUFFERPROC ; } pub type PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei ) > ; extern "C" { pub static mut glad_glRenderbufferStorageMultisample : PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC ; } pub type PFNGLFRAMEBUFFERTEXTURELAYERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , texture : GLuint , level : GLint , layer : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTextureLayer : PFNGLFRAMEBUFFERTEXTURELAYERPROC ; } pub type PFNGLMAPBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , length : GLsizeiptr , access : GLbitfield ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut glad_glMapBufferRange : PFNGLMAPBUFFERRANGEPROC ; } pub type PFNGLFLUSHMAPPEDBUFFERRANGEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , offset : GLintptr , length : GLsizeiptr ) > ; extern "C" { pub static mut glad_glFlushMappedBufferRange : PFNGLFLUSHMAPPEDBUFFERRANGEPROC ; } pub type PFNGLBINDVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLuint ) > ; extern "C" { pub static mut glad_glBindVertexArray : PFNGLBINDVERTEXARRAYPROC ; } pub type PFNGLDELETEVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , arrays : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteVertexArrays : PFNGLDELETEVERTEXARRAYSPROC ; } pub type PFNGLGENVERTEXARRAYSPROC = :: std :: option :: Option < unsafe extern "C" fn ( n : GLsizei , arrays : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenVertexArrays : PFNGLGENVERTEXARRAYSPROC ; } pub type PFNGLISVERTEXARRAYPROC = :: std :: option :: Option < unsafe extern "C" fn ( array : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsVertexArray : PFNGLISVERTEXARRAYPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_1 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWARRAYSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , first : GLint , count : GLsizei , instancecount : GLsizei ) > ; extern "C" { pub static mut glad_glDrawArraysInstanced : PFNGLDRAWARRAYSINSTANCEDPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei ) > ; extern "C" { pub static mut glad_glDrawElementsInstanced : PFNGLDRAWELEMENTSINSTANCEDPROC ; } pub type PFNGLTEXBUFFERPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , internalformat : GLenum , buffer : GLuint ) > ; extern "C" { pub static mut glad_glTexBuffer : PFNGLTEXBUFFERPROC ; } pub type PFNGLPRIMITIVERESTARTINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint ) > ; extern "C" { pub static mut glad_glPrimitiveRestartIndex : PFNGLPRIMITIVERESTARTINDEXPROC ; } pub type PFNGLCOPYBUFFERSUBDATAPROC = :: std :: option :: Option < unsafe extern "C" fn ( readTarget : GLenum , writeTarget : GLenum , readOffset : GLintptr , writeOffset : GLintptr , size : GLsizeiptr ) > ; extern "C" { pub static mut glad_glCopyBufferSubData : PFNGLCOPYBUFFERSUBDATAPROC ; } pub type PFNGLGETUNIFORMINDICESPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformCount : GLsizei , uniformNames : * const * const GLchar , uniformIndices : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetUniformIndices : PFNGLGETUNIFORMINDICESPROC ; } pub type PFNGLGETACTIVEUNIFORMSIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformCount : GLsizei , uniformIndices : * const GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetActiveUniformsiv : PFNGLGETACTIVEUNIFORMSIVPROC ; } pub type PFNGLGETACTIVEUNIFORMNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformName : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveUniformName : PFNGLGETACTIVEUNIFORMNAMEPROC ; } pub type PFNGLGETUNIFORMBLOCKINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockName : * const GLchar ) -> GLuint > ; extern "C" { pub static mut glad_glGetUniformBlockIndex : PFNGLGETUNIFORMBLOCKINDEXPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockIndex : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockiv : PFNGLGETACTIVEUNIFORMBLOCKIVPROC ; } pub type PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockIndex : GLuint , bufSize : GLsizei , length : * mut GLsizei , uniformBlockName : * mut GLchar ) > ; extern "C" { pub static mut glad_glGetActiveUniformBlockName : PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC ; } pub type PFNGLUNIFORMBLOCKBINDINGPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , uniformBlockIndex : GLuint , uniformBlockBinding : GLuint ) > ; extern "C" { pub static mut glad_glUniformBlockBinding : PFNGLUNIFORMBLOCKBINDINGPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_2 : :: std :: os :: raw :: c_int ; } pub type PFNGLDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint ) > ; extern "C" { pub static mut glad_glDrawElementsBaseVertex : PFNGLDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , start : GLuint , end : GLuint , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , basevertex : GLint ) > ; extern "C" { pub static mut glad_glDrawRangeElementsBaseVertex : PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC ; } pub type PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : GLsizei , type_ : GLenum , indices : * const :: std :: os :: raw :: c_void , instancecount : GLsizei , basevertex : GLint ) > ; extern "C" { pub static mut glad_glDrawElementsInstancedBaseVertex : PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC ; } pub type PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum , count : * const GLsizei , type_ : GLenum , indices : * const * const :: std :: os :: raw :: c_void , drawcount : GLsizei , basevertex : * const GLint ) > ; extern "C" { pub static mut glad_glMultiDrawElementsBaseVertex : PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC ; } pub type PFNGLPROVOKINGVERTEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( mode : GLenum ) > ; extern "C" { pub static mut glad_glProvokingVertex : PFNGLPROVOKINGVERTEXPROC ; } pub type PFNGLFENCESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( condition : GLenum , flags : GLbitfield ) -> GLsync > ; extern "C" { pub static mut glad_glFenceSync : PFNGLFENCESYNCPROC ; } pub type PFNGLISSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync ) -> GLboolean > ; extern "C" { pub static mut glad_glIsSync : PFNGLISSYNCPROC ; } pub type PFNGLDELETESYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync ) > ; extern "C" { pub static mut glad_glDeleteSync : PFNGLDELETESYNCPROC ; } pub type PFNGLCLIENTWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync , flags : GLbitfield , timeout : GLuint64 ) -> GLenum > ; extern "C" { pub static mut glad_glClientWaitSync : PFNGLCLIENTWAITSYNCPROC ; } pub type PFNGLWAITSYNCPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync , flags : GLbitfield , timeout : GLuint64 ) > ; extern "C" { pub static mut glad_glWaitSync : PFNGLWAITSYNCPROC ; } pub type PFNGLGETINTEGER64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , data : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetInteger64v : PFNGLGETINTEGER64VPROC ; } pub type PFNGLGETSYNCIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sync : GLsync , pname : GLenum , count : GLsizei , length : * mut GLsizei , values : * mut GLint ) > ; extern "C" { pub static mut glad_glGetSynciv : PFNGLGETSYNCIVPROC ; } pub type PFNGLGETINTEGER64I_VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , index : GLuint , data : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetInteger64i_v : PFNGLGETINTEGER64I_VPROC ; } pub type PFNGLGETBUFFERPARAMETERI64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , pname : GLenum , params : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetBufferParameteri64v : PFNGLGETBUFFERPARAMETERI64VPROC ; } pub type PFNGLFRAMEBUFFERTEXTUREPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , attachment : GLenum , texture : GLuint , level : GLint ) > ; extern "C" { pub static mut glad_glFramebufferTexture : PFNGLFRAMEBUFFERTEXTUREPROC ; } pub type PFNGLTEXIMAGE2DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , fixedsamplelocations : GLboolean ) > ; extern "C" { pub static mut glad_glTexImage2DMultisample : PFNGLTEXIMAGE2DMULTISAMPLEPROC ; } pub type PFNGLTEXIMAGE3DMULTISAMPLEPROC = :: std :: option :: Option < unsafe extern "C" fn ( target : GLenum , samples : GLsizei , internalformat : GLenum , width : GLsizei , height : GLsizei , depth : GLsizei , fixedsamplelocations : GLboolean ) > ; extern "C" { pub static mut glad_glTexImage3DMultisample : PFNGLTEXIMAGE3DMULTISAMPLEPROC ; } pub type PFNGLGETMULTISAMPLEFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( pname : GLenum , index : GLuint , val : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetMultisamplefv : PFNGLGETMULTISAMPLEFVPROC ; } pub type PFNGLSAMPLEMASKIPROC = :: std :: option :: Option < unsafe extern "C" fn ( maskNumber : GLuint , mask : GLbitfield ) > ; extern "C" { pub static mut glad_glSampleMaski : PFNGLSAMPLEMASKIPROC ; } extern "C" { pub static mut GLAD_GL_VERSION_3_3 : :: std :: os :: raw :: c_int ; } pub type PFNGLBINDFRAGDATALOCATIONINDEXEDPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , colorNumber : GLuint , index : GLuint , name : * const GLchar ) > ; extern "C" { pub static mut glad_glBindFragDataLocationIndexed : PFNGLBINDFRAGDATALOCATIONINDEXEDPROC ; } pub type PFNGLGETFRAGDATAINDEXPROC = :: std :: option :: Option < unsafe extern "C" fn ( program : GLuint , name : * const GLchar ) -> GLint > ; extern "C" { pub static mut glad_glGetFragDataIndex : PFNGLGETFRAGDATAINDEXPROC ; } pub type PFNGLGENSAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( count : GLsizei , samplers : * mut GLuint ) > ; extern "C" { pub static mut glad_glGenSamplers : PFNGLGENSAMPLERSPROC ; } pub type PFNGLDELETESAMPLERSPROC = :: std :: option :: Option < unsafe extern "C" fn ( count : GLsizei , samplers : * const GLuint ) > ; extern "C" { pub static mut glad_glDeleteSamplers : PFNGLDELETESAMPLERSPROC ; } pub type PFNGLISSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint ) -> GLboolean > ; extern "C" { pub static mut glad_glIsSampler : PFNGLISSAMPLERPROC ; } pub type PFNGLBINDSAMPLERPROC = :: std :: option :: Option < unsafe extern "C" fn ( unit : GLuint , sampler : GLuint ) > ; extern "C" { pub static mut glad_glBindSampler : PFNGLBINDSAMPLERPROC ; } pub type PFNGLSAMPLERPARAMETERIPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : GLint ) > ; extern "C" { pub static mut glad_glSamplerParameteri : PFNGLSAMPLERPARAMETERIPROC ; } pub type PFNGLSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLint ) > ; extern "C" { pub static mut glad_glSamplerParameteriv : PFNGLSAMPLERPARAMETERIVPROC ; } pub type PFNGLSAMPLERPARAMETERFPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : GLfloat ) > ; extern "C" { pub static mut glad_glSamplerParameterf : PFNGLSAMPLERPARAMETERFPROC ; } pub type PFNGLSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLfloat ) > ; extern "C" { pub static mut glad_glSamplerParameterfv : PFNGLSAMPLERPARAMETERFVPROC ; } pub type PFNGLSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLint ) > ; extern "C" { pub static mut glad_glSamplerParameterIiv : PFNGLSAMPLERPARAMETERIIVPROC ; } pub type PFNGLSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , param : * const GLuint ) > ; extern "C" { pub static mut glad_glSamplerParameterIuiv : PFNGLSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetSamplerParameteriv : PFNGLGETSAMPLERPARAMETERIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLint ) > ; extern "C" { pub static mut glad_glGetSamplerParameterIiv : PFNGLGETSAMPLERPARAMETERIIVPROC ; } pub type PFNGLGETSAMPLERPARAMETERFVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLfloat ) > ; extern "C" { pub static mut glad_glGetSamplerParameterfv : PFNGLGETSAMPLERPARAMETERFVPROC ; } pub type PFNGLGETSAMPLERPARAMETERIUIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( sampler : GLuint , pname : GLenum , params : * mut GLuint ) > ; extern "C" { pub static mut glad_glGetSamplerParameterIuiv : PFNGLGETSAMPLERPARAMETERIUIVPROC ; } pub type PFNGLQUERYCOUNTERPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , target : GLenum ) > ; extern "C" { pub static mut glad_glQueryCounter : PFNGLQUERYCOUNTERPROC ; } pub type PFNGLGETQUERYOBJECTI64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLint64 ) > ; extern "C" { pub static mut glad_glGetQueryObjecti64v : PFNGLGETQUERYOBJECTI64VPROC ; } pub type PFNGLGETQUERYOBJECTUI64VPROC = :: std :: option :: Option < unsafe extern "C" fn ( id : GLuint , pname : GLenum , params : * mut GLuint64 ) > ; extern "C" { pub static mut glad_glGetQueryObjectui64v : PFNGLGETQUERYOBJECTUI64VPROC ; } pub type PFNGLVERTEXATTRIBDIVISORPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , divisor : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribDivisor : PFNGLVERTEXATTRIBDIVISORPROC ; } pub type PFNGLVERTEXATTRIBP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP1ui : PFNGLVERTEXATTRIBP1UIPROC ; } pub type PFNGLVERTEXATTRIBP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP1uiv : PFNGLVERTEXATTRIBP1UIVPROC ; } pub type PFNGLVERTEXATTRIBP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP2ui : PFNGLVERTEXATTRIBP2UIPROC ; } pub type PFNGLVERTEXATTRIBP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP2uiv : PFNGLVERTEXATTRIBP2UIVPROC ; } pub type PFNGLVERTEXATTRIBP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP3ui : PFNGLVERTEXATTRIBP3UIPROC ; } pub type PFNGLVERTEXATTRIBP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP3uiv : PFNGLVERTEXATTRIBP3UIVPROC ; } pub type PFNGLVERTEXATTRIBP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP4ui : PFNGLVERTEXATTRIBP4UIPROC ; } pub type PFNGLVERTEXATTRIBP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( index : GLuint , type_ : GLenum , normalized : GLboolean , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexAttribP4uiv : PFNGLVERTEXATTRIBP4UIVPROC ; } pub type PFNGLVERTEXP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexP2ui : PFNGLVERTEXP2UIPROC ; } pub type PFNGLVERTEXP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexP2uiv : PFNGLVERTEXP2UIVPROC ; } pub type PFNGLVERTEXP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexP3ui : PFNGLVERTEXP3UIPROC ; } pub type PFNGLVERTEXP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexP3uiv : PFNGLVERTEXP3UIVPROC ; } pub type PFNGLVERTEXP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : GLuint ) > ; extern "C" { pub static mut glad_glVertexP4ui : PFNGLVERTEXP4UIPROC ; } pub type PFNGLVERTEXP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , value : * const GLuint ) > ; extern "C" { pub static mut glad_glVertexP4uiv : PFNGLVERTEXP4UIVPROC ; } pub type PFNGLTEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP1ui : PFNGLTEXCOORDP1UIPROC ; } pub type PFNGLTEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP1uiv : PFNGLTEXCOORDP1UIVPROC ; } pub type PFNGLTEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP2ui : PFNGLTEXCOORDP2UIPROC ; } pub type PFNGLTEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP2uiv : PFNGLTEXCOORDP2UIVPROC ; } pub type PFNGLTEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP3ui : PFNGLTEXCOORDP3UIPROC ; } pub type PFNGLTEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP3uiv : PFNGLTEXCOORDP3UIVPROC ; } pub type PFNGLTEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP4ui : PFNGLTEXCOORDP4UIPROC ; } pub type PFNGLTEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glTexCoordP4uiv : PFNGLTEXCOORDP4UIVPROC ; } pub type PFNGLMULTITEXCOORDP1UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP1ui : PFNGLMULTITEXCOORDP1UIPROC ; } pub type PFNGLMULTITEXCOORDP1UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP1uiv : PFNGLMULTITEXCOORDP1UIVPROC ; } pub type PFNGLMULTITEXCOORDP2UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP2ui : PFNGLMULTITEXCOORDP2UIPROC ; } pub type PFNGLMULTITEXCOORDP2UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP2uiv : PFNGLMULTITEXCOORDP2UIVPROC ; } pub type PFNGLMULTITEXCOORDP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP3ui : PFNGLMULTITEXCOORDP3UIPROC ; } pub type PFNGLMULTITEXCOORDP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP3uiv : PFNGLMULTITEXCOORDP3UIVPROC ; } pub type PFNGLMULTITEXCOORDP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP4ui : PFNGLMULTITEXCOORDP4UIPROC ; } pub type PFNGLMULTITEXCOORDP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( texture : GLenum , type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glMultiTexCoordP4uiv : PFNGLMULTITEXCOORDP4UIVPROC ; } pub type PFNGLNORMALP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : GLuint ) > ; extern "C" { pub static mut glad_glNormalP3ui : PFNGLNORMALP3UIPROC ; } pub type PFNGLNORMALP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , coords : * const GLuint ) > ; extern "C" { pub static mut glad_glNormalP3uiv : PFNGLNORMALP3UIVPROC ; } pub type PFNGLCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : GLuint ) > ; extern "C" { pub static mut glad_glColorP3ui : PFNGLCOLORP3UIPROC ; } pub type PFNGLCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : * const GLuint ) > ; extern "C" { pub static mut glad_glColorP3uiv : PFNGLCOLORP3UIVPROC ; } pub type PFNGLCOLORP4UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : GLuint ) > ; extern "C" { pub static mut glad_glColorP4ui : PFNGLCOLORP4UIPROC ; } pub type PFNGLCOLORP4UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : * const GLuint ) > ; extern "C" { pub static mut glad_glColorP4uiv : PFNGLCOLORP4UIVPROC ; } pub type PFNGLSECONDARYCOLORP3UIPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColorP3ui : PFNGLSECONDARYCOLORP3UIPROC ; } pub type PFNGLSECONDARYCOLORP3UIVPROC = :: std :: option :: Option < unsafe extern "C" fn ( type_ : GLenum , color : * const GLuint ) > ; extern "C" { pub static mut glad_glSecondaryColorP3uiv : PFNGLSECONDARYCOLORP3UIVPROC ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_sizei { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_sizei ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_sizei > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_sizei ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_sizei > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_sizei ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizei > ( ) ) ) . width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizei ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizei > ( ) ) ) . height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizei ) , "::" , stringify ! ( height ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_sizef { pub width : f32 , pub height : f32 , } # [ test ] fn bindgen_test_layout_rf_sizef ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_sizef > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_sizef ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_sizef > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_sizef ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizef > ( ) ) ) . width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizef ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_sizef > ( ) ) ) . height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_sizef ) , "::" , stringify ! ( height ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_vector2 { pub x : f32 , pub y : f32 , } # [ test ] fn bindgen_test_layout_rf_vector2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_vector2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_vector2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_vector2 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_vector2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector2 > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector2 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector2 > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector2 ) , "::" , stringify ! ( y ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_vector3 { pub x : f32 , pub y : f32 , pub z : f32 , } # [ test ] fn bindgen_test_layout_rf_vector3 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_vector3 > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( rf_vector3 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_vector3 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_vector3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector3 > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector3 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector3 > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector3 ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector3 > ( ) ) ) . z as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector3 ) , "::" , stringify ! ( z ) ) ) ; } pub type rf_quaternion = rf_vector4 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_vector4 { pub x : f32 , pub y : f32 , pub z : f32 , pub w : f32 , } # [ test ] fn bindgen_test_layout_rf_vector4 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_vector4 > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_vector4 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_vector4 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_vector4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . z as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_vector4 > ( ) ) ) . w as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_vector4 ) , "::" , stringify ! ( w ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_matrix { pub m0 : f32 , pub m4 : f32 , pub m8 : f32 , pub m12 : f32 , pub m1 : f32 , pub m5 : f32 , pub m9 : f32 , pub m13 : f32 , pub m2 : f32 , pub m6 : f32 , pub m10 : f32 , pub m14 : f32 , pub m3 : f32 , pub m7 : f32 , pub m11 : f32 , pub m15 : f32 , } # [ test ] fn bindgen_test_layout_rf_matrix ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_matrix > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( rf_matrix ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_matrix > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m4 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m8 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m8 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m12 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m12 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m5 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m9 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m9 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m13 as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m13 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m2 as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m6 as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m10 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m10 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m14 as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m14 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m3 as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m7 as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m7 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m11 as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m11 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_matrix > ( ) ) ) . m15 as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( rf_matrix ) , "::" , stringify ! ( m15 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_rectangle { pub x : f32 , pub y : f32 , pub width : f32 , pub height : f32 , } # [ test ] fn bindgen_test_layout_rf_rectangle ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_rectangle > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_rectangle ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_rectangle > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_rectangle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . width as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_rectangle > ( ) ) ) . height as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_rectangle ) , "::" , stringify ! ( height ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_float3 { pub v : [ f32 ; 3usize ] , } # [ test ] fn bindgen_test_layout_rf_float3 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_float3 > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( rf_float3 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_float3 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_float3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_float3 > ( ) ) ) . v as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_float3 ) , "::" , stringify ! ( v ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_float16 { pub v : [ f32 ; 16usize ] , } # [ test ] fn bindgen_test_layout_rf_float16 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_float16 > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( rf_float16 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_float16 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_float16 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_float16 > ( ) ) ) . v as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_float16 ) , "::" , stringify ! ( v ) ) ) ; } extern "C" { pub fn rf_clamp ( value : f32 , min : f32 , max : f32 ) -> f32 ; } extern "C" { pub fn rf_lerp ( start : f32 , end : f32 , amount : f32 ) -> f32 ; } extern "C" { pub fn rf_vector2_zero ( ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_one ( ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_add ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_substract ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_length ( v : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_dot_product ( v1 : rf_vector2 , v2 : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_distance ( v1 : rf_vector2 , v2 : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_angle ( v1 : rf_vector2 , v2 : rf_vector2 ) -> f32 ; } extern "C" { pub fn rf_vector2_scale ( v : rf_vector2 , scale : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_multiply_v ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_negate ( v : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide ( v : rf_vector2 , div : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_divide_v ( v1 : rf_vector2 , v2 : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_normalize ( v : rf_vector2 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector2_lerp ( v1 : rf_vector2 , v2 : rf_vector2 , amount : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_vector3_zero ( ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_one ( ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_add ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_substract ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply ( v : rf_vector3 , scalar : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_multiply_v ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_cross_product ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_perpendicular ( v : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_length ( v : rf_vector3 ) -> f32 ; } extern "C" { pub fn rf_vector3_dot_product ( v1 : rf_vector3 , v2 : rf_vector3 ) -> f32 ; } extern "C" { pub fn rf_vector3_distance ( v1 : rf_vector3 , v2 : rf_vector3 ) -> f32 ; } extern "C" { pub fn rf_vector3_scale ( v : rf_vector3 , scale : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_negate ( v : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide ( v : rf_vector3 , div : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_divide_v ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_normalize ( v : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_ortho_normalize ( v1 : * mut rf_vector3 , v2 : * mut rf_vector3 ) ; } extern "C" { pub fn rf_vector3_transform ( v : rf_vector3 , mat : rf_matrix ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_rotate_by_quaternion ( v : rf_vector3 , q : rf_quaternion ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_lerp ( v1 : rf_vector3 , v2 : rf_vector3 , amount : f32 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_reflect ( v : rf_vector3 , normal : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_min ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_max ( v1 : rf_vector3 , v2 : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_barycenter ( p : rf_vector3 , a : rf_vector3 , b : rf_vector3 , c : rf_vector3 ) -> rf_vector3 ; } extern "C" { pub fn rf_vector3_to_float_v ( v : rf_vector3 ) -> rf_float3 ; } extern "C" { pub fn rf_matrix_determinant ( mat : rf_matrix ) -> f32 ; } extern "C" { pub fn rf_matrix_trace ( mat : rf_matrix ) -> f32 ; } extern "C" { pub fn rf_matrix_transpose ( mat : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_invert ( mat : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_normalize ( mat : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_identity ( ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_add ( left : rf_matrix , right : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_subtract ( left : rf_matrix , right : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_translate ( x : f32 , y : f32 , z : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate ( axis : rf_vector3 , angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_xyz ( ang : rf_vector3 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_x ( angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_y ( angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_rotate_z ( angle : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_scale ( x : f32 , y : f32 , z : f32 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_multiply ( left : rf_matrix , right : rf_matrix ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_frustum ( left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_perspective ( fovy : f64 , aspect : f64 , near_val : f64 , far_val : f64 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_ortho ( left : f64 , right : f64 , bottom : f64 , top : f64 , near_val : f64 , far_val : f64 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_look_at ( eye : rf_vector3 , target : rf_vector3 , up : rf_vector3 ) -> rf_matrix ; } extern "C" { pub fn rf_matrix_to_floatv ( mat : rf_matrix ) -> rf_float16 ; } extern "C" { pub fn rf_quaternion_identity ( ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_length ( q : rf_quaternion ) -> f32 ; } extern "C" { pub fn rf_quaternion_normalize ( q : rf_quaternion ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_invert ( q : rf_quaternion ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_multiply ( q1 : rf_quaternion , q2 : rf_quaternion ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_lerp ( q1 : rf_quaternion , q2 : rf_quaternion , amount : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_nlerp ( q1 : rf_quaternion , q2 : rf_quaternion , amount : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_slerp ( q1 : rf_quaternion , q2 : rf_quaternion , amount : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_vector3_to_vector3 ( from : rf_vector3 , to : rf_vector3 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_from_matrix ( mat : rf_matrix ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_matrix ( q : rf_quaternion ) -> rf_matrix ; } extern "C" { pub fn rf_quaternion_from_axis_angle ( axis : rf_vector3 , angle : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_axis_angle ( q : rf_quaternion , outAxis : * mut rf_vector3 , outAngle : * mut f32 ) ; } extern "C" { pub fn rf_quaternion_from_euler ( roll : f32 , pitch : f32 , yaw : f32 ) -> rf_quaternion ; } extern "C" { pub fn rf_quaternion_to_euler ( q : rf_quaternion ) -> rf_vector3 ; } extern "C" { pub fn rf_quaternion_transform ( q : rf_quaternion , mat : rf_matrix ) -> rf_quaternion ; } extern "C" { pub fn rf_check_collision_recs ( rec1 : rf_rectangle , rec2 : rf_rectangle ) -> bool ; } extern "C" { pub fn rf_check_collision_circles ( center1 : rf_vector2 , radius1 : f32 , center2 : rf_vector2 , radius2 : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_circle_rec ( center : rf_vector2 , radius : f32 , rec : rf_rectangle ) -> bool ; } extern "C" { pub fn rf_get_collision_rec ( rec1 : rf_rectangle , rec2 : rf_rectangle ) -> rf_rectangle ; } extern "C" { pub fn rf_check_collision_point_rec ( point : rf_vector2 , rec : rf_rectangle ) -> bool ; } extern "C" { pub fn rf_check_collision_point_circle ( point : rf_vector2 , center : rf_vector2 , radius : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_point_triangle ( point : rf_vector2 , p1 : rf_vector2 , p2 : rf_vector2 , p3 : rf_vector2 ) -> bool ; } extern "C" { pub fn rf_get_random_value ( min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_input_state_for_update_camera { pub mouse_position : rf_vector2 , pub mouse_wheel_move : :: std :: os :: raw :: c_int , pub is_camera_pan_control_key_down : bool , pub is_camera_alt_control_key_down : bool , pub is_camera_smooth_zoom_control_key : bool , pub direction_keys : [ bool ; 6usize ] , } # [ test ] fn bindgen_test_layout_rf_input_state_for_update_camera ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_input_state_for_update_camera > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_input_state_for_update_camera ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_input_state_for_update_camera > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_input_state_for_update_camera ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . mouse_position as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( mouse_position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . mouse_wheel_move as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( mouse_wheel_move ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . is_camera_pan_control_key_down as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( is_camera_pan_control_key_down ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . is_camera_alt_control_key_down as * const _ as usize } , 13usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( is_camera_alt_control_key_down ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . is_camera_smooth_zoom_control_key as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( is_camera_smooth_zoom_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_input_state_for_update_camera > ( ) ) ) . direction_keys as * const _ as usize } , 15usize , concat ! ( "Offset of field: " , stringify ! ( rf_input_state_for_update_camera ) , "::" , stringify ! ( direction_keys ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_color { pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_rf_color ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_color > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( rf_color ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_color > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( rf_color ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . r as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( r ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . g as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( g ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . b as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_color > ( ) ) ) . a as * const _ as usize } , 3usize , concat ! ( "Offset of field: " , stringify ! ( rf_color ) , "::" , stringify ! ( a ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_image { pub data : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_image ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_image > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_image ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_image > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . width as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . height as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . mipmaps as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( mipmaps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_image > ( ) ) ) . format as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_image ) , "::" , stringify ! ( format ) ) ) ; } pub type rf_texture = rf_texture2d ; pub type rf_texture_cubemap = rf_texture2d ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_texture2d { pub id : :: std :: os :: raw :: c_uint , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub mipmaps : :: std :: os :: raw :: c_int , pub format : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_texture2d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_texture2d > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( rf_texture2d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_texture2d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_texture2d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . width as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . height as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . mipmaps as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( mipmaps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_texture2d > ( ) ) ) . format as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_texture2d ) , "::" , stringify ! ( format ) ) ) ; } pub type rf_render_texture = rf_render_texture2d ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_render_texture2d { pub id : :: std :: os :: raw :: c_uint , pub texture : rf_texture2d , pub depth : rf_texture2d , pub depth_texture : bool , } # [ test ] fn bindgen_test_layout_rf_render_texture2d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_render_texture2d > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( rf_render_texture2d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_render_texture2d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_render_texture2d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . texture as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . depth as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( depth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_render_texture2d > ( ) ) ) . depth_texture as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( rf_render_texture2d ) , "::" , stringify ! ( depth_texture ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_npatch_info { pub source_rec : rf_rectangle , pub left : :: std :: os :: raw :: c_int , pub top : :: std :: os :: raw :: c_int , pub right : :: std :: os :: raw :: c_int , pub bottom : :: std :: os :: raw :: c_int , pub type_ : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_npatch_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_npatch_info > ( ) , 36usize , concat ! ( "Size of: " , stringify ! ( rf_npatch_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_npatch_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_npatch_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . source_rec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( source_rec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . left as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . top as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . right as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . bottom as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_npatch_info > ( ) ) ) . type_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_npatch_info ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_char_info { pub value : :: std :: os :: raw :: c_int , pub offset_x : :: std :: os :: raw :: c_int , pub offset_y : :: std :: os :: raw :: c_int , pub advance_x : :: std :: os :: raw :: c_int , pub image : rf_image , } # [ test ] fn bindgen_test_layout_rf_char_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_char_info > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( rf_char_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_char_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_char_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . offset_x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( offset_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . offset_y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( offset_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . advance_x as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( advance_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_char_info > ( ) ) ) . image as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_char_info ) , "::" , stringify ! ( image ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_font { pub base_size : :: std :: os :: raw :: c_int , pub chars_count : :: std :: os :: raw :: c_int , pub texture : rf_texture2d , pub recs : * mut rf_rectangle , pub chars : * mut rf_char_info , } # [ test ] fn bindgen_test_layout_rf_font ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_font > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( rf_font ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_font > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_font ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . base_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( base_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . chars_count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( chars_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . texture as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . recs as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( recs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_font > ( ) ) ) . chars as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_font ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_load_font_async_result { pub font : rf_font , pub atlas : rf_image , } # [ test ] fn bindgen_test_layout_rf_load_font_async_result ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_load_font_async_result > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( rf_load_font_async_result ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_load_font_async_result > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_load_font_async_result ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_load_font_async_result > ( ) ) ) . font as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_load_font_async_result ) , "::" , stringify ! ( font ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_load_font_async_result > ( ) ) ) . atlas as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_load_font_async_result ) , "::" , stringify ! ( atlas ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_camera3d { pub position : rf_vector3 , pub target : rf_vector3 , pub up : rf_vector3 , pub fovy : f32 , pub type_ : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_camera3d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_camera3d > ( ) , 44usize , concat ! ( "Size of: " , stringify ! ( rf_camera3d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_camera3d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_camera3d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . position as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . target as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( target ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . up as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . fovy as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( fovy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera3d > ( ) ) ) . type_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera3d ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_camera2d { pub offset : rf_vector2 , pub target : rf_vector2 , pub rotation : f32 , pub zoom : f32 , } # [ test ] fn bindgen_test_layout_rf_camera2d ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_camera2d > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_camera2d ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_camera2d > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_camera2d ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . target as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( target ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . rotation as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_camera2d > ( ) ) ) . zoom as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_camera2d ) , "::" , stringify ! ( zoom ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_mesh { pub vertex_count : :: std :: os :: raw :: c_int , pub triangle_count : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub texcoords2 : * mut f32 , pub normals : * mut f32 , pub tangents : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_ushort , pub anim_vertices : * mut f32 , pub anim_normals : * mut f32 , pub bone_ids : * mut :: std :: os :: raw :: c_int , pub bone_weights : * mut f32 , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : * mut :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_rf_mesh ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_mesh > ( ) , 112usize , concat ! ( "Size of: " , stringify ! ( rf_mesh ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_mesh > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_mesh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vertex_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vertex_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . triangle_count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( triangle_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vertices as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . texcoords as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . texcoords2 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( texcoords2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . normals as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . tangents as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( tangents ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . colors as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( colors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . indices as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( indices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . anim_vertices as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( anim_vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . anim_normals as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( anim_normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . bone_ids as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( bone_ids ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . bone_weights as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( bone_weights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vao_id as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vao_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_mesh > ( ) ) ) . vbo_id as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( rf_mesh ) , "::" , stringify ! ( vbo_id ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_shader { pub id : :: std :: os :: raw :: c_uint , pub locs : * mut :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_shader ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_shader > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_shader ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_shader > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_shader > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_shader ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_shader > ( ) ) ) . locs as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_shader ) , "::" , stringify ! ( locs ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_material_map { pub texture : rf_texture2d , pub color : rf_color , pub value : f32 , } # [ test ] fn bindgen_test_layout_rf_material_map ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_material_map > ( ) , 28usize , concat ! ( "Size of: " , stringify ! ( rf_material_map ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_material_map > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_material_map ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material_map > ( ) ) ) . texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_material_map ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material_map > ( ) ) ) . color as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_material_map ) , "::" , stringify ! ( color ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material_map > ( ) ) ) . value as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_material_map ) , "::" , stringify ! ( value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_material { pub shader : rf_shader , pub maps : * mut rf_material_map , pub params : * mut f32 , } # [ test ] fn bindgen_test_layout_rf_material ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_material > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( rf_material ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_material > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material > ( ) ) ) . shader as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_material ) , "::" , stringify ! ( shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material > ( ) ) ) . maps as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_material ) , "::" , stringify ! ( maps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_material > ( ) ) ) . params as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_material ) , "::" , stringify ! ( params ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_transform { pub translation : rf_vector3 , pub rotation : rf_quaternion , pub scale : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_transform ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_transform > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( rf_transform ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_transform > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_transform > ( ) ) ) . translation as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_transform ) , "::" , stringify ! ( translation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_transform > ( ) ) ) . rotation as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_transform ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_transform > ( ) ) ) . scale as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( rf_transform ) , "::" , stringify ! ( scale ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_bone_info { pub name : [ :: std :: os :: raw :: c_char ; 32usize ] , pub parent : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_bone_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_bone_info > ( ) , 36usize , concat ! ( "Size of: " , stringify ! ( rf_bone_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_bone_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_bone_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bone_info > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_bone_info ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bone_info > ( ) ) ) . parent as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_bone_info ) , "::" , stringify ! ( parent ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_model { pub transform : rf_matrix , pub mesh_count : :: std :: os :: raw :: c_int , pub meshes : * mut rf_mesh , pub material_count : :: std :: os :: raw :: c_int , pub materials : * mut rf_material , pub mesh_material : * mut :: std :: os :: raw :: c_int , pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub bind_pose : * mut rf_transform , } # [ test ] fn bindgen_test_layout_rf_model ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_model > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( rf_model ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_model > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_model ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . transform as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . mesh_count as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( mesh_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . meshes as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( meshes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . material_count as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( material_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . materials as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( materials ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . mesh_material as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( mesh_material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . bone_count as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( bone_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . bones as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( bones ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model > ( ) ) ) . bind_pose as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( rf_model ) , "::" , stringify ! ( bind_pose ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_model_animation { pub bone_count : :: std :: os :: raw :: c_int , pub bones : * mut rf_bone_info , pub frame_count : :: std :: os :: raw :: c_int , pub frame_poses : * mut * mut rf_transform , } # [ test ] fn bindgen_test_layout_rf_model_animation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_model_animation > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( rf_model_animation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_model_animation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_model_animation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . bone_count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( bone_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . bones as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( bones ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . frame_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( frame_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_model_animation > ( ) ) ) . frame_poses as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_model_animation ) , "::" , stringify ! ( frame_poses ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_ray { pub position : rf_vector3 , pub direction : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_ray ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_ray > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_ray ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_ray > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_ray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray > ( ) ) ) . position as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray > ( ) ) ) . direction as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray ) , "::" , stringify ! ( direction ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_ray_hit_info { pub hit : bool , pub distance : f32 , pub position : rf_vector3 , pub normal : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_ray_hit_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_ray_hit_info > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( rf_ray_hit_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_ray_hit_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_ray_hit_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . hit as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( hit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . distance as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( distance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . position as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_ray_hit_info > ( ) ) ) . normal as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( rf_ray_hit_info ) , "::" , stringify ! ( normal ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_bounding_box { pub min : rf_vector3 , pub max : rf_vector3 , } # [ test ] fn bindgen_test_layout_rf_bounding_box ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_bounding_box > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rf_bounding_box ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_bounding_box > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_bounding_box ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bounding_box > ( ) ) ) . min as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_bounding_box ) , "::" , stringify ! ( min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_bounding_box > ( ) ) ) . max as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_bounding_box ) , "::" , stringify ! ( max ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_dynamic_buffer { pub vCounter : :: std :: os :: raw :: c_int , pub tcCounter : :: std :: os :: raw :: c_int , pub cCounter : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub texcoords : * mut f32 , pub colors : * mut :: std :: os :: raw :: c_uchar , pub indices : * mut :: std :: os :: raw :: c_uint , pub vao_id : :: std :: os :: raw :: c_uint , pub vbo_id : [ :: std :: os :: raw :: c_uint ; 4usize ] , } # [ test ] fn bindgen_test_layout_rf_dynamic_buffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_dynamic_buffer > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( rf_dynamic_buffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_dynamic_buffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_dynamic_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vCounter as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vCounter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . tcCounter as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( tcCounter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . cCounter as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( cCounter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vertices as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . texcoords as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . colors as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( colors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . indices as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( indices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vao_id as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vao_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_dynamic_buffer > ( ) ) ) . vbo_id as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( rf_dynamic_buffer ) , "::" , stringify ! ( vbo_id ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_draw_call { pub mode : :: std :: os :: raw :: c_int , pub vertex_count : :: std :: os :: raw :: c_int , pub vertexAlignment : :: std :: os :: raw :: c_int , pub textureId : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_rf_draw_call ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_draw_call > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( rf_draw_call ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_draw_call > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_draw_call ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . mode as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . vertex_count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( vertex_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . vertexAlignment as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( vertexAlignment ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_draw_call > ( ) ) ) . textureId as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( rf_draw_call ) , "::" , stringify ! ( textureId ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_gl_context { pub stack : [ rf_matrix ; 32usize ] , pub stack_counter : :: std :: os :: raw :: c_int , pub modelview : rf_matrix , pub projection : rf_matrix , pub current_matrix : * mut rf_matrix , pub current_matrix_mode : :: std :: os :: raw :: c_int , pub current_depth : f32 , pub vertex_data : [ rf_dynamic_buffer ; 1usize ] , pub current_buffer : :: std :: os :: raw :: c_int , pub transform_matrix : rf_matrix , pub use_transform_matrix : bool , pub draws : * mut rf_draw_call , pub draws_counter : :: std :: os :: raw :: c_int , pub default_texture_id : :: std :: os :: raw :: c_uint , pub default_vertex_shader_id : :: std :: os :: raw :: c_uint , pub default_frag_shader_id : :: std :: os :: raw :: c_uint , pub default_shader : rf_shader , pub current_shader : rf_shader , pub vao_supported : bool , pub tex_comp_dxt_supported : bool , pub tex_comp_etc1_supported : bool , pub tex_comp_etc2_supported : bool , pub tex_comp_pvrt_supported : bool , pub tex_comp_astc_supported : bool , pub tex_npot_supported : bool , pub tex_float_supported : bool , pub tex_depth_supported : bool , pub max_depth_bits : :: std :: os :: raw :: c_int , pub tex_mirror_clamp_supported : bool , pub tex_anisotropic_filter_supported : bool , pub max_anisotropic_level : f32 , pub debug_marker_supported : bool , pub blend_mode : :: std :: os :: raw :: c_int , pub framebuffer_width : :: std :: os :: raw :: c_int , pub framebuffer_height : :: std :: os :: raw :: c_int , pub camera_angle : rf_vector2 , pub camera_target_distance : f32 , pub player_eyes_position : f32 , pub camera_move_control : [ :: std :: os :: raw :: c_int ; 6usize ] , pub camera_pan_control_key : :: std :: os :: raw :: c_int , pub camera_alt_control_key : :: std :: os :: raw :: c_int , pub camera_smooth_zoom_control_key : :: std :: os :: raw :: c_int , pub camera_mode : :: std :: os :: raw :: c_int , pub tex_shapes : rf_texture2d , pub rec_tex_shapes : rf_rectangle , } # [ test ] fn bindgen_test_layout_rf_gl_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_gl_context > ( ) , 2536usize , concat ! ( "Size of: " , stringify ! ( rf_gl_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_gl_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_gl_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . stack as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( stack ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . stack_counter as * const _ as usize } , 2048usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( stack_counter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . modelview as * const _ as usize } , 2052usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( modelview ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . projection as * const _ as usize } , 2116usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( projection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_matrix as * const _ as usize } , 2184usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_matrix_mode as * const _ as usize } , 2192usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_matrix_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_depth as * const _ as usize } , 2196usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_depth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . vertex_data as * const _ as usize } , 2200usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( vertex_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_buffer as * const _ as usize } , 2272usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . transform_matrix as * const _ as usize } , 2276usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( transform_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . use_transform_matrix as * const _ as usize } , 2340usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( use_transform_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . draws as * const _ as usize } , 2344usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( draws ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . draws_counter as * const _ as usize } , 2352usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( draws_counter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_texture_id as * const _ as usize } , 2356usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_texture_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_vertex_shader_id as * const _ as usize } , 2360usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_vertex_shader_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_frag_shader_id as * const _ as usize } , 2364usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_frag_shader_id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . default_shader as * const _ as usize } , 2368usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( default_shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . current_shader as * const _ as usize } , 2384usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( current_shader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . vao_supported as * const _ as usize } , 2400usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( vao_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_dxt_supported as * const _ as usize } , 2401usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_dxt_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_etc1_supported as * const _ as usize } , 2402usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_etc1_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_etc2_supported as * const _ as usize } , 2403usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_etc2_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_pvrt_supported as * const _ as usize } , 2404usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_pvrt_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_comp_astc_supported as * const _ as usize } , 2405usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_comp_astc_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_npot_supported as * const _ as usize } , 2406usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_npot_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_float_supported as * const _ as usize } , 2407usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_float_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_depth_supported as * const _ as usize } , 2408usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_depth_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . max_depth_bits as * const _ as usize } , 2412usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( max_depth_bits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_mirror_clamp_supported as * const _ as usize } , 2416usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_mirror_clamp_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_anisotropic_filter_supported as * const _ as usize } , 2417usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_anisotropic_filter_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . max_anisotropic_level as * const _ as usize } , 2420usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( max_anisotropic_level ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . debug_marker_supported as * const _ as usize } , 2424usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( debug_marker_supported ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . blend_mode as * const _ as usize } , 2428usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( blend_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . framebuffer_width as * const _ as usize } , 2432usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( framebuffer_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . framebuffer_height as * const _ as usize } , 2436usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( framebuffer_height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_angle as * const _ as usize } , 2440usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_angle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_target_distance as * const _ as usize } , 2448usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_target_distance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . player_eyes_position as * const _ as usize } , 2452usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( player_eyes_position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_move_control as * const _ as usize } , 2456usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_move_control ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_pan_control_key as * const _ as usize } , 2480usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_pan_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_alt_control_key as * const _ as usize } , 2484usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_alt_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_smooth_zoom_control_key as * const _ as usize } , 2488usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_smooth_zoom_control_key ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . camera_mode as * const _ as usize } , 2492usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( camera_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . tex_shapes as * const _ as usize } , 2496usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( tex_shapes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_gl_context > ( ) ) ) . rec_tex_shapes as * const _ as usize } , 2516usize , concat ! ( "Offset of field: " , stringify ! ( rf_gl_context ) , "::" , stringify ! ( rec_tex_shapes ) ) ) ; } pub type rf_byte = :: std :: os :: raw :: c_uchar ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct rf_context { pub __bindgen_anon_1 : rf_context__bindgen_ty_1 , pub __bindgen_anon_2 : rf_context__bindgen_ty_2 , pub __bindgen_anon_3 : rf_context__bindgen_ty_3 , pub __bindgen_anon_4 : rf_context__bindgen_ty_4 , pub render_offset_x : :: std :: os :: raw :: c_int , pub render_offset_y : :: std :: os :: raw :: c_int , pub screen_scaling : rf_matrix , pub base_time : :: std :: os :: raw :: c_ulonglong , pub current_time : f64 , pub previous_time : f64 , pub update_time : f64 , pub draw_time : f64 , pub frame_time : f64 , pub target_time : f64 , pub default_font : rf_font , pub gl_ctx : rf_gl_context , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_1 { pub display_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_1__bindgen_ty_1 { pub display_width : :: std :: os :: raw :: c_int , pub display_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_1__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . display_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( display_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . display_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( display_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_1 > ( ) ) ) . display_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_1 ) , "::" , stringify ! ( display_size ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_2 { pub screen_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_2__bindgen_ty_1 { pub screen_width : :: std :: os :: raw :: c_int , pub screen_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_2__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . screen_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( screen_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . screen_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( screen_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_2 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_2 > ( ) ) ) . screen_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_2 ) , "::" , stringify ! ( screen_size ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_3 { pub render_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_3__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_3__bindgen_ty_1 { pub render_width : :: std :: os :: raw :: c_int , pub render_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_3__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) ) ) . render_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) , "::" , stringify ! ( render_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_3__bindgen_ty_1 > ( ) ) ) . render_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_3__bindgen_ty_1 ) , "::" , stringify ! ( render_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_3 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_3 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_3 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_3 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_3 > ( ) ) ) . render_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_3 ) , "::" , stringify ! ( render_size ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union rf_context__bindgen_ty_4 { pub current_size : rf_sizei , pub __bindgen_anon_1 : rf_context__bindgen_ty_4__bindgen_ty_1 , _bindgen_union_align : [ u32 ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rf_context__bindgen_ty_4__bindgen_ty_1 { pub current_width : :: std :: os :: raw :: c_int , pub current_height : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_4__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) ) ) . current_width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) , "::" , stringify ! ( current_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_4__bindgen_ty_1 > ( ) ) ) . current_height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_4__bindgen_ty_1 ) , "::" , stringify ! ( current_height ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context__bindgen_ty_4 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context__bindgen_ty_4 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( rf_context__bindgen_ty_4 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context__bindgen_ty_4 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( rf_context__bindgen_ty_4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context__bindgen_ty_4 > ( ) ) ) . current_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rf_context__bindgen_ty_4 ) , "::" , stringify ! ( current_size ) ) ) ; } # [ test ] fn bindgen_test_layout_rf_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rf_context > ( ) , 2744usize , concat ! ( "Size of: " , stringify ! ( rf_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rf_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rf_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . render_offset_x as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( render_offset_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . render_offset_y as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( render_offset_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . screen_scaling as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( screen_scaling ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . base_time as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( base_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . current_time as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( current_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . previous_time as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( previous_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . update_time as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( update_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . draw_time as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( draw_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . frame_time as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( frame_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . target_time as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( target_time ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . default_font as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( default_font ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rf_context > ( ) ) ) . gl_ctx as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( rf_context ) , "::" , stringify ! ( gl_ctx ) ) ) ; } pub const rf_shader_location_index_rf_loc_vertex_position : rf_shader_location_index = 0 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord01 : rf_shader_location_index = 1 ; pub const rf_shader_location_index_rf_loc_vertex_texcoord02 : rf_shader_location_index = 2 ; pub const rf_shader_location_index_rf_loc_vertex_normal : rf_shader_location_index = 3 ; pub const rf_shader_location_index_rf_loc_vertex_tangent : rf_shader_location_index = 4 ; pub const rf_shader_location_index_rf_loc_vertex_color : rf_shader_location_index = 5 ; pub const rf_shader_location_index_rf_loc_matrix_mvp : rf_shader_location_index = 6 ; pub const rf_shader_location_index_rf_loc_matrix_model : rf_shader_location_index = 7 ; pub const rf_shader_location_index_rf_loc_matrix_view : rf_shader_location_index = 8 ; pub const rf_shader_location_index_rf_loc_matrix_projection : rf_shader_location_index = 9 ; pub const rf_shader_location_index_rf_loc_vector_view : rf_shader_location_index = 10 ; pub const rf_shader_location_index_rf_loc_color_diffuse : rf_shader_location_index = 11 ; pub const rf_shader_location_index_rf_loc_color_specular : rf_shader_location_index = 12 ; pub const rf_shader_location_index_rf_loc_color_ambient : rf_shader_location_index = 13 ; pub const rf_shader_location_index_rf_loc_map_albedo : rf_shader_location_index = 14 ; pub const rf_shader_location_index_rf_loc_map_metalness : rf_shader_location_index = 15 ; pub const rf_shader_location_index_rf_loc_map_normal : rf_shader_location_index = 16 ; pub const rf_shader_location_index_rf_loc_map_roughness : rf_shader_location_index = 17 ; pub const rf_shader_location_index_rf_loc_map_occlusion : rf_shader_location_index = 18 ; pub const rf_shader_location_index_rf_loc_map_emission : rf_shader_location_index = 19 ; pub const rf_shader_location_index_rf_loc_map_height : rf_shader_location_index = 20 ; pub const rf_shader_location_index_rf_loc_map_cubemap : rf_shader_location_index = 21 ; pub const rf_shader_location_index_rf_loc_map_irradiance : rf_shader_location_index = 22 ; pub const rf_shader_location_index_rf_loc_map_prefilter : rf_shader_location_index = 23 ; pub const rf_shader_location_index_rf_loc_map_brdf : rf_shader_location_index = 24 ; pub type rf_shader_location_index = u32 ; pub const rf_shader_uniform_data_type_rf_uniform_float : rf_shader_uniform_data_type = 0 ; pub const rf_shader_uniform_data_type_rf_uniform_vec2 : rf_shader_uniform_data_type = 1 ; pub const rf_shader_uniform_data_type_rf_uniform_vec3 : rf_shader_uniform_data_type = 2 ; pub const rf_shader_uniform_data_type_rf_uniform_vec4 : rf_shader_uniform_data_type = 3 ; pub const rf_shader_uniform_data_type_rf_uniform_int : rf_shader_uniform_data_type = 4 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec2 : rf_shader_uniform_data_type = 5 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec3 : rf_shader_uniform_data_type = 6 ; pub const rf_shader_uniform_data_type_rf_uniform_ivec4 : rf_shader_uniform_data_type = 7 ; pub const rf_shader_uniform_data_type_rf_uniform_sampler2d : rf_shader_uniform_data_type = 8 ; pub type rf_shader_uniform_data_type = u32 ; pub const rf_material_map_type_rf_map_albedo : rf_material_map_type = 0 ; pub const rf_material_map_type_rf_map_metalness : rf_material_map_type = 1 ; pub const rf_material_map_type_rf_map_normal : rf_material_map_type = 2 ; pub const rf_material_map_type_rf_map_roughness : rf_material_map_type = 3 ; pub const rf_material_map_type_rf_map_occlusion : rf_material_map_type = 4 ; pub const rf_material_map_type_rf_map_emission : rf_material_map_type = 5 ; pub const rf_material_map_type_rf_map_height : rf_material_map_type = 6 ; pub const rf_material_map_type_rf_map_cubemap : rf_material_map_type = 7 ; pub const rf_material_map_type_rf_map_irradiance : rf_material_map_type = 8 ; pub const rf_material_map_type_rf_map_prefilter : rf_material_map_type = 9 ; pub const rf_material_map_type_rf_map_brdf : rf_material_map_type = 10 ; pub type rf_material_map_type = u32 ; pub const rf_pixel_format_rf_uncompressed_grayscale : rf_pixel_format = 1 ; pub const rf_pixel_format_rf_uncompressed_gray_alpha : rf_pixel_format = 2 ; pub const rf_pixel_format_rf_uncompressed_r5g6b5 : rf_pixel_format = 3 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8 : rf_pixel_format = 4 ; pub const rf_pixel_format_rf_uncompressed_r5g5b5a1 : rf_pixel_format = 5 ; pub const rf_pixel_format_rf_uncompressed_r4g4b4a4 : rf_pixel_format = 6 ; pub const rf_pixel_format_rf_uncompressed_r8g8b8a8 : rf_pixel_format = 7 ; pub const rf_pixel_format_rf_uncompressed_r32 : rf_pixel_format = 8 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32 : rf_pixel_format = 9 ; pub const rf_pixel_format_rf_uncompressed_r32g32b32a32 : rf_pixel_format = 10 ; pub const rf_pixel_format_rf_compressed_dxt1_rgb : rf_pixel_format = 11 ; pub const rf_pixel_format_rf_compressed_dxt1_rgba : rf_pixel_format = 12 ; pub const rf_pixel_format_rf_compressed_dxt3_rgba : rf_pixel_format = 13 ; pub const rf_pixel_format_rf_compressed_dxt5_rgba : rf_pixel_format = 14 ; pub const rf_pixel_format_rf_compressed_etc1_rgb : rf_pixel_format = 15 ; pub const rf_pixel_format_rf_compressed_etc2_rgb : rf_pixel_format = 16 ; pub const rf_pixel_format_rf_compressed_etc2_eac_rgba : rf_pixel_format = 17 ; pub const rf_pixel_format_rf_compressed_pvrt_rgb : rf_pixel_format = 18 ; pub const rf_pixel_format_rf_compressed_pvrt_rgba : rf_pixel_format = 19 ; pub const rf_pixel_format_rf_compressed_astc_4x4_rgba : rf_pixel_format = 20 ; pub const rf_pixel_format_rf_compressed_astc_8x8_rgba : rf_pixel_format = 21 ; pub type rf_pixel_format = u32 ; pub const rf_texture_filter_mode_rf_filter_point : rf_texture_filter_mode = 0 ; pub const rf_texture_filter_mode_rf_filter_bilinear : rf_texture_filter_mode = 1 ; pub const rf_texture_filter_mode_rf_filter_trilinear : rf_texture_filter_mode = 2 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_4x : rf_texture_filter_mode = 3 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_8x : rf_texture_filter_mode = 4 ; pub const rf_texture_filter_mode_rf_filter_anisotropic_16x : rf_texture_filter_mode = 5 ; pub type rf_texture_filter_mode = u32 ; pub const rf_cubemap_layout_type_rf_cubemap_auto_detect : rf_cubemap_layout_type = 0 ; pub const rf_cubemap_layout_type_rf_cubemap_line_vertical : rf_cubemap_layout_type = 1 ; pub const rf_cubemap_layout_type_rf_cubemap_line_horizontal : rf_cubemap_layout_type = 2 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_three_by_four : rf_cubemap_layout_type = 3 ; pub const rf_cubemap_layout_type_rf_cubemap_cross_four_by_three : rf_cubemap_layout_type = 4 ; pub const rf_cubemap_layout_type_rf_cubemap_panorama : rf_cubemap_layout_type = 5 ; pub type rf_cubemap_layout_type = u32 ; pub const rf_texture_wrap_mode_rf_wrap_repeat : rf_texture_wrap_mode = 0 ; pub const rf_texture_wrap_mode_rf_wrap_clamp : rf_texture_wrap_mode = 1 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_repeat : rf_texture_wrap_mode = 2 ; pub const rf_texture_wrap_mode_rf_wrap_mirror_clamp : rf_texture_wrap_mode = 3 ; pub type rf_texture_wrap_mode = u32 ; pub const rf_font_type_rf_font_default : rf_font_type = 0 ; pub const rf_font_type_rf_font_bitmap : rf_font_type = 1 ; pub const rf_font_type_rf_font_sdf : rf_font_type = 2 ; pub type rf_font_type = u32 ; pub const rf_blend_mode_rf_blend_alpha : rf_blend_mode = 0 ; pub const rf_blend_mode_rf_blend_additive : rf_blend_mode = 1 ; pub const rf_blend_mode_rf_blend_multiplied : rf_blend_mode = 2 ; pub type rf_blend_mode = u32 ; pub const rf_camera_mode_rf_camera_custom : rf_camera_mode = 0 ; pub const rf_camera_mode_rf_camera_free : rf_camera_mode = 1 ; pub const rf_camera_mode_rf_camera_orbital : rf_camera_mode = 2 ; pub const rf_camera_mode_rf_camera_first_person : rf_camera_mode = 3 ; pub const rf_camera_mode_rf_camera_third_person : rf_camera_mode = 4 ; pub type rf_camera_mode = u32 ; pub const rf_camera_type_rf_camera_perspective : rf_camera_type = 0 ; pub const rf_camera_type_rf_camera_orthographic : rf_camera_type = 1 ; pub type rf_camera_type = u32 ; pub const rf_ninepatch_type_rf_npt_9patch : rf_ninepatch_type = 0 ; pub const rf_ninepatch_type_rf_npt_3patch_vertical : rf_ninepatch_type = 1 ; pub const rf_ninepatch_type_rf_npt_3patch_horizontal : rf_ninepatch_type = 2 ; pub type rf_ninepatch_type = u32 ; extern "C" { pub fn rf_wait ( arg1 : f32 ) ; } extern "C" { pub fn rf_get_time ( ) -> f64 ; } extern "C" { pub fn rf_get_file_size ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_load_file_into_buffer ( filename : * const :: std :: os :: raw :: c_char , buffer : * mut rf_byte , buffer_size : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_context_init ( rf_ctx : * mut rf_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_global_context_ptr ( rf_ctx : * mut rf_context ) ; } extern "C" { pub fn rf_load_font_default ( ) ; } extern "C" { pub fn rf_clear_background ( color : rf_color ) ; } extern "C" { pub fn rf_begin_drawing ( ) ; } extern "C" { pub fn rf_end_drawing ( ) ; } extern "C" { pub fn rf_begin_mode2d ( camera : rf_camera2d ) ; } extern "C" { pub fn rf_end_mode2d ( ) ; } extern "C" { pub fn rf_begin_mode3d ( camera : rf_camera3d ) ; } extern "C" { pub fn rf_end_mode3d ( ) ; } extern "C" { pub fn rf_begin_texture_mode ( target : rf_render_texture2d ) ; } extern "C" { pub fn rf_end_texture_mode ( ) ; } extern "C" { pub fn rf_begin_scissor_mode ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_end_scissor_mode ( ) ; } extern "C" { pub fn rf_get_mouse_ray ( screen_size : rf_sizei , mouse_position : rf_vector2 , camera : rf_camera3d ) -> rf_ray ; } extern "C" { pub fn rf_get_camera_matrix ( camera : rf_camera3d ) -> rf_matrix ; } extern "C" { pub fn rf_get_camera_matrix2d ( camera : rf_camera2d ) -> rf_matrix ; } extern "C" { pub fn rf_get_world_to_screen ( screen_size : rf_sizei , position : rf_vector3 , camera : rf_camera3d ) -> rf_vector2 ; } extern "C" { pub fn rf_get_world_to_screen2d ( position : rf_vector2 , camera : rf_camera2d ) -> rf_vector2 ; } extern "C" { pub fn rf_get_screen_to_world2d ( position : rf_vector2 , camera : rf_camera2d ) -> rf_vector2 ; } extern "C" { pub fn rf_set_target_fps ( fps : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_get_fps ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_frame_time ( ) -> f32 ; } extern "C" { pub fn rf_color_to_int ( color : rf_color ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_color_normalize ( color : rf_color ) -> rf_vector4 ; } extern "C" { pub fn rf_color_from_normalized ( normalized : rf_vector4 ) -> rf_color ; } extern "C" { pub fn rf_color_to_hsv ( color : rf_color ) -> rf_vector3 ; } extern "C" { pub fn rf_color_from_hsv ( hsv : rf_vector3 ) -> rf_color ; } extern "C" { pub fn rf_color_from_int ( hexValue : :: std :: os :: raw :: c_int ) -> rf_color ; } extern "C" { pub fn rf_fade ( color : rf_color , alpha : f32 ) -> rf_color ; } extern "C" { pub fn rf_set_camera_mode ( camera : rf_camera3d , mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_update_camera3d ( camera : * mut rf_camera3d , inputState : rf_input_state_for_update_camera ) ; } extern "C" { pub fn rf_set_camera_pan_control ( panKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_camera_alt_control ( altKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_camera_smooth_zoom_control ( szKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_camera_move_controls ( frontKey : :: std :: os :: raw :: c_int , backKey : :: std :: os :: raw :: c_int , rightKey : :: std :: os :: raw :: c_int , leftKey : :: std :: os :: raw :: c_int , upKey : :: std :: os :: raw :: c_int , downKey : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_draw_pixel ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_pixel_v ( position : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line ( startPosX : :: std :: os :: raw :: c_int , startPosY : :: std :: os :: raw :: c_int , endPosX : :: std :: os :: raw :: c_int , endPosY : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_v ( startPos : rf_vector2 , endPos : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_ex ( startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_bezier ( startPos : rf_vector2 , endPos : rf_vector2 , thick : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_line_strip ( points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle ( centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_sector ( center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_sector_lines ( center : rf_vector2 , radius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_gradient ( centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color1 : rf_color , color2 : rf_color ) ; } extern "C" { pub fn rf_draw_circle_v ( center : rf_vector2 , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle_lines ( centerX : :: std :: os :: raw :: c_int , centerY : :: std :: os :: raw :: c_int , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_ring ( center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_ring_lines ( center : rf_vector2 , innerRadius : f32 , outerRadius : f32 , startAngle : :: std :: os :: raw :: c_int , endAngle : :: std :: os :: raw :: c_int , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_v ( position : rf_vector2 , size : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_rec ( rec : rf_rectangle , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_pro ( rec : rf_rectangle , origin : rf_vector2 , rotation : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_gradient_v ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_gradient_h ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color1 : rf_color , color2 : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_gradient_ex ( rec : rf_rectangle , col1 : rf_color , col2 : rf_color , col3 : rf_color , col4 : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_lines ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_lines_ex ( rec : rf_rectangle , lineThick : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_rounded ( rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_rectangle_rounded_lines ( rec : rf_rectangle , roundness : f32 , segments : :: std :: os :: raw :: c_int , lineThick : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle ( v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle_lines ( v1 : rf_vector2 , v2 : rf_vector2 , v3 : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle_fan ( points : * mut rf_vector2 , numPoints : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_triangle_strip ( points : * mut rf_vector2 , pointsCount : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_poly ( center : rf_vector2 , sides : :: std :: os :: raw :: c_int , radius : f32 , rotation : f32 , color : rf_color ) ; } extern "C" { pub fn rf_set_shapes_texture ( texture : rf_texture2d , source : rf_rectangle ) ; } extern "C" { pub fn rf_load_image ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_image ; } extern "C" { pub fn rf_load_image_ex ( pixels : * mut rf_color , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_load_image_pro ( data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_load_image_raw ( fileName : * const :: std :: os :: raw :: c_char , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , headerSize : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_export_image ( image : rf_image , fileName : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn rf_load_texture ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_from_image ( image : rf_image ) -> rf_texture2d ; } extern "C" { pub fn rf_load_texture_cubemap ( image : rf_image , layoutType : :: std :: os :: raw :: c_int ) -> rf_texture_cubemap ; } extern "C" { pub fn rf_load_render_texture ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> rf_render_texture2d ; } extern "C" { pub fn rf_unload_image ( image : rf_image ) ; } extern "C" { pub fn rf_unload_texture ( texture : rf_texture2d ) ; } extern "C" { pub fn rf_unload_render_texture ( target : rf_render_texture2d ) ; } extern "C" { pub fn rf_get_image_data ( image : rf_image ) -> * mut rf_color ; } extern "C" { pub fn rf_get_image_data_normalized ( image : rf_image ) -> * mut rf_vector4 ; } extern "C" { pub fn rf_get_image_alpha_border ( image : rf_image , threshold : f32 ) -> rf_rectangle ; } extern "C" { pub fn rf_get_pixel_data_size ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_get_texture_data ( texture : rf_texture2d ) -> rf_image ; } extern "C" { pub fn rf_get_screen_data ( ) -> rf_image ; } extern "C" { pub fn rf_update_texture ( texture : rf_texture2d , pixels : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn rf_image_copy ( image : rf_image ) -> rf_image ; } extern "C" { pub fn rf_image_from_image ( image : rf_image , rec : rf_rectangle ) -> rf_image ; } extern "C" { pub fn rf_image_to_pot ( image : * mut rf_image , fillColor : rf_color ) ; } extern "C" { pub fn rf_image_format ( image : * mut rf_image , newFormat : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_alpha_mask ( image : * mut rf_image , alphaMask : rf_image ) ; } extern "C" { pub fn rf_image_alpha_clear ( image : * mut rf_image , color : rf_color , threshold : f32 ) ; } extern "C" { pub fn rf_image_alpha_crop ( image : * mut rf_image , threshold : f32 ) ; } extern "C" { pub fn rf_image_alpha_premultiply ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_crop ( image : * mut rf_image , crop : rf_rectangle ) ; } extern "C" { pub fn rf_image_resize ( image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_resize_nn ( image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_resize_canvas ( image : * mut rf_image , newWidth : :: std :: os :: raw :: c_int , newHeight : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_image_mipmaps ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_dither ( image : * mut rf_image , rBpp : :: std :: os :: raw :: c_int , gBpp : :: std :: os :: raw :: c_int , bBpp : :: std :: os :: raw :: c_int , aBpp : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_extract_palette ( image : rf_image , maxPaletteSize : :: std :: os :: raw :: c_int , extractCount : * mut :: std :: os :: raw :: c_int ) -> * mut rf_color ; } extern "C" { pub fn rf_image_text ( text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color ) -> rf_image ; } extern "C" { pub fn rf_image_text_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , tint : rf_color ) -> rf_image ; } extern "C" { pub fn rf_image_draw ( dst : * mut rf_image , src : rf_image , srcRec : rf_rectangle , dstRec : rf_rectangle , tint : rf_color ) ; } extern "C" { pub fn rf_image_draw_rectangle ( dst : * mut rf_image , rec : rf_rectangle , color : rf_color ) ; } extern "C" { pub fn rf_image_draw_rectangle_lines ( dst : * mut rf_image , rec : rf_rectangle , thick : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_image_draw_text ( dst : * mut rf_image , position : rf_vector2 , text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_image_draw_text_ex ( dst : * mut rf_image , position : rf_vector2 , font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 , color : rf_color ) ; } extern "C" { pub fn rf_image_flip_vertical ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_flip_horizontal ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_rotate_cw ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_rotate_ccw ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_color_tint ( image : * mut rf_image , color : rf_color ) ; } extern "C" { pub fn rf_image_color_invert ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_color_grayscale ( image : * mut rf_image ) ; } extern "C" { pub fn rf_image_color_contrast ( image : * mut rf_image , contrast : f32 ) ; } extern "C" { pub fn rf_image_color_brightness ( image : * mut rf_image , brightness : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_image_color_replace ( image : * mut rf_image , color : rf_color , replace : rf_color ) ; } extern "C" { pub fn rf_gen_image_color ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , color : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_v ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , top : rf_color , bottom : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_h ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , left : rf_color , right : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_gradient_radial ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , density : f32 , inner : rf_color , outer : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_checked ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , checksX : :: std :: os :: raw :: c_int , checksY : :: std :: os :: raw :: c_int , col1 : rf_color , col2 : rf_color ) -> rf_image ; } extern "C" { pub fn rf_gen_image_white_noise ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , factor : f32 ) -> rf_image ; } extern "C" { pub fn rf_gen_image_perlin_noise ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , offset_x : :: std :: os :: raw :: c_int , offset_y : :: std :: os :: raw :: c_int , scale : f32 ) -> rf_image ; } extern "C" { pub fn rf_gen_image_cellular ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , tileSize : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_gen_texture_mipmaps ( texture : * mut rf_texture2d ) ; } extern "C" { pub fn rf_set_texture_filter ( texture : rf_texture2d , filterMode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_texture_wrap ( texture : rf_texture2d , wrapMode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_draw_texture ( texture : rf_texture2d , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_v ( texture : rf_texture2d , position : rf_vector2 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_ex ( texture : rf_texture2d , position : rf_vector2 , rotation : f32 , scale : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_rec ( texture : rf_texture2d , source_rec : rf_rectangle , position : rf_vector2 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_quad ( texture : rf_texture2d , tiling : rf_vector2 , offset : rf_vector2 , quad : rf_rectangle , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_pro ( texture : rf_texture2d , source_rec : rf_rectangle , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_texture_npatch ( texture : rf_texture2d , nPatchInfo : rf_npatch_info , destRec : rf_rectangle , origin : rf_vector2 , rotation : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_get_font_default ( ) -> rf_font ; } extern "C" { pub fn rf_load_font ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_font ; } extern "C" { pub fn rf_load_font_ex ( fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int ) -> rf_font ; } extern "C" { pub fn rf_load_font_async ( fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int ) -> rf_load_font_async_result ; } extern "C" { pub fn rf_finish_load_font_async ( fontJobResult : rf_load_font_async_result ) -> rf_font ; } extern "C" { pub fn rf_load_font_from_image ( image : rf_image , key : rf_color , firstChar : :: std :: os :: raw :: c_int ) -> rf_font ; } extern "C" { pub fn rf_load_font_data ( fileName : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int , fontChars : * mut :: std :: os :: raw :: c_int , chars_count : :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int ) -> * mut rf_char_info ; } extern "C" { pub fn rf_gen_image_font_atlas ( chars : * const rf_char_info , recs : * mut * mut rf_rectangle , chars_count : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , padding : :: std :: os :: raw :: c_int , packMethod : :: std :: os :: raw :: c_int ) -> rf_image ; } extern "C" { pub fn rf_unload_font ( font : rf_font ) ; } extern "C" { pub fn rf_unload_font_default ( ) ; } extern "C" { pub fn rf_draw_fps ( posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_draw_text ( text : * const :: std :: os :: raw :: c_char , posX : :: std :: os :: raw :: c_int , posY : :: std :: os :: raw :: c_int , fontSize : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_text_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_text_from_buffer ( font : rf_font , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , position : rf_vector2 , fontSize : f32 , spacing : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_text_rec ( font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color ) ; } extern "C" { pub fn rf_draw_text_rec_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , rec : rf_rectangle , fontSize : f32 , spacing : f32 , wordWrap : bool , tint : rf_color , selectStart : :: std :: os :: raw :: c_int , selectLength : :: std :: os :: raw :: c_int , selectText : rf_color , selectBack : rf_color ) ; } extern "C" { pub fn rf_measure_text ( text : * const :: std :: os :: raw :: c_char , fontSize : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_text_ex ( font : rf_font , text : * const :: std :: os :: raw :: c_char , fontSize : f32 , spacing : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_measure_text_from_buffer ( font : rf_font , text : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , fontSize : f32 , spacing : f32 ) -> rf_vector2 ; } extern "C" { pub fn rf_get_glyph_index ( font : rf_font , character : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_measure_height_of_text_in_container ( font : rf_font , fontSize : f32 , text : * const :: std :: os :: raw :: c_char , length : :: std :: os :: raw :: c_int , container_width : f32 ) -> f32 ; } extern "C" { pub fn rf_draw_line3d ( startPos : rf_vector3 , endPos : rf_vector3 , color : rf_color ) ; } extern "C" { pub fn rf_draw_circle3d ( center : rf_vector3 , radius : f32 , rotationAxis : rf_vector3 , rotationAngle : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube ( position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_v ( position : rf_vector3 , size : rf_vector3 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_wires ( position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_wires_v ( position : rf_vector3 , size : rf_vector3 , color : rf_color ) ; } extern "C" { pub fn rf_draw_cube_texture ( texture : rf_texture2d , position : rf_vector3 , width : f32 , height : f32 , length : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_sphere ( centerPos : rf_vector3 , radius : f32 , color : rf_color ) ; } extern "C" { pub fn rf_draw_sphere_ex ( centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_sphere_wires ( centerPos : rf_vector3 , radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_cylinder ( position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_cylinder_wires ( position : rf_vector3 , radiusTop : f32 , radiusBottom : f32 , height : f32 , slices : :: std :: os :: raw :: c_int , color : rf_color ) ; } extern "C" { pub fn rf_draw_plane ( centerPos : rf_vector3 , size : rf_vector2 , color : rf_color ) ; } extern "C" { pub fn rf_draw_ray ( ray : rf_ray , color : rf_color ) ; } extern "C" { pub fn rf_draw_grid ( slices : :: std :: os :: raw :: c_int , spacing : f32 ) ; } extern "C" { pub fn rf_draw_gizmo ( position : rf_vector3 ) ; } extern "C" { pub fn rf_load_model ( fileName : * const :: std :: os :: raw :: c_char ) -> rf_model ; } extern "C" { pub fn rf_load_model_from_mesh ( mesh : rf_mesh ) -> rf_model ; } extern "C" { pub fn rf_unload_model ( model : rf_model ) ; } extern "C" { pub fn rf_load_meshes ( fileName : * const :: std :: os :: raw :: c_char , mesh_count : * mut :: std :: os :: raw :: c_int ) -> * mut rf_mesh ; } extern "C" { pub fn rf_export_mesh ( mesh : rf_mesh , fileName : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn rf_unload_mesh ( mesh : rf_mesh ) ; } extern "C" { pub fn rf_load_materials ( fileName : * const :: std :: os :: raw :: c_char , material_count : * mut :: std :: os :: raw :: c_int ) -> * mut rf_material ; } extern "C" { pub fn rf_load_material_default ( ) -> rf_material ; } extern "C" { pub fn rf_unload_material ( material : rf_material ) ; } extern "C" { pub fn rf_set_material_texture ( material : * mut rf_material , mapType : :: std :: os :: raw :: c_int , texture : rf_texture2d ) ; } extern "C" { pub fn rf_set_model_mesh_material ( model : * mut rf_model , meshId : :: std :: os :: raw :: c_int , materialId : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_load_model_animations ( fileName : * const :: std :: os :: raw :: c_char , animsCount : * mut :: std :: os :: raw :: c_int ) -> * mut rf_model_animation ; } extern "C" { pub fn rf_update_model_animation ( model : rf_model , anim : rf_model_animation , frame : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_unload_model_animation ( anim : rf_model_animation ) ; } extern "C" { pub fn rf_is_model_animation_valid ( model : rf_model , anim : rf_model_animation ) -> bool ; } extern "C" { pub fn rf_gen_mesh_poly ( sides : :: std :: os :: raw :: c_int , radius : f32 ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_plane ( width : f32 , length : f32 , resX : :: std :: os :: raw :: c_int , resZ : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cube ( width : f32 , height : f32 , length : f32 ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_sphere ( radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_hemi_sphere ( radius : f32 , rings : :: std :: os :: raw :: c_int , slices : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cylinder ( radius : f32 , height : f32 , slices : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_torus ( radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_knot ( radius : f32 , size : f32 , radSeg : :: std :: os :: raw :: c_int , sides : :: std :: os :: raw :: c_int ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_heightmap ( heightmap : rf_image , size : rf_vector3 ) -> rf_mesh ; } extern "C" { pub fn rf_gen_mesh_cubicmap ( cubicmap : rf_image , cubeSize : rf_vector3 ) -> rf_mesh ; } extern "C" { pub fn rf_mesh_bounding_box ( mesh : rf_mesh ) -> rf_bounding_box ; } extern "C" { pub fn rf_mesh_tangents ( mesh : * mut rf_mesh ) ; } extern "C" { pub fn rf_mesh_binormals ( mesh : * mut rf_mesh ) ; } extern "C" { pub fn rf_draw_model ( model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_model_ex ( model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_model_wires ( model : rf_model , position : rf_vector3 , scale : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_model_wires_ex ( model : rf_model , position : rf_vector3 , rotationAxis : rf_vector3 , rotationAngle : f32 , scale : rf_vector3 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_bounding_box ( box_ : rf_bounding_box , color : rf_color ) ; } extern "C" { pub fn rf_draw_billboard ( camera : rf_camera3d , texture : rf_texture2d , center : rf_vector3 , size : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_draw_billboard_rec ( camera : rf_camera3d , texture : rf_texture2d , source_rec : rf_rectangle , center : rf_vector3 , size : f32 , tint : rf_color ) ; } extern "C" { pub fn rf_check_collision_spheres ( centerA : rf_vector3 , radiusA : f32 , centerB : rf_vector3 , radiusB : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_boxes ( box1 : rf_bounding_box , box2 : rf_bounding_box ) -> bool ; } extern "C" { pub fn rf_check_collision_box_sphere ( box_ : rf_bounding_box , center : rf_vector3 , radius : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere ( ray : rf_ray , center : rf_vector3 , radius : f32 ) -> bool ; } extern "C" { pub fn rf_check_collision_ray_sphere_ex ( ray : rf_ray , center : rf_vector3 , radius : f32 , collisionPoint : * mut rf_vector3 ) -> bool ; } extern "C" { pub fn rf_check_collision_ray_box ( ray : rf_ray , box_ : rf_bounding_box ) -> bool ; } extern "C" { pub fn rf_get_collision_ray_model ( ray : rf_ray , model : rf_model ) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_triangle ( ray : rf_ray , p1 : rf_vector3 , p2 : rf_vector3 , p3 : rf_vector3 ) -> rf_ray_hit_info ; } extern "C" { pub fn rf_get_collision_ray_ground ( ray : rf_ray , groundHeight : f32 ) -> rf_ray_hit_info ; } extern "C" { pub fn rf_load_shader ( vsFileName : * const :: std :: os :: raw :: c_char , fsFileName : * const :: std :: os :: raw :: c_char ) -> rf_shader ; } extern "C" { pub fn rf_load_shader_code ( vsCode : * const :: std :: os :: raw :: c_char , fsCode : * const :: std :: os :: raw :: c_char ) -> rf_shader ; } extern "C" { pub fn rf_unload_shader ( shader : rf_shader ) ; } extern "C" { pub fn rf_get_shader_default ( ) -> rf_shader ; } extern "C" { pub fn rf_get_texture_default ( ) -> rf_texture2d ; } extern "C" { pub fn rf_get_shader_location ( shader : rf_shader , uniformName : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rf_set_shader_value ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_shader_value_v ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , value : * const :: std :: os :: raw :: c_void , uniformType : :: std :: os :: raw :: c_int , count : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_set_shader_value_matrix ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , mat : rf_matrix ) ; } extern "C" { pub fn rf_set_shader_value_texture ( shader : rf_shader , uniformLoc : :: std :: os :: raw :: c_int , texture : rf_texture2d ) ; } extern "C" { pub fn rf_set_matrix_projection ( proj : rf_matrix ) ; } extern "C" { pub fn rf_set_matrix_modelview ( view : rf_matrix ) ; } extern "C" { pub fn rf_get_matrix_modelview ( ) -> rf_matrix ; } extern "C" { pub fn rf_get_matrix_projection ( ) -> rf_matrix ; } extern "C" { pub fn rf_gen_texture_cubemap ( shader : rf_shader , skyHDR : rf_texture2d , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_irradiance ( shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_prefilter ( shader : rf_shader , cubemap : rf_texture2d , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_gen_texture_brdf ( shader : rf_shader , size : :: std :: os :: raw :: c_int ) -> rf_texture2d ; } extern "C" { pub fn rf_begin_shader_mode ( shader : rf_shader ) ; } extern "C" { pub fn rf_end_shader_mode ( ) ; } extern "C" { pub fn rf_begin_blend_mode ( mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_end_blend_mode ( ) ; } extern "C" { pub fn rf_matrix_mode ( mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_push_matrix ( ) ; } extern "C" { pub fn rf_pop_matrix ( ) ; } extern "C" { pub fn rf_load_identity ( ) ; } extern "C" { pub fn rf_translatef ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_rotatef ( angleDeg : f32 , x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_scalef ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_mult_matrixf ( matf : * mut f32 ) ; } extern "C" { pub fn rf_frustum ( left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64 ) ; } extern "C" { pub fn rf_ortho ( left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64 ) ; } extern "C" { pub fn rf_gl_viewport ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_begin ( mode : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_end ( ) ; } extern "C" { pub fn rf_gl_vertex2i ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_vertex2f ( x : f32 , y : f32 ) ; } extern "C" { pub fn rf_gl_vertex3f ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_gl_tex_coord2f ( x : f32 , y : f32 ) ; } extern "C" { pub fn rf_gl_normal3f ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_gl_color4ub ( r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte ) ; } extern "C" { pub fn rf_gl_color3f ( x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn rf_gl_color4f ( x : f32 , y : f32 , z : f32 , w : f32 ) ; } extern "C" { pub fn rf_gl_enable_texture ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_disable_texture ( ) ; } extern "C" { pub fn rf_gl_texture_parameters ( id : :: std :: os :: raw :: c_uint , param : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_enable_render_texture ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_disable_render_texture ( ) ; } extern "C" { pub fn rf_gl_enable_depth_test ( ) ; } extern "C" { pub fn rf_gl_disable_depth_test ( ) ; } extern "C" { pub fn rf_gl_enable_backface_culling ( ) ; } extern "C" { pub fn rf_gl_disable_backface_culling ( ) ; } extern "C" { pub fn rf_gl_enable_scissor_test ( ) ; } extern "C" { pub fn rf_gl_disable_scissor_test ( ) ; } extern "C" { pub fn rf_gl_scissor ( x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_enable_wire_mode ( ) ; } extern "C" { pub fn rf_gl_disable_wire_mode ( ) ; } extern "C" { pub fn rf_gl_delete_textures ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_delete_render_textures ( target : rf_render_texture2d ) ; } extern "C" { pub fn rf_gl_delete_shader ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_delete_vertex_arrays ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_delete_buffers ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_clear_color ( r : rf_byte , g : rf_byte , b : rf_byte , a : rf_byte ) ; } extern "C" { pub fn rf_gl_clear_screen_buffers ( ) ; } extern "C" { pub fn rf_gl_update_buffer ( bufferId : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , dataSize : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_load_attrib_buffer ( vao_id : :: std :: os :: raw :: c_uint , shaderLoc : :: std :: os :: raw :: c_int , buffer : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , dynamic : bool ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_close ( ) ; } extern "C" { pub fn rf_gl_draw ( ) ; } extern "C" { pub fn rf_gl_check_buffer_limit ( vCount : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn rf_gl_set_debug_marker ( text : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn rf_gl_load_extensions ( loader : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn rf_gl_unproject ( source : rf_vector3 , proj : rf_matrix , view : rf_matrix ) -> rf_vector3 ; } extern "C" { pub fn rf_gl_load_texture ( data : * mut :: std :: os :: raw :: c_void , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , mipmapCount : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_depth ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , bits : :: std :: os :: raw :: c_int , useRenderBuffer : bool ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_load_texture_cubemap ( data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn rf_gl_update_texture ( id : :: std :: os :: raw :: c_uint , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn rf_gl_get_gl_texture_formats ( format : :: std :: os :: raw :: c_int , glInternalFormat : * mut :: std :: os :: raw :: c_uint , glFormat : * mut :: std :: os :: raw :: c_uint , glType : * mut :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_unload_texture ( id : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rf_gl_generate_mipmaps ( texture : * mut rf_texture2d ) ; } extern "C" { pub fn rf_gl_read_texture_pixels ( texture : rf_texture2d ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rf_gl_read_screen_pixels ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn rf_gl_load_render_texture ( width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , depthBits : :: std :: os :: raw :: c_int , useDepthTexture : bool ) -> rf_render_texture2d ; } extern "C" { pub fn rf_gl_render_texture_attach ( target : rf_render_texture , id : :: std :: os :: raw :: c_uint , attachType : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_render_texture_complete ( target : rf_render_texture ) -> bool ; } extern "C" { pub fn rf_gl_load_mesh ( mesh : * mut rf_mesh , dynamic : bool ) ; } extern "C" { pub fn rf_gl_update_mesh ( mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_update_mesh_at ( mesh : rf_mesh , buffer : :: std :: os :: raw :: c_int , num : :: std :: os :: raw :: c_int , index : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn rf_gl_draw_mesh ( mesh : rf_mesh , material : rf_material , transform : rf_matrix ) ; } extern "C" { pub fn rf_gl_unload_mesh ( mesh : rf_mesh ) ; } extern "C" { pub static mut _rf_global_context_ptr : * mut rf_context ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig ( __x : f64 , __y : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acos ( __x : f64 ) -> f64 ; } extern "C" { pub fn asin ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asin ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atan ( __x : f64 ) -> f64 ; } extern "C" { pub fn atan2 ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn __atan2 ( __y : f64 , __x : f64 ) -> f64 ; } extern "C" { pub fn cos ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cos ( __x : f64 ) -> f64 ; } extern "C" { pub fn sin ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sin ( __x : f64 ) -> f64 ; } extern "C" { pub fn tan ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tan ( __x : f64 ) -> f64 ; } extern "C" { pub fn cosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn sinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn tanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __tanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn acosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __acosh ( __x : f64 ) -> f64 ; } extern "C" { pub fn asinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __asinh ( __x : f64 ) -> f64 ; } extern "C" { pub fn atanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn __atanh ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp ( __x : f64 ) -> f64 ; } extern "C" { pub fn frexp ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __frexp ( __x : f64 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ldexp ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __ldexp ( __x : f64 , __exponent : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn log ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log ( __x : f64 ) -> f64 ; } extern "C" { pub fn log10 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log10 ( __x : f64 ) -> f64 ; } extern "C" { pub fn modf ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn __modf ( __x : f64 , __iptr : * mut f64 ) -> f64 ; } extern "C" { pub fn expm1 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __expm1 ( __x : f64 ) -> f64 ; } extern "C" { pub fn log1p ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log1p ( __x : f64 ) -> f64 ; } extern "C" { pub fn logb ( __x : f64 ) -> f64 ; } extern "C" { pub fn __logb ( __x : f64 ) -> f64 ; } extern "C" { pub fn exp2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __exp2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn log2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn __log2 ( __x : f64 ) -> f64 ; } extern "C" { pub fn pow ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __pow ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn sqrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn __sqrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn hypot ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __hypot ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn cbrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn __cbrt ( __x : f64 ) -> f64 ; } extern "C" { pub fn ceil ( __x : f64 ) -> f64 ; } extern "C" { pub fn __ceil ( __x : f64 ) -> f64 ; } extern "C" { pub fn fabs ( __x : f64 ) -> f64 ; } extern "C" { pub fn __fabs ( __x : f64 ) -> f64 ; } extern "C" { pub fn floor ( __x : f64 ) -> f64 ; } extern "C" { pub fn __floor ( __x : f64 ) -> f64 ; } extern "C" { pub fn fmod ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmod ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn isinf ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __drem ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn significand ( __x : f64 ) -> f64 ; } extern "C" { pub fn __significand ( __x : f64 ) -> f64 ; } extern "C" { pub fn copysign ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __copysign ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nan ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn __nan ( __tagb : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn isnan ( __value : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn j1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __j1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn jn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __jn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn y0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y0 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn y1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __y1 ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn yn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn __yn ( arg1 : :: std :: os :: raw :: c_int , arg2 : f64 ) -> f64 ; } extern "C" { pub fn erf ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erf ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn erfc ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __erfc ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __lgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn tgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __tgamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn gamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn __gamma ( arg1 : f64 ) -> f64 ; } extern "C" { pub fn lgamma_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __lgamma_r ( arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn rint ( __x : f64 ) -> f64 ; } extern "C" { pub fn __rint ( __x : f64 ) -> f64 ; } extern "C" { pub fn nextafter ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __nextafter ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn nexttoward ( __x : f64 , __y : u128 ) -> f64 ; } extern "C" { pub fn __nexttoward ( __x : f64 , __y : u128 ) -> f64 ; } extern "C" { pub fn remainder ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __remainder ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn scalbn ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __scalbn ( __x : f64 , __n : :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn ilogb ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb ( __x : f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn __scalbln ( __x : f64 , __n : :: std :: os :: raw :: c_long ) -> f64 ; } extern "C" { pub fn nearbyint ( __x : f64 ) -> f64 ; } extern "C" { pub fn __nearbyint ( __x : f64 ) -> f64 ; } extern "C" { pub fn round ( __x : f64 ) -> f64 ; } extern "C" { pub fn __round ( __x : f64 ) -> f64 ; } extern "C" { pub fn trunc ( __x : f64 ) -> f64 ; } extern "C" { pub fn __trunc ( __x : f64 ) -> f64 ; } extern "C" { pub fn remquo ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn __remquo ( __x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int ) -> f64 ; } extern "C" { pub fn lrint ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround ( __x : f64 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround ( __x : f64 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fdim ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmax ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmax ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fmin ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn __fmin ( __x : f64 , __y : f64 ) -> f64 ; } extern "C" { pub fn fma ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn __fma ( __x : f64 , __y : f64 , __z : f64 ) -> f64 ; } extern "C" { pub fn scalb ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __scalb ( __x : f64 , __n : f64 ) -> f64 ; } extern "C" { pub fn __fpclassifyf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf ( __x : f32 , __y : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __acosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn asinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __asinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __atanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atan2f ( __y : f32 , __x : f32 ) -> f32 ; } extern "C" { pub fn __atan2f ( __y : f32 , __x : f32 ) -> f32 ; } extern "C" { pub fn cosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __cosf ( __x : f32 ) -> f32 ; } extern "C" { pub fn sinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sinf ( __x : f32 ) -> f32 ; } extern "C" { pub fn tanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __tanf ( __x : f32 ) -> f32 ; } extern "C" { pub fn coshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __coshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn sinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn tanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __tanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn acoshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __acoshf ( __x : f32 ) -> f32 ; } extern "C" { pub fn asinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __asinhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn atanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __atanhf ( __x : f32 ) -> f32 ; } extern "C" { pub fn expf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __expf ( __x : f32 ) -> f32 ; } extern "C" { pub fn frexpf ( __x : f32 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __frexpf ( __x : f32 , __exponent : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn ldexpf ( __x : f32 , __exponent : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __ldexpf ( __x : f32 , __exponent : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn logf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __logf ( __x : f32 ) -> f32 ; } extern "C" { pub fn log10f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log10f ( __x : f32 ) -> f32 ; } extern "C" { pub fn modff ( __x : f32 , __iptr : * mut f32 ) -> f32 ; } extern "C" { pub fn __modff ( __x : f32 , __iptr : * mut f32 ) -> f32 ; } extern "C" { pub fn expm1f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __expm1f ( __x : f32 ) -> f32 ; } extern "C" { pub fn log1pf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log1pf ( __x : f32 ) -> f32 ; } extern "C" { pub fn logbf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __logbf ( __x : f32 ) -> f32 ; } extern "C" { pub fn exp2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __exp2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn log2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn __log2f ( __x : f32 ) -> f32 ; } extern "C" { pub fn powf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __powf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn sqrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __sqrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn hypotf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __hypotf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn cbrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __cbrtf ( __x : f32 ) -> f32 ; } extern "C" { pub fn ceilf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __ceilf ( __x : f32 ) -> f32 ; } extern "C" { pub fn fabsf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __fabsf ( __x : f32 ) -> f32 ; } extern "C" { pub fn floorf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __floorf ( __x : f32 ) -> f32 ; } extern "C" { pub fn fmodf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fmodf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn isinff ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __dremf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn significandf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __significandf ( __x : f32 ) -> f32 ; } extern "C" { pub fn copysignf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __copysignf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn nanf ( __tagb : * const :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn __nanf ( __tagb : * const :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn isnanf ( __value : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __j0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn j1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __j1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn jnf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn __jnf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn y0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __y0f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn y1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __y1f ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn ynf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn __ynf ( arg1 : :: std :: os :: raw :: c_int , arg2 : f32 ) -> f32 ; } extern "C" { pub fn erff ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __erff ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn erfcf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __erfcf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn lgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __lgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn tgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __tgammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn gammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn __gammaf ( arg1 : f32 ) -> f32 ; } extern "C" { pub fn lgammaf_r ( arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __lgammaf_r ( arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn rintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __rintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn nextafterf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __nextafterf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn nexttowardf ( __x : f32 , __y : u128 ) -> f32 ; } extern "C" { pub fn __nexttowardf ( __x : f32 , __y : u128 ) -> f32 ; } extern "C" { pub fn remainderf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __remainderf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn scalbnf ( __x : f32 , __n : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __scalbnf ( __x : f32 , __n : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn ilogbf ( __x : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf ( __x : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf ( __x : f32 , __n : :: std :: os :: raw :: c_long ) -> f32 ; } extern "C" { pub fn __scalblnf ( __x : f32 , __n : :: std :: os :: raw :: c_long ) -> f32 ; } extern "C" { pub fn nearbyintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __nearbyintf ( __x : f32 ) -> f32 ; } extern "C" { pub fn roundf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __roundf ( __x : f32 ) -> f32 ; } extern "C" { pub fn truncf ( __x : f32 ) -> f32 ; } extern "C" { pub fn __truncf ( __x : f32 ) -> f32 ; } extern "C" { pub fn remquof ( __x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn __remquof ( __x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn lrintf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf ( __x : f32 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf ( __x : f32 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fdimf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fmaxf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fmaxf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fminf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn __fminf ( __x : f32 , __y : f32 ) -> f32 ; } extern "C" { pub fn fmaf ( __x : f32 , __y : f32 , __z : f32 ) -> f32 ; } extern "C" { pub fn __fmaf ( __x : f32 , __y : f32 , __z : f32 ) -> f32 ; } extern "C" { pub fn scalbf ( __x : f32 , __n : f32 ) -> f32 ; } extern "C" { pub fn __scalbf ( __x : f32 , __n : f32 ) -> f32 ; } extern "C" { pub fn __fpclassifyl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl ( __x : u128 , __y : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __acosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn asinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __asinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn atanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __atanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn atan2l ( __y : u128 , __x : u128 ) -> u128 ; } extern "C" { pub fn __atan2l ( __y : u128 , __x : u128 ) -> u128 ; } extern "C" { pub fn cosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __cosl ( __x : u128 ) -> u128 ; } extern "C" { pub fn sinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __sinl ( __x : u128 ) -> u128 ; } extern "C" { pub fn tanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __tanl ( __x : u128 ) -> u128 ; } extern "C" { pub fn coshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __coshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn sinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __sinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn tanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __tanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn acoshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __acoshl ( __x : u128 ) -> u128 ; } extern "C" { pub fn asinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __asinhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn atanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __atanhl ( __x : u128 ) -> u128 ; } extern "C" { pub fn expl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __expl ( __x : u128 ) -> u128 ; } extern "C" { pub fn frexpl ( __x : u128 , __exponent : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __frexpl ( __x : u128 , __exponent : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn ldexpl ( __x : u128 , __exponent : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __ldexpl ( __x : u128 , __exponent : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn logl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __logl ( __x : u128 ) -> u128 ; } extern "C" { pub fn log10l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __log10l ( __x : u128 ) -> u128 ; } extern "C" { pub fn modfl ( __x : u128 , __iptr : * mut u128 ) -> u128 ; } extern "C" { pub fn __modfl ( __x : u128 , __iptr : * mut u128 ) -> u128 ; } extern "C" { pub fn expm1l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __expm1l ( __x : u128 ) -> u128 ; } extern "C" { pub fn log1pl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __log1pl ( __x : u128 ) -> u128 ; } extern "C" { pub fn logbl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __logbl ( __x : u128 ) -> u128 ; } extern "C" { pub fn exp2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __exp2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn log2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn __log2l ( __x : u128 ) -> u128 ; } extern "C" { pub fn powl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __powl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn sqrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __sqrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn hypotl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __hypotl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn cbrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __cbrtl ( __x : u128 ) -> u128 ; } extern "C" { pub fn ceill ( __x : u128 ) -> u128 ; } extern "C" { pub fn __ceill ( __x : u128 ) -> u128 ; } extern "C" { pub fn fabsl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __fabsl ( __x : u128 ) -> u128 ; } extern "C" { pub fn floorl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __floorl ( __x : u128 ) -> u128 ; } extern "C" { pub fn fmodl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fmodl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn isinfl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __dreml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn significandl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __significandl ( __x : u128 ) -> u128 ; } extern "C" { pub fn copysignl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __copysignl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn nanl ( __tagb : * const :: std :: os :: raw :: c_char ) -> u128 ; } extern "C" { pub fn __nanl ( __tagb : * const :: std :: os :: raw :: c_char ) -> u128 ; } extern "C" { pub fn isnanl ( __value : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __j0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn j1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __j1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn jnl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn __jnl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn y0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __y0l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn y1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __y1l ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn ynl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn __ynl ( arg1 : :: std :: os :: raw :: c_int , arg2 : u128 ) -> u128 ; } extern "C" { pub fn erfl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __erfl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn erfcl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __erfcl ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn lgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __lgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn tgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __tgammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn gammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn __gammal ( arg1 : u128 ) -> u128 ; } extern "C" { pub fn lgammal_r ( arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __lgammal_r ( arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn rintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __rintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn nextafterl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __nextafterl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn nexttowardl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __nexttowardl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn remainderl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __remainderl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn scalbnl ( __x : u128 , __n : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __scalbnl ( __x : u128 , __n : :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn ilogbl ( __x : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl ( __x : u128 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl ( __x : u128 , __n : :: std :: os :: raw :: c_long ) -> u128 ; } extern "C" { pub fn __scalblnl ( __x : u128 , __n : :: std :: os :: raw :: c_long ) -> u128 ; } extern "C" { pub fn nearbyintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __nearbyintl ( __x : u128 ) -> u128 ; } extern "C" { pub fn roundl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __roundl ( __x : u128 ) -> u128 ; } extern "C" { pub fn truncl ( __x : u128 ) -> u128 ; } extern "C" { pub fn __truncl ( __x : u128 ) -> u128 ; } extern "C" { pub fn remquol ( __x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn __remquol ( __x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int ) -> u128 ; } extern "C" { pub fn lrintl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl ( __x : u128 ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl ( __x : u128 ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fdiml ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn fmaxl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fmaxl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn fminl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn __fminl ( __x : u128 , __y : u128 ) -> u128 ; } extern "C" { pub fn fmal ( __x : u128 , __y : u128 , __z : u128 ) -> u128 ; } extern "C" { pub fn __fmal ( __x : u128 , __y : u128 , __z : u128 ) -> u128 ; } extern "C" { pub fn scalbl ( __x : u128 , __n : u128 ) -> u128 ; } extern "C" { pub fn __scalbl ( __x : u128 , __n : u128 ) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pub const FP_ZERO : _bindgen_ty_1 = 2 ; pub const FP_SUBNORMAL : _bindgen_ty_1 = 3 ; pub const FP_NORMAL : _bindgen_ty_1 = 4 ; pub type _bindgen_ty_1 = u32 ; pub type wchar_t = :: std :: os :: raw :: c_int ; pub const idtype_t_P_ALL : idtype_t = 0 ; pub const idtype_t_P_PID : idtype_t = 1 ; pub const idtype_t_P_PGID : idtype_t = 2 ; pub type idtype_t = u32 ; # [ 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 ) -> u128 ; } extern "C" { pub fn strtol ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn strtoul ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strtoq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtouq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn strtoll ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtoull ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn l64a ( __n : :: std :: os :: raw :: c_long ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn a64l ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type clock_t = __clock_t ; pub type clockid_t = __clockid_t ; pub type time_t = __time_t ; pub type timer_t = __timer_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = :: std :: os :: raw :: c_uchar ; pub type u_int16_t = :: std :: os :: raw :: c_ushort ; pub type u_int32_t = :: std :: os :: raw :: c_uint ; pub type u_int64_t = :: std :: os :: raw :: c_ulong ; 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 ) ) ) ; } # [ 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 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 ; } extern "C" { pub fn gnu_dev_major ( __dev : __dev_t ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn gnu_dev_minor ( __dev : __dev_t ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn gnu_dev_makedev ( __major : :: std :: os :: raw :: c_uint , __minor : :: std :: os :: raw :: c_uint ) -> __dev_t ; } 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 ( 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 ( 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_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 ( Copy , Clone ) ] pub struct __pthread_cond_s { pub __bindgen_anon_1 : __pthread_cond_s__bindgen_ty_1 , pub __bindgen_anon_2 : __pthread_cond_s__bindgen_ty_2 , 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 ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __pthread_cond_s__bindgen_ty_1 { pub __wseq : :: std :: os :: raw :: c_ulonglong , pub __wseq32 : __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1 > ( ) ) ) . __wseq as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) , "::" , stringify ! ( __wseq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1 > ( ) ) ) . __wseq32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) , "::" , stringify ! ( __wseq32 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __pthread_cond_s__bindgen_ty_2 { pub __g1_start : :: std :: os :: raw :: c_ulonglong , pub __g1_start32 : __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2 > ( ) ) ) . __g1_start as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) , "::" , stringify ! ( __g1_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2 > ( ) ) ) . __g1_start32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) , "::" , stringify ! ( __g1_start32 ) ) ) ; } # [ 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 > ( ) ) ) . __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 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 malloc ( __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc ( __nmemb : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc ( __ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free ( __ptr : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn alloca ( __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn valloc ( __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn posix_memalign ( __memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : usize , __size : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn aligned_alloc ( __alignment : 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 : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qfcvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qgcvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ecvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fcvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qecvt_r ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qfcvt_r ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mblen ( __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbtowc ( __pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wctomb ( __s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbstowcs ( __pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> usize ; } extern "C" { pub fn wcstombs ( __s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : usize ) -> usize ; } extern "C" { pub fn rpmatch ( __response : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsubopt ( __optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * mut :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getloadavg ( __loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ repr ( align ( 16 ) ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [ test ] fn bindgen_test_layout_max_align_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce1 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_material_t { pub name : * mut :: std :: os :: raw :: c_char , pub ambient : [ f32 ; 3usize ] , pub diffuse : [ f32 ; 3usize ] , pub specular : [ f32 ; 3usize ] , pub transmittance : [ f32 ; 3usize ] , pub emission : [ f32 ; 3usize ] , pub shininess : f32 , pub ior : f32 , pub dissolve : f32 , pub illum : :: std :: os :: raw :: c_int , pub pad0 : :: std :: os :: raw :: c_int , pub ambient_texname : * mut :: std :: os :: raw :: c_char , pub diffuse_texname : * mut :: std :: os :: raw :: c_char , pub specular_texname : * mut :: std :: os :: raw :: c_char , pub specular_highlight_texname : * mut :: std :: os :: raw :: c_char , pub bump_texname : * mut :: std :: os :: raw :: c_char , pub displacement_texname : * mut :: std :: os :: raw :: c_char , pub alpha_texname : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_tinyobj_material_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_material_t > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( tinyobj_material_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_material_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_material_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . ambient as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( ambient ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . diffuse as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( diffuse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . specular as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( specular ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . transmittance as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( transmittance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . emission as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( emission ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . shininess as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( shininess ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . ior as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( ior ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . dissolve as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( dissolve ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . illum as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( illum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . pad0 as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . ambient_texname as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( ambient_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . diffuse_texname as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( diffuse_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . specular_texname as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( specular_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . specular_highlight_texname as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( specular_highlight_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . bump_texname as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( bump_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . displacement_texname as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( displacement_texname ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_material_t > ( ) ) ) . alpha_texname as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_material_t ) , "::" , stringify ! ( alpha_texname ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_shape_t { pub name : * mut :: std :: os :: raw :: c_char , pub face_offset : :: std :: os :: raw :: c_uint , pub length : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_tinyobj_shape_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_shape_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( tinyobj_shape_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_shape_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_shape_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_shape_t > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_shape_t ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_shape_t > ( ) ) ) . face_offset as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_shape_t ) , "::" , stringify ! ( face_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_shape_t > ( ) ) ) . length as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_shape_t ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_vertex_index_t { pub v_idx : :: std :: os :: raw :: c_int , pub vt_idx : :: std :: os :: raw :: c_int , pub vn_idx : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_tinyobj_vertex_index_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_vertex_index_t > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( tinyobj_vertex_index_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_vertex_index_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_vertex_index_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_vertex_index_t > ( ) ) ) . v_idx as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_vertex_index_t ) , "::" , stringify ! ( v_idx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_vertex_index_t > ( ) ) ) . vt_idx as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_vertex_index_t ) , "::" , stringify ! ( vt_idx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_vertex_index_t > ( ) ) ) . vn_idx as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_vertex_index_t ) , "::" , stringify ! ( vn_idx ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tinyobj_attrib_t { pub num_vertices : :: std :: os :: raw :: c_uint , pub num_normals : :: std :: os :: raw :: c_uint , pub num_texcoords : :: std :: os :: raw :: c_uint , pub num_faces : :: std :: os :: raw :: c_uint , pub num_face_num_verts : :: std :: os :: raw :: c_uint , pub pad0 : :: std :: os :: raw :: c_int , pub vertices : * mut f32 , pub normals : * mut f32 , pub texcoords : * mut f32 , pub faces : * mut tinyobj_vertex_index_t , pub face_num_verts : * mut :: std :: os :: raw :: c_int , pub material_ids : * mut :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_tinyobj_attrib_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tinyobj_attrib_t > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( tinyobj_attrib_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tinyobj_attrib_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tinyobj_attrib_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_vertices as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_normals as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_texcoords as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_faces as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_faces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . num_face_num_verts as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( num_face_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . pad0 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . vertices as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( vertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . normals as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . texcoords as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( texcoords ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . faces as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( faces ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . face_num_verts as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( face_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tinyobj_attrib_t > ( ) ) ) . material_ids as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tinyobj_attrib_t ) , "::" , stringify ! ( material_ids ) ) ) ; } extern "C" { pub fn tinyobj_parse_obj ( attrib : * mut tinyobj_attrib_t , shapes : * mut * mut tinyobj_shape_t , num_shapes : * mut usize , materials : * mut * mut tinyobj_material_t , num_materials : * mut usize , buf : * const :: std :: os :: raw :: c_char , len : usize , flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tinyobj_parse_mtl_file ( materials_out : * mut * mut tinyobj_material_t , num_materials_out : * mut usize , filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tinyobj_attrib_init ( attrib : * mut tinyobj_attrib_t ) ; } extern "C" { pub fn tinyobj_attrib_free ( attrib : * mut tinyobj_attrib_t ) ; } extern "C" { pub fn tinyobj_shapes_free ( shapes : * mut tinyobj_shape_t , num_shapes : usize ) ; } extern "C" { pub fn tinyobj_materials_free ( materials : * mut tinyobj_material_t , num_materials : usize ) ; } pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [ :: std :: os :: raw :: c_char ; 4usize ] , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout___mbstate_t__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wch as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wchb as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wchb ) ) ) ; } # [ test ] fn bindgen_test_layout___mbstate_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __value as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __state ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos64_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos64_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos64_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __state ) ) ) ; } pub type va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [ :: std :: os :: raw :: c_char ; 1usize ] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_FILE > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_FILE > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_ptr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_end as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_base as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_base as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_ptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_end as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_base as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_end as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_base as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_backup_base as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_backup_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_end as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _markers as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _markers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _chain as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _chain ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _fileno as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _fileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags2 as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _old_offset as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _old_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _cur_column as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _cur_column ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _vtable_offset as * const _ as usize } , 130usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _vtable_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _shortbuf as * const _ as usize } , 131usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _shortbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _lock as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _offset as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad5 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _mode as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _unused2 as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _unused2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_FILE ; } extern "C" { pub fn remove ( __filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rename ( __old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn renameat ( __oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tmpfile ( ) -> * mut FILE ; } extern "C" { pub fn tmpnam ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tmpnam_r ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tempnam ( __dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn freopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> * mut FILE ; } extern "C" { pub fn fdopen ( __fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn fmemopen ( __s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub static mut sys_nerr : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut sys_errlist : [ * const :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub fn fileno ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fileno_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn popen ( __command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn pclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ctermid ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn flockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn ftrylockfile ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn funlockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn __assert_fail ( __assertion : * const :: std :: os :: raw :: c_char , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_uint , __function : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn __assert_perror_fail ( __errnum : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_uint , __function : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn __assert ( __assertion : * const :: std :: os :: raw :: c_char , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn memcpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memmove ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memccpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : 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 : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memcmp ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn memchr ( __s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcoll ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_ulong ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { 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 strcoll_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm_l ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize , __l : locale_t ) -> usize ; } extern "C" { pub fn strdup ( __s : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strndup ( __string : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strrchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn 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 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 : :: std :: os :: raw :: c_ulong ) ; } extern "C" { pub fn index ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn rindex ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ffs ( __i : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsl ( __l : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsll ( __ll : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn explicit_bzero ( __s : * mut :: std :: os :: raw :: c_void , __n : usize ) ; } extern "C" { pub fn strsep ( __stringp : * mut * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strsignal ( __sig : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __errno_location ( ) -> * mut :: std :: os :: raw :: c_int ; } extern "C" { pub fn dynamic_fgets ( buf : * mut * mut :: std :: os :: raw :: c_char , size : * mut usize , file : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct hash_table_entry_t { pub hash : :: std :: os :: raw :: c_ulong , pub filled : :: std :: os :: raw :: c_int , pub pad0 : :: std :: os :: raw :: c_int , pub value : :: std :: os :: raw :: c_long , pub next : * mut hash_table_entry_t , } # [ test ] fn bindgen_test_layout_hash_table_entry_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < hash_table_entry_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( hash_table_entry_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < hash_table_entry_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( hash_table_entry_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . hash as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( hash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . filled as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( filled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . pad0 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . value as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_entry_t > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_entry_t ) , "::" , stringify ! ( next ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct hash_table_t { pub hashes : * mut :: std :: os :: raw :: c_ulong , pub entries : * mut hash_table_entry_t , pub capacity : usize , pub n : usize , } # [ test ] fn bindgen_test_layout_hash_table_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < hash_table_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( hash_table_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < hash_table_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( hash_table_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . hashes as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( hashes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . entries as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( entries ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . capacity as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( capacity ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < hash_table_t > ( ) ) ) . n as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( hash_table_t ) , "::" , stringify ! ( n ) ) ) ; } pub const CommandType_COMMAND_EMPTY : CommandType = 0 ; pub const CommandType_COMMAND_V : CommandType = 1 ; pub const CommandType_COMMAND_VN : CommandType = 2 ; pub const CommandType_COMMAND_VT : CommandType = 3 ; pub const CommandType_COMMAND_F : CommandType = 4 ; pub const CommandType_COMMAND_G : CommandType = 5 ; pub const CommandType_COMMAND_O : CommandType = 6 ; pub const CommandType_COMMAND_USEMTL : CommandType = 7 ; pub const CommandType_COMMAND_MTLLIB : CommandType = 8 ; pub type CommandType = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct Command { pub vx : f32 , pub vy : f32 , pub vz : f32 , pub nx : f32 , pub ny : f32 , pub nz : f32 , pub tx : f32 , pub ty : f32 , pub f : [ tinyobj_vertex_index_t ; 16usize ] , pub num_f : usize , pub f_num_verts : [ :: std :: os :: raw :: c_int ; 16usize ] , pub num_f_num_verts : usize , pub group_name : * const :: std :: os :: raw :: c_char , pub group_name_len : :: std :: os :: raw :: c_uint , pub pad0 : :: std :: os :: raw :: c_int , pub object_name : * const :: std :: os :: raw :: c_char , pub object_name_len : :: std :: os :: raw :: c_uint , pub pad1 : :: std :: os :: raw :: c_int , pub material_name : * const :: std :: os :: raw :: c_char , pub material_name_len : :: std :: os :: raw :: c_uint , pub pad2 : :: std :: os :: raw :: c_int , pub mtllib_name : * const :: std :: os :: raw :: c_char , pub mtllib_name_len : :: std :: os :: raw :: c_uint , pub type_ : CommandType , } # [ test ] fn bindgen_test_layout_Command ( ) { assert_eq ! ( :: std :: mem :: size_of :: < Command > ( ) , 368usize , concat ! ( "Size of: " , stringify ! ( Command ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < Command > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( Command ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . vx as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( vx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . vy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( vy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . vz as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( vz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . nx as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( nx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . ny as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( ny ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . nz as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( nz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . tx as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( tx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . ty as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( ty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . f as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( f ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . num_f as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( num_f ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . f_num_verts as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( f_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . num_f_num_verts as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( num_f_num_verts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . group_name as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( group_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . group_name_len as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( group_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . pad0 as * const _ as usize } , 316usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . object_name as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( object_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . object_name_len as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( object_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . pad1 as * const _ as usize } , 332usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . material_name as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( material_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . material_name_len as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( material_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . pad2 as * const _ as usize } , 348usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . mtllib_name as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( mtllib_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . mtllib_name_len as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( mtllib_name_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Command > ( ) ) ) . type_ as * const _ as usize } , 364usize , concat ! ( "Offset of field: " , stringify ! ( Command ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct LineInfo { pub pos : usize , pub len : usize , } # [ test ] fn bindgen_test_layout_LineInfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < LineInfo > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( LineInfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < LineInfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( LineInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < LineInfo > ( ) ) ) . pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( LineInfo ) , "::" , stringify ! ( pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < LineInfo > ( ) ) ) . len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( LineInfo ) , "::" , stringify ! ( len ) ) ) ; } pub type cgltf_size = usize ; pub type cgltf_float = f32 ; pub type cgltf_int = :: std :: os :: raw :: c_int ; pub type cgltf_bool = :: std :: os :: raw :: c_int ; pub const cgltf_file_type_cgltf_file_type_invalid : cgltf_file_type = 0 ; pub const cgltf_file_type_cgltf_file_type_gltf : cgltf_file_type = 1 ; pub const cgltf_file_type_cgltf_file_type_glb : cgltf_file_type = 2 ; pub type cgltf_file_type = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_options { pub type_ : cgltf_file_type , pub json_token_count : cgltf_size , pub memory_alloc : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , size : cgltf_size ) -> * mut :: std :: os :: raw :: c_void > , pub memory_free : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , ptr : * mut :: std :: os :: raw :: c_void ) > , pub memory_user_data : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_cgltf_options ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_options > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_options ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_options > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_options ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . json_token_count as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( json_token_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . memory_alloc as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( memory_alloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . memory_free as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( memory_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_options > ( ) ) ) . memory_user_data as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_options ) , "::" , stringify ! ( memory_user_data ) ) ) ; } pub const cgltf_result_cgltf_result_success : cgltf_result = 0 ; pub const cgltf_result_cgltf_result_data_too_short : cgltf_result = 1 ; pub const cgltf_result_cgltf_result_unknown_format : cgltf_result = 2 ; pub const cgltf_result_cgltf_result_invalid_json : cgltf_result = 3 ; pub const cgltf_result_cgltf_result_invalid_gltf : cgltf_result = 4 ; pub const cgltf_result_cgltf_result_invalid_options : cgltf_result = 5 ; pub const cgltf_result_cgltf_result_file_not_found : cgltf_result = 6 ; pub const cgltf_result_cgltf_result_io_error : cgltf_result = 7 ; pub const cgltf_result_cgltf_result_out_of_memory : cgltf_result = 8 ; pub const cgltf_result_cgltf_result_legacy_gltf : cgltf_result = 9 ; pub type cgltf_result = u32 ; pub const cgltf_buffer_view_type_cgltf_buffer_view_type_invalid : cgltf_buffer_view_type = 0 ; pub const cgltf_buffer_view_type_cgltf_buffer_view_type_indices : cgltf_buffer_view_type = 1 ; pub const cgltf_buffer_view_type_cgltf_buffer_view_type_vertices : cgltf_buffer_view_type = 2 ; pub type cgltf_buffer_view_type = u32 ; pub const cgltf_attribute_type_cgltf_attribute_type_invalid : cgltf_attribute_type = 0 ; pub const cgltf_attribute_type_cgltf_attribute_type_position : cgltf_attribute_type = 1 ; pub const cgltf_attribute_type_cgltf_attribute_type_normal : cgltf_attribute_type = 2 ; pub const cgltf_attribute_type_cgltf_attribute_type_tangent : cgltf_attribute_type = 3 ; pub const cgltf_attribute_type_cgltf_attribute_type_texcoord : cgltf_attribute_type = 4 ; pub const cgltf_attribute_type_cgltf_attribute_type_color : cgltf_attribute_type = 5 ; pub const cgltf_attribute_type_cgltf_attribute_type_joints : cgltf_attribute_type = 6 ; pub const cgltf_attribute_type_cgltf_attribute_type_weights : cgltf_attribute_type = 7 ; pub type cgltf_attribute_type = u32 ; pub const cgltf_component_type_cgltf_component_type_invalid : cgltf_component_type = 0 ; pub const cgltf_component_type_cgltf_component_type_r_8 : cgltf_component_type = 1 ; pub const cgltf_component_type_cgltf_component_type_r_8u : cgltf_component_type = 2 ; pub const cgltf_component_type_cgltf_component_type_r_16 : cgltf_component_type = 3 ; pub const cgltf_component_type_cgltf_component_type_r_16u : cgltf_component_type = 4 ; pub const cgltf_component_type_cgltf_component_type_r_32u : cgltf_component_type = 5 ; pub const cgltf_component_type_cgltf_component_type_r_32f : cgltf_component_type = 6 ; pub type cgltf_component_type = u32 ; pub const cgltf_type_cgltf_type_invalid : cgltf_type = 0 ; pub const cgltf_type_cgltf_type_scalar : cgltf_type = 1 ; pub const cgltf_type_cgltf_type_vec2 : cgltf_type = 2 ; pub const cgltf_type_cgltf_type_vec3 : cgltf_type = 3 ; pub const cgltf_type_cgltf_type_vec4 : cgltf_type = 4 ; pub const cgltf_type_cgltf_type_mat2 : cgltf_type = 5 ; pub const cgltf_type_cgltf_type_mat3 : cgltf_type = 6 ; pub const cgltf_type_cgltf_type_mat4 : cgltf_type = 7 ; pub type cgltf_type = u32 ; pub const cgltf_primitive_type_cgltf_primitive_type_points : cgltf_primitive_type = 0 ; pub const cgltf_primitive_type_cgltf_primitive_type_lines : cgltf_primitive_type = 1 ; pub const cgltf_primitive_type_cgltf_primitive_type_line_loop : cgltf_primitive_type = 2 ; pub const cgltf_primitive_type_cgltf_primitive_type_line_strip : cgltf_primitive_type = 3 ; pub const cgltf_primitive_type_cgltf_primitive_type_triangles : cgltf_primitive_type = 4 ; pub const cgltf_primitive_type_cgltf_primitive_type_triangle_strip : cgltf_primitive_type = 5 ; pub const cgltf_primitive_type_cgltf_primitive_type_triangle_fan : cgltf_primitive_type = 6 ; pub type cgltf_primitive_type = u32 ; pub const cgltf_alpha_mode_cgltf_alpha_mode_opaque : cgltf_alpha_mode = 0 ; pub const cgltf_alpha_mode_cgltf_alpha_mode_mask : cgltf_alpha_mode = 1 ; pub const cgltf_alpha_mode_cgltf_alpha_mode_blend : cgltf_alpha_mode = 2 ; pub type cgltf_alpha_mode = u32 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_invalid : cgltf_animation_path_type = 0 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_translation : cgltf_animation_path_type = 1 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_rotation : cgltf_animation_path_type = 2 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_scale : cgltf_animation_path_type = 3 ; pub const cgltf_animation_path_type_cgltf_animation_path_type_weights : cgltf_animation_path_type = 4 ; pub type cgltf_animation_path_type = u32 ; pub const cgltf_interpolation_type_cgltf_interpolation_type_linear : cgltf_interpolation_type = 0 ; pub const cgltf_interpolation_type_cgltf_interpolation_type_step : cgltf_interpolation_type = 1 ; pub const cgltf_interpolation_type_cgltf_interpolation_type_cubic_spline : cgltf_interpolation_type = 2 ; pub type cgltf_interpolation_type = u32 ; pub const cgltf_camera_type_cgltf_camera_type_invalid : cgltf_camera_type = 0 ; pub const cgltf_camera_type_cgltf_camera_type_perspective : cgltf_camera_type = 1 ; pub const cgltf_camera_type_cgltf_camera_type_orthographic : cgltf_camera_type = 2 ; pub type cgltf_camera_type = u32 ; pub const cgltf_light_type_cgltf_light_type_invalid : cgltf_light_type = 0 ; pub const cgltf_light_type_cgltf_light_type_directional : cgltf_light_type = 1 ; pub const cgltf_light_type_cgltf_light_type_point : cgltf_light_type = 2 ; pub const cgltf_light_type_cgltf_light_type_spot : cgltf_light_type = 3 ; pub type cgltf_light_type = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_extras { pub start_offset : cgltf_size , pub end_offset : cgltf_size , } # [ test ] fn bindgen_test_layout_cgltf_extras ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_extras > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( cgltf_extras ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_extras > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_extras > ( ) ) ) . start_offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_extras ) , "::" , stringify ! ( start_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_extras > ( ) ) ) . end_offset as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_extras ) , "::" , stringify ! ( end_offset ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_buffer { pub size : cgltf_size , pub uri : * mut :: std :: os :: raw :: c_char , pub data : * mut :: std :: os :: raw :: c_void , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_buffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_buffer > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_buffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_buffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . uri as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( uri ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_buffer_view { pub buffer : * mut cgltf_buffer , pub offset : cgltf_size , pub size : cgltf_size , pub stride : cgltf_size , pub type_ : cgltf_buffer_view_type , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_buffer_view ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_buffer_view > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( cgltf_buffer_view ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_buffer_view > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . buffer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . offset as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . stride as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( stride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . type_ as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_buffer_view > ( ) ) ) . extras as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_buffer_view ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_accessor_sparse { pub count : cgltf_size , pub indices_buffer_view : * mut cgltf_buffer_view , pub indices_byte_offset : cgltf_size , pub indices_component_type : cgltf_component_type , pub values_buffer_view : * mut cgltf_buffer_view , pub values_byte_offset : cgltf_size , pub extras : cgltf_extras , pub indices_extras : cgltf_extras , pub values_extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_accessor_sparse ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_accessor_sparse > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( cgltf_accessor_sparse ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_accessor_sparse > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_accessor_sparse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_buffer_view as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_byte_offset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_byte_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_component_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_component_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . values_buffer_view as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( values_buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . values_byte_offset as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( values_byte_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . extras as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . indices_extras as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( indices_extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor_sparse > ( ) ) ) . values_extras as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor_sparse ) , "::" , stringify ! ( values_extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_accessor { pub component_type : cgltf_component_type , pub normalized : cgltf_bool , pub type_ : cgltf_type , pub offset : cgltf_size , pub count : cgltf_size , pub stride : cgltf_size , pub buffer_view : * mut cgltf_buffer_view , pub has_min : cgltf_bool , pub min : [ cgltf_float ; 16usize ] , pub has_max : cgltf_bool , pub max : [ cgltf_float ; 16usize ] , pub is_sparse : cgltf_bool , pub sparse : cgltf_accessor_sparse , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_accessor ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_accessor > ( ) , 304usize , concat ! ( "Size of: " , stringify ! ( cgltf_accessor ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_accessor > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_accessor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . component_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( component_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . normalized as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( normalized ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . offset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . stride as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( stride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . buffer_view as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . has_min as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( has_min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . min as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( min ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . has_max as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( has_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . max as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . is_sparse as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( is_sparse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . sparse as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( sparse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_accessor > ( ) ) ) . extras as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_accessor ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_attribute { pub name : * mut :: std :: os :: raw :: c_char , pub type_ : cgltf_attribute_type , pub index : cgltf_int , pub data : * mut cgltf_accessor , } # [ test ] fn bindgen_test_layout_cgltf_attribute ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_attribute > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( cgltf_attribute ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_attribute > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_attribute ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . index as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_attribute > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_attribute ) , "::" , stringify ! ( data ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_image { pub name : * mut :: std :: os :: raw :: c_char , pub uri : * mut :: std :: os :: raw :: c_char , pub buffer_view : * mut cgltf_buffer_view , pub mime_type : * mut :: std :: os :: raw :: c_char , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_image ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_image > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( cgltf_image ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_image > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . uri as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( uri ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . buffer_view as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( buffer_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . mime_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( mime_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_image > ( ) ) ) . extras as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_image ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_sampler { pub mag_filter : cgltf_int , pub min_filter : cgltf_int , pub wrap_s : cgltf_int , pub wrap_t : cgltf_int , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_sampler ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_sampler > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_sampler ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_sampler > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . mag_filter as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( mag_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . min_filter as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( min_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . wrap_s as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( wrap_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . wrap_t as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( wrap_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_sampler > ( ) ) ) . extras as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_sampler ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_texture { pub name : * mut :: std :: os :: raw :: c_char , pub image : * mut cgltf_image , pub sampler : * mut cgltf_sampler , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_texture ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_texture > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_texture ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_texture > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . image as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . sampler as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_texture_transform { pub offset : [ cgltf_float ; 2usize ] , pub rotation : cgltf_float , pub scale : [ cgltf_float ; 2usize ] , pub texcoord : cgltf_int , } # [ test ] fn bindgen_test_layout_cgltf_texture_transform ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_texture_transform > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( cgltf_texture_transform ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_texture_transform > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( cgltf_texture_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . rotation as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . scale as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_transform > ( ) ) ) . texcoord as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_transform ) , "::" , stringify ! ( texcoord ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_texture_view { pub texture : * mut cgltf_texture , pub texcoord : cgltf_int , pub scale : cgltf_float , pub has_transform : cgltf_bool , pub transform : cgltf_texture_transform , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_texture_view ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_texture_view > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( cgltf_texture_view ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_texture_view > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_texture_view ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . texcoord as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( texcoord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . scale as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . has_transform as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( has_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . transform as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_texture_view > ( ) ) ) . extras as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_texture_view ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_pbr_metallic_roughness { pub base_color_texture : cgltf_texture_view , pub metallic_roughness_texture : cgltf_texture_view , pub base_color_factor : [ cgltf_float ; 4usize ] , pub metallic_factor : cgltf_float , pub roughness_factor : cgltf_float , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_pbr_metallic_roughness ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_pbr_metallic_roughness > ( ) , 168usize , concat ! ( "Size of: " , stringify ! ( cgltf_pbr_metallic_roughness ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_pbr_metallic_roughness > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_pbr_metallic_roughness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . base_color_texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( base_color_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . metallic_roughness_texture as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( metallic_roughness_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . base_color_factor as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( base_color_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . metallic_factor as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( metallic_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . roughness_factor as * const _ as usize } , 148usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( roughness_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_metallic_roughness > ( ) ) ) . extras as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_metallic_roughness ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_pbr_specular_glossiness { pub diffuse_texture : cgltf_texture_view , pub specular_glossiness_texture : cgltf_texture_view , pub diffuse_factor : [ cgltf_float ; 4usize ] , pub specular_factor : [ cgltf_float ; 3usize ] , pub glossiness_factor : cgltf_float , } # [ test ] fn bindgen_test_layout_cgltf_pbr_specular_glossiness ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_pbr_specular_glossiness > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( cgltf_pbr_specular_glossiness ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_pbr_specular_glossiness > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_pbr_specular_glossiness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . diffuse_texture as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( diffuse_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . specular_glossiness_texture as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( specular_glossiness_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . diffuse_factor as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( diffuse_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . specular_factor as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( specular_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_pbr_specular_glossiness > ( ) ) ) . glossiness_factor as * const _ as usize } , 156usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_pbr_specular_glossiness ) , "::" , stringify ! ( glossiness_factor ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_material { pub name : * mut :: std :: os :: raw :: c_char , pub has_pbr_metallic_roughness : cgltf_bool , pub has_pbr_specular_glossiness : cgltf_bool , pub pbr_metallic_roughness : cgltf_pbr_metallic_roughness , pub pbr_specular_glossiness : cgltf_pbr_specular_glossiness , pub normal_texture : cgltf_texture_view , pub occlusion_texture : cgltf_texture_view , pub emissive_texture : cgltf_texture_view , pub emissive_factor : [ cgltf_float ; 3usize ] , pub alpha_mode : cgltf_alpha_mode , pub alpha_cutoff : cgltf_float , pub double_sided : cgltf_bool , pub unlit : cgltf_bool , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_material ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_material > ( ) , 584usize , concat ! ( "Size of: " , stringify ! ( cgltf_material ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_material > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . has_pbr_metallic_roughness as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( has_pbr_metallic_roughness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . has_pbr_specular_glossiness as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( has_pbr_specular_glossiness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . pbr_metallic_roughness as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( pbr_metallic_roughness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . pbr_specular_glossiness as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( pbr_specular_glossiness ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . normal_texture as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( normal_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . occlusion_texture as * const _ as usize } , 408usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( occlusion_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . emissive_texture as * const _ as usize } , 472usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( emissive_texture ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . emissive_factor as * const _ as usize } , 536usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( emissive_factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . alpha_mode as * const _ as usize } , 548usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( alpha_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . alpha_cutoff as * const _ as usize } , 552usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( alpha_cutoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . double_sided as * const _ as usize } , 556usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( double_sided ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . unlit as * const _ as usize } , 560usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( unlit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_material > ( ) ) ) . extras as * const _ as usize } , 568usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_material ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_morph_target { pub attributes : * mut cgltf_attribute , pub attributes_count : cgltf_size , } # [ test ] fn bindgen_test_layout_cgltf_morph_target ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_morph_target > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( cgltf_morph_target ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_morph_target > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_morph_target ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_morph_target > ( ) ) ) . attributes as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_morph_target ) , "::" , stringify ! ( attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_morph_target > ( ) ) ) . attributes_count as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_morph_target ) , "::" , stringify ! ( attributes_count ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_primitive { pub type_ : cgltf_primitive_type , pub indices : * mut cgltf_accessor , pub material : * mut cgltf_material , pub attributes : * mut cgltf_attribute , pub attributes_count : cgltf_size , pub targets : * mut cgltf_morph_target , pub targets_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_primitive ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_primitive > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( cgltf_primitive ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_primitive > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_primitive ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . indices as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( indices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . material as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( material ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . attributes as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( attributes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . attributes_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( attributes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . targets as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( targets ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . targets_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( targets_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_primitive > ( ) ) ) . extras as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_primitive ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_mesh { pub name : * mut :: std :: os :: raw :: c_char , pub primitives : * mut cgltf_primitive , pub primitives_count : cgltf_size , pub weights : * mut cgltf_float , pub weights_count : cgltf_size , pub target_names : * mut * mut :: std :: os :: raw :: c_char , pub target_names_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_mesh ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_mesh > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( cgltf_mesh ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_mesh > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_mesh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . primitives as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( primitives ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . primitives_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( primitives_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . weights as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( weights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . weights_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( weights_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . target_names as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( target_names ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . target_names_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( target_names_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_mesh > ( ) ) ) . extras as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_mesh ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_skin { pub name : * mut :: std :: os :: raw :: c_char , pub joints : * mut * mut cgltf_node , pub joints_count : cgltf_size , pub skeleton : * mut cgltf_node , pub inverse_bind_matrices : * mut cgltf_accessor , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_skin ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_skin > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( cgltf_skin ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_skin > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_skin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . joints as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( joints ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . joints_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( joints_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . skeleton as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( skeleton ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . inverse_bind_matrices as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( inverse_bind_matrices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_skin > ( ) ) ) . extras as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_skin ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_camera_perspective { pub aspect_ratio : cgltf_float , pub yfov : cgltf_float , pub zfar : cgltf_float , pub znear : cgltf_float , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_camera_perspective ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera_perspective > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera_perspective ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera_perspective > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera_perspective ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . aspect_ratio as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( aspect_ratio ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . yfov as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( yfov ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . zfar as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( zfar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . znear as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( znear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_perspective > ( ) ) ) . extras as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_perspective ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_camera_orthographic { pub xmag : cgltf_float , pub ymag : cgltf_float , pub zfar : cgltf_float , pub znear : cgltf_float , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_camera_orthographic ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera_orthographic > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera_orthographic ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera_orthographic > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera_orthographic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . xmag as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( xmag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . ymag as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( ymag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . zfar as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( zfar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . znear as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( znear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera_orthographic > ( ) ) ) . extras as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera_orthographic ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct cgltf_camera { pub name : * mut :: std :: os :: raw :: c_char , pub type_ : cgltf_camera_type , pub data : cgltf_camera__bindgen_ty_1 , pub extras : cgltf_extras , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union cgltf_camera__bindgen_ty_1 { pub perspective : cgltf_camera_perspective , pub orthographic : cgltf_camera_orthographic , _bindgen_union_align : [ u64 ; 4usize ] , } # [ test ] fn bindgen_test_layout_cgltf_camera__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera__bindgen_ty_1 > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera__bindgen_ty_1 > ( ) ) ) . perspective as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera__bindgen_ty_1 ) , "::" , stringify ! ( perspective ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera__bindgen_ty_1 > ( ) ) ) . orthographic as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera__bindgen_ty_1 ) , "::" , stringify ! ( orthographic ) ) ) ; } # [ test ] fn bindgen_test_layout_cgltf_camera ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_camera > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( cgltf_camera ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_camera > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_camera ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . type_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_camera > ( ) ) ) . extras as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_camera ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_light { pub name : * mut :: std :: os :: raw :: c_char , pub color : [ cgltf_float ; 3usize ] , pub intensity : cgltf_float , pub type_ : cgltf_light_type , pub range : cgltf_float , pub spot_inner_cone_angle : cgltf_float , pub spot_outer_cone_angle : cgltf_float , } # [ test ] fn bindgen_test_layout_cgltf_light ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_light > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_light ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_light > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_light ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . color as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( color ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . intensity as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( intensity ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . type_ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . range as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . spot_inner_cone_angle as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( spot_inner_cone_angle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_light > ( ) ) ) . spot_outer_cone_angle as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_light ) , "::" , stringify ! ( spot_outer_cone_angle ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_node { pub name : * mut :: std :: os :: raw :: c_char , pub parent : * mut cgltf_node , pub children : * mut * mut cgltf_node , pub children_count : cgltf_size , pub skin : * mut cgltf_skin , pub mesh : * mut cgltf_mesh , pub camera : * mut cgltf_camera , pub light : * mut cgltf_light , pub weights : * mut cgltf_float , pub weights_count : cgltf_size , pub has_translation : cgltf_bool , pub has_rotation : cgltf_bool , pub has_scale : cgltf_bool , pub has_matrix : cgltf_bool , pub translation : [ cgltf_float ; 3usize ] , pub rotation : [ cgltf_float ; 4usize ] , pub scale : [ cgltf_float ; 3usize ] , pub matrix : [ cgltf_float ; 16usize ] , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_node ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_node > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( cgltf_node ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_node > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_node ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . parent as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . children as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( children ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . children_count as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( children_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . skin as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( skin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . mesh as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( mesh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . camera as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( camera ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . light as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( light ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . weights as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( weights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . weights_count as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( weights_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_translation as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_translation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_rotation as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_scale as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . has_matrix as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( has_matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . translation as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( translation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . rotation as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( rotation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . scale as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . matrix as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( matrix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_node > ( ) ) ) . extras as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_node ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_scene { pub name : * mut :: std :: os :: raw :: c_char , pub nodes : * mut * mut cgltf_node , pub nodes_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_scene ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_scene > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_scene ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_scene > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_scene ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . nodes as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . nodes_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( nodes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_scene > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_scene ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_animation_sampler { pub input : * mut cgltf_accessor , pub output : * mut cgltf_accessor , pub interpolation : cgltf_interpolation_type , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_animation_sampler ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_animation_sampler > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_animation_sampler ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_animation_sampler > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_animation_sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . input as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( input ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . output as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( output ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . interpolation as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( interpolation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_sampler > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_sampler ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_animation_channel { pub sampler : * mut cgltf_animation_sampler , pub target_node : * mut cgltf_node , pub target_path : cgltf_animation_path_type , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_animation_channel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_animation_channel > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( cgltf_animation_channel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_animation_channel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_animation_channel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . sampler as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( sampler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . target_node as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( target_node ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . target_path as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( target_path ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation_channel > ( ) ) ) . extras as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation_channel ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_animation { pub name : * mut :: std :: os :: raw :: c_char , pub samplers : * mut cgltf_animation_sampler , pub samplers_count : cgltf_size , pub channels : * mut cgltf_animation_channel , pub channels_count : cgltf_size , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_animation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_animation > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( cgltf_animation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_animation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_animation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . samplers as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( samplers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . samplers_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( samplers_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . channels as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( channels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . channels_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( channels_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_animation > ( ) ) ) . extras as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_animation ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_asset { pub copyright : * mut :: std :: os :: raw :: c_char , pub generator : * mut :: std :: os :: raw :: c_char , pub version : * mut :: std :: os :: raw :: c_char , pub min_version : * mut :: std :: os :: raw :: c_char , pub extras : cgltf_extras , } # [ test ] fn bindgen_test_layout_cgltf_asset ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_asset > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( cgltf_asset ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_asset > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_asset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . copyright as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( copyright ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . generator as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( generator ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . version as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . min_version as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( min_version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_asset > ( ) ) ) . extras as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_asset ) , "::" , stringify ! ( extras ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cgltf_data { pub file_type : cgltf_file_type , pub file_data : * mut :: std :: os :: raw :: c_void , pub asset : cgltf_asset , pub meshes : * mut cgltf_mesh , pub meshes_count : cgltf_size , pub materials : * mut cgltf_material , pub materials_count : cgltf_size , pub accessors : * mut cgltf_accessor , pub accessors_count : cgltf_size , pub buffer_views : * mut cgltf_buffer_view , pub buffer_views_count : cgltf_size , pub buffers : * mut cgltf_buffer , pub buffers_count : cgltf_size , pub images : * mut cgltf_image , pub images_count : cgltf_size , pub textures : * mut cgltf_texture , pub textures_count : cgltf_size , pub samplers : * mut cgltf_sampler , pub samplers_count : cgltf_size , pub skins : * mut cgltf_skin , pub skins_count : cgltf_size , pub cameras : * mut cgltf_camera , pub cameras_count : cgltf_size , pub lights : * mut cgltf_light , pub lights_count : cgltf_size , pub nodes : * mut cgltf_node , pub nodes_count : cgltf_size , pub scenes : * mut cgltf_scene , pub scenes_count : cgltf_size , pub scene : * mut cgltf_scene , pub animations : * mut cgltf_animation , pub animations_count : cgltf_size , pub extras : cgltf_extras , pub extensions_used : * mut * mut :: std :: os :: raw :: c_char , pub extensions_used_count : cgltf_size , pub extensions_required : * mut * mut :: std :: os :: raw :: c_char , pub extensions_required_count : cgltf_size , pub json : * const :: std :: os :: raw :: c_char , pub json_size : cgltf_size , pub bin : * const :: std :: os :: raw :: c_void , pub bin_size : cgltf_size , pub memory_free : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , ptr : * mut :: std :: os :: raw :: c_void ) > , pub memory_user_data : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_cgltf_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cgltf_data > ( ) , 392usize , concat ! ( "Size of: " , stringify ! ( cgltf_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cgltf_data > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cgltf_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . file_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( file_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . file_data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( file_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . asset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( asset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . meshes as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( meshes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . meshes_count as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( meshes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . materials as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( materials ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . materials_count as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( materials_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . accessors as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( accessors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . accessors_count as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( accessors_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffer_views as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffer_views ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffer_views_count as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffer_views_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffers as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . buffers_count as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( buffers_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . images as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( images ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . images_count as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( images_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . textures as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( textures ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . textures_count as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( textures_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . samplers as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( samplers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . samplers_count as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( samplers_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . skins as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( skins ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . skins_count as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( skins_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . cameras as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( cameras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . cameras_count as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( cameras_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . lights as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( lights ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . lights_count as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( lights_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . nodes as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . nodes_count as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( nodes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . scenes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( scenes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . scenes_count as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( scenes_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . scene as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( scene ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . animations as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( animations ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . animations_count as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( animations_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extras as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extras ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_used as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_used ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_used_count as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_used_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_required as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_required ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . extensions_required_count as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( extensions_required_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . json as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( json ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . json_size as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( json_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . bin as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( bin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . bin_size as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( bin_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . memory_free as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( memory_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cgltf_data > ( ) ) ) . memory_user_data as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( cgltf_data ) , "::" , stringify ! ( memory_user_data ) ) ) ; } extern "C" { pub fn cgltf_parse ( options : * const cgltf_options , data : * const :: std :: os :: raw :: c_void , size : cgltf_size , out_data : * mut * mut cgltf_data ) -> cgltf_result ; } extern "C" { pub fn cgltf_parse_file ( options : * const cgltf_options , path : * const :: std :: os :: raw :: c_char , out_data : * mut * mut cgltf_data ) -> cgltf_result ; } extern "C" { pub fn cgltf_load_buffers ( options : * const cgltf_options , data : * mut cgltf_data , gltf_path : * const :: std :: os :: raw :: c_char ) -> cgltf_result ; } extern "C" { pub fn cgltf_load_buffer_base64 ( options : * const cgltf_options , size : cgltf_size , base64 : * const :: std :: os :: raw :: c_char , out_data : * mut * mut :: std :: os :: raw :: c_void ) -> cgltf_result ; } extern "C" { pub fn cgltf_validate ( data : * mut cgltf_data ) -> cgltf_result ; } extern "C" { pub fn cgltf_free ( data : * mut cgltf_data ) ; } extern "C" { pub fn cgltf_node_transform_local ( node : * const cgltf_node , out_matrix : * mut cgltf_float ) ; } extern "C" { pub fn cgltf_node_transform_world ( node : * const cgltf_node , out_matrix : * mut cgltf_float ) ; } extern "C" { pub fn cgltf_accessor_read_float ( accessor : * const cgltf_accessor , index : cgltf_size , out : * mut cgltf_float , element_size : cgltf_size ) -> cgltf_bool ; } extern "C" { pub fn cgltf_accessor_read_index ( accessor : * const cgltf_accessor , index : cgltf_size ) -> cgltf_size ; } extern "C" { pub fn cgltf_num_components ( type_ : cgltf_type ) -> cgltf_size ; } extern "C" { pub fn cgltf_accessor_unpack_floats ( accessor : * const cgltf_accessor , out : * mut cgltf_float , float_count : cgltf_size ) -> cgltf_size ; } extern "C" { pub fn cgltf_copy_extras_json ( data : * const cgltf_data , extras : * const cgltf_extras , dest : * mut :: std :: os :: raw :: c_char , dest_size : * mut cgltf_size ) -> cgltf_result ; } pub const jsmntype_t_JSMN_UNDEFINED : jsmntype_t = 0 ; pub const jsmntype_t_JSMN_OBJECT : jsmntype_t = 1 ; pub const jsmntype_t_JSMN_ARRAY : jsmntype_t = 2 ; pub const jsmntype_t_JSMN_STRING : jsmntype_t = 3 ; pub const jsmntype_t_JSMN_PRIMITIVE : jsmntype_t = 4 ; pub type jsmntype_t = u32 ; pub const jsmnerr_JSMN_ERROR_NOMEM : jsmnerr = -1 ; pub const jsmnerr_JSMN_ERROR_INVAL : jsmnerr = -2 ; pub const jsmnerr_JSMN_ERROR_PART : jsmnerr = -3 ; pub type jsmnerr = i32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct jsmntok_t { pub type_ : jsmntype_t , pub start : :: std :: os :: raw :: c_int , pub end : :: std :: os :: raw :: c_int , pub size : :: std :: os :: raw :: c_int , pub parent : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_jsmntok_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < jsmntok_t > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( jsmntok_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < jsmntok_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( jsmntok_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . start as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . end as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . size as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmntok_t > ( ) ) ) . parent as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( jsmntok_t ) , "::" , stringify ! ( parent ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct jsmn_parser { pub pos : :: std :: os :: raw :: c_uint , pub toknext : :: std :: os :: raw :: c_uint , pub toksuper : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_jsmn_parser ( ) { assert_eq ! ( :: std :: mem :: size_of :: < jsmn_parser > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( jsmn_parser ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < jsmn_parser > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( jsmn_parser ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmn_parser > ( ) ) ) . pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( jsmn_parser ) , "::" , stringify ! ( pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmn_parser > ( ) ) ) . toknext as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( jsmn_parser ) , "::" , stringify ! ( toknext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < jsmn_parser > ( ) ) ) . toksuper as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( jsmn_parser ) , "::" , stringify ! ( toksuper ) ) ) ; } pub const GlbHeaderSize : cgltf_size = 12 ; pub const GlbChunkHeaderSize : cgltf_size = 8 ; pub const GlbVersion : u32 = 2 ; pub const GlbMagic : u32 = 1179937895 ; pub const GlbMagicJsonChunk : u32 = 1313821514 ; pub const GlbMagicBinChunk : u32 = 5130562 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes_mesh_s { pub points : * mut f32 , pub npoints : :: std :: os :: raw :: c_int , pub triangles : * mut u16 , pub ntriangles : :: std :: os :: raw :: c_int , pub normals : * mut f32 , pub tcoords : * mut f32 , } # [ test ] fn bindgen_test_layout_par_shapes_mesh_s ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes_mesh_s > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( par_shapes_mesh_s ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes_mesh_s > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes_mesh_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . points as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( points ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . npoints as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( npoints ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . triangles as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( triangles ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . ntriangles as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( ntriangles ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . normals as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( normals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes_mesh_s > ( ) ) ) . tcoords as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes_mesh_s ) , "::" , stringify ! ( tcoords ) ) ) ; } pub type par_shapes_mesh = par_shapes_mesh_s ; extern "C" { pub fn par_shapes_free_mesh ( arg1 : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_create_cylinder ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_cone ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_torus ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int , radius : f32 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_parametric_sphere ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_subdivided_sphere ( nsubdivisions : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_klein_bottle ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_trefoil_knot ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int , radius : f32 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_hemisphere ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_plane ( slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } pub type par_shapes_fn = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const f32 , arg2 : * mut f32 , arg3 : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub fn par_shapes_create_parametric ( arg1 : par_shapes_fn , slices : :: std :: os :: raw :: c_int , stacks : :: std :: os :: raw :: c_int , userdata : * mut :: std :: os :: raw :: c_void ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_icosahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_dodecahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_octahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_tetrahedron ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_cube ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_disk ( radius : f32 , slices : :: std :: os :: raw :: c_int , center : * const f32 , normal : * const f32 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_empty ( ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_rock ( seed : :: std :: os :: raw :: c_int , nsubdivisions : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_create_lsystem ( program : * const :: std :: os :: raw :: c_char , slices : :: std :: os :: raw :: c_int , maxdepth : :: std :: os :: raw :: c_int ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_export ( arg1 : * const par_shapes_mesh , objfile : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn par_shapes_compute_aabb ( mesh : * const par_shapes_mesh , aabb : * mut f32 ) ; } extern "C" { pub fn par_shapes_clone ( mesh : * const par_shapes_mesh , target : * mut par_shapes_mesh ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_merge ( dst : * mut par_shapes_mesh , src : * const par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_translate ( arg1 : * mut par_shapes_mesh , x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn par_shapes_rotate ( arg1 : * mut par_shapes_mesh , radians : f32 , axis : * const f32 ) ; } extern "C" { pub fn par_shapes_scale ( arg1 : * mut par_shapes_mesh , x : f32 , y : f32 , z : f32 ) ; } extern "C" { pub fn par_shapes_merge_and_free ( dst : * mut par_shapes_mesh , src : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_invert ( arg1 : * mut par_shapes_mesh , startface : :: std :: os :: raw :: c_int , nfaces : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn par_shapes_remove_degenerate ( arg1 : * mut par_shapes_mesh , minarea : f32 ) ; } extern "C" { pub fn par_shapes_unweld ( mesh : * mut par_shapes_mesh , create_indices : bool ) ; } extern "C" { pub fn par_shapes_weld ( arg1 : * const par_shapes_mesh , epsilon : f32 , mapping : * mut u16 ) -> * mut par_shapes_mesh ; } extern "C" { pub fn par_shapes_compute_normals ( m : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes_set_epsilon_welded_normals ( epsilon : f32 ) ; } extern "C" { pub fn par_shapes_set_epsilon_degenerate_sphere ( epsilon : f32 ) ; } extern "C" { pub fn par_shapes__compute_welded_normals ( m : * mut par_shapes_mesh ) ; } extern "C" { pub fn par_shapes__connect ( scene : * mut par_shapes_mesh , cylinder : * mut par_shapes_mesh , slices : :: std :: os :: raw :: c_int ) ; } pub const par_shapes__epsilon_welded_normals : f32 = 0.0010000000474974513 ; pub const par_shapes__epsilon_degenerate_sphere : f32 = 0.00009999999747378752 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes__command { pub cmd : * mut :: std :: os :: raw :: c_char , pub arg : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_par_shapes__command ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes__command > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( par_shapes__command ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes__command > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes__command ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__command > ( ) ) ) . cmd as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__command ) , "::" , stringify ! ( cmd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__command > ( ) ) ) . arg as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__command ) , "::" , stringify ! ( arg ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes__rule { pub name : * const :: std :: os :: raw :: c_char , pub weight : :: std :: os :: raw :: c_int , pub ncommands : :: std :: os :: raw :: c_int , pub commands : * mut par_shapes__command , } # [ test ] fn bindgen_test_layout_par_shapes__rule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes__rule > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( par_shapes__rule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes__rule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes__rule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . weight as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( weight ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . ncommands as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( ncommands ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__rule > ( ) ) ) . commands as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__rule ) , "::" , stringify ! ( commands ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct par_shapes__stackframe { pub pc : :: std :: os :: raw :: c_int , pub position : [ f32 ; 3usize ] , pub scale : [ f32 ; 3usize ] , pub orientation : * mut par_shapes_mesh , pub rule : * mut par_shapes__rule , } # [ test ] fn bindgen_test_layout_par_shapes__stackframe ( ) { assert_eq ! ( :: std :: mem :: size_of :: < par_shapes__stackframe > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( par_shapes__stackframe ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < par_shapes__stackframe > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( par_shapes__stackframe ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . pc as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( pc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . position as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( position ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . scale as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . orientation as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( orientation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < par_shapes__stackframe > ( ) ) ) . rule as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( par_shapes__stackframe ) , "::" , stringify ! ( rule ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _bindgen_ty_2 { pub points : * const f32 , pub gridsize : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _bindgen_ty_2 > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _bindgen_ty_2 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _bindgen_ty_2 > ( ) ) ) . points as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _bindgen_ty_2 ) , "::" , stringify ! ( points ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _bindgen_ty_2 > ( ) ) ) . gridsize as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _bindgen_ty_2 ) , "::" , stringify ! ( gridsize ) ) ) ; } extern "C" { pub static mut par_shapes__sort_context : _bindgen_ty_2 ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct osn_context { pub perm : * mut i16 , pub permGradIndex3D : * mut i16 , } # [ test ] fn bindgen_test_layout_osn_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < osn_context > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( osn_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < osn_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( osn_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < osn_context > ( ) ) ) . perm as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( osn_context ) , "::" , stringify ! ( perm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < osn_context > ( ) ) ) . permGradIndex3D as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( osn_context ) , "::" , stringify ! ( permGradIndex3D ) ) ) ; } extern "C" { pub static mut gradients2D : [ i8 ; 16usize ] ; } extern "C" { pub static mut gradients3D : [ :: std :: os :: raw :: c_schar ; 72usize ] ; } extern "C" { pub static mut gradients4D : [ :: std :: os :: raw :: c_schar ; 256usize ] ; } pub const STBI_default : _bindgen_ty_3 = 0 ; pub const STBI_grey : _bindgen_ty_3 = 1 ; pub const STBI_grey_alpha : _bindgen_ty_3 = 2 ; pub const STBI_rgb : _bindgen_ty_3 = 3 ; pub const STBI_rgb_alpha : _bindgen_ty_3 = 4 ; pub type _bindgen_ty_3 = u32 ; pub type stbi_uc = :: std :: os :: raw :: c_uchar ; pub type stbi_us = :: std :: os :: raw :: c_ushort ; # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi_io_callbacks { pub read : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > , pub skip : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void , n : :: std :: os :: raw :: c_int ) > , pub eof : :: std :: option :: Option < unsafe extern "C" fn ( user : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > , } # [ test ] fn bindgen_test_layout_stbi_io_callbacks ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi_io_callbacks > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stbi_io_callbacks ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi_io_callbacks > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi_io_callbacks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi_io_callbacks > ( ) ) ) . read as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi_io_callbacks ) , "::" , stringify ! ( read ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi_io_callbacks > ( ) ) ) . skip as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi_io_callbacks ) , "::" , stringify ! ( skip ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi_io_callbacks > ( ) ) ) . eof as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi_io_callbacks ) , "::" , stringify ! ( eof ) ) ) ; } extern "C" { # [ doc = "" ] pub fn stbi_load_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load_from_file ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { pub fn stbi_load_gif_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , delays : * mut * mut :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , z : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int , req_comp : :: std :: os :: raw :: c_int ) -> * mut stbi_uc ; } extern "C" { # [ doc = "" ] pub fn stbi_load_16_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_load_16_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_load_16 ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_load_from_file_16 ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut stbi_us ; } extern "C" { pub fn stbi_loadf_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_loadf_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_loadf ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_loadf_from_file ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , channels_in_file : * mut :: std :: os :: raw :: c_int , desired_channels : :: std :: os :: raw :: c_int ) -> * mut f32 ; } extern "C" { pub fn stbi_hdr_to_ldr_gamma ( gamma : f32 ) ; } extern "C" { pub fn stbi_hdr_to_ldr_scale ( scale : f32 ) ; } extern "C" { pub fn stbi_ldr_to_hdr_gamma ( gamma : f32 ) ; } extern "C" { pub fn stbi_ldr_to_hdr_scale ( scale : f32 ) ; } extern "C" { pub fn stbi_is_hdr_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_hdr_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_hdr ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_hdr_from_file ( f : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_failure_reason ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_image_free ( retval_from_stbi_load : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn stbi_info_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_info_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit_from_memory ( buffer : * const stbi_uc , len : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit_from_callbacks ( clbk : * const stbi_io_callbacks , user : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_info ( filename : * const :: std :: os :: raw :: c_char , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_info_from_file ( f : * mut FILE , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , comp : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit ( filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_is_16_bit_from_file ( f : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_set_unpremultiply_on_load ( flag_true_if_should_unpremultiply : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbi_convert_iphone_png_to_rgb ( flag_true_if_should_convert : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbi_set_flip_vertically_on_load ( flag_true_if_should_flip : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbi_zlib_decode_malloc_guesssize ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , initial_size : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_malloc_guesssize_headerflag ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , initial_size : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int , parse_header : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_malloc ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_buffer ( obuffer : * mut :: std :: os :: raw :: c_char , olen : :: std :: os :: raw :: c_int , ibuffer : * const :: std :: os :: raw :: c_char , ilen : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_zlib_decode_noheader_malloc ( buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , outlen : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stbi_zlib_decode_noheader_buffer ( obuffer : * mut :: std :: os :: raw :: c_char , olen : :: std :: os :: raw :: c_int , ibuffer : * const :: std :: os :: raw :: c_char , ilen : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type stbi__uint16 = u16 ; pub type stbi__int16 = i16 ; pub type stbi__uint32 = u32 ; pub type stbi__int32 = i32 ; pub type validate_uint32 = [ :: std :: os :: raw :: c_uchar ; 1usize ] ; pub type __m64 = [ :: std :: os :: raw :: c_longlong ; 1usize ] ; pub type __v1di = [ :: std :: os :: raw :: c_longlong ; 1usize ] ; pub type __v2si = [ :: std :: os :: raw :: c_int ; 2usize ] ; pub type __v4hi = [ :: std :: os :: raw :: c_short ; 4usize ] ; pub type __v8qi = [ :: std :: os :: raw :: c_char ; 8usize ] ; pub type __v4si = [ :: std :: os :: raw :: c_int ; 4usize ] ; pub type __v4sf = [ f32 ; 4usize ] ; pub type __m128 = [ f32 ; 4usize ] ; pub type __v4su = [ :: std :: os :: raw :: c_uint ; 4usize ] ; extern "C" { pub fn _mm_sfence ( ) ; } extern "C" { pub fn _mm_getcsr ( ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn _mm_setcsr ( __i : :: std :: os :: raw :: c_uint ) ; } pub type __m128d = [ f64 ; 2usize ] ; pub type __m128i = [ :: std :: os :: raw :: c_longlong ; 2usize ] ; pub type __v2df = [ f64 ; 2usize ] ; pub type __v2di = [ :: std :: os :: raw :: c_longlong ; 2usize ] ; pub type __v8hi = [ :: std :: os :: raw :: c_short ; 8usize ] ; pub type __v16qi = [ :: std :: os :: raw :: c_char ; 16usize ] ; pub type __v2du = [ :: std :: os :: raw :: c_ulonglong ; 2usize ] ; pub type __v8hu = [ :: std :: os :: raw :: c_ushort ; 8usize ] ; pub type __v16qu = [ :: std :: os :: raw :: c_uchar ; 16usize ] ; pub type __v16qs = [ :: std :: os :: raw :: c_schar ; 16usize ] ; extern "C" { pub fn _mm_clflush ( __p : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn _mm_lfence ( ) ; } extern "C" { pub fn _mm_mfence ( ) ; } extern "C" { pub fn _mm_pause ( ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__context { pub img_x : stbi__uint32 , pub img_y : stbi__uint32 , pub img_n : :: std :: os :: raw :: c_int , pub img_out_n : :: std :: os :: raw :: c_int , pub io : stbi_io_callbacks , pub io_user_data : * mut :: std :: os :: raw :: c_void , pub read_from_callbacks : :: std :: os :: raw :: c_int , pub buflen : :: std :: os :: raw :: c_int , pub buffer_start : [ stbi_uc ; 128usize ] , pub img_buffer : * mut stbi_uc , pub img_buffer_end : * mut stbi_uc , pub img_buffer_original : * mut stbi_uc , pub img_buffer_original_end : * mut stbi_uc , } # [ test ] fn bindgen_test_layout_stbi__context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__context > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( stbi__context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_n as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_out_n as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_out_n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . io as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( io ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . io_user_data as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( io_user_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . read_from_callbacks as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( read_from_callbacks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . buflen as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( buflen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . buffer_start as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( buffer_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer_end as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer_original as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer_original ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__context > ( ) ) ) . img_buffer_original_end as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( stbi__context ) , "::" , stringify ! ( img_buffer_original_end ) ) ) ; } extern "C" { pub static mut stbi__stdio_callbacks : stbi_io_callbacks ; } pub const STBI_ORDER_RGB : _bindgen_ty_4 = 0 ; pub const STBI_ORDER_BGR : _bindgen_ty_4 = 1 ; pub type _bindgen_ty_4 = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__result_info { pub bits_per_channel : :: std :: os :: raw :: c_int , pub num_channels : :: std :: os :: raw :: c_int , pub channel_order : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__result_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__result_info > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( stbi__result_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__result_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__result_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__result_info > ( ) ) ) . bits_per_channel as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__result_info ) , "::" , stringify ! ( bits_per_channel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__result_info > ( ) ) ) . num_channels as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__result_info ) , "::" , stringify ! ( num_channels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__result_info > ( ) ) ) . channel_order as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__result_info ) , "::" , stringify ! ( channel_order ) ) ) ; } extern "C" { pub static mut stbi__g_failure_reason : * const :: std :: os :: raw :: c_char ; } pub const stbi__vertically_flip_on_load : :: std :: os :: raw :: c_int = 0 ; pub const stbi__l2h_gamma : f32 = 2.200000047683716 ; pub const stbi__l2h_scale : f32 = 1.0 ; pub const stbi__h2l_gamma_i : f32 = 0.45454543828964233 ; pub const stbi__h2l_scale_i : f32 = 1.0 ; pub const STBI__SCAN_load : _bindgen_ty_5 = 0 ; pub const STBI__SCAN_type : _bindgen_ty_5 = 1 ; pub const STBI__SCAN_header : _bindgen_ty_5 = 2 ; # [ doc = "" ] pub type _bindgen_ty_5 = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__huffman { pub fast : [ stbi_uc ; 512usize ] , pub code : [ stbi__uint16 ; 256usize ] , pub values : [ stbi_uc ; 256usize ] , pub size : [ stbi_uc ; 257usize ] , pub maxcode : [ :: std :: os :: raw :: c_uint ; 18usize ] , pub delta : [ :: std :: os :: raw :: c_int ; 17usize ] , } # [ test ] fn bindgen_test_layout_stbi__huffman ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__huffman > ( ) , 1680usize , concat ! ( "Size of: " , stringify ! ( stbi__huffman ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__huffman > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__huffman ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . fast as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( fast ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . code as * const _ as usize } , 512usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( code ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . values as * const _ as usize } , 1024usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( values ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . size as * const _ as usize } , 1280usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . maxcode as * const _ as usize } , 1540usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( maxcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__huffman > ( ) ) ) . delta as * const _ as usize } , 1612usize , concat ! ( "Offset of field: " , stringify ! ( stbi__huffman ) , "::" , stringify ! ( delta ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__jpeg { pub s : * mut stbi__context , pub huff_dc : [ stbi__huffman ; 4usize ] , pub huff_ac : [ stbi__huffman ; 4usize ] , pub dequant : [ [ stbi__uint16 ; 64usize ] ; 4usize ] , pub fast_ac : [ [ stbi__int16 ; 512usize ] ; 4usize ] , pub img_h_max : :: std :: os :: raw :: c_int , pub img_v_max : :: std :: os :: raw :: c_int , pub img_mcu_x : :: std :: os :: raw :: c_int , pub img_mcu_y : :: std :: os :: raw :: c_int , pub img_mcu_w : :: std :: os :: raw :: c_int , pub img_mcu_h : :: std :: os :: raw :: c_int , pub img_comp : [ stbi__jpeg__bindgen_ty_1 ; 4usize ] , pub code_buffer : stbi__uint32 , pub code_bits : :: std :: os :: raw :: c_int , pub marker : :: std :: os :: raw :: c_uchar , pub nomore : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , pub spec_start : :: std :: os :: raw :: c_int , pub spec_end : :: std :: os :: raw :: c_int , pub succ_high : :: std :: os :: raw :: c_int , pub succ_low : :: std :: os :: raw :: c_int , pub eob_run : :: std :: os :: raw :: c_int , pub jfif : :: std :: os :: raw :: c_int , pub app14_color_transform : :: std :: os :: raw :: c_int , pub rgb : :: std :: os :: raw :: c_int , pub scan_n : :: std :: os :: raw :: c_int , pub order : [ :: std :: os :: raw :: c_int ; 4usize ] , pub restart_interval : :: std :: os :: raw :: c_int , pub todo : :: std :: os :: raw :: c_int , pub idct_block_kernel : :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , out_stride : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_short ) > , pub YCbCr_to_RGB_kernel : :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , y : * const stbi_uc , pcb : * const stbi_uc , pcr : * const stbi_uc , count : :: std :: os :: raw :: c_int , step : :: std :: os :: raw :: c_int ) > , pub resample_row_hv_2_kernel : :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , in_near : * mut stbi_uc , in_far : * mut stbi_uc , w : :: std :: os :: raw :: c_int , hs : :: std :: os :: raw :: c_int ) -> * mut stbi_uc > , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__jpeg__bindgen_ty_1 { pub id : :: std :: os :: raw :: c_int , pub h : :: std :: os :: raw :: c_int , pub v : :: std :: os :: raw :: c_int , pub tq : :: std :: os :: raw :: c_int , pub hd : :: std :: os :: raw :: c_int , pub ha : :: std :: os :: raw :: c_int , pub dc_pred : :: std :: os :: raw :: c_int , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub w2 : :: std :: os :: raw :: c_int , pub h2 : :: std :: os :: raw :: c_int , pub data : * mut stbi_uc , pub raw_data : * mut :: std :: os :: raw :: c_void , pub raw_coeff : * mut :: std :: os :: raw :: c_void , pub linebuf : * mut stbi_uc , pub coeff : * mut :: std :: os :: raw :: c_short , pub coeff_w : :: std :: os :: raw :: c_int , pub coeff_h : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__jpeg__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__jpeg__bindgen_ty_1 > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__jpeg__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . h as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . v as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( v ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . tq as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( tq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . hd as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( hd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . ha as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( ha ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . dc_pred as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( dc_pred ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . x as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . y as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . w2 as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( w2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . h2 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( h2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . data as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . raw_data as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( raw_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . raw_coeff as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( raw_coeff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . linebuf as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( linebuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . coeff as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( coeff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . coeff_w as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( coeff_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg__bindgen_ty_1 > ( ) ) ) . coeff_h as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg__bindgen_ty_1 ) , "::" , stringify ! ( coeff_h ) ) ) ; } # [ test ] fn bindgen_test_layout_stbi__jpeg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__jpeg > ( ) , 18568usize , concat ! ( "Size of: " , stringify ! ( stbi__jpeg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__jpeg > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__jpeg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . huff_dc as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( huff_dc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . huff_ac as * const _ as usize } , 6728usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( huff_ac ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . dequant as * const _ as usize } , 13448usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( dequant ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . fast_ac as * const _ as usize } , 13960usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( fast_ac ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_h_max as * const _ as usize } , 18056usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_h_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_v_max as * const _ as usize } , 18060usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_v_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_x as * const _ as usize } , 18064usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_y as * const _ as usize } , 18068usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_w as * const _ as usize } , 18072usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_mcu_h as * const _ as usize } , 18076usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_mcu_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . img_comp as * const _ as usize } , 18080usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( img_comp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . code_buffer as * const _ as usize } , 18464usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( code_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . code_bits as * const _ as usize } , 18468usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( code_bits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . marker as * const _ as usize } , 18472usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . nomore as * const _ as usize } , 18476usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( nomore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . progressive as * const _ as usize } , 18480usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( progressive ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . spec_start as * const _ as usize } , 18484usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( spec_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . spec_end as * const _ as usize } , 18488usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( spec_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . succ_high as * const _ as usize } , 18492usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( succ_high ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . succ_low as * const _ as usize } , 18496usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( succ_low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . eob_run as * const _ as usize } , 18500usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( eob_run ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . jfif as * const _ as usize } , 18504usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( jfif ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . app14_color_transform as * const _ as usize } , 18508usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( app14_color_transform ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . rgb as * const _ as usize } , 18512usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( rgb ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . scan_n as * const _ as usize } , 18516usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( scan_n ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . order as * const _ as usize } , 18520usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( order ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . restart_interval as * const _ as usize } , 18536usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( restart_interval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . todo as * const _ as usize } , 18540usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( todo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . idct_block_kernel as * const _ as usize } , 18544usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( idct_block_kernel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . YCbCr_to_RGB_kernel as * const _ as usize } , 18552usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( YCbCr_to_RGB_kernel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__jpeg > ( ) ) ) . resample_row_hv_2_kernel as * const _ as usize } , 18560usize , concat ! ( "Offset of field: " , stringify ! ( stbi__jpeg ) , "::" , stringify ! ( resample_row_hv_2_kernel ) ) ) ; } extern "C" { pub static mut stbi__bmask : [ stbi__uint32 ; 17usize ] ; } extern "C" { pub static mut stbi__jbias : [ :: std :: os :: raw :: c_int ; 16usize ] ; } extern "C" { pub static mut stbi__jpeg_dezigzag : [ stbi_uc ; 79usize ] ; } pub type resample_row_func = :: std :: option :: Option < unsafe extern "C" fn ( out : * mut stbi_uc , in0 : * mut stbi_uc , in1 : * mut stbi_uc , w : :: std :: os :: raw :: c_int , hs : :: std :: os :: raw :: c_int ) -> * mut stbi_uc > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__resample { pub resample : resample_row_func , pub line0 : * mut stbi_uc , pub line1 : * mut stbi_uc , pub hs : :: std :: os :: raw :: c_int , pub vs : :: std :: os :: raw :: c_int , pub w_lores : :: std :: os :: raw :: c_int , pub ystep : :: std :: os :: raw :: c_int , pub ypos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__resample ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__resample > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( stbi__resample ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__resample > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__resample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . resample as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( resample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . line0 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( line0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . line1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( line1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . hs as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( hs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . vs as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( vs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . w_lores as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( w_lores ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . ystep as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( ystep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__resample > ( ) ) ) . ypos as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__resample ) , "::" , stringify ! ( ypos ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__zhuffman { pub fast : [ stbi__uint16 ; 512usize ] , pub firstcode : [ stbi__uint16 ; 16usize ] , pub maxcode : [ :: std :: os :: raw :: c_int ; 17usize ] , pub firstsymbol : [ stbi__uint16 ; 16usize ] , pub size : [ stbi_uc ; 288usize ] , pub value : [ stbi__uint16 ; 288usize ] , } # [ test ] fn bindgen_test_layout_stbi__zhuffman ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__zhuffman > ( ) , 2020usize , concat ! ( "Size of: " , stringify ! ( stbi__zhuffman ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__zhuffman > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__zhuffman ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . fast as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( fast ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . firstcode as * const _ as usize } , 1024usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( firstcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . maxcode as * const _ as usize } , 1056usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( maxcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . firstsymbol as * const _ as usize } , 1124usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( firstsymbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . size as * const _ as usize } , 1156usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zhuffman > ( ) ) ) . value as * const _ as usize } , 1444usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zhuffman ) , "::" , stringify ! ( value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__zbuf { pub zbuffer : * mut stbi_uc , pub zbuffer_end : * mut stbi_uc , pub num_bits : :: std :: os :: raw :: c_int , pub code_buffer : stbi__uint32 , pub zout : * mut :: std :: os :: raw :: c_char , pub zout_start : * mut :: std :: os :: raw :: c_char , pub zout_end : * mut :: std :: os :: raw :: c_char , pub z_expandable : :: std :: os :: raw :: c_int , pub z_length : stbi__zhuffman , pub z_distance : stbi__zhuffman , } # [ test ] fn bindgen_test_layout_stbi__zbuf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__zbuf > ( ) , 4096usize , concat ! ( "Size of: " , stringify ! ( stbi__zbuf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__zbuf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__zbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zbuffer as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zbuffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zbuffer_end as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zbuffer_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . num_bits as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( num_bits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . code_buffer as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( code_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zout as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zout_start as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zout_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . zout_end as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( zout_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . z_expandable as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( z_expandable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . z_length as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( z_length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__zbuf > ( ) ) ) . z_distance as * const _ as usize } , 2072usize , concat ! ( "Offset of field: " , stringify ! ( stbi__zbuf ) , "::" , stringify ! ( z_distance ) ) ) ; } extern "C" { pub static mut stbi__zlength_base : [ :: std :: os :: raw :: c_int ; 31usize ] ; } extern "C" { pub static mut stbi__zlength_extra : [ :: std :: os :: raw :: c_int ; 31usize ] ; } extern "C" { pub static mut stbi__zdist_base : [ :: std :: os :: raw :: c_int ; 32usize ] ; } extern "C" { pub static mut stbi__zdist_extra : [ :: std :: os :: raw :: c_int ; 32usize ] ; } extern "C" { pub static mut stbi__zdefault_length : [ stbi_uc ; 288usize ] ; } extern "C" { pub static mut stbi__zdefault_distance : [ stbi_uc ; 32usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__pngchunk { pub length : stbi__uint32 , pub type_ : stbi__uint32 , } # [ test ] fn bindgen_test_layout_stbi__pngchunk ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__pngchunk > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbi__pngchunk ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__pngchunk > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__pngchunk ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pngchunk > ( ) ) ) . length as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pngchunk ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pngchunk > ( ) ) ) . type_ as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pngchunk ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__png { pub s : * mut stbi__context , pub idata : * mut stbi_uc , pub expanded : * mut stbi_uc , pub out : * mut stbi_uc , pub depth : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__png ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__png > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( stbi__png ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__png > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__png ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . s as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . idata as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( idata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . expanded as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( expanded ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . out as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( out ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__png > ( ) ) ) . depth as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__png ) , "::" , stringify ! ( depth ) ) ) ; } pub const STBI__F_none : _bindgen_ty_6 = 0 ; pub const STBI__F_sub : _bindgen_ty_6 = 1 ; pub const STBI__F_up : _bindgen_ty_6 = 2 ; pub const STBI__F_avg : _bindgen_ty_6 = 3 ; pub const STBI__F_paeth : _bindgen_ty_6 = 4 ; pub const STBI__F_avg_first : _bindgen_ty_6 = 5 ; pub const STBI__F_paeth_first : _bindgen_ty_6 = 6 ; pub type _bindgen_ty_6 = u32 ; extern "C" { pub static mut first_row_filter : [ stbi_uc ; 5usize ] ; } extern "C" { pub static mut stbi__depth_scale_table : [ stbi_uc ; 9usize ] ; } pub const stbi__unpremultiply_on_load : :: std :: os :: raw :: c_int = 0 ; pub const stbi__de_iphone_flag : :: std :: os :: raw :: c_int = 0 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__bmp_data { pub bpp : :: std :: os :: raw :: c_int , pub offset : :: std :: os :: raw :: c_int , pub hsz : :: std :: os :: raw :: c_int , pub mr : :: std :: os :: raw :: c_uint , pub mg : :: std :: os :: raw :: c_uint , pub mb : :: std :: os :: raw :: c_uint , pub ma : :: std :: os :: raw :: c_uint , pub all_a : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_stbi__bmp_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__bmp_data > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( stbi__bmp_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__bmp_data > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbi__bmp_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . bpp as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( bpp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . offset as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . hsz as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( hsz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . mr as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( mr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . mg as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( mg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . mb as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( mb ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . ma as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( ma ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__bmp_data > ( ) ) ) . all_a as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbi__bmp_data ) , "::" , stringify ! ( all_a ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__pic_packet { pub size : stbi_uc , pub type_ : stbi_uc , pub channel : stbi_uc , } # [ test ] fn bindgen_test_layout_stbi__pic_packet ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__pic_packet > ( ) , 3usize , concat ! ( "Size of: " , stringify ! ( stbi__pic_packet ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__pic_packet > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( stbi__pic_packet ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pic_packet > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pic_packet ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pic_packet > ( ) ) ) . type_ as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pic_packet ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__pic_packet > ( ) ) ) . channel as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbi__pic_packet ) , "::" , stringify ! ( channel ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__gif_lzw { pub prefix : stbi__int16 , pub first : stbi_uc , pub suffix : stbi_uc , } # [ test ] fn bindgen_test_layout_stbi__gif_lzw ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__gif_lzw > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( stbi__gif_lzw ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__gif_lzw > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( stbi__gif_lzw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif_lzw > ( ) ) ) . prefix as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif_lzw ) , "::" , stringify ! ( prefix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif_lzw > ( ) ) ) . first as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif_lzw ) , "::" , stringify ! ( first ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif_lzw > ( ) ) ) . suffix as * const _ as usize } , 3usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif_lzw ) , "::" , stringify ! ( suffix ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct stbi__gif { pub w : :: std :: os :: raw :: c_int , pub h : :: std :: os :: raw :: c_int , pub out : * mut stbi_uc , pub background : * mut stbi_uc , pub history : * mut stbi_uc , pub flags : :: std :: os :: raw :: c_int , pub bgindex : :: std :: os :: raw :: c_int , pub ratio : :: std :: os :: raw :: c_int , pub transparent : :: std :: os :: raw :: c_int , pub eflags : :: std :: os :: raw :: c_int , pub pal : [ [ stbi_uc ; 4usize ] ; 256usize ] , pub lpal : [ [ stbi_uc ; 4usize ] ; 256usize ] , pub codes : [ stbi__gif_lzw ; 8192usize ] , pub color_table : * mut stbi_uc , pub parse : :: std :: os :: raw :: c_int , pub step : :: std :: os :: raw :: c_int , pub lflags : :: std :: os :: raw :: c_int , pub start_x : :: std :: os :: raw :: c_int , pub start_y : :: std :: os :: raw :: c_int , pub max_x : :: std :: os :: raw :: c_int , pub max_y : :: std :: os :: raw :: c_int , pub cur_x : :: std :: os :: raw :: c_int , pub cur_y : :: std :: os :: raw :: c_int , pub line_size : :: std :: os :: raw :: c_int , pub delay : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbi__gif ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__gif > ( ) , 34928usize , concat ! ( "Size of: " , stringify ! ( stbi__gif ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__gif > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__gif ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . w as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . h as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . out as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( out ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . background as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( background ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . history as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( history ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . flags as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . bgindex as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( bgindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . ratio as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( ratio ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . transparent as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( transparent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . eflags as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( eflags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . pal as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( pal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . lpal as * const _ as usize } , 1076usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( lpal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . codes as * const _ as usize } , 2100usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( codes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . color_table as * const _ as usize } , 34872usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( color_table ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . parse as * const _ as usize } , 34880usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( parse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . step as * const _ as usize } , 34884usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( step ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . lflags as * const _ as usize } , 34888usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( lflags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . start_x as * const _ as usize } , 34892usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( start_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . start_y as * const _ as usize } , 34896usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( start_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . max_x as * const _ as usize } , 34900usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( max_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . max_y as * const _ as usize } , 34904usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( max_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . cur_x as * const _ as usize } , 34908usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( cur_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . cur_y as * const _ as usize } , 34912usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( cur_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . line_size as * const _ as usize } , 34916usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( line_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__gif > ( ) ) ) . delay as * const _ as usize } , 34920usize , concat ! ( "Offset of field: " , stringify ! ( stbi__gif ) , "::" , stringify ! ( delay ) ) ) ; } extern "C" { pub static mut stbi_write_tga_with_rle : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut stbi_write_png_compression_level : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut stbi_write_force_png_filter : :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_png ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , stride_in_bytes : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_bmp ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_tga ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_hdr ( filename : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_jpg ( filename : * const :: std :: os :: raw :: c_char , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , quality : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type stbi_write_func = :: std :: option :: Option < unsafe extern "C" fn ( context : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int ) > ; extern "C" { pub fn stbi_write_png_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , stride_in_bytes : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_bmp_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_tga_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_hdr_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_write_jpg_to_func ( func : stbi_write_func , context : * mut :: std :: os :: raw :: c_void , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , comp : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , quality : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbi_flip_vertically_on_write ( flip_boolean : :: std :: os :: raw :: c_int ) ; } pub const stbi__flip_vertically_on_write : :: std :: os :: raw :: c_int = 0 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbi__write_context { pub func : stbi_write_func , pub context : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_stbi__write_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbi__write_context > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbi__write_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbi__write_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbi__write_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__write_context > ( ) ) ) . func as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbi__write_context ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbi__write_context > ( ) ) ) . context as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbi__write_context ) , "::" , stringify ! ( context ) ) ) ; } pub type stbiw_uint32 = :: std :: os :: raw :: c_uint ; pub type stb_image_write_test = [ :: std :: os :: raw :: c_int ; 1usize ] ; extern "C" { pub fn stbi_zlib_compress ( data : * mut :: std :: os :: raw :: c_uchar , data_len : :: std :: os :: raw :: c_int , out_len : * mut :: std :: os :: raw :: c_int , quality : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn stbi_write_png_to_mem ( pixels : * const :: std :: os :: raw :: c_uchar , stride_bytes : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , n : :: std :: os :: raw :: c_int , out_len : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_uchar ; } extern "C" { pub static mut stbiw__jpg_ZigZag : [ :: std :: os :: raw :: c_uchar ; 64usize ] ; } pub type stbir_uint8 = u8 ; pub type stbir_uint16 = u16 ; pub type stbir_uint32 = u32 ; extern "C" { pub fn stbir_resize_uint8 ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_float ( input_pixels : * const f32 , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut f32 , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_uint8_srgb ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub const stbir_edge_STBIR_EDGE_CLAMP : stbir_edge = 1 ; pub const stbir_edge_STBIR_EDGE_REFLECT : stbir_edge = 2 ; pub const stbir_edge_STBIR_EDGE_WRAP : stbir_edge = 3 ; pub const stbir_edge_STBIR_EDGE_ZERO : stbir_edge = 4 ; pub type stbir_edge = u32 ; extern "C" { pub fn stbir_resize_uint8_srgb_edgemode ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge ) -> :: std :: os :: raw :: c_int ; } pub const stbir_filter_STBIR_FILTER_DEFAULT : stbir_filter = 0 ; pub const stbir_filter_STBIR_FILTER_BOX : stbir_filter = 1 ; pub const stbir_filter_STBIR_FILTER_TRIANGLE : stbir_filter = 2 ; pub const stbir_filter_STBIR_FILTER_CUBICBSPLINE : stbir_filter = 3 ; pub const stbir_filter_STBIR_FILTER_CATMULLROM : stbir_filter = 4 ; pub const stbir_filter_STBIR_FILTER_MITCHELL : stbir_filter = 5 ; # [ doc = "" ] pub type stbir_filter = u32 ; pub const stbir_colorspace_STBIR_COLORSPACE_LINEAR : stbir_colorspace = 0 ; pub const stbir_colorspace_STBIR_COLORSPACE_SRGB : stbir_colorspace = 1 ; pub const stbir_colorspace_STBIR_MAX_COLORSPACES : stbir_colorspace = 2 ; pub type stbir_colorspace = u32 ; extern "C" { pub fn stbir_resize_uint8_generic ( input_pixels : * const :: std :: os :: raw :: c_uchar , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_uchar , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge , filter : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_uint16_generic ( input_pixels : * const stbir_uint16 , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut stbir_uint16 , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge , filter : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_float_generic ( input_pixels : * const f32 , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut f32 , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_wrap_mode : stbir_edge , filter : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } pub const stbir_datatype_STBIR_TYPE_UINT8 : stbir_datatype = 0 ; pub const stbir_datatype_STBIR_TYPE_UINT16 : stbir_datatype = 1 ; pub const stbir_datatype_STBIR_TYPE_UINT32 : stbir_datatype = 2 ; pub const stbir_datatype_STBIR_TYPE_FLOAT : stbir_datatype = 3 ; pub const stbir_datatype_STBIR_MAX_TYPES : stbir_datatype = 4 ; # [ doc = "" ] pub type stbir_datatype = u32 ; extern "C" { pub fn stbir_resize ( input_pixels : * const :: std :: os :: raw :: c_void , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_void , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , datatype : stbir_datatype , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_mode_horizontal : stbir_edge , edge_mode_vertical : stbir_edge , filter_horizontal : stbir_filter , filter_vertical : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_subpixel ( input_pixels : * const :: std :: os :: raw :: c_void , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_void , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , datatype : stbir_datatype , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_mode_horizontal : stbir_edge , edge_mode_vertical : stbir_edge , filter_horizontal : stbir_filter , filter_vertical : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void , x_scale : f32 , y_scale : f32 , x_offset : f32 , y_offset : f32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn stbir_resize_region ( input_pixels : * const :: std :: os :: raw :: c_void , input_w : :: std :: os :: raw :: c_int , input_h : :: std :: os :: raw :: c_int , input_stride_in_bytes : :: std :: os :: raw :: c_int , output_pixels : * mut :: std :: os :: raw :: c_void , output_w : :: std :: os :: raw :: c_int , output_h : :: std :: os :: raw :: c_int , output_stride_in_bytes : :: std :: os :: raw :: c_int , datatype : stbir_datatype , num_channels : :: std :: os :: raw :: c_int , alpha_channel : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int , edge_mode_horizontal : stbir_edge , edge_mode_vertical : stbir_edge , filter_horizontal : stbir_filter , filter_vertical : stbir_filter , space : stbir_colorspace , alloc_context : * mut :: std :: os :: raw :: c_void , s0 : f32 , t0 : f32 , s1 : f32 , t1 : f32 ) -> :: std :: os :: raw :: c_int ; } pub type stbir__validate_uint32 = [ :: std :: os :: raw :: c_uchar ; 1usize ] ; extern "C" { pub static mut stbir__type_size : [ :: std :: os :: raw :: c_uchar ; 4usize ] ; } pub type stbir__kernel_fn = :: std :: option :: Option < unsafe extern "C" fn ( x : f32 , scale : f32 ) -> f32 > ; pub type stbir__support_fn = :: std :: option :: Option < unsafe extern "C" fn ( scale : f32 ) -> f32 > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbir__filter_info { pub kernel : stbir__kernel_fn , pub support : stbir__support_fn , } # [ test ] fn bindgen_test_layout_stbir__filter_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__filter_info > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbir__filter_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__filter_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbir__filter_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__filter_info > ( ) ) ) . kernel as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__filter_info ) , "::" , stringify ! ( kernel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__filter_info > ( ) ) ) . support as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbir__filter_info ) , "::" , stringify ! ( support ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbir__contributors { pub n0 : :: std :: os :: raw :: c_int , pub n1 : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbir__contributors ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__contributors > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbir__contributors ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__contributors > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbir__contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__contributors > ( ) ) ) . n0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__contributors ) , "::" , stringify ! ( n0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__contributors > ( ) ) ) . n1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbir__contributors ) , "::" , stringify ! ( n1 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbir__info { pub input_data : * const :: std :: os :: raw :: c_void , pub input_w : :: std :: os :: raw :: c_int , pub input_h : :: std :: os :: raw :: c_int , pub input_stride_bytes : :: std :: os :: raw :: c_int , pub output_data : * mut :: std :: os :: raw :: c_void , pub output_w : :: std :: os :: raw :: c_int , pub output_h : :: std :: os :: raw :: c_int , pub output_stride_bytes : :: std :: os :: raw :: c_int , pub s0 : f32 , pub t0 : f32 , pub s1 : f32 , pub t1 : f32 , pub horizontal_shift : f32 , pub vertical_shift : f32 , pub horizontal_scale : f32 , pub vertical_scale : f32 , pub channels : :: std :: os :: raw :: c_int , pub alpha_channel : :: std :: os :: raw :: c_int , pub flags : stbir_uint32 , pub type_ : stbir_datatype , pub horizontal_filter : stbir_filter , pub vertical_filter : stbir_filter , pub edge_horizontal : stbir_edge , pub edge_vertical : stbir_edge , pub colorspace : stbir_colorspace , pub horizontal_contributors : * mut stbir__contributors , pub horizontal_coefficients : * mut f32 , pub vertical_contributors : * mut stbir__contributors , pub vertical_coefficients : * mut f32 , pub decode_buffer_pixels : :: std :: os :: raw :: c_int , pub decode_buffer : * mut f32 , pub horizontal_buffer : * mut f32 , pub horizontal_coefficient_width : :: std :: os :: raw :: c_int , pub vertical_coefficient_width : :: std :: os :: raw :: c_int , pub horizontal_filter_pixel_width : :: std :: os :: raw :: c_int , pub vertical_filter_pixel_width : :: std :: os :: raw :: c_int , pub horizontal_filter_pixel_margin : :: std :: os :: raw :: c_int , pub vertical_filter_pixel_margin : :: std :: os :: raw :: c_int , pub horizontal_num_contributors : :: std :: os :: raw :: c_int , pub vertical_num_contributors : :: std :: os :: raw :: c_int , pub ring_buffer_length_bytes : :: std :: os :: raw :: c_int , pub ring_buffer_num_entries : :: std :: os :: raw :: c_int , pub ring_buffer_first_scanline : :: std :: os :: raw :: c_int , pub ring_buffer_last_scanline : :: std :: os :: raw :: c_int , pub ring_buffer_begin_index : :: std :: os :: raw :: c_int , pub ring_buffer : * mut f32 , pub encode_buffer : * mut f32 , pub horizontal_contributors_size : :: std :: os :: raw :: c_int , pub horizontal_coefficients_size : :: std :: os :: raw :: c_int , pub vertical_contributors_size : :: std :: os :: raw :: c_int , pub vertical_coefficients_size : :: std :: os :: raw :: c_int , pub decode_buffer_size : :: std :: os :: raw :: c_int , pub horizontal_buffer_size : :: std :: os :: raw :: c_int , pub ring_buffer_size : :: std :: os :: raw :: c_int , pub encode_buffer_size : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbir__info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__info > ( ) , 272usize , concat ! ( "Size of: " , stringify ! ( stbir__info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbir__info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_w as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_h as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . input_stride_bytes as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( input_stride_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_data as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_w as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_h as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . output_stride_bytes as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( output_stride_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . s0 as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( s0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . t0 as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( t0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . s1 as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( s1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . t1 as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( t1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_shift as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_shift ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_shift as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_shift ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_scale as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_scale as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_scale ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . channels as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( channels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . alpha_channel as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( alpha_channel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . flags as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . type_ as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_filter as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_filter as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . edge_horizontal as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( edge_horizontal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . edge_vertical as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( edge_vertical ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . colorspace as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( colorspace ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_contributors as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_coefficients as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_coefficients ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_contributors as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_coefficients as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_coefficients ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . decode_buffer_pixels as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( decode_buffer_pixels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . decode_buffer as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( decode_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_buffer as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_coefficient_width as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_coefficient_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_coefficient_width as * const _ as usize } , 172usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_coefficient_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_filter_pixel_width as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_filter_pixel_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_filter_pixel_width as * const _ as usize } , 180usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_filter_pixel_width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_filter_pixel_margin as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_filter_pixel_margin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_filter_pixel_margin as * const _ as usize } , 188usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_filter_pixel_margin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_num_contributors as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_num_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_num_contributors as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_num_contributors ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_length_bytes as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_length_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_num_entries as * const _ as usize } , 204usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_num_entries ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_first_scanline as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_first_scanline ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_last_scanline as * const _ as usize } , 212usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_last_scanline ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_begin_index as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_begin_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . encode_buffer as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( encode_buffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_contributors_size as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_contributors_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_coefficients_size as * const _ as usize } , 244usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_coefficients_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_contributors_size as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_contributors_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . vertical_coefficients_size as * const _ as usize } , 252usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( vertical_coefficients_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . decode_buffer_size as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( decode_buffer_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . horizontal_buffer_size as * const _ as usize } , 260usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( horizontal_buffer_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . ring_buffer_size as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( ring_buffer_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__info > ( ) ) ) . encode_buffer_size as * const _ as usize } , 268usize , concat ! ( "Offset of field: " , stringify ! ( stbir__info ) , "::" , stringify ! ( encode_buffer_size ) ) ) ; } pub const stbir__max_uint8_as_float : f32 = 255.0 ; pub const stbir__max_uint16_as_float : f32 = 65535.0 ; pub const stbir__max_uint32_as_float : f64 = 4294967295.0 ; extern "C" { pub static mut stbir__srgb_uchar_to_linear_float : [ f32 ; 256usize ] ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union stbir__FP32 { pub u : stbir_uint32 , pub f : f32 , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_stbir__FP32 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbir__FP32 > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( stbir__FP32 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbir__FP32 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbir__FP32 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__FP32 > ( ) ) ) . u as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__FP32 ) , "::" , stringify ! ( u ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbir__FP32 > ( ) ) ) . f as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbir__FP32 ) , "::" , stringify ! ( f ) ) ) ; } extern "C" { pub static mut fp32_to_srgb8_tab4 : [ stbir_uint32 ; 104usize ] ; } extern "C" { pub static mut stbir__filter_info_table : [ stbir__filter_info ; 6usize ] ; } extern "C" { pub fn stb_perlin_noise3 ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_ridge_noise3 ( x : f32 , y : f32 , z : f32 , lacunarity : f32 , gain : f32 , offset : f32 , octaves : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_fbm_noise3 ( x : f32 , y : f32 , z : f32 , lacunarity : f32 , gain : f32 , octaves : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_turbulence_noise3 ( x : f32 , y : f32 , z : f32 , lacunarity : f32 , gain : f32 , octaves : :: std :: os :: raw :: c_int ) -> f32 ; } extern "C" { pub fn stb_perlin_noise3_wrap_nonpow2 ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int , seed : :: std :: os :: raw :: c_uchar ) -> f32 ; } extern "C" { pub static mut stb__perlin_randtab : [ :: std :: os :: raw :: c_uchar ; 512usize ] ; } extern "C" { pub static mut stb__perlin_randtab_grad_idx : [ :: std :: os :: raw :: c_uchar ; 512usize ] ; } extern "C" { pub fn stb_perlin_noise3_internal ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int , seed : :: std :: os :: raw :: c_uchar ) -> f32 ; } extern "C" { pub fn stb_perlin_noise3_seed ( x : f32 , y : f32 , z : f32 , x_wrap : :: std :: os :: raw :: c_int , y_wrap : :: std :: os :: raw :: c_int , z_wrap : :: std :: os :: raw :: c_int , seed : :: std :: os :: raw :: c_int ) -> f32 ; } pub type stbrp_coord = :: std :: os :: raw :: c_ushort ; extern "C" { pub fn stbrp_pack_rects ( context : * mut stbrp_context , rects : * mut stbrp_rect , num_rects : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp_rect { pub id : :: std :: os :: raw :: c_int , pub w : stbrp_coord , pub h : stbrp_coord , pub x : stbrp_coord , pub y : stbrp_coord , pub was_packed : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbrp_rect ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp_rect > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbrp_rect ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp_rect > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbrp_rect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . w as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . h as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . x as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . y as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_rect > ( ) ) ) . was_packed as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_rect ) , "::" , stringify ! ( was_packed ) ) ) ; } extern "C" { pub fn stbrp_init_target ( context : * mut stbrp_context , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , nodes : * mut stbrp_node , num_nodes : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbrp_setup_allow_out_of_mem ( context : * mut stbrp_context , allow_out_of_mem : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn stbrp_setup_heuristic ( context : * mut stbrp_context , heuristic : :: std :: os :: raw :: c_int ) ; } pub const STBRP_HEURISTIC_Skyline_default : _bindgen_ty_7 = 0 ; pub const STBRP_HEURISTIC_Skyline_BL_sortHeight : _bindgen_ty_7 = 0 ; pub const STBRP_HEURISTIC_Skyline_BF_sortHeight : _bindgen_ty_7 = 1 ; pub type _bindgen_ty_7 = u32 ; # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp_node { pub x : stbrp_coord , pub y : stbrp_coord , pub next : * mut stbrp_node , } # [ test ] fn bindgen_test_layout_stbrp_node ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp_node > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbrp_node ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp_node > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbrp_node ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_node > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_node ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_node > ( ) ) ) . y as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_node ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_node > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_node ) , "::" , stringify ! ( next ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp_context { pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub align : :: std :: os :: raw :: c_int , pub init_mode : :: std :: os :: raw :: c_int , pub heuristic : :: std :: os :: raw :: c_int , pub num_nodes : :: std :: os :: raw :: c_int , pub active_head : * mut stbrp_node , pub free_head : * mut stbrp_node , pub extra : [ stbrp_node ; 2usize ] , } # [ test ] fn bindgen_test_layout_stbrp_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp_context > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( stbrp_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbrp_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . width as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . height as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . align as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( align ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . init_mode as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( init_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . heuristic as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( heuristic ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . num_nodes as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( num_nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . active_head as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( active_head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . free_head as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( free_head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp_context > ( ) ) ) . extra as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbrp_context ) , "::" , stringify ! ( extra ) ) ) ; } pub const STBRP__INIT_skyline : _bindgen_ty_8 = 1 ; pub type _bindgen_ty_8 = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbrp__findresult { pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub prev_link : * mut * mut stbrp_node , } # [ test ] fn bindgen_test_layout_stbrp__findresult ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbrp__findresult > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbrp__findresult ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbrp__findresult > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbrp__findresult ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp__findresult > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbrp__findresult ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp__findresult > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbrp__findresult ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbrp__findresult > ( ) ) ) . prev_link as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbrp__findresult ) , "::" , stringify ! ( prev_link ) ) ) ; } pub type stbtt_uint8 = :: std :: os :: raw :: c_uchar ; pub type stbtt_int8 = :: std :: os :: raw :: c_schar ; pub type stbtt_uint16 = :: std :: os :: raw :: c_ushort ; pub type stbtt_int16 = :: std :: os :: raw :: c_short ; pub type stbtt_uint32 = :: std :: os :: raw :: c_uint ; pub type stbtt_int32 = :: std :: os :: raw :: c_int ; pub type stbtt__check_size32 = [ :: std :: os :: raw :: c_char ; 1usize ] ; pub type stbtt__check_size16 = [ :: std :: os :: raw :: c_char ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__buf { pub data : * mut :: std :: os :: raw :: c_uchar , pub cursor : :: std :: os :: raw :: c_int , pub size : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__buf ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__buf > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stbtt__buf ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__buf > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__buf > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__buf ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__buf > ( ) ) ) . cursor as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__buf ) , "::" , stringify ! ( cursor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__buf > ( ) ) ) . size as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__buf ) , "::" , stringify ! ( size ) ) ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_bakedchar { pub x0 : :: std :: os :: raw :: c_ushort , pub y0 : :: std :: os :: raw :: c_ushort , pub x1 : :: std :: os :: raw :: c_ushort , pub y1 : :: std :: os :: raw :: c_ushort , pub xoff : f32 , pub yoff : f32 , pub xadvance : f32 , } # [ test ] fn bindgen_test_layout_stbtt_bakedchar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_bakedchar > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( stbtt_bakedchar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_bakedchar > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt_bakedchar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . y0 as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . x1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . y1 as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . xoff as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( xoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . yoff as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( yoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_bakedchar > ( ) ) ) . xadvance as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_bakedchar ) , "::" , stringify ! ( xadvance ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_aligned_quad { pub x0 : f32 , pub y0 : f32 , pub s0 : f32 , pub t0 : f32 , pub x1 : f32 , pub y1 : f32 , pub s1 : f32 , pub t1 : f32 , } # [ test ] fn bindgen_test_layout_stbtt_aligned_quad ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_aligned_quad > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( stbtt_aligned_quad ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_aligned_quad > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt_aligned_quad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . y0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . s0 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( s0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . t0 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( t0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . x1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . y1 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . s1 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( s1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_aligned_quad > ( ) ) ) . t1 as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_aligned_quad ) , "::" , stringify ! ( t1 ) ) ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_packedchar { pub x0 : :: std :: os :: raw :: c_ushort , pub y0 : :: std :: os :: raw :: c_ushort , pub x1 : :: std :: os :: raw :: c_ushort , pub y1 : :: std :: os :: raw :: c_ushort , pub xoff : f32 , pub yoff : f32 , pub xadvance : f32 , pub xoff2 : f32 , pub yoff2 : f32 , } # [ test ] fn bindgen_test_layout_stbtt_packedchar ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_packedchar > ( ) , 28usize , concat ! ( "Size of: " , stringify ! ( stbtt_packedchar ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_packedchar > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt_packedchar ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . y0 as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . x1 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . y1 as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . xoff as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( xoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . yoff as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( yoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . xadvance as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( xadvance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . xoff2 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( xoff2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_packedchar > ( ) ) ) . yoff2 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_packedchar ) , "::" , stringify ! ( yoff2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_pack_range { pub font_size : f32 , pub first_unicode_codepoint_in_range : :: std :: os :: raw :: c_int , pub array_of_unicode_codepoints : * mut :: std :: os :: raw :: c_int , pub num_chars : :: std :: os :: raw :: c_int , pub chardata_for_range : * mut stbtt_packedchar , pub h_oversample : :: std :: os :: raw :: c_uchar , pub v_oversample : :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_stbtt_pack_range ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_pack_range > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( stbtt_pack_range ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_pack_range > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt_pack_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . font_size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( font_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . first_unicode_codepoint_in_range as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( first_unicode_codepoint_in_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . array_of_unicode_codepoints as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( array_of_unicode_codepoints ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . num_chars as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( num_chars ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . chardata_for_range as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( chardata_for_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . h_oversample as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( h_oversample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_range > ( ) ) ) . v_oversample as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_range ) , "::" , stringify ! ( v_oversample ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_pack_context { pub user_allocator_context : * mut :: std :: os :: raw :: c_void , pub pack_info : * mut :: std :: os :: raw :: c_void , pub width : :: std :: os :: raw :: c_int , pub height : :: std :: os :: raw :: c_int , pub stride_in_bytes : :: std :: os :: raw :: c_int , pub padding : :: std :: os :: raw :: c_int , pub skip_missing : :: std :: os :: raw :: c_int , pub h_oversample : :: std :: os :: raw :: c_uint , pub v_oversample : :: std :: os :: raw :: c_uint , pub pixels : * mut :: std :: os :: raw :: c_uchar , pub nodes : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_stbtt_pack_context ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_pack_context > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( stbtt_pack_context ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_pack_context > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt_pack_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . user_allocator_context as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( user_allocator_context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . pack_info as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( pack_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . width as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . height as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . stride_in_bytes as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( stride_in_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . padding as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( padding ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . skip_missing as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( skip_missing ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . h_oversample as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( h_oversample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . v_oversample as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( v_oversample ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . pixels as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( pixels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_pack_context > ( ) ) ) . nodes as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_pack_context ) , "::" , stringify ! ( nodes ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_fontinfo { pub userdata : * mut :: std :: os :: raw :: c_void , pub data : * mut :: std :: os :: raw :: c_uchar , pub fontstart : :: std :: os :: raw :: c_int , pub numGlyphs : :: std :: os :: raw :: c_int , pub loca : :: std :: os :: raw :: c_int , pub head : :: std :: os :: raw :: c_int , pub glyf : :: std :: os :: raw :: c_int , pub hhea : :: std :: os :: raw :: c_int , pub hmtx : :: std :: os :: raw :: c_int , pub kern : :: std :: os :: raw :: c_int , pub gpos : :: std :: os :: raw :: c_int , pub index_map : :: std :: os :: raw :: c_int , pub indexToLocFormat : :: std :: os :: raw :: c_int , pub cff : stbtt__buf , pub charstrings : stbtt__buf , pub gsubrs : stbtt__buf , pub subrs : stbtt__buf , pub fontdicts : stbtt__buf , pub fdselect : stbtt__buf , } # [ test ] fn bindgen_test_layout_stbtt_fontinfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_fontinfo > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( stbtt_fontinfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_fontinfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt_fontinfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . userdata as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( userdata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . data as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . fontstart as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( fontstart ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . numGlyphs as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( numGlyphs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . loca as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( loca ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . head as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . glyf as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( glyf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . hhea as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( hhea ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . hmtx as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( hmtx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . kern as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( kern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . gpos as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( gpos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . index_map as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( index_map ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . indexToLocFormat as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( indexToLocFormat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . cff as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( cff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . charstrings as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( charstrings ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . gsubrs as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( gsubrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . subrs as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( subrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . fontdicts as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( fontdicts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_fontinfo > ( ) ) ) . fdselect as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_fontinfo ) , "::" , stringify ! ( fdselect ) ) ) ; } pub const STBTT_vmove : _bindgen_ty_9 = 1 ; pub const STBTT_vline : _bindgen_ty_9 = 2 ; pub const STBTT_vcurve : _bindgen_ty_9 = 3 ; pub const STBTT_vcubic : _bindgen_ty_9 = 4 ; pub type _bindgen_ty_9 = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt_vertex { pub x : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub cx : :: std :: os :: raw :: c_short , pub cy : :: std :: os :: raw :: c_short , pub cx1 : :: std :: os :: raw :: c_short , pub cy1 : :: std :: os :: raw :: c_short , pub type_ : :: std :: os :: raw :: c_uchar , pub padding : :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_stbtt_vertex ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt_vertex > ( ) , 14usize , concat ! ( "Size of: " , stringify ! ( stbtt_vertex ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt_vertex > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( stbtt_vertex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . y as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cx as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cy as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cx1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cx1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . cy1 as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( cy1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . type_ as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt_vertex > ( ) ) ) . padding as * const _ as usize } , 13usize , concat ! ( "Offset of field: " , stringify ! ( stbtt_vertex ) , "::" , stringify ! ( padding ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__bitmap { pub w : :: std :: os :: raw :: c_int , pub h : :: std :: os :: raw :: c_int , pub stride : :: std :: os :: raw :: c_int , pub pixels : * mut :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_stbtt__bitmap ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__bitmap > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stbtt__bitmap ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__bitmap > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__bitmap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . w as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . h as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . stride as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( stride ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__bitmap > ( ) ) ) . pixels as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__bitmap ) , "::" , stringify ! ( pixels ) ) ) ; } pub const STBTT_PLATFORM_ID_UNICODE : _bindgen_ty_10 = 0 ; pub const STBTT_PLATFORM_ID_MAC : _bindgen_ty_10 = 1 ; pub const STBTT_PLATFORM_ID_ISO : _bindgen_ty_10 = 2 ; pub const STBTT_PLATFORM_ID_MICROSOFT : _bindgen_ty_10 = 3 ; pub type _bindgen_ty_10 = u32 ; pub const STBTT_UNICODE_EID_UNICODE_1_0 : _bindgen_ty_11 = 0 ; pub const STBTT_UNICODE_EID_UNICODE_1_1 : _bindgen_ty_11 = 1 ; pub const STBTT_UNICODE_EID_ISO_10646 : _bindgen_ty_11 = 2 ; pub const STBTT_UNICODE_EID_UNICODE_2_0_BMP : _bindgen_ty_11 = 3 ; pub const STBTT_UNICODE_EID_UNICODE_2_0_FULL : _bindgen_ty_11 = 4 ; pub type _bindgen_ty_11 = u32 ; pub const STBTT_MS_EID_SYMBOL : _bindgen_ty_12 = 0 ; pub const STBTT_MS_EID_UNICODE_BMP : _bindgen_ty_12 = 1 ; pub const STBTT_MS_EID_SHIFTJIS : _bindgen_ty_12 = 2 ; pub const STBTT_MS_EID_UNICODE_FULL : _bindgen_ty_12 = 10 ; pub type _bindgen_ty_12 = u32 ; pub const STBTT_MAC_EID_ROMAN : _bindgen_ty_13 = 0 ; pub const STBTT_MAC_EID_ARABIC : _bindgen_ty_13 = 4 ; pub const STBTT_MAC_EID_JAPANESE : _bindgen_ty_13 = 1 ; pub const STBTT_MAC_EID_HEBREW : _bindgen_ty_13 = 5 ; pub const STBTT_MAC_EID_CHINESE_TRAD : _bindgen_ty_13 = 2 ; pub const STBTT_MAC_EID_GREEK : _bindgen_ty_13 = 6 ; pub const STBTT_MAC_EID_KOREAN : _bindgen_ty_13 = 3 ; pub const STBTT_MAC_EID_RUSSIAN : _bindgen_ty_13 = 7 ; pub type _bindgen_ty_13 = u32 ; pub const STBTT_MS_LANG_ENGLISH : _bindgen_ty_14 = 1033 ; pub const STBTT_MS_LANG_ITALIAN : _bindgen_ty_14 = 1040 ; pub const STBTT_MS_LANG_CHINESE : _bindgen_ty_14 = 2052 ; pub const STBTT_MS_LANG_JAPANESE : _bindgen_ty_14 = 1041 ; pub const STBTT_MS_LANG_DUTCH : _bindgen_ty_14 = 1043 ; pub const STBTT_MS_LANG_KOREAN : _bindgen_ty_14 = 1042 ; pub const STBTT_MS_LANG_FRENCH : _bindgen_ty_14 = 1036 ; pub const STBTT_MS_LANG_RUSSIAN : _bindgen_ty_14 = 1049 ; pub const STBTT_MS_LANG_GERMAN : _bindgen_ty_14 = 1031 ; pub const STBTT_MS_LANG_SPANISH : _bindgen_ty_14 = 1033 ; pub const STBTT_MS_LANG_HEBREW : _bindgen_ty_14 = 1037 ; pub const STBTT_MS_LANG_SWEDISH : _bindgen_ty_14 = 1053 ; pub type _bindgen_ty_14 = u32 ; pub const STBTT_MAC_LANG_ENGLISH : _bindgen_ty_15 = 0 ; pub const STBTT_MAC_LANG_JAPANESE : _bindgen_ty_15 = 11 ; pub const STBTT_MAC_LANG_ARABIC : _bindgen_ty_15 = 12 ; pub const STBTT_MAC_LANG_KOREAN : _bindgen_ty_15 = 23 ; pub const STBTT_MAC_LANG_DUTCH : _bindgen_ty_15 = 4 ; pub const STBTT_MAC_LANG_RUSSIAN : _bindgen_ty_15 = 32 ; pub const STBTT_MAC_LANG_FRENCH : _bindgen_ty_15 = 1 ; pub const STBTT_MAC_LANG_SPANISH : _bindgen_ty_15 = 6 ; pub const STBTT_MAC_LANG_GERMAN : _bindgen_ty_15 = 2 ; pub const STBTT_MAC_LANG_SWEDISH : _bindgen_ty_15 = 5 ; pub const STBTT_MAC_LANG_HEBREW : _bindgen_ty_15 = 10 ; pub const STBTT_MAC_LANG_CHINESE_SIMPLIFIED : _bindgen_ty_15 = 33 ; pub const STBTT_MAC_LANG_ITALIAN : _bindgen_ty_15 = 3 ; pub const STBTT_MAC_LANG_CHINESE_TRAD : _bindgen_ty_15 = 19 ; pub type _bindgen_ty_15 = u32 ; pub type stbtt__test_oversample_pow2 = [ :: std :: os :: raw :: c_int ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__csctx { pub bounds : :: std :: os :: raw :: c_int , pub started : :: std :: os :: raw :: c_int , pub first_x : f32 , pub first_y : f32 , pub x : f32 , pub y : f32 , pub min_x : stbtt_int32 , pub max_x : stbtt_int32 , pub min_y : stbtt_int32 , pub max_y : stbtt_int32 , pub pvertices : * mut stbtt_vertex , pub num_vertices : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__csctx ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__csctx > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( stbtt__csctx ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__csctx > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__csctx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . bounds as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( bounds ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . started as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( started ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . first_x as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( first_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . first_y as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( first_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . x as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . y as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . min_x as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( min_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . max_x as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( max_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . min_y as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( min_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . max_y as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( max_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . pvertices as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( pvertices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__csctx > ( ) ) ) . num_vertices as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__csctx ) , "::" , stringify ! ( num_vertices ) ) ) ; } # [ doc = "" ] # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__hheap_chunk { pub next : * mut stbtt__hheap_chunk , } # [ test ] fn bindgen_test_layout_stbtt__hheap_chunk ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__hheap_chunk > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbtt__hheap_chunk ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__hheap_chunk > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__hheap_chunk ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap_chunk > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap_chunk ) , "::" , stringify ! ( next ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__hheap { pub head : * mut stbtt__hheap_chunk , pub first_free : * mut :: std :: os :: raw :: c_void , pub num_remaining_in_head_chunk : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__hheap ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__hheap > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stbtt__hheap ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__hheap > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__hheap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap > ( ) ) ) . head as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap ) , "::" , stringify ! ( head ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap > ( ) ) ) . first_free as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap ) , "::" , stringify ! ( first_free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__hheap > ( ) ) ) . num_remaining_in_head_chunk as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__hheap ) , "::" , stringify ! ( num_remaining_in_head_chunk ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__edge { pub x0 : f32 , pub y0 : f32 , pub x1 : f32 , pub y1 : f32 , pub invert : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_stbtt__edge ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__edge > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( stbtt__edge ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__edge > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt__edge ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . y0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . x1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . y1 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__edge > ( ) ) ) . invert as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__edge ) , "::" , stringify ! ( invert ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__active_edge { pub next : * mut stbtt__active_edge , pub fx : f32 , pub fdx : f32 , pub fdy : f32 , pub direction : f32 , pub sy : f32 , pub ey : f32 , } # [ test ] fn bindgen_test_layout_stbtt__active_edge ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__active_edge > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( stbtt__active_edge ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__active_edge > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stbtt__active_edge ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . fx as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( fx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . fdx as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( fdx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . fdy as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( fdy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . direction as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( direction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . sy as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( sy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__active_edge > ( ) ) ) . ey as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__active_edge ) , "::" , stringify ! ( ey ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stbtt__point { pub x : f32 , pub y : f32 , } # [ test ] fn bindgen_test_layout_stbtt__point ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stbtt__point > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( stbtt__point ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stbtt__point > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( stbtt__point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__point > ( ) ) ) . x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__point ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stbtt__point > ( ) ) ) . y as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( stbtt__point ) , "::" , stringify ! ( y ) ) ) ; } # [ 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 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct sigevent { _unused : [ u8 ; 0 ] , } 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" { pub static mut __tzname : [ * mut :: std :: os :: raw :: c_char ; 2usize ] ; } extern "C" { pub static mut __daylight : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut __timezone : :: std :: os :: raw :: c_long ; } extern "C" { pub static mut tzname : [ * mut :: std :: os :: raw :: c_char ; 2usize ] ; } extern "C" { pub fn tzset ( ) ; } extern "C" { pub static mut daylight : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut timezone : :: std :: os :: raw :: c_long ; } extern "C" { pub fn stime ( __when : * const time_t ) -> :: std :: os :: raw :: c_int ; } 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 const rf_camera_move_rf_move_front : rf_camera_move = 0 ; pub const rf_camera_move_rf_move_back : rf_camera_move = 1 ; pub const rf_camera_move_rf_move_right : rf_camera_move = 2 ; pub const rf_camera_move_rf_move_left : rf_camera_move = 3 ; pub const rf_camera_move_rf_move_up : rf_camera_move = 4 ; pub const rf_camera_move_rf_move_down : rf_camera_move = 5 ; pub type rf_camera_move = u32 ; extern "C" { pub static mut rf_base64_table : [ :: std :: os :: raw :: c_uchar ; 123usize ] ; } pub type RFRSloadproc = :: std :: option :: Option < unsafe extern "C" fn ( name : * const :: std :: os :: raw :: c_char , userdata : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > ; extern "C" { pub static mut _rfrsLoadProcUserData : * mut :: std :: os :: raw :: c_void ; } extern "C" { pub static mut _rfrsLoadProcProc : RFRSloadproc ; } extern "C" { pub fn _rfrsGLADLoadGLLoader ( name : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rfrsLoadGL ( proc_ : RFRSloadproc , userdata : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } [INFO] [stderr] | --------------------------------- previous definition of the value `FP_INFINITE` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_INFINITE` redefined here [INFO] [stderr] | [INFO] [stderr] = note: `FP_INFINITE` must be defined only once in the value namespace of this module [INFO] [stderr] [INFO] [stderr] error[E0428]: the name `FP_ZERO` is defined multiple times [INFO] [stderr] --> /opt/rustwide/target/debug/build/rayfork-sys-ea336cab987eacc3/out/bindings.rs:3:414742 [INFO] [stderr] | [WARN] too much data in the log, truncating it