aboutsummaryrefslogtreecommitdiff
path: root/include/types.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-04-20 04:25:14 +0200
committerdec05eba <dec05eba@protonmail.com>2018-04-20 04:25:41 +0200
commitde059e317e43fa1b94d77fd981be68b86bf6de6e (patch)
treeaade82ecfb2dab7441de122d72485a4c71b29be0 /include/types.hpp
parent391f7fd6d832cb40f74fb37f9e0af7ff33db202f (diff)
Add chatbar. No mouse editing but keyboard editing is supported
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..762dab1
--- /dev/null
+++ b/include/types.hpp
@@ -0,0 +1,22 @@
+#pragma once
+
+#include <cstdint>
+
+namespace dchat
+{
+ 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 ssize;
+ typedef uintptr_t usize;
+}