tag | ac1759a57527251bbecb05136c361be52c7178ac | |
---|---|---|
tagger | Emilio Cobos Álvarez <emilio@crisal.io> | Mon Jan 22 12:07:17 2018 +0100 |
object | b3712248c59f8f4dca80fd92d1ad9cb40149a8cc |
v0.32.2
commit | b3712248c59f8f4dca80fd92d1ad9cb40149a8cc | [log] [tgz] |
---|---|---|
author | bors-servo <lbergstrom+bors@mozilla.com> | Mon Jan 22 04:46:53 2018 -0600 |
committer | GitHub <noreply@github.com> | Mon Jan 22 04:46:53 2018 -0600 |
tree | 2b4a3d2510e17f7694e1e001367ee41196e281ec | |
parent | a2409da1f7fae5ca3654d79d66216f2770832f52 [diff] | |
parent | a46810571ae333360b581907d1590d1cc46f481c [diff] |
Auto merge of #1233 - emilio:bump, r=pepyakin Minor version bump. Closes #1231.
bindgen
impl period
has been started! Join us at Gitter.im.
bindgen
automatically generates Rust FFI bindings to C and 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