summaryrefslogtreecommitdiff
path: root/pez.h
diff options
context:
space:
mode:
Diffstat (limited to 'pez.h')
-rw-r--r--pez.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pez.h b/pez.h
index 08fce17..53d2d29 100644
--- a/pez.h
+++ b/pez.h
@@ -33,13 +33,15 @@ typedef struct PezContext PezContext;
typedef void *PezAllocFn(void *userdata, void *ptr, size_t oldsize, size_t newsize);
typedef bool PezCFn(PezContext *, int argc);
-PezContext *pez_new(PezAllocFn *alloc, void *userdata);
+PezContext *pez_new(PezAllocFn *alloc, void *userdata, size_t stacksize);
void pez_del(PezContext *);
/*
* opts:
* NULL -> reset debug options
* 'b': enable print bytecode to stderr
+ * 'G': stress GC
+ * 'g': print GC debug info
*/
void pez_debug(PezContext *, const char *opts);