Debian Codegraph @

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

raw
1 #[no_mangle]
2 pub static NUMBER: i32 = 10;
3
4 #[repr(C)]
5 struct Foo {
6 }
7
8 struct Bar {
9 }
10
11 #[no_mangle]
12 pub static mut FOO: Foo = Foo { };
13 #[no_mangle]
14 pub static BAR: Bar = Bar { };
15
16 #[no_mangle]
17 pub extern "C" fn root() { }