Function javascriptcore_sys::JSStringCreateWithCharacters
[−]
[src]
pub unsafe extern "C" fn JSStringCreateWithCharacters(
chars: *const JSChar,
numChars: usize
) -> JSStringRef
Creates a JavaScript string from a buffer of Unicode characters.
chars: The buffer of Unicode characters to copy into the newJSString.numChars: The number of characters to copy from the buffer pointed to bychars.
Returns a JSString containing chars. Ownership follows the
Create Rule.