Debian Codegraph @

.cargo/vendor/cbindgen/tests/rust/generic_pointer.rs

raw
1 #[repr(C)]
2 pub struct Foo<T> {
3 a: T,
4 }
5
6 pub type Boo = Foo<*mut u8>;
7
8 #[no_mangle]
9 pub extern "C" fn root(
10 x: Boo,
11 ) { }