tag | a8f8ca8e750a55ad65b66855a943289293586814 | |
---|---|---|
tagger | Emilio Cobos Álvarez <emilio@crisal.io> | Sun Jul 01 14:09:26 2018 +0200 |
object | a899ce711617fd7be482622a908a40d5fd1c7628 |
v0.37.3 * Made bitfields work with big-endian machines.
commit | a899ce711617fd7be482622a908a40d5fd1c7628 | [log] [tgz] |
---|---|---|
author | Emilio Cobos Álvarez <emilio@crisal.io> | Sun Jul 01 14:08:57 2018 +0200 |
committer | Emilio Cobos Álvarez <emilio@crisal.io> | Sun Jul 01 14:08:57 2018 +0200 |
tree | b5e8b844ce4465375cee6809b1f4865d0b31ccaf | |
parent | c3955ddeac236f4a6b967d5b8ddc8dc21238d152 [diff] |
Bump version.
bindgen
impl period
has been started! Join us at Gitter.im.
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