diff options
| author | 2025-05-06 16:40:18 +0200 | |
|---|---|---|
| committer | 2025-05-06 16:40:18 +0200 | |
| commit | 2297267c65a30fc6212f92bde78748fd8b4dcd2f (patch) | |
| tree | 1e1560a9609a6dddad4de3ba0deadc4e25de66ec /pez.h | |
| parent | 4c422d4ff80de1f5cd055c5f793dd936593ffbca (diff) | |
io#write, pusbool, checksig
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); |