Function chakracore_sys::JsCallFunction [] [src]

pub unsafe extern "system" fn JsCallFunction(
    function: JsValueRef,
    arguments: *mut JsValueRef,
    argumentCount: c_ushort,
    result: *mut JsValueRef
) -> JsErrorCode

Invokes a function. Requires thisArg as first argument of arguments. Requires an active script context. The function to invoke. The arguments to the call. The number of arguments being passed in to the function. The value returned from the function invocation, if any. The code JsNoError if the operation succeeded, a failure code otherwise.