cbindgen 0.8.6

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
18
#include <cstdarg>
#include <cstdint>
#include <cstdlib>

template<typename T, typename U>
struct Foo {
  T x;
  U y;
};

template<typename T>
using IntFoo = Foo<int32_t, T>;

extern "C" {

void root(IntFoo<int32_t> a);

} // extern "C"