Function javascriptcore_sys::JSObjectGetTypedArrayBuffer
[−]
[src]
pub unsafe extern "C" fn JSObjectGetTypedArrayBuffer(
ctx: JSContextRef,
object: JSObjectRef,
exception: *mut JSValueRef
) -> JSObjectRef
Returns the JavaScript Array Buffer object that is used as the backing of a JavaScript Typed Array object.
ctx: The execution context to use.object: TheJSObjectRefwhose Typed Array type data pointer to obtain.exception: A pointer to aJSValueRefin which to store an exception, if any. PassNULLif you do not care to store an exception.
Returns a JSObjectRef with a JSTypedArrayType of
JSTypedArrayType::ArrayBuffer or NULL if object is not
a Typed Array.