Function jscjs_sys::api::JSObjectGetTypedArrayLength [−][src]
pub unsafe extern "C" fn JSObjectGetTypedArrayLength(
ctx: JSContextRef,
object: JSObjectRef,
exception: *mut JSValueRef
) -> usize
Expand description
@function @abstract Returns the length of a JavaScript Typed Array object. @param ctx The execution context to use. @param object The Typed Array object whose length to return. @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 The length of the Typed Array object or 0 if the object is not a Typed Array object.