Function ffi_utils::string::from_c_str [−][src]
pub unsafe fn from_c_str(ptr: *const c_char) -> Result<String, StringError>
Copies memory from a provided pointer and allocates a new String
.
pub unsafe fn from_c_str(ptr: *const c_char) -> Result<String, StringError>
Copies memory from a provided pointer and allocates a new String
.