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_unshift(t_slist **lst, t_slist *node)
@ -7,3 +8,4 @@ void ft_slist_unshift(t_slist **lst, t_slist *node)
node->next = *lst;
*lst = node;
}
#endif