Function chakracore_sys::JsCreateRuntime [] [src]

pub unsafe extern "system" fn JsCreateRuntime(
    attributes: JsRuntimeAttributes,
    threadService: JsThreadServiceCallback,
    runtime: *mut JsRuntimeHandle
) -> JsErrorCode

Creates a new runtime. The attributes of the runtime to be created. The thread service for the runtime. Can be null. The runtime created. In the edge-mode binary, chakra.dll, this function lacks the runtimeVersion parameter (compare to jsrt9.h). The code JsNoError if the operation succeeded, a failure code otherwise.