27 lines
1.0 KiB
C
27 lines
1.0 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_list.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: whaffman <whaffman@student.codam.nl> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/07/03 14:00:34 by whaffman #+# #+# */
|
|
/* Updated: 2024/07/03 14:26:57 by whaffman ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef FT_LIST_H
|
|
# define FT_LIST_H
|
|
|
|
# include <stdlib.h>
|
|
|
|
typedef struct s_list
|
|
{
|
|
struct s_list *next;
|
|
void *data;
|
|
} t_list;
|
|
|
|
t_list *ft_create_elem(void *data);
|
|
|
|
#endif
|