![]() |
tgrekov-fdf
HIVE fdf May 2024
|
Definition in file ft_lstclear_bonus.c.
#include "libft.h"Go to the source code of this file.
Functions | |
| void | ft_lstclear (t_list **lst, void(*del)(void *)) |
| Delete every node in a list along with it's content. | |
| void ft_lstclear | ( | t_list ** | lst, |
| void(*)(void *) | del | ||
| ) |
Delete every node in a list along with it's content.
| [in,out] | lst | Pointer to a pointer to the first node in the list |
| [in] | del | Function used to properly handle the deletion of the node's content |
Definition at line 31 of file ft_lstclear_bonus.c.
References ft_lstdelone(), and s_list::next.