This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/zeroidc/vendor/cbindgen/tests/rust/generic_pointer.rs

12 lines
129 B
Rust

#[repr(C)]
pub struct Foo<T> {
a: T,
}
pub type Boo = Foo<*mut u8>;
#[no_mangle]
pub extern "C" fn root(
x: Boo,
) { }