Extending Flash |
|
|
|
| C-Level Extensibility > The C-level API > long JS_GetArrayLength() | |||
long JS_GetArrayLength(JSContext *cx, JSObject *obj)
Method; given a pointer to an array object, gets the number of elements in the array.
JSContext *cx, JSObject *obj
cx argument is the opaque JSContext pointer that passes to the JavaScript function.obj argument is a pointer to an array object.The number of elements in the array or -1 upon failure.
|
|
|
|