Function js::jsapi::JS_AddExtraGCRootsTracer [] [src]

pub unsafe extern "C" fn JS_AddExtraGCRootsTracer(
    rt: *mut JSRuntime,
    traceOp: JSTraceDataOp,
    data: *mut c_void
) -> bool

Register externally maintained GC roots.

traceOp: the trace operation. For each root the implementation should call JS_CallTracer whenever the root contains a traceable thing. data: the data argument to pass to each invocation of traceOp.