/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_boolean.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/07/07 16:35:29 by cacharle #+# #+# */ /* Updated: 2019/07/11 14:37:46 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef FT_BOOLEAN_H # define FT_BOOLEAN_H # include # define TRUE 1 # define FALSE 0 # define SUCCESS 0 # define EVEN_MSG "I have an even number of arguments.\n" # define ODD_MSG "I have an odd number of arguments.\n" # define EVEN(x) (x % 2 == 0 ? 1 : 0) typedef enum { true, false } t_bool; void ft_putstr(char *str); t_bool ft_is_even(int nbr); #endif