Function chakracore_sys::JsCreateContext [] [src]

pub unsafe extern "system" fn JsCreateContext(
    runtime: JsRuntimeHandle,
    newContext: *mut JsContextRef
) -> JsErrorCode

Creates a script context for running scripts. Each script context has its own global object that is isolated from all other script contexts. The runtime the script context is being created in. The created script context. The code JsNoError if the operation succeeded, a failure code otherwise.