Extending Flash |
|
|
|
| C-Level Extensibility > The C-level API > JSVal JS_ObjectToValue() | |||
jsval JS_ObjectToValue(JSObject *obj);
Method; stores an object return value in a JSVal. Use JS_NewArrayObject() to create an array object; use JS_SetElement() to define its contents.
JSObject *obj
obj argument is a pointer to the JSObject object that you want to convert to a JSVal structure.A JSVal structure that contains the object that you passed to the function as an argument.
|
|
|
|