Function chakracore_sys::JsGetContextOfObject [] [src]

pub unsafe extern "system" fn JsGetContextOfObject(
    object: JsValueRef,
    context: *mut JsContextRef
) -> JsErrorCode

Gets the script context that the object belongs to. The object to get the context from. The context the object belongs to. The code JsNoError if the operation succeeded, a failure code otherwise.