|
|
@ -4,7 +4,7 @@ extern crate openssl_sys;
|
|
|
|
#[allow(non_camel_case_types,non_snake_case)]
|
|
|
|
#[allow(non_camel_case_types,non_snake_case)]
|
|
|
|
pub mod bindings {
|
|
|
|
pub mod bindings {
|
|
|
|
// Bindings are based on the ones generated by rust-bindgen. These can be generated like this:
|
|
|
|
// Bindings are based on the ones generated by rust-bindgen. These can be generated like this:
|
|
|
|
// bindgen -I ~/path/mongo-rust-driver/mongoc-sys/mongo-c-driver-{version}/src/libbson/src/bson ~/path/mongo-rust-driver/mongoc-sys/mongo-c-driver-{version}/src/mongoc/mongoc.h
|
|
|
|
// bindgen -I ~/path/mongo-rust-driver/mongoc-sys/mongo-c-driver-{version}/src/libbson/src/bson ~/path/mongo-rust-driver/mongoc-sys/mongo-c-driver-{version}/src/mongoc/mongoc.h
|
|
|
|
|
|
|
|
|
|
|
|
pub type int8_t = ::libc::c_char;
|
|
|
|
pub type int8_t = ::libc::c_char;
|
|
|
|
pub type int16_t = ::libc::c_short;
|
|
|
|
pub type int16_t = ::libc::c_short;
|
|
|
|