feat: added configuration and USE_SLIST

This commit is contained in:
Zoëy Noort 2025-05-31 20:43:20 +02:00
parent 14adc54215
commit 721a840908
16 changed files with 57 additions and 9 deletions

View file

@ -1,3 +1,4 @@
#if USE_SLIST
#include "libft.h"
void ft_slist_rm(t_slist **lst, void *data, int (*cmp)(void *, void *), void (*del)(void *))
@ -21,4 +22,5 @@ void ft_slist_rm(t_slist **lst, void *data, int (*cmp)(void *, void *), void (*d
prev = curr;
curr = curr->next;
}
}
}
#endif