cbindgen/tests/rust/renaming_overrides_prefixing.rs

14 lines
145 B
Rust
Raw Normal View History

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) {}