Skip to main content

lmdb_master_sys/
lib.rs

1#![deny(warnings)]
2#![allow(rustdoc::broken_intra_doc_links)]
3#![allow(rustdoc::invalid_html_tags)]
4#![allow(non_camel_case_types)]
5#![allow(clippy::all)]
6#![doc(html_root_url = "https://docs.rs/lmdb-master-sys/0.2.6")]
7#![cfg_attr(feature = "no_std", no_std)]
8
9extern crate libc;
10
11#[cfg(unix)]
12#[allow(non_camel_case_types)]
13pub type mdb_mode_t = ::libc::mode_t;
14#[cfg(windows)]
15#[allow(non_camel_case_types)]
16pub type mdb_mode_t = ::libc::c_int;
17
18#[cfg(unix)]
19#[allow(non_camel_case_types)]
20pub type mdb_filehandle_t = ::libc::c_int;
21#[cfg(windows)]
22#[allow(non_camel_case_types)]
23pub type mdb_filehandle_t = *mut ::libc::c_void;
24
25include!("bindings.rs");