feat: added configuration and USE_SLIST
This commit is contained in:
parent
14adc54215
commit
721a840908
16 changed files with 57 additions and 9 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue