pub fn string_into_c_str(string: String) -> NonNull<c_char>Expand description
Leaks the given String returning a raw C string that can be passed
through FFI boundaries.
The pointer (returned by this function) must be returned to Rust and
reconstituted via CString::from_raw() for proper deallocating.
ยงPanics
If the provided String contains an internal 0x0 byte.