Function cvec_drop

Source
#[no_mangle]
pub extern "C" fn cvec_drop(cvec: CVec)
Expand description

Free the heap allocation represented by cvec.

§Safety

The pointer must either originate from the Rust side through the From<Vec<T>> implementation or be the return value of one of the exported functions in this module. It is undefined behaviour to pass an arbitrary or already-freed pointer.