.cargo/vendor/cbindgen/tests/rust/raw_ident.rs
raw| 1 | #[repr(u8)] |
| 2 | pub enum r#Enum { |
| 3 | r#a, |
| 4 | r#b, |
| 5 | } |
| 6 | |
| 7 | #[repr(C)] |
| 8 | pub struct r#Struct { |
| 9 | r#field: r#Enum, |
| 10 | } |
| 11 | |
| 12 | #[no_mangle] |
| 13 | pub extern "C" fn r#fn(r#arg: r#Struct) { |
| 14 | println!("Hello world"); |
| 15 | } |
| 16 | |
| 17 | pub mod r#mod { |
| 18 | #[no_mangle] |
| 19 | pub static r#STATIC: r#Enum = r#Enum::r#b; |
| 20 | } |