summaryrefslogtreecommitdiff
path: root/pez.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-06-16 11:57:53 +0200
committerlemon <lsof@mailbox.org>2025-06-16 11:57:53 +0200
commitc2021ab74da2048fc330c8185d98f2c9331c8149 (patch)
tree989aae2f3ae662ed7fbd4332075ab5360128e957 /pez.h
parent2ae76e402eac4b451ce58ce41352def8ff2dffb9 (diff)
+ pez_setglobal
Diffstat (limited to 'pez.h')
-rw-r--r--pez.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pez.h b/pez.h
index d29344f..62946d2 100644
--- a/pez.h
+++ b/pez.h
@@ -72,6 +72,8 @@ bool pez_pushstring(PezContext *, const char *str, int len);
bool pez_pushglobal(PezContext *, const char *name);
bool pez_pushuserobj(PezContext *, const PezUserType *, void *data);
+bool pez_setglobal(PezContext *, const char *name);
+
bool pez_isvoid(PezContext *, int idx);
bool pez_isnumber(PezContext *, int idx);
bool pez_isbool(PezContext *, int idx);