| /* automatically generated by rust-bindgen */ |
| |
| |
| #![allow(non_snake_case)] |
| |
| |
| #[repr(C)] |
| #[derive(Debug, Default, Copy)] |
| pub struct A { |
| pub _address: u8, |
| } |
| pub const A_a: ::std::os::raw::c_int = 0; |
| pub const A_b: i32 = 63; |
| pub const A_c: u32 = 255; |
| #[test] |
| fn bindgen_test_layout_A() { |
| assert_eq!(::std::mem::size_of::<A>() , 1usize , concat ! ( |
| "Size of: " , stringify ! ( A ) )); |
| assert_eq! (::std::mem::align_of::<A>() , 1usize , concat ! ( |
| "Alignment of " , stringify ! ( A ) )); |
| } |
| impl Clone for A { |
| fn clone(&self) -> Self { *self } |
| } |