Function javascriptcore_sys::JSValueMakeString
[−]
[src]
pub unsafe extern "C" fn JSValueMakeString(
ctx: JSContextRef,
string: JSStringRef
) -> JSValueRef
Creates a JavaScript value of the string type.
ctx: The execution context to use.string: TheJSStringto assign to the newly createdJSValue. The newly createdJSValueretains string, and releases it upon garbage collection.
Returns a JSValue of the string type, representing the value of string.