blob: 9f9974359606fedc13ec732016993df928b316ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* automatically generated by rust-bindgen */
#![allow(non_snake_case)]
#[repr(C, packed)]
#[derive(Debug, Copy)]
pub struct Struct_a {
pub b: ::std::os::raw::c_char,
pub c: ::std::os::raw::c_short,
}
impl ::std::clone::Clone for Struct_a {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_Struct_a() {
assert_eq!(::std::mem::size_of::<Struct_a>() , 3usize);
assert_eq!(::std::mem::align_of::<Struct_a>() , 1usize);
}
|