Function javascriptcore_sys::JSStringCreateWithUTF8CString [] [src]

pub unsafe extern "C" fn JSStringCreateWithUTF8CString(
    string: *const c_char
) -> JSStringRef

Creates a JavaScript string from a null-terminated UTF8 string.

Returns a JSString containing string. Ownership follows the Create Rule.