diff options
Diffstat (limited to 'pez.h')
| -rw-r--r-- | pez.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |