Function mozjs_sys::jsapi::JS::EncodeUtf8ToWide
source ยท pub unsafe extern "C" fn EncodeUtf8ToWide(
cx: *mut JSContext,
chars: *const c_char,
) -> UniqueWideChars
Expand description
Encode a UTF-8 string to a wide string.
NOTE: Should only be used when interacting with Windows API functions.