Function microvmi::capi::rs_cstring_free [−][src]
#[no_mangle] pub unsafe extern "C" fn rs_cstring_free(s: *mut c_char)
Expand description
Free a CString allocated by Rust (for ex. using rust_string_to_c
)
Safety
s must be allocated by rust, using CString::new