summaryrefslogtreecommitdiff
path: root/pez.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-10-10 19:46:19 +0200
committerlemon <lsof@mailbox.org>2022-10-10 19:46:19 +0200
commite053f449390a632c48de42329a4ba2ca8a368150 (patch)
tree977038e0f6b68ecbdb0b916ca3b58a229697573d /pez.h
parent77dd89282880373645769101c6f795a9a5ce6ff3 (diff)
pez_checksig() helper
Diffstat (limited to 'pez.h')
-rw-r--r--pez.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pez.h b/pez.h
index e802d26..b372e0e 100644
--- a/pez.h
+++ b/pez.h
@@ -70,8 +70,11 @@ bool pez_isbool(PezContext *, int idx);
bool pez_isstring(PezContext *, int idx);
bool pez_isfunction(PezContext *, int idx);
bool pez_isarray(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_getnumber(PezContext *, PezNumber *, int idx);
bool pez_getbool(PezContext *, bool *, int idx);
const char *pez_getstring(PezContext *, char buf[8], int idx);