☰
Debian Codegraph
@
1.4.4-1
/
/
.cargo
/
vendor
/
cbindgen
/
tests
/
rust
/
mangle.rs
☽
☼
.cargo/vendor/cbindgen/tests/rust/mangle.rs
code
plain
raw
MPL-2.0
NONE
debian/copyright
1
#[repr(C)]
2
pub struct Foo<T> {
3
a: T,
4
}
5
6
pub type Boo = Foo<u8>;
7
8
/// cbindgen:prefix-with-name=true
9
#[repr(C)]
10
pub enum Bar {
11
Some,
12
Thing,
13
}
14
15
#[no_mangle]
16
pub extern "C" fn root(
17
x: Boo,
18
y: Bar,
19
) { }