From afc8c70a66773563f6e7429b500abcbab631722b Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 21 Nov 2019 02:06:06 +0100 Subject: ft_memset and ft_strlen optimization --- libft.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libft.h') diff --git a/libft.h b/libft.h index 6ac960b..2e1a2f2 100644 --- a/libft.h +++ b/libft.h @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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; /* -- cgit