trisquel-icecat/icecat/third_party/cbindgen/tests/rust/include_item.rs

10 lines
86 B
Rust

#[repr(C)]
struct A {
x: i32,
y: f32,
}
#[repr(C)]
struct B {
data: A,
}