JavaScript-1.5 Reference

JS_Enumerate Function

Summary

Enumerates the properties of a specified object.

Syntax

JSIdArray * JS_Enumerate(JSContext *cx, JSObject *obj);

Description

JS_Enumerate enumerates all properties of a specified object, obj, and returns an array of property IDs for them. Enumeration occurs in a specified JSContext, cx.

On success, JS_Enumerate returns a pointer to an array of property IDs. On failure, it returns NULL.

See Also

Groups [ Function ]
Documents [ LXR ID Search ]

This page was generated by APIDOC