From 04827577ea502a9f0edc69e00e008751c8119cbc Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 30 Aug 2026 14:46:38 +0000 Subject: Remove a lot of functions for manually freeing memory (they were not implemented) FossilOrigin-Name: 693765728e62a74a0ab15d657f7d1dd83702a9371fb042dafe6250f84a252959 --- src/lib/aplwc_internal.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/lib/aplwc_internal.h') 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); -- cgit v1.2.3