Function javascriptcore_sys::JSObjectCallAsFunction [] [src]

pub unsafe extern "C" fn JSObjectCallAsFunction(
    ctx: JSContextRef,
    object: JSObjectRef,
    thisObject: JSObjectRef,
    argumentCount: usize,
    arguments: *const JSValueRef,
    exception: *mut JSValueRef
) -> JSValueRef

Calls an object as a function.

Returns the JSValue that results from calling object as a function, or NULL if an exception is thrown or object is not a function.