Function mozjs::jsapi::JS_NewExternalStringLatin1
source ยท pub unsafe extern "C" fn JS_NewExternalStringLatin1(
cx: *mut JSContext,
chars: *const u8,
length: usize,
callbacks: *const JSExternalStringCallbacks,
) -> *mut JSString
Expand description
Create a new JSString whose chars member refers to external memory, i.e., memory requiring application-specific finalization.