aboutsummaryrefslogtreecommitdiff
path: root/include/types.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-01-28 07:35:37 +0100
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:12 +0200
commitbd2bd91ac947a7b1f6d097d7efa4b0ab2041d4db (patch)
treed934d57f39c8ce321688308317476baacd4efd83 /include/types.hpp
parent2ca8686eabc3b624c9981509c161b9be6af439cb (diff)
Add some files...
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..3cf7f02
--- /dev/null
+++ b/include/types.hpp
@@ -0,0 +1,22 @@
+#pragma once
+
+#include <cstdint>
+
+namespace odhtdb
+{
+ 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;
+}