Function mozjs_sys::jsapi::JS_AddExtraGCRootsTracer
source ยท pub unsafe extern "C" fn JS_AddExtraGCRootsTracer(
cx: *mut JSContext,
traceOp: JSTraceDataOp,
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.