summaryrefslogtreecommitdiff
path: root/lichen.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2025-10-24 13:40:15 -0500
committersanine <sanine.not@pm.me>2025-10-24 13:40:15 -0500
commit4167860e015a779f83a17bc8754c7070bdfba336 (patch)
treee0dfc64edc44e5ad50a4dfa7988715c9a10f7ade /lichen.h
parent24fbfb8c41c62b11506668a22074379115f57600 (diff)
add list prepend
Diffstat (limited to 'lichen.h')
-rw-r--r--lichen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lichen.h b/lichen.h
index a607d24..4bcd608 100644
--- a/lichen.h
+++ b/lichen.h
@@ -50,6 +50,7 @@ struct li_ll_t * li_alloc_ll();
// free a linked list
void li_free_ll(struct li_ll_t *list, void (*free_data)(void*));
void li_ll_append(struct li_ll_t *list, void *data);
+void li_ll_prepend(struct li_ll_t *list, void *data);
struct li_ll_t * li_copy_list(struct li_ll_t *list);