This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/zeroidc/vendor/cbindgen/tests/rust/constant_constexpr.rs

15 lines
282 B
Rust
Raw Normal View History

pub const CONSTANT_I64: i64 = 216;
pub const CONSTANT_FLOAT32: f32 = 312.292;
pub const DELIMITER: char = ':';
pub const LEFTCURLY: char = '{';
#[repr(C)]
struct Foo {
x: i32,
}
pub const SomeFoo: Foo = Foo { x: 99, };
impl Foo {
pub const CONSTANT_I64_BODY: i64 = 216;
}