bindgen 0.20.5

Automatically generates Rust FFI bindings to C and C++ libraries.
Documentation
1
2
3
4
5
// bindgen-flags: --ctypes-prefix "libc" --use-core --raw-line "#![no_std]" --raw-line "mod libc { pub type c_int = i32; pub enum c_void {} }"
struct foo {
  int a, b;
  void* bar;
};