summaryrefslogtreecommitdiff
path: root/list/list.c
diff options
context:
space:
mode:
authorSoikk2025-10-02 17:43:32 +0200
committerSoikk2025-10-02 17:43:32 +0200
commit8dfa0b1418db29f0b62cd048d91002060b63cd47 (patch)
tree56da2da4b1480e9824d99068d061b66aeeeb1cbf /list/list.c
parent463e7bae5faa755dc23092736cb7886442acf998 (diff)
downloadsoikk-libs-8dfa0b1418db29f0b62cd048d91002060b63cd47.tar.xz
soikk-libs-8dfa0b1418db29f0b62cd048d91002060b63cd47.tar.zst
Added various QoL macros and TODOs
Diffstat (limited to 'list/list.c')
-rwxr-xr-xlist/list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/list/list.c b/list/list.c
index 4898790..c0f6c30 100755
--- a/list/list.c
+++ b/list/list.c
@@ -17,6 +17,7 @@ void _list_realloc(void **list, u32 n){
*list = (void*)nh+sizeof(struct list_header);
}
+// TODO look into removing adjusting the list size when the size decreases
void _list_adjust(void **list){
struct list_header *h = list_header(*list);
if(h == NULL) return; // TODO error warning??