Macro wedpr_ffi_macros::c_safe_string_to_bytes_with_error_value[][src]

macro_rules! c_safe_string_to_bytes_with_error_value {
    ($rust_string:expr, $error_value:expr) => { ... };
}

Converts Rust String to Rust bytes, and returns a specified error value if failed.