Function chakracore_sys::JsCreateString [] [src]

pub unsafe extern "system" fn JsCreateString(
    content: *const c_char,
    length: usize,
    value: *mut JsValueRef
) -> JsErrorCode

Create JavascriptString variable from ASCII or Utf8 string Input string can be either ASCII or Utf8 Pointer to string memory. Number of bytes within the string JsValueRef representing the JavascriptString The code JsNoError if the operation succeeded, a failure code otherwise.