Skip to main content

reset

Function reset 

Source
pub unsafe fn reset(o: Obj, num_objs: u32) -> Obj
Expand description

Prepares constructor object o, which has num_objs object fields, for reuse: returns its memory if nothing else refers to it, and otherwise drops the reference and returns box_(0).