Function chakracore_sys::JsTTDCreateContext [] [src]

pub unsafe extern "system" fn JsTTDCreateContext(
    runtimeHandle: JsRuntimeHandle,
    useRuntimeTTDMode: bool,
    newContext: *mut JsContextRef
) -> JsErrorCode

TTD API -- may change in future versions: Creates a script context that takes the TTD mode from the log or explicitly is not in TTD mode (regular takes mode from currently active script). The runtime the script context is being created in. Set to true to use runtime TTD mode false to explicitly be non-TTD context. The created script context. The code JsNoError if the operation succeeded, a failure code otherwise.