File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ fn main() {
117
117
& out_path,
118
118
) ;
119
119
prepare_cppdriver_data (
120
- "cppdriver_data_inet .rs" ,
120
+ "cppdriver_inet_types .rs" ,
121
121
& [ "CassInet_" , "CassInet" ] ,
122
122
& out_path,
123
123
) ;
Original file line number Diff line number Diff line change 1
- #![ allow( non_camel_case_types, non_snake_case) ]
2
1
use crate :: argconv:: * ;
3
2
use crate :: cass_error:: CassError ;
4
3
use crate :: types:: * ;
@@ -11,7 +10,7 @@ use std::os::raw::c_char;
11
10
use std:: slice:: from_raw_parts;
12
11
use std:: str:: FromStr ;
13
12
14
- include ! ( concat! ( env! ( "OUT_DIR" ) , "/cppdriver_data_inet.rs" ) ) ;
13
+ pub ( crate ) use crate :: cass_inet_types :: CassInet ;
15
14
16
15
#[ repr( u8 ) ] // address_length field in CassInet is cass_uint8_t
17
16
#[ allow( non_camel_case_types) ]
Original file line number Diff line number Diff line change @@ -77,6 +77,13 @@ pub mod cass_collection_types {
77
77
include ! ( concat!( env!( "OUT_DIR" ) , "/cppdriver_collection_types.rs" ) ) ;
78
78
}
79
79
80
+ /// CassInet
81
+ pub mod cass_inet_types {
82
+ #![ allow( non_camel_case_types, non_snake_case) ]
83
+
84
+ include ! ( concat!( env!( "OUT_DIR" ) , "/cppdriver_inet_types.rs" ) ) ;
85
+ }
86
+
80
87
lazy_static ! {
81
88
pub static ref RUNTIME : Runtime = Runtime :: new( ) . unwrap( ) ;
82
89
pub static ref LOGGER : RwLock <Logger > = RwLock :: new( Logger {
You can’t perform that action at this time.
0 commit comments