mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 13:21:38 +03:00
deps: update regenerate.sh scripts for newer bindgen cli
No functional change, just updating for changes in more recent versions of bindgen.
This commit is contained in:
parent
2aba1dee2b
commit
c6f4ff3626
8
deps/freetype/regenerate.sh
vendored
8
deps/freetype/regenerate.sh
vendored
@ -3,7 +3,7 @@
|
||||
bindgen bindings.h -o src/lib.rs \
|
||||
--no-layout-tests \
|
||||
--no-doc-comments \
|
||||
--blacklist-type "FT_(Int16|UInt16|Int32|UInt32|Int16|Int64|UInt64)" \
|
||||
--blocklist-type "FT_(Int16|UInt16|Int32|UInt32|Int16|Int64|UInt64)" \
|
||||
--raw-line "#![allow(non_snake_case)]" \
|
||||
--raw-line "#![allow(non_camel_case_types)]" \
|
||||
--raw-line "#![allow(non_upper_case_globals)]" \
|
||||
@ -17,7 +17,7 @@ bindgen bindings.h -o src/lib.rs \
|
||||
--raw-line "pub type FT_UInt64 = u64;" \
|
||||
--default-enum-style rust \
|
||||
--generate=functions,types,vars \
|
||||
--whitelist-function="FT_.*" \
|
||||
--whitelist-type="[FT]T_.*" \
|
||||
--whitelist-var="[FT]T_.*" \
|
||||
--allowlist-function="FT_.*" \
|
||||
--allowlist-type="[FT]T_.*" \
|
||||
--allowlist-var="[FT]T_.*" \
|
||||
-- -Ifreetype2/include
|
||||
|
21
deps/freetype/src/lib.rs
vendored
21
deps/freetype/src/lib.rs
vendored
@ -1,4 +1,4 @@
|
||||
/* automatically generated by rust-bindgen 0.60.1 */
|
||||
/* automatically generated by rust-bindgen 0.65.1 */
|
||||
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(non_camel_case_types)]
|
||||
@ -16,22 +16,6 @@ pub const FT_RENDER_POOL_SIZE: u32 = 16384;
|
||||
pub const FT_MAX_MODULES: u32 = 32;
|
||||
pub const TT_CONFIG_OPTION_SUBPIXEL_HINTING: u32 = 2;
|
||||
pub const TT_CONFIG_OPTION_MAX_RUNNABLE_OPCODES: u32 = 1000000;
|
||||
pub const FT_CHAR_BIT: u32 = 8;
|
||||
pub const FT_USHORT_MAX: u32 = 65535;
|
||||
pub const FT_INT_MAX: u32 = 2147483647;
|
||||
pub const FT_INT_MIN: i32 = -2147483648;
|
||||
pub const FT_UINT_MAX: u32 = 4294967295;
|
||||
pub const FT_LONG_MIN: i64 = -9223372036854775808;
|
||||
pub const FT_LONG_MAX: u64 = 9223372036854775807;
|
||||
pub const FT_ULONG_MAX: i32 = -1;
|
||||
pub const FT_LLONG_MAX: u64 = 9223372036854775807;
|
||||
pub const FT_LLONG_MIN: i64 = -9223372036854775808;
|
||||
pub const FT_ULLONG_MAX: i32 = -1;
|
||||
pub const FT_SIZEOF_INT: u32 = 4;
|
||||
pub const FT_SIZEOF_LONG: u32 = 8;
|
||||
pub const FT_SIZEOF_LONG_LONG: u32 = 8;
|
||||
pub const FT_OUTLINE_CONTOURS_MAX: u32 = 32767;
|
||||
pub const FT_OUTLINE_POINTS_MAX: u32 = 32767;
|
||||
pub const FT_OUTLINE_NONE: u32 = 0;
|
||||
pub const FT_OUTLINE_OWNER: u32 = 1;
|
||||
pub const FT_OUTLINE_EVEN_ODD_FILL: u32 = 2;
|
||||
@ -760,7 +744,6 @@ pub const TT_UCR_ARABIC_PRESENTATION_A: u32 = 2147483648;
|
||||
pub const TT_UCR_ARABIC_PRESENTATION_B: u32 = 8;
|
||||
pub const TT_UCR_COMBINING_DIACRITICS: u32 = 64;
|
||||
pub const TT_UCR_COMBINING_DIACRITICS_SYMB: u32 = 4;
|
||||
pub type size_t = ::std::os::raw::c_ulong;
|
||||
pub type FT_Fast = ::std::os::raw::c_int;
|
||||
pub type FT_UFast = ::std::os::raw::c_uint;
|
||||
pub type FT_Memory = *mut FT_MemoryRec_;
|
||||
@ -1032,7 +1015,7 @@ pub type FT_F26Dot6 = ::std::os::raw::c_long;
|
||||
pub type FT_Fixed = ::std::os::raw::c_long;
|
||||
pub type FT_Error = ::std::os::raw::c_int;
|
||||
pub type FT_Pointer = *mut ::std::os::raw::c_void;
|
||||
pub type FT_Offset = size_t;
|
||||
pub type FT_Offset = usize;
|
||||
pub type FT_PtrDist = isize;
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
|
4
deps/harfbuzz/regenerate.sh
vendored
4
deps/harfbuzz/regenerate.sh
vendored
@ -10,6 +10,6 @@ bindgen bindings.h -o src/lib.rs \
|
||||
--raw-line "#![allow(clippy::upper_case_acronyms)]" \
|
||||
--default-enum-style rust \
|
||||
--generate=functions,types,vars \
|
||||
--whitelist-function="hb_.*" \
|
||||
--whitelist-type="hb_.*" \
|
||||
--allowlist-function="hb_.*" \
|
||||
--allowlist-type="hb_.*" \
|
||||
-- -Iharfbuzz/src -I../freetype/freetype2/include
|
||||
|
8
deps/harfbuzz/src/lib.rs
vendored
8
deps/harfbuzz/src/lib.rs
vendored
@ -1,4 +1,4 @@
|
||||
/* automatically generated by rust-bindgen 0.60.1 */
|
||||
/* automatically generated by rust-bindgen 0.65.1 */
|
||||
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(non_camel_case_types)]
|
||||
@ -6,12 +6,6 @@
|
||||
#![allow(clippy::unreadable_literal)]
|
||||
#![allow(clippy::upper_case_acronyms)]
|
||||
|
||||
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 hb_bool_t = ::std::os::raw::c_int;
|
||||
pub type hb_codepoint_t = u32;
|
||||
pub type hb_position_t = i32;
|
||||
|
Loading…
Reference in New Issue
Block a user