12 lines
176 B
Rust
12 lines
176 B
Rust
#![crate_type = "lib"]
|
|
|
|
#[repr(C)]
|
|
pub struct TestUnion {
|
|
_val: u64,
|
|
}
|
|
|
|
#[link(name = "ctest", kind = "static")]
|
|
extern "C" {
|
|
pub fn give_back(tu: TestUnion) -> u64;
|
|
}
|