ZeroTierOne/zeroidc/vendor/cbindgen/tests/rust/extern.rs

11 lines
114 B
Rust

#[repr(C)]
struct Normal {
x: i32,
y: f32,
}
extern "C" {
fn foo() -> i32;
fn bar(a: Normal);
}