summaryrefslogtreecommitdiff
path: root/val.c
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-08-04 22:38:48 +0100
committerubq323 <ubq323@ubq323.website>2023-08-04 22:38:48 +0100
commitf67a3fd05c1b2fe8c749fc2f58287b1b14b011d8 (patch)
tree5566db459c3414ad1c9c18bcc61a21e0ab034f37 /val.c
parent7c9790d7726e0bb3f44bec15eff7631080d45b03 (diff)
move M to its own file
Diffstat (limited to 'val.c')
-rw-r--r--val.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/val.c b/val.c
index cd76595..c1b83c3 100644
--- a/val.c
+++ b/val.c
@@ -1,7 +1,8 @@
#include <stdio.h>
#include <string.h>
#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));