blob: 7dcc4eefaa8cadab653f8d034c075ed19954170b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* automatically generated by rust-bindgen */
#![allow(non_snake_case)]
#[repr(C)]
#[derive(Debug, Copy)]
pub struct Container {
pub _bindgen_opaque_blob: [u32; 2usize],
}
#[test]
fn bindgen_test_layout_Container() {
assert_eq!(::std::mem::size_of::<Container>() , 8usize);
assert_eq!(::std::mem::align_of::<Container>() , 4usize);
}
impl Clone for Container {
fn clone(&self) -> Self { *self }
}
extern "C" {
#[link_name = "_Z3fooP9Container"]
pub fn foo(c: *mut Container);
}
|