19fd975b6f
Signed-off-by: Axel Nennker <axel.nennker@telekom.de>
13 lines
213 B
Rust
13 lines
213 B
Rust
const FOO: i32 = 10;
|
|
const BAR: &'static str = "hello world";
|
|
pub const DELIMITER: char = ':';
|
|
const ZOM: f32 = 3.14;
|
|
|
|
#[repr(C)]
|
|
struct Foo {
|
|
x: [i32; FOO],
|
|
}
|
|
|
|
#[no_mangle]
|
|
pub extern "C" fn root(x: Foo) { }
|