| /* automatically generated by rust-bindgen */ |
| |
| |
| #![allow(non_snake_case)] |
| |
| |
| pub const k: bool = true; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy)] |
| pub struct A { |
| pub _address: u8, |
| } |
| pub const A_k: bool = false; |
| #[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 } |
| } |
| pub type foo = bool; |
| pub const k2: foo = true; |