tag | 8251a5eaefaf54cf8817baca7e0d93e22617df4b | |
---|---|---|
tagger | Emilio Cobos Álvarez <emilio@crisal.io> | Sat Jan 19 18:13:29 2019 +0100 |
object | 8747bc9c28e2c1f762f6fd0f9235f056dbc74ba0 |
v0.47.0
commit | 8747bc9c28e2c1f762f6fd0f9235f056dbc74ba0 | [log] [tgz] |
---|---|---|
author | Emilio Cobos Álvarez <emilio@crisal.io> | Sat Jan 19 18:12:32 2019 +0100 |
committer | Emilio Cobos Álvarez <emilio@crisal.io> | Sat Jan 19 18:12:46 2019 +0100 |
tree | 0e9ad62407b39e6423498198c5d91f879abb6e0b | |
parent | 7a5ae200e9d7d38a72cb0be11c9e9a6cfceeb839 [diff] |
Bump version and update changelog.
bindgen
bindgen
automatically generates Rust FFI bindings to C (and some C++) libraries.
For example, given the C header doggo.h
:
typedef struct Doggo { int many; char wow; } Doggo; void eleven_out_of_ten_majestic_af(Doggo* pupper);
bindgen
produces Rust FFI code allowing you to call into the doggo
library's functions and use its types:
/* automatically generated by rust-bindgen */ #[repr(C)] pub struct Doggo { pub many: ::std::os::raw::c_int, pub wow: ::std::os::raw::c_char, } extern "C" { pub fn eleven_out_of_ten_majestic_af(pupper: *mut Doggo); }
📚 Read the bindgen
users guide here! 📚
API reference documentation is on docs.rs