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"
t_slist *ft_slist_get(t_slist *lst, int index)
@ -10,3 +11,4 @@ t_slist *ft_slist_get(t_slist *lst, int index)
}
return ((i == index) ? lst : NULL);
}
#endif