aboutsummaryrefslogtreecommitdiff
path: root/libft.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-11-21 02:06:06 +0100
committerCharles <sircharlesaze@gmail.com>2019-11-21 02:06:06 +0100
commitafc8c70a66773563f6e7429b500abcbab631722b (patch)
tree731b50b430b493280ce97a557f86f45cb2f37780 /libft.h
parentf96be9ba455b0a71562e732664717b507b4bd548 (diff)
downloadlibft-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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libft.h b/libft.h
index 6ac960b..2e1a2f2 100644
--- a/libft.h
+++ b/libft.h
@@ -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;
/*