Function mozjs::jsapi::JS::SetWarningReporter

source ยท
pub unsafe extern "C" fn SetWarningReporter(
    cx: *mut JSContext,
    reporter: Option<unsafe extern "C" fn(_: *mut JSContext, _: *mut JSErrorReport)>,
) -> Option<unsafe extern "C" fn(_: *mut JSContext, _: *mut JSErrorReport)>