summaryrefslogtreecommitdiff
path: root/src/lib/aplwc_internal.h
diff options
context:
space:
mode:
authorpeter <peter@pmikkelsen.com>2026-08-30 14:46:38 +0000
committerpeter <peter@pmikkelsen.com>2026-08-30 14:46:38 +0000
commit04827577ea502a9f0edc69e00e008751c8119cbc (patch)
treee09a4f12628b85c4bc3713b00bb0bf8bb5291400 /src/lib/aplwc_internal.h
parent2261ffa04ddf30a7c8eae6e64129b293fc8bffd9 (diff)
Remove a lot of functions for manually freeing memory (they were not implemented)
FossilOrigin-Name: 693765728e62a74a0ab15d657f7d1dd83702a9371fb042dafe6250f84a252959
Diffstat (limited to 'src/lib/aplwc_internal.h')
-rw-r--r--src/lib/aplwc_internal.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/aplwc_internal.h b/src/lib/aplwc_internal.h
index 2e3e274..23b26f9 100644
--- a/src/lib/aplwc_internal.h
+++ b/src/lib/aplwc_internal.h
@@ -87,12 +87,7 @@ struct token_list *memory_alloc_token_list(struct aplwc *, size_t);
struct aplwc_value *memory_alloc_aplwc_value(struct aplwc *);
struct aplwc_module *memory_alloc_aplwc_module(struct aplwc *);
struct module_imports *memory_alloc_module_imports(struct aplwc *, size_t);
-void memory_free_aplwc(struct aplwc *, struct aplwc *);
-void memory_free_aplwc_line(struct aplwc *, struct aplwc_line *);
-void memory_free_string(struct aplwc *, struct string *);
-void memory_free_token_list(struct aplwc *, struct token_list *);
-void memory_free_aplwc_value(struct aplwc *, struct aplwc_value *);
-void memory_free_aplwc_module(struct aplwc *, struct aplwc_module *);
+void memory_free_root(struct aplwc *, void *);
/* string.c */
struct string *chars_to_string(struct aplwc *, const char *, int len);