aboutsummaryrefslogtreecommitdiff
path: root/include/dchat/types.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-29 21:49:54 +0100
committerdec05eba <dec05eba@protonmail.com>2018-10-29 21:52:12 +0100
commitb1296f2c97c6fdc1c6a9922dc09c951b5cafdc12 (patch)
tree0986a2e3ab45f73c1f7219deef044b3d4ca94e89 /include/dchat/types.hpp
Initial commit
Diffstat (limited to 'include/dchat/types.hpp')
-rw-r--r--include/dchat/types.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/dchat/types.hpp b/include/dchat/types.hpp
new file mode 100644
index 0000000..97bfc96
--- /dev/null
+++ b/include/dchat/types.hpp
@@ -0,0 +1,22 @@
+#pragma once
+
+#include <stdint.h>
+
+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;
+}