Arthur Brandao
6 years ago
|
@@ -1,9 +1,28 @@
|
|
|
-#ifndef BOOLEAN_H
|
|
|
-#define BOOLEAN_H
|
|
|
+/*
|
|
|
+ * File: constante.h
|
|
|
+ * Author: Arthur Brandao
|
|
|
+ *
|
|
|
+ * Created on 31 octobre 2018
|
|
|
+ */
|
|
|
|
|
|
+#ifndef CONSTANTE_H
|
|
|
+#define CONSTANTE_H
|
|
|
+
|
|
|
+/* --- General --- */
|
|
|
+#define BUFFER_SIZE 512
|
|
|
+
|
|
|
+/* --- Fichier --- */
|
|
|
+#define STDIN 0
|
|
|
+#define STDOUT 1
|
|
|
+#define STDERR 2
|
|
|
+
|
|
|
+/* --- Boolean --- */
|
|
|
#define boolean int
|
|
|
#define true 1
|
|
|
#define false 0
|
|
|
|
|
|
-#endif /* BOOLEAN_H */
|
|
|
+/* --- Null --- */
|
|
|
+#define null NULL
|
|
|
+
|
|
|
+#endif /* CONSTANTE_H */
|
|
|
|