#[repr(C)] pub struct Foo { a: T, } pub type Boo = Foo; /// cbindgen:prefix-with-name=true #[repr(C)] pub enum Bar { Some, Thing, } #[no_mangle] pub extern "C" fn root( x: Boo, y: Bar, ) { }