diff --git a/libft.h b/libft.h index fa69898..793d145 100644 --- a/libft.h +++ b/libft.h @@ -6,7 +6,7 @@ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/11/01 10:06:03 by adjoly #+# #+# */ -/* Updated: 2024/02/15 13:55:01 by adjoly ### ########.fr */ +/* Updated: 2024/02/22 11:29:58 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ @@ -26,6 +26,12 @@ typedef struct s_list struct s_list *next; } t_list; +typedef enum s_boolean{ + ERROR = -1, + FALSE, + TRUE, +} t_boolean; + long long ft_atoll(const char *nptr); int ft_atoi(const char *nptr); void *ft_calloc(size_t nmemb, size_t size);