cbindgen 0.6.7

A tool for generating C bindings to Rust code.
Documentation
1
2
3
4
5
6
7
8
9
10
11
const FOO: i32 = 10;
const BAR: &'static str = "hello world";
const ZOM: f32 = 3.14;

#[repr(C)]
struct Foo {
    x: [i32; FOO],
}

#[no_mangle]
pub extern "C" fn root(x: Foo) { }