summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index de3d1ac..ad38f1d 100644
--- a/eval.c
+++ b/eval.c
@@ -20,6 +20,9 @@ static void evalr_free(Evaluator *ev) {
static inline void *evalr_malloc(Evaluator *ev, size_t bytes) {
return allocr_malloc(&ev->allocr, bytes);
}
+static inline void *evalr_calloc(Evaluator *ev, size_t n, size_t bytes) {
+ return allocr_calloc(&ev->allocr, n, bytes);
+}
static size_t compiler_sizeof_builtin(BuiltinType b) {
switch (b) {