aboutsummaryrefslogtreecommitdiff
path: root/include/libft_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libft_def.h')
-rw-r--r--include/libft_def.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/libft_def.h b/include/libft_def.h
new file mode 100644
index 0000000..69a7655
--- /dev/null
+++ b/include/libft_def.h
@@ -0,0 +1,36 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* libft_def.h :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/01/31 10:36:56 by cacharle #+# #+# */
+/* Updated: 2020/04/03 07:04:57 by charles ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#ifndef LIBFT_DEF_H
+# define LIBFT_DEF_H
+
+# include <stddef.h>
+# include <stdbool.h>
+
+# define TRUE 1
+# define FALSE 0
+
+typedef unsigned char t_ftbyte;
+typedef int t_ftbool;
+typedef unsigned int t_ftsize;
+
+typedef char t_ftchar;
+typedef unsigned char t_ftuchar;
+typedef int t_ftint;
+typedef unsigned int t_ftuint;
+typedef long int t_ftlong;
+typedef unsigned long int t_ftulong;
+
+typedef void (*t_ftdel_func)(void*);
+typedef int (*t_ftcompar_func)(const void*, const void*);
+
+#endif