diff options
Diffstat (limited to 'pez.h')
| -rw-r--r-- | pez.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -66,6 +66,7 @@ void pez_pop(PezContext *cx); bool pez_push(PezContext *cx, int idx); bool pez_pushvoid(PezContext *cx); bool pez_pushnumber(PezContext *, PezNumber); +bool pez_pushbool(PezContext *, bool); bool pez_pushint(PezContext *, int); bool pez_pushstring(PezContext *, const char *str, int len); bool pez_pushglobal(PezContext *, const char *name); @@ -82,7 +83,7 @@ bool pez_truthy(PezContext *, int idx); int pez_typeof(PezContext *, int idx); const char *pez_typename(PezContext *, int idx); -bool pez_checksig(PezContext *, int argc, const char *fn, const char *sig); +bool pez_checksig(PezContext *, int argc, const char *fn, const char *sig, ...); bool pez_getnumber(PezContext *, PezNumber *, int idx); bool pez_getbool(PezContext *, bool *, int idx); |