cbindgen 0.8.1

A tool for generating C bindings to Rust code.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <cstdarg>
#include <cstdint>
#include <cstdlib>

static const int32_t FOO = 10;

static const float ZOM = 3.14;

struct Foo {
  int32_t x[FOO];
};

extern "C" {

void root(Foo x);

} // extern "C"