27 lines
1.2 KiB
C
27 lines
1.2 KiB
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* ft_boolean.h :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2022/07/26 19:25:57 by cchauvet #+# #+# */
|
||
|
/* Updated: 2022/07/27 19:02:52 by cchauvet ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#ifndef FT_BOOLEAN_H
|
||
|
# define FT_BOOLEAN_H
|
||
|
# include <unistd.h>
|
||
|
|
||
|
typedef t_bool int;
|
||
|
|
||
|
# define TRUE 1
|
||
|
# define FALSE 0
|
||
|
# define SUCCESS 1
|
||
|
# define EVEN(nbr) nbr % 2 == 0
|
||
|
# define EVEN_MSG "I have an even number of arguments.\n"
|
||
|
# define ODD_MSG "I have an odd number of arguments.\n"
|
||
|
|
||
|
#endif
|