Function js::jsapi::JS_SetDefaultLocale [] [src]

pub unsafe extern "C" fn JS_SetDefaultLocale(
    rt: *mut JSRuntime,
    locale: *const c_char
) -> bool

The default locale for the ECMAScript Internationalization API (Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat). Note that the Internationalization API encourages clients to specify their own locales. The locale string remains owned by the caller.