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