drop_cstring

Function drop_cstring 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn drop_cstring(p: *mut c_char)
Expand description

Free CString memory which Rust has allocated across the FFI boundary

ยงSafety

This function is unsafe because it accesses a raw pointer which could contain arbitrary data