blob: 3cc48dfbb4e166197d6ebc2289c4ed205b9938de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* automatically generated by rust-bindgen */
#![allow(non_snake_case)]
#[repr(C)]
#[derive(Debug)]
pub struct Struct_HandleWithDtor<T> {
pub ptr: *mut T,
}
pub type HandleValue = Struct_HandleWithDtor<::std::os::raw::c_int>;
#[repr(C)]
#[derive(Debug)]
pub struct 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);
}
|