diff options
Diffstat (limited to 'src/pinocchio.h')
-rw-r--r-- | src/pinocchio.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/pinocchio.h b/src/pinocchio.h index fb74f3c..1a25672 100644 --- a/src/pinocchio.h +++ b/src/pinocchio.h @@ -19,7 +19,12 @@ typedef struct { uint64_t vars; } ast_t; -void astprocess(ast_t); +typedef struct { + size_t len, cap; + ast_t *buf; +} asts_t; + +void astprocess(asts_t); void user_error(const char *, ...) #if __GNUC__ __attribute__((format(printf, 1, 2))) |