Function chakracore_sys::JsGetCurrentContext [] [src]

pub unsafe extern "system" fn JsGetCurrentContext(
    currentContext: *mut JsContextRef
) -> JsErrorCode

Gets the current script context on the thread. The current script context on the thread, null if there is no current script context. The code JsNoError if the operation succeeded, a failure code otherwise.