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)>