change typedef style, add optional logging
This commit is contained in:
parent
0c6efcee56
commit
389ced492c
6 changed files with 286 additions and 163 deletions
|
@ -43,3 +43,11 @@ pub struct UdpSocket;
|
|||
|
||||
/// This is a type only used by cbindgen to have a type for pointers.
|
||||
pub struct DisplayBitVec;
|
||||
|
||||
#[cfg(feature = "env_logger")]
|
||||
pub mod feature_env_logger {
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn init_env_logger() {
|
||||
env_logger::init();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue