Skip to main content

vec_drop_book_levels

Function vec_drop_book_levels 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn vec_drop_book_levels(v: CVec)
Expand description

Drops a CVec of owning BookLevel pointers, freeing each level.

ยงSafety

v must uniquely own a valid Vec<*mut BookLevel> allocation transferred from Rust, where each element is a live owning pointer.