jSObjectGetTypedArrayBuffer top-level property
Pointer<NativeType> Function(Pointer<NativeType> ctx, Pointer<NativeType> object, Pointer<Pointer<NativeType> > exception)
jSObjectGetTypedArrayBuffer
final
Returns the JavaScript Array Buffer object that is used as the backing of a JavaScript Typed Array object.
ctx
(JSContextRef) The execution context to use.
object
(JSObjectRef) The JSObjectRef whose Typed Array type data pointer to obtain.
exception
(JSValueRef*) 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
(JSObjectRef) A JSObjectRef with a JSTypedArrayType of kJSTypedArrayTypeArrayBuffer or NULL if object is not a Typed Array.
Implementation
final Pointer Function(Pointer ctx, Pointer object, Pointer<Pointer> exception)
jSObjectGetTypedArrayBuffer = JscFfi.lib
.lookup<NativeFunction<Pointer Function(Pointer, Pointer, Pointer)>>(
'JSObjectGetTypedArrayBuffer')
.asFunction();