Function extra::c_vec::c_vec_with_dtor

pub unsafe fn c_vec_with_dtor<T>(base: *mut T, len: uint, dtor: ~std::routine::Runnable) -> CVec<T>

Create a CVec from a foreign buffer, with a given length, and a function to run upon destruction.

Arguments