aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/int16.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/int16.h')
-rw-r--r--src/stdlib/int16.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stdlib/int16.h b/src/stdlib/int16.h
new file mode 100644
index 00000000..d7490292
--- /dev/null
+++ b/src/stdlib/int16.h
@@ -0,0 +1,4 @@
+#define INTX_H__INT_BITS 16
+#define I16(i) (int16_t)(i)
+#include "intX.h" // IWYU pragma: export
+#define NONE_INT16 ((OptionalInt16_t){.has_value = false})