Debian Codegraph @

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

raw
1 pub const LEN: i32 = 22;
2
3 pub type NamedLenArray = [i32; LEN];
4 pub type ValuedLenArray = [i32; 22];
5
6 #[repr(u8)]
7 pub enum AbsoluteFontWeight {
8 Weight(f32),
9 Normal,
10 Bold,
11 }
12
13 #[no_mangle]
14 pub extern "C" fn root(x: NamedLenArray, y: ValuedLenArray, z: AbsoluteFontWeight) {}
15
16 #[no_mangle]
17 pub const X: i64 = 22 << 22;
18
19 #[no_mangle]
20 pub const Y: i64 = X + X;