unsigned short *JS_ObjectType()
Usage
unsigned short *JS_ObjectType(JSObject *obj);
Description
Method; given an object reference, returns the class name of the object. For example, if the
object is a DOM object, the function returns "
document, the function returns "
Do not modify the returned buffer pointer, or you might corrupt the data structures of the
JavaScript interpreter.
Arguments
JSObject *obj
Typically, this argument is passed in and converted using the
function.
Returns
A pointer to a null-terminated string. The caller should not free this string when it finishes.
JSObject *JS_NewArrayObject()
Usage
JSObject *JS_NewArrayObject( JSContext *cx, unsigned int length [, jsval *v
] )
Description
Method; creates a new object that contains an array of
550
C-Level Extensibility
Document
". For an array object, the function returns "
Element
". If the object is a node in the
JS_ValueToObject()
.
JSVals
".
Array
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers