Function chakracore_sys::JsConstructObject [] [src]

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

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