mirror of
https://github.com/Ladebeze66/Piscine42.git
synced 2025-12-16 05:58:07 +01:00
26 lines
1.2 KiB
C
Executable File
26 lines
1.2 KiB
C
Executable File
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_boolean.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: fgras-ca <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2022/12/15 14:30:45 by fgras-ca #+# #+# */
|
|
/* Updated: 2022/12/18 12:24:26 by fgras-ca ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef FT_BOOLEAN_H
|
|
# define FT_BOOLEAN_H
|
|
# include <unistd.h>
|
|
# define EVEN(n) n % 2 == 0
|
|
|
|
typedef int t_bool;
|
|
|
|
# define FALSE 0
|
|
# define TRUE 1
|
|
# define EVEN_MSG "I have an even number of arguments.\n"
|
|
# define ODD_MSG "I have an odd number of arguments.\n"
|
|
# define SUCCESS 0
|
|
#endif
|