Function jscjs_sys::api::JSStringCreateWithCharacters[][src]

pub unsafe extern "C" fn JSStringCreateWithCharacters(
    chars: *const JSChar,
    numChars: usize
) -> JSStringRef
Expand description

@function @abstract Creates a JavaScript string from a buffer of Unicode characters. @param chars The buffer of Unicode characters to copy into the new JSString. @param numChars The number of characters to copy from the buffer pointed to by chars. @result A JSString containing chars. Ownership follows the Create Rule.