File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ pub fn generate() {
53
53
. size_t_is_usize ( true )
54
54
. ctypes_prefix ( "::libc" )
55
55
. blacklist_item ( "mode_t" )
56
- . blacklist_item ( "filehandle_t " )
56
+ . blacklist_item ( "mdb_filehandle_t " )
57
57
. blacklist_item ( "^__.*" )
58
58
. parse_callbacks ( Box :: new ( Callbacks { } ) )
59
59
. layout_tests ( false )
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ pub const MDB_BAD_VALSIZE: ::libc::c_int = -30781;
53
53
pub const MDB_BAD_DBI : :: libc:: c_int = -30780 ;
54
54
pub const MDB_LAST_ERRCODE : :: libc:: c_int = -30780 ;
55
55
pub type mdb_mode_t = mode_t ;
56
- pub type mdb_filehandle_t = :: libc:: c_int ;
57
56
#[ repr( C ) ]
58
57
#[ derive( Debug , Copy , Clone ) ]
59
58
pub struct MDB_env {
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ pub type mode_t = ::libc::c_int;
14
14
15
15
#[ cfg( unix) ]
16
16
#[ allow( non_camel_case_types) ]
17
- pub type filehandle_t = :: libc:: c_int ;
17
+ pub type mdb_filehandle_t = :: libc:: c_int ;
18
18
#[ cfg( windows) ]
19
19
#[ allow( non_camel_case_types) ]
20
- pub type filehandle_t = * mut :: libc:: c_void ;
20
+ pub type mdb_filehandle_t = * mut :: libc:: c_void ;
21
21
22
22
include ! ( "bindings.rs" ) ;
You can’t perform that action at this time.
0 commit comments