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_find(t_slist *lst, void *data, int (*cmp)(void *, void *))
@ -9,4 +10,5 @@ t_slist *ft_slist_find(t_slist *lst, void *data, int (*cmp)(void *, void *))
lst = lst->next;
}
return (NULL);
}
}
#endif