[][src]Function ffix::string::expose_string

pub fn expose_string<T: Into<Vec<u8>>>(input: T) -> Result<*const c_char>

Copies a rust string to a newly allocated C String

Use this function if you are unable to deallocate string in Rust code. You MUST be sure that string is deallocated.