blob: dcaf7997b61d964c906e841e644fc669ae899328 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/* automatically generated by rust-bindgen */
#![allow(non_snake_case)]
/**
* <div rustbindgen opaque></div>
*/
#[repr(C)]
#[derive(Debug, Copy)]
pub struct D {
pub _bindgen_opaque_blob: u32,
}
#[test]
fn bindgen_test_layout_D() {
assert_eq!(::std::mem::size_of::<D>() , 4usize);
assert_eq!(::std::mem::align_of::<D>() , 4usize);
}
impl Clone for D {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct NotAnnotated {
pub f: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_NotAnnotated() {
assert_eq!(::std::mem::size_of::<NotAnnotated>() , 4usize);
assert_eq!(::std::mem::align_of::<NotAnnotated>() , 4usize);
}
impl Clone for NotAnnotated {
fn clone(&self) -> Self { *self }
}
|