aboutsummaryrefslogtreecommitdiff
path: root/include/types.hpp
diff options
context:
space:
mode:
authordec05eba <0xdec05eba@gmail.com>2018-05-31 01:13:15 +0200
committerdec05eba <0xdec05eba@gmail.com>2018-05-31 01:13:17 +0200
commit595b1b7d2fc7aa084296978b8a38a26ed960a0f5 (patch)
tree966a0bd21e1a824cf0151a8091ad9fdc71998b8f /include/types.hpp
parentce3a9cdb6929b78f6c163f1c8f4aaf91f384f2ee (diff)
Starting...
Diffstat (limited to 'include/types.hpp')
-rw-r--r--include/types.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/types.hpp b/include/types.hpp
new file mode 100644
index 0000000..0379100
--- /dev/null
+++ b/include/types.hpp
@@ -0,0 +1,22 @@
+#pragma once
+
+#include <cstdint>
+
+namespace sibs
+{
+ 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 float f32;
+ typedef double f64;
+
+ typedef intptr_t isize;
+ typedef uintptr_t usize;
+}