pub unsafe extern "C" fn JSStringCreateWithUTF8CString(
string: *const c_char,
) -> JSStringRef
Expand description
Creates a JavaScript string from a null-terminated UTF8 string.
string
: The null-terminated UTF8 string to copy into the newJSStringRef
.
Returns a JSStringRef
containing string
. Ownership follows the
Create Rule.