cstr_drop

Function cstr_drop 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn cstr_drop(ptr: *const c_char)
Expand description

Drops the C string memory at the pointer.

§Safety

Assumes ptr is a valid C string pointer.

§Panics

Panics if ptr is null.