Skip to content

Instantly share code, notes, and snippets.

@crabtw
Last active August 29, 2015 14:09
Show Gist options
  • Save crabtw/3f544c63ec776eee0c35 to your computer and use it in GitHub Desktop.
Save crabtw/3f544c63ec776eee0c35 to your computer and use it in GitHub Desktop.
LD_PRELOAD=/usr/lib/libclang.so ./bindgen -I/usr/lib/clang/3.5.0/include -Icef3 cef3/include/capi/cef_base_capi.h -match cef_base_capi -lcef3
/* automatically generated by rust-bindgen */
#[repr(C)]
pub struct Struct__cef_base_t {
pub size: size_t,
pub add_ref: ::std::option::Option<extern "C" fn
(arg1: *mut Struct__cef_base_t)>,
pub release: ::std::option::Option<extern "C" fn
(arg1: *mut Struct__cef_base_t)
-> ::libc::c_int>,
pub has_one_ref: ::std::option::Option<extern "C" fn
(arg1: *mut Struct__cef_base_t)
-> ::libc::c_int>,
}
pub type cef_base_t = Struct__cef_base_t;
#[link(name = "cef3")]
extern "C" { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment