Macro wedpr_ffi_macros::c_safe_string_to_c_char_pointer_with_error_value[][src]

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

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