first commit
This commit is contained in:
26
C08/ex01/ft_boolean.h
Normal file
26
C08/ex01/ft_boolean.h
Normal file
@ -0,0 +1,26 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_boolean.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: ajoly <ajoly@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/08/04 09:35:42 by ajoly #+# #+# */
|
||||
/* Updated: 2022/08/04 21:15:45 by ajoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef FT_BOOLEAN_H
|
||||
# define FT_BOOLEAN_H
|
||||
|
||||
# include <unistd.h>
|
||||
# define EVEN(x) x % 2 == 0
|
||||
# define EVEN_MSG "I have an even number of arguments.\n"
|
||||
# define ODD_MSG "I have an odd number of arguments.\n"
|
||||
# define TRUE 1
|
||||
# define FALSE 0
|
||||
# define SUCCESS 0
|
||||
|
||||
typedef int t_bool;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user