|
Libft
42 Libft library documentation
|
Include dependency graph for ft_lstdelone.c:Go to the source code of this file.
Functions | |
| void | ft_lstdelone (t_list *lst, void(*del)(void *)) |
| Deletes and frees a single element from a linked list. This function takes an element from a linked list and a function pointer to a deletion function, then removes and frees the element. | |
| void ft_lstdelone | ( | t_list * | lst, |
| void(*)(void *) | del | ||
| ) |
Deletes and frees a single element from a linked list. This function takes an element from a linked list and a function pointer to a deletion function, then removes and frees the element.
| lst | The element to delete and free. |
| del | A function pointer to the deletion function. |
Definition at line 24 of file ft_lstdelone.c.
References s_list::content.
Referenced by ft_lstclear().
Here is the caller graph for this function: