aboutsummaryrefslogtreecommitdiff
path: root/builtins/bool.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-02-17 19:32:30 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-02-17 19:32:30 -0500
commitd46925dbfa8627a6a874545630c2acb6975bfdea (patch)
tree2b726ea50adf91b668a24b25d4d9e6ec7f7c2663 /builtins/bool.h
parent7355b2f7fe6f5dda2aee8feca025350146ccd0f5 (diff)
Cleanup of builtins
Diffstat (limited to 'builtins/bool.h')
-rw-r--r--builtins/bool.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/builtins/bool.h b/builtins/bool.h
new file mode 100644
index 00000000..703c6bc0
--- /dev/null
+++ b/builtins/bool.h
@@ -0,0 +1,16 @@
+#pragma once
+#include <gc/cord.h>
+#include <stdbool.h>
+#include <stdint.h>
+
+#include "types.h"
+
+CORD Bool__as_str(const bool *b, bool colorize, const TypeInfo *type);
+
+typedef struct {
+ TypeInfo type;
+} Bool_namespace_t;
+
+extern Bool_namespace_t Bool_type;
+
+// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0