Add public property iterator function.

This commit is contained in:
Tor Andersson
2014-10-16 13:50:44 +02:00
parent 43de5a093f
commit 790103815f
2 changed files with 15 additions and 0 deletions

3
mujs.h
View File

@@ -126,6 +126,9 @@ void js_newcconstructor(js_State *J, js_CFunction fun, js_CFunction con, unsigne
void js_newuserdata(js_State *J, const char *tag, void *data);
void js_newregexp(js_State *J, const char *pattern, int flags);
void js_pushiterator(js_State *J, int idx, int own);
const char *js_nextiterator(js_State *J, int idx);
int js_isdefined(js_State *J, int idx);
int js_isundefined(js_State *J, int idx);
int js_isnull(js_State *J, int idx);