diff --git a/tests/expectations/tests/remove_alias.rs b/tests/expectations/tests/remove_alias.rs index 6a0fcb455c..cf58f59300 100644 --- a/tests/expectations/tests/remove_alias.rs +++ b/tests/expectations/tests/remove_alias.rs @@ -5,13 +5,13 @@ non_upper_case_globals )] -pub type u32_ = ::std::os::raw::c_uint; +pub type i32_ = ::std::os::raw::c_int; extern "C" { - pub fn foo() -> ::std::os::raw::c_ulonglong; + pub fn foo() -> ::std::os::raw::c_longlong; } extern "C" { - pub fn bar() -> ::std::os::raw::c_uint; + pub fn bar() -> ::std::os::raw::c_int; } extern "C" { - pub fn baz() -> u32_; + pub fn baz() -> i32_; } diff --git a/tests/headers/remove_alias.h b/tests/headers/remove_alias.h index f9943a65d0..ba9b0cda74 100644 --- a/tests/headers/remove_alias.h +++ b/tests/headers/remove_alias.h @@ -1,9 +1,9 @@ -// bindgen-flags: --remove-alias "uint.*" +// bindgen-flags: --remove-alias "int.*" -typedef unsigned long long uint64; -typedef unsigned int uint32; -typedef uint32 u32; +typedef long long int64; +typedef int int32; +typedef int32 i32; -uint64 foo(); -uint32 bar(); -u32 baz(); +int64 foo(); +int32 bar(); +i32 baz();