pub unsafe extern "C" fn SetWarningReporter(
    cx: *mut JSContext,
    reporter: WarningReporter
) -> WarningReporter