Function mozjs::jsapi::js::SetPreserveWrapperCallbacks

source ยท
pub unsafe extern "C" fn SetPreserveWrapperCallbacks(
    cx: *mut JSContext,
    preserveWrapper: Option<unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>) -> bool>,
    hasReleasedWrapper: Option<unsafe extern "C" fn(_: Handle<*mut JSObject>) -> bool>,
)