mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-07-21 18:02:50 +02:00
11 lines
124 B
Rust
11 lines
124 B
Rust
#[repr(C)]
|
|
pub struct Foo<T> {
|
|
a: T,
|
|
}
|
|
|
|
pub type Boo = Foo<u8>;
|
|
|
|
#[no_mangle]
|
|
pub extern "C" fn root(
|
|
x: Boo,
|
|
) { }
|