From f67a3fd05c1b2fe8c749fc2f58287b1b14b011d8 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Fri, 4 Aug 2023 22:38:48 +0100 Subject: move M to its own file --- val.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'val.c') diff --git a/val.c b/val.c index cd76595..c1b83c3 100644 --- a/val.c +++ b/val.c @@ -1,7 +1,8 @@ #include #include #include "val.h" -#include "vm.h" +#include "mem.h" + ObjString *objstring_new(char *src, size_t len) { char *d = M(NULL, (1 + len) * sizeof (char)); -- cgit v1.2.3