File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ fn main() {
117117 & out_path,
118118 ) ;
119119 prepare_cppdriver_data (
120- "cppdriver_data_inet .rs" ,
120+ "cppdriver_inet_types .rs" ,
121121 & [ "CassInet_" , "CassInet" ] ,
122122 & out_path,
123123 ) ;
Original file line number Diff line number Diff line change 1- #![ allow( non_camel_case_types, non_snake_case) ]
21use crate :: argconv:: * ;
32use crate :: cass_error:: CassError ;
43use crate :: types:: * ;
@@ -11,7 +10,7 @@ use std::os::raw::c_char;
1110use std:: slice:: from_raw_parts;
1211use std:: str:: FromStr ;
1312
14- include ! ( concat! ( env! ( "OUT_DIR" ) , "/cppdriver_data_inet.rs" ) ) ;
13+ pub ( crate ) use crate :: cass_inet_types :: CassInet ;
1514
1615#[ repr( u8 ) ] // address_length field in CassInet is cass_uint8_t
1716#[ allow( non_camel_case_types) ]
Original file line number Diff line number Diff line change @@ -84,6 +84,13 @@ pub mod cass_collection_types {
8484 include_bindgen_generated ! ( "cppdriver_collection_types.rs" ) ;
8585}
8686
87+ /// CassInet
88+ pub mod cass_inet_types {
89+ #![ allow( non_camel_case_types, non_snake_case) ]
90+
91+ include_bindgen_generated ! ( "cppdriver_inet_types.rs" ) ;
92+ }
93+
8794lazy_static ! {
8895 pub static ref RUNTIME : Runtime = Runtime :: new( ) . unwrap( ) ;
8996 pub static ref LOGGER : RwLock <Logger > = RwLock :: new( Logger {
You can’t perform that action at this time.
0 commit comments