pub unsafe extern "C" fn JS_AddExtraGCRootsTracer(
    cx: *mut JSContext,
    traceOp: Option<unsafe extern "C" fn(_: *mut JSTracer, _: *mut c_void)>,
    data: *mut c_void
) -> bool
Expand description

Register externally maintained GC roots.

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