cvec_drop

Function cvec_drop 

Source
#[unsafe(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.