Skip to content
This repository was archived by the owner on Jun 20, 2019. It is now read-only.

Commit 51e1504

Browse files
committed
Updated comments for ArrayBuffer API
1 parent 88d5198 commit 51e1504

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

JavaScriptCore/API/JSTypedArray.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ extern "C" {
2020
@constant kJSTypedArrayTypeUint32Array Uint32Array
2121
@constant kJSTypedArrayTypeFloat32Array Float32Array
2222
@constant kJSTypedArrayTypeFloat64Array Float64Array
23+
@constant kJSTypedArrayTypeArrayBuffer ArrayBuffer
2324
*/
2425
typedef enum {
2526
kJSTypedArrayTypeNone,
@@ -48,7 +49,7 @@ JS_EXPORT JSTypedArrayType JSTypedArrayGetType(JSContextRef ctx, JSValueRef valu
4849
@function
4950
@abstract Creates a JavaScript Typed Array with the given number of elements
5051
@param ctx The execution context to use.
51-
@param arrayClass A value of type JSTypedArrayType identifying the type of array you want to create
52+
@param arrayType A value of type JSTypedArrayType identifying the type of array you want to create
5253
@param numElements The number of elements for the array.
5354
@result A JSObjectRef that is a Typed Array or NULL if there was an error
5455
*/

0 commit comments

Comments
 (0)