summaryrefslogtreecommitdiffhomepage
path: root/src/CompilerKit/Config.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-02 15:47:44 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-02 15:49:18 -0500
commitbcc6100941117dc84fb9ece3812da340d96c61a6 (patch)
treed27a97e5a4a8cfa6bfdb3688c2be0183f69e3fbd /src/CompilerKit/Config.h
parentf7930b3a1279922cf9e6e75e651fe9b5df247bc6 (diff)
chore! reworked source code to exclude `Bool`, `Boolean`, and `nullPtr` macros.
fix: ErrorOr: Return `Ref<T>&` when using Leak. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/CompilerKit/Config.h')
-rw-r--r--src/CompilerKit/Config.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/CompilerKit/Config.h b/src/CompilerKit/Config.h
index 637d56e..691d51c 100644
--- a/src/CompilerKit/Config.h
+++ b/src/CompilerKit/Config.h
@@ -42,8 +42,6 @@
#define Int32 int
#define UInt32 unsigned
-#define Bool bool
-
#define Int16 int16_t
#define UInt16 uint16_t
@@ -51,14 +49,13 @@
#define UInt8 uint8_t
#define Char char
-#define Boolean bool
#include <signal.h>
+#include <stdint.h>
+#include <time.h>
#include <unistd.h>
#include <cassert>
-#include <time.h>
#include <string>
-#include <stdint.h>
#define kDistVersion "v0.0.7-compilerkit"
#define kDistVersionBCD 0x0002
@@ -78,9 +75,7 @@
#define kDistRelease ToString(kDistReleaseBranch)
-#endif // !kDistRelease
-
-#define nullPtr std::nullptr_t
+#endif // !kDistRelease
#define MUST_PASS(E) assert(E)