Macro wedpr_ffi_macros::c_safe_c_char_pointer_to_bytes_with_error_value[][src]

macro_rules! c_safe_c_char_pointer_to_bytes_with_error_value {
    ($c_char_pointer:expr, $error_value:expr) => { ... };
}

Converts C char pointer to Rust bytes, and returns a specified error value if failed.