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.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).