☰
Debian Codegraph
@
1.4.4-1
/
/
.cargo
/
vendor
/
cbindgen
/
tests
/
rust
/
namespaces_constant.rs
☽
☼
.cargo/vendor/cbindgen/tests/rust/namespaces_constant.rs
code
plain
raw
MPL-2.0
NONE
debian/copyright
1
pub const FOO: i32 = 10;
2
pub const BAR: &'static str = "hello world";
3
pub const ZOM: f32 = 3.14;
4
5
#[repr(C)]
6
struct Foo {
7
x: [i32; FOO],
8
}
9
10
#[no_mangle]
11
pub extern "C" fn root(x: Foo) { }