Re: C++ API getOwnPropertyNames?
Benjamin Kircher <[email protected]> Wed, 24 Aug 2016 10:23:17 +0200
| Newsgroups | gmane.comp.mozilla.devel.jseng |
|---|---|
| Message-ID | <CA+y+JSAtGGW+8xWshYDrHVwr2LTB9dtaVr3fgQE9WzZbetjCpg@mail.gmail.com> |
Hi! On Wed, Aug 24, 2016 at 8:58 AM, Miles Thornton <[email protected]> wrote: > I think you want to use JS_Enumerate(). Something like: One important thing to remember here is to call JS_DestroyIdArray when you are finished. BK