nautilus_core::ffi::string

Function str_to_cstr

Source
pub fn str_to_cstr(s: &str) -> *const c_char
Expand description

Create a C string pointer to newly allocated memory from a &str.