Function mozjs::jsapi::JS_SetGCCallback

source ยท
pub unsafe extern "C" fn JS_SetGCCallback(
    cx: *mut JSContext,
    cb: Option<unsafe extern "C" fn(_: *mut JSContext, _: JSGCStatus, _: GCReason, _: *mut c_void)>,
    data: *mut c_void,
)