struct OpaqueJSValue * JSObjectRef
Definition JSBase.h:69
const struct OpaqueJSValue * JSValueRef
Definition JSBase.h:66
void(* JSTypedArrayBytesDeallocator)(void *bytes, void *deallocatorContext)
Definition JSBase.h:61
#define JS_EXPORT
Definition JSBase.h:93
const struct OpaqueJSContext * JSContextRef
Definition JSBase.h:43
JSObjectRef JSObjectGetTypedArrayBuffer(JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12)
Returns the JavaScript Array Buffer object that is used as the backing of a JavaScript Typed Array ob...
JSObjectRef JSObjectMakeTypedArrayWithArrayBuffer(JSContextRef ctx, JSTypedArrayType arrayType, JSObjectRef buffer, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12)
Creates a JavaScript Typed Array object from an existing JavaScript Array Buffer object.
size_t JSObjectGetTypedArrayByteLength(JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12)
Returns the byte length of a JavaScript Typed Array object.
JSObjectRef JSObjectMakeTypedArrayWithBytesNoCopy(JSContextRef ctx, JSTypedArrayType arrayType, void *bytes, size_t byteLength, JSTypedArrayBytesDeallocator bytesDeallocator, void *deallocatorContext, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12)
Creates a JavaScript Typed Array object from an existing pointer.
JSObjectRef JSObjectMakeTypedArrayWithArrayBufferAndOffset(JSContextRef ctx, JSTypedArrayType arrayType, JSObjectRef buffer, size_t byteOffset, size_t length, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12)
Creates a JavaScript Typed Array object from an existing JavaScript Array Buffer object with the give...
size_t JSObjectGetTypedArrayLength(JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12)
Returns the length of a JavaScript Typed Array object.
JSObjectRef JSObjectMakeTypedArray(JSContextRef ctx, JSTypedArrayType arrayType, size_t length, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12)
Creates a JavaScript Typed Array object with the given number of elements.
void * JSObjectGetTypedArrayBytesPtr(JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12)
Returns a temporary pointer to the backing store of a JavaScript Typed Array object.
size_t JSObjectGetTypedArrayByteOffset(JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12)
Returns the byte offset of a JavaScript Typed Array object.
JSObjectRef JSObjectMakeArrayBufferWithBytesNoCopy(JSContextRef ctx, void *bytes, size_t byteLength, JSTypedArrayBytesDeallocator bytesDeallocator, void *deallocatorContext, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12)
Creates a JavaScript Array Buffer object from an existing pointer.
size_t JSObjectGetArrayBufferByteLength(JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12)
Returns the number of bytes in a JavaScript data object.
void * JSObjectGetArrayBufferBytesPtr(JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12)
Returns a pointer to the data buffer that serves as the backing store for a JavaScript Typed Array ob...
JSTypedArrayType
A constant identifying the Typed Array type of a JSObjectRef.
Definition JSValueRef.h:75
#define JSC_API_AVAILABLE(...)
Definition WebKitAvailability.h:46