#include <stddef.h>
#include "ft_lst.h"
Go to the source code of this file.
◆ ft_lstmap()
| t_list* ft_lstmap |
( |
t_list * |
lst, |
|
|
void *(*)(void *) |
f, |
|
|
void(*)(void *) |
del |
|
) |
| |
Definition at line 16 of file ft_lstmap.c.
24 if (p_new_lst_top == NULL)
26 p_new_lst = p_new_lst_top;
31 p_new_lst = p_new_lst->
next;
33 if (p_new_lst == NULL)
39 return (p_new_lst_top);
void ft_lstclear(t_list **lst, void(*del)(void *))
t_list * ft_lstnew(void *content)