cbindgen/tests/rust/renaming_overrides_prefixing.rs
2020-10-31 17:01:44 +01:00

14 lines
145 B
Rust

struct A {
x: i32,
y: f32,
}
#[repr(C)]
struct B {
x: i32,
y: f32,
}
#[no_mangle]
pub extern "C" fn root(a: *const A, b: B) {}