Function mozjs_sys::jsapi::JS::AddGCNurseryCollectionCallback
source ยท pub unsafe extern "C" fn AddGCNurseryCollectionCallback(
cx: *mut JSContext,
callback: GCNurseryCollectionCallback,
data: *mut c_void,
) -> bool
Expand description
Add and remove nursery collection callbacks for the given runtime. These will be called at the start and end of every nursery collection.