Function javascriptcore_sys::JSObjectMakeTypedArray [] [src]

pub unsafe extern "C" fn JSObjectMakeTypedArray(
    ctx: JSContextRef,
    arrayType: JSTypedArrayType,
    length: usize,
    exception: *mut JSValueRef
) -> JSObjectRef

Creates a JavaScript Typed Array object with the given number of elements.

Returns a JSObjectRef that is a Typed Array with all elements set to zero or NULL if there was an error.