#[no_mangle]
pub extern "C" fn nstd_cstring_as_cstr_mut(
    cstring: &mut NSTDCString
) -> NSTDCStrMut
Available on crate feature nstd_cstring only.
Expand description

Creates a C string slice containing the contents of cstring.

Parameters:

  • NSTDCString *cstring - The C string.

Returns

NSTDCStrMut cstr - The new C string slice.