diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-11-21 02:06:06 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-11-21 02:06:06 +0100 |
| commit | afc8c70a66773563f6e7429b500abcbab631722b (patch) | |
| tree | 731b50b430b493280ce97a557f86f45cb2f37780 /libft.h | |
| parent | f96be9ba455b0a71562e732664717b507b4bd548 (diff) | |
| download | libft-afc8c70a66773563f6e7429b500abcbab631722b.tar.gz libft-afc8c70a66773563f6e7429b500abcbab631722b.tar.bz2 libft-afc8c70a66773563f6e7429b500abcbab631722b.zip | |
ft_memset and ft_strlen optimization
Diffstat (limited to 'libft.h')
| -rw-r--r-- | libft.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/07 09:45:02 by cacharle #+# #+# */ -/* Updated: 2019/11/20 04:13:10 by cacharle ### ########.fr */ +/* Updated: 2019/11/21 02:01:31 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -22,6 +22,9 @@ # define TRUE 1 # define FALSE 0 +#define MIN(x, y) ((x) < (y) ? (x) : (y)) +#define MAX(x, y) ((x) > (y) ? (x) : (y)) + typedef unsigned char t_byte; /* |
