summaryrefslogtreecommitdiff
path: root/include/stdbool.h
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-03 12:29:48 -0400
committerFreya Murphy <freya@freyacat.org>2025-04-03 12:29:48 -0400
commit33b9d606916f3847e0f754693ca49ce56175a330 (patch)
treeeba26ad7722349ced40270f4a9a8083a58a7d453 /include/stdbool.h
parenttrack changes (diff)
downloadcomus-33b9d606916f3847e0f754693ca49ce56175a330.tar.gz
comus-33b9d606916f3847e0f754693ca49ce56175a330.tar.bz2
comus-33b9d606916f3847e0f754693ca49ce56175a330.zip
refactor include
Diffstat (limited to 'include/stdbool.h')
-rw-r--r--include/stdbool.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/stdbool.h b/include/stdbool.h
new file mode 100644
index 0000000..dddf1c9
--- /dev/null
+++ b/include/stdbool.h
@@ -0,0 +1,17 @@
+/**
+ * @file stdbool.h
+ * @author Freya Murphy <freya@freyacat.org>
+ * @author Warren R. Carithers
+ *
+ * Boolean definitions.
+ */
+
+#ifndef _STDBOOL_H
+#define _STDBOOL_H
+
+// Boolean values
+typedef _Bool bool;
+#define true 1
+#define false 0
+
+#endif /* stdbool.h */