tgrekov-fdf
HIVE fdf May 2024
Loading...
Searching...
No Matches
ft_lstdelone_bonus.c File Reference

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_lstdelone_bonus.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/28 01:31:35 by tgrekov #+# #+# */
/* Updated: 2023/11/20 19:21:44 by tgrekov ### ########.fr */
/* */
/* ************************************************************************** */

Definition in file ft_lstdelone_bonus.c.

#include "libft.h"
Include dependency graph for ft_lstdelone_bonus.c:

Go to the source code of this file.

Functions

void ft_lstdelone (t_list *lst, void(*del)(void *))
 Delete a node and it's content.
 

Function Documentation

◆ ft_lstdelone()

void ft_lstdelone ( t_list lst,
void(*)(void *)  del 
)

Delete a node and it's content.

Parameters
[in,out]lstPointer to the first node in the list
[in]delFunction used to properly handle the deletion of the node's content

Definition at line 29 of file ft_lstdelone_bonus.c.

References s_list::content.

Here is the caller graph for this function: