summaryrefslogtreecommitdiff
path: root/pez.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-05-06 16:40:18 +0200
committerlemon <lsof@mailbox.org>2025-05-06 16:40:18 +0200
commit2297267c65a30fc6212f92bde78748fd8b4dcd2f (patch)
tree1e1560a9609a6dddad4de3ba0deadc4e25de66ec /pez.h
parent4c422d4ff80de1f5cd055c5f793dd936593ffbca (diff)
io#write, pusbool, checksig
Diffstat (limited to 'pez.h')
-rw-r--r--pez.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pez.h b/pez.h
index f99b58b..d29344f 100644
--- a/pez.h
+++ b/pez.h
@@ -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);