Skip to main content

string_to_ffi_ptr

Function string_to_ffi_ptr 

Source
pub fn string_to_ffi_ptr(value: impl Into<String>) -> *mut c_char
Expand description

Converts a Rust string into an owned C string pointer

The returned pointer must be released with free_ffi_string