Function chakracore_sys::JsGetGlobalObject [] [src]

pub unsafe extern "system" fn JsGetGlobalObject(
    globalObject: *mut JsValueRef
) -> JsErrorCode

Gets the global object in the current script context. Requires an active script context. The global object. The code JsNoError if the operation succeeded, a failure code otherwise.