[][src]Function ul_sys::JSObjectMakeArray

pub unsafe extern "C" fn JSObjectMakeArray(
    ctx: JSContextRef,
    argumentCount: size_t,
    arguments: *const JSValueRef,
    exception: *mut JSValueRef
) -> JSObjectRef

@function @abstract Creates a JavaScript Array object. @param ctx The execution context to use. @param argumentCount An integer count of the number of arguments in arguments. @param arguments A JSValue array of data to populate the Array with. Pass NULL if argumentCount is 0. @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception. @result A JSObject that is an Array. @discussion The behavior of this function does not exactly match the behavior of the built-in Array constructor. Specifically, if one argument is supplied, this function returns an array with one element.