bindgen 0.20.5

Automatically generates Rust FFI bindings to C and C++ libraries.
Documentation
1
2
3
4
5
6
7
8
typedef void (*foo)(int);

template<typename T, typename U>
class Foo {
  typedef T Char;
  typedef Char* FooPtrTypedef;
  typedef bool (*nsCOMArrayEnumFunc)(T* aElement, void* aData);
};