- The documentation on the header allow u to see on the files where the header is inclued
20 lines
1,019 B
C
20 lines
1,019 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_lstdelone.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/11/12 11:42:11 by rparodi #+# #+# */
|
|
/* Updated: 2025/09/05 16:14:05 by rparodi ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "list.h"
|
|
#include <stdlib.h>
|
|
|
|
void ft_lstdelone(t_list *lst, void (*del)(void *))
|
|
{
|
|
del(lst->content);
|
|
free(lst);
|
|
}
|