To be able to use C library, I need to give a *mut c_char
parameter to a function. But I don't find a way to have it from a str
.
I converted my str to a CString, that's ok, but there's no more way from CString to get a *mut c_char
in the nightly build. I found that in 0.12.0 there was a method, but now, what is the process to get that *mut c_char
?