summaryrefslogtreecommitdiff
path: root/tests/expectations/class_with_dtor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expectations/class_with_dtor.rs')
-rw-r--r--tests/expectations/class_with_dtor.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/expectations/class_with_dtor.rs b/tests/expectations/class_with_dtor.rs
index 3cc48dfb..8ed1ddf9 100644
--- a/tests/expectations/class_with_dtor.rs
+++ b/tests/expectations/class_with_dtor.rs
@@ -6,17 +6,17 @@
#[repr(C)]
#[derive(Debug)]
-pub struct Struct_HandleWithDtor<T> {
+pub struct HandleWithDtor<T> {
pub ptr: *mut T,
}
-pub type HandleValue = Struct_HandleWithDtor<::std::os::raw::c_int>;
+pub type HandleValue = HandleWithDtor<::std::os::raw::c_int>;
#[repr(C)]
#[derive(Debug)]
-pub struct Struct_WithoutDtor {
+pub struct WithoutDtor {
pub shouldBeWithDtor: HandleValue,
}
#[test]
-fn bindgen_test_layout_Struct_WithoutDtor() {
- assert_eq!(::std::mem::size_of::<Struct_WithoutDtor>() , 8usize);
- assert_eq!(::std::mem::align_of::<Struct_WithoutDtor>() , 8usize);
+fn bindgen_test_layout_WithoutDtor() {
+ assert_eq!(::std::mem::size_of::<WithoutDtor>() , 8usize);
+ assert_eq!(::std::mem::align_of::<WithoutDtor>() , 8usize);
}