summaryrefslogtreecommitdiff
path: root/asl/integers.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-08-06 00:34:57 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-08-07 23:25:42 +0200
commit75b10758ba116eabed730d23e957f1d69a1e3cb8 (patch)
tree6fb656d6aa18e3b8fd67d0fed39b79234a23fc1d /asl/integers.hpp
parent4228e82740f62b841799cfca04861fa217fb93a5 (diff)
Type traits
Diffstat (limited to 'asl/integers.hpp')
-rw-r--r--asl/integers.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/asl/integers.hpp b/asl/integers.hpp
new file mode 100644
index 0000000..07fa11e
--- /dev/null
+++ b/asl/integers.hpp
@@ -0,0 +1,12 @@
+#pragma once
+
+using int8_t = char;
+using int16_t = short;
+using int32_t = int;
+using int64_t = long long;
+
+using uint8_t = unsigned char;
+using uint16_t = unsigned short;
+using uint32_t = unsigned int;
+using uint64_t = unsigned long long;
+