pub unsafe fn array_each<T>(arr: **T, cb: &fn(*T))
Given a null-pointer-terminated **T (pointer to an array of pointers), iterate through each *T, passing to the provided callback function
SAFETY NOTE: This will only work with a null-terminated pointer array. Barely less-dodgy Pointer Arithmetic. Dragons be here.
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
).