aboutsummaryrefslogtreecommitdiff
path: root/include/std/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/std/types.h')
-rw-r--r--include/std/types.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/std/types.h b/include/std/types.h
new file mode 100644
index 0000000..68e2d0f
--- /dev/null
+++ b/include/std/types.h
@@ -0,0 +1,20 @@
+#ifndef AMALGAM_TYPES_H
+#define AMALGAM_TYPES_H
+
+#include <stddef.h>
+#include <stdint.h>
+
+typedef int8_t i8;
+typedef int16_t i16;
+typedef int32_t i32;
+typedef int64_t i64;
+
+typedef uint8_t u8;
+typedef uint16_t u16;
+typedef uint32_t u32;
+typedef uint64_t u64;
+
+typedef ptrdiff_t isize;
+typedef size_t usize;
+
+#endif