[−][src]Function bve_native::bve_delete_string
#[no_mangle] pub unsafe extern "C" fn bve_delete_string(ptr: *mut c_char)
Takes an owning pointer to a rust-generated string and deletes it.
Safety
ptr
ASSUMES OWNERSHIP must be a valid pointer and the string must have been allocated in Rust. It must be zero terminated.