Function jscjs_sys::api::JSValueMakeString [−][src]
pub unsafe extern "C" fn JSValueMakeString(
ctx: JSContextRef,
string: JSStringRef
) -> JSValueRef
Expand description
@function @abstract Creates a JavaScript value of the string type. @param ctx The execution context to use. @param string The JSString to assign to the newly created JSValue. The newly created JSValue retains string, and releases it upon garbage collection. @result A JSValue of the string type, representing the value of string.