bindgen 0.20.5

Automatically generates Rust FFI bindings to C and C++ libraries.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// bindgen-flags: --enable-cxx-namespaces

namespace foo {
  class Bar;
}

namespace bar {
  struct Foo {
    foo::Bar* ptr;
  };
};

namespace foo {
  class Bar {
    int foo;
    bool baz;
  };
}