diff options
| author | 2022-10-10 19:46:19 +0200 | |
|---|---|---|
| committer | 2022-10-10 19:46:19 +0200 | |
| commit | e053f449390a632c48de42329a4ba2ca8a368150 (patch) | |
| tree | 977038e0f6b68ecbdb0b916ca3b58a229697573d /pez.h | |
| parent | 77dd89282880373645769101c6f795a9a5ce6ff3 (diff) | |
pez_checksig() helper
Diffstat (limited to 'pez.h')
| -rw-r--r-- | pez.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |