pub unsafe extern "C-unwind" fn JSStringCreateWithUTF8CString(
string: *const c_char,
) -> JSStringRefAvailable on crate features
JSBase and JSStringRef only.Expand description
Creates a JavaScript string from a null-terminated UTF8 string.
Parameter string: The null-terminated UTF8 string to copy into the new JSString.
Returns: A JSString containing string. Ownership follows the Create Rule.
ยงSafety
string must be a valid pointer.