summaryrefslogtreecommitdiff
path: root/src/lib/memory.c
diff options
context:
space:
mode:
authorpeter <peter@pmikkelsen.com>2026-08-21 20:38:39 +0000
committerpeter <peter@pmikkelsen.com>2026-08-21 20:38:39 +0000
commitefe230205f254fc5369b53d3de2841723beb6ff8 (patch)
tree39e096bf204f2fc33ba140f44566127985422b0c /src/lib/memory.c
parent2d34e3d861e14d58faad68ea5c7d37f1b201addf (diff)
Start work on testing the evaluator
FossilOrigin-Name: 530cc9567bc825fd8a7eb21f2ca12dbf7ecbecae3ed02638537dc4a8dca9ae1a
Diffstat (limited to 'src/lib/memory.c')
-rw-r--r--src/lib/memory.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/memory.c b/src/lib/memory.c
index 41ac90d..f34ff43 100644
--- a/src/lib/memory.c
+++ b/src/lib/memory.c
@@ -102,3 +102,19 @@ memory_free_token_list(struct memory *m, struct token_list *p)
UNUSED_PARAMETER(m);
UNUSED_PARAMETER(p);
}
+
+struct aplwc_value *
+memory_alloc_aplwc_value(struct memory *m)
+{
+ struct aplwc_value *p;
+
+ p = alloc(m, sizeof(struct aplwc_value), alignof(struct aplwc_value));
+ return p;
+}
+
+void
+memory_free_aplwc_value(struct memory *m, struct aplwc_value *p)
+{
+ UNUSED_PARAMETER(m);
+ UNUSED_PARAMETER(p);
+}