From efe230205f254fc5369b53d3de2841723beb6ff8 Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 21 Aug 2026 20:38:39 +0000 Subject: Start work on testing the evaluator FossilOrigin-Name: 530cc9567bc825fd8a7eb21f2ca12dbf7ecbecae3ed02638537dc4a8dca9ae1a --- src/lib/memory.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/lib/memory.c') 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); +} -- cgit v1.2.3