#include "libft.h"
Functions | |
t_list * | ft_lstmap (t_list *lst, void *(*f)(void *), void(*del)(void *)) |
Iterated on the linked list 'list' and apply the function 'f' on the content of each element. Create a new list resulting from the successive applications of 'f'. The function 'del' is there to destroy the content of an element if necessary. | |