Function mozjs::jsapi::JS::WarnUTF8

source ยท
pub unsafe extern "C" fn WarnUTF8(
    cx: *mut JSContext,
    format: *const i8,
    ...
) -> bool
Expand description

Report a warning represented by the sprintf-like conversion of UTF-8 format filled from trailing UTF-8 arguments.

Return true iff the warning was successfully reported without reporting an error (or being upgraded into one).