script_bindings::utils

Function trace_global

Source
pub(crate) unsafe fn trace_global(tracer: *mut JSTracer, obj: *mut JSObject)
Expand description

Trace the resources held by reserved slots of a global object

§Safety

tracer must point to a valid, non-null JSTracer. obj must point to a valid, non-null JSObject.