Type Alias mozjs_sys::jsapi::JSGCCallback
source · pub type JSGCCallback = Option<unsafe extern "C" fn(cx: *mut JSContext, status: JSGCStatus, reason: GCReason, data: *mut c_void)>;
Aliased Type§
enum JSGCCallback {
None,
Some(unsafe extern "C" fn(_: *mut JSContext, _: JSGCStatus, _: GCReason, _: *mut c_void)),
}