diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-01-26 00:40:51 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-01-26 00:42:44 +0100 |
commit | cf7db48c261ee9c896c813a38ff8c59da5b8fe07 (patch) | |
tree | 41d827be5db5f3322d745215fe38a9c395a52fa3 /asl/integers.hpp | |
parent | 79aaec3d7d12bc1a0483f19eadeda325a2d65920 (diff) |
Fix line endings
Diffstat (limited to 'asl/integers.hpp')
-rw-r--r-- | asl/integers.hpp | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/asl/integers.hpp b/asl/integers.hpp index b9ca9f8..04722a3 100644 --- a/asl/integers.hpp +++ b/asl/integers.hpp @@ -1,40 +1,40 @@ -#pragma once
-
-#include "asl/config.hpp"
-
-using int8_t = signed char;
-using int16_t = signed short;
-using int32_t = signed int;
-#if ASL_OS_WINDOWS
- using int64_t = signed long long;
-#elif ASL_OS_LINUX
- using int64_t = signed long;
-#endif
-
-using uint8_t = unsigned char;
-using uint16_t = unsigned short;
-using uint32_t = unsigned int;
-#if ASL_OS_WINDOWS
- using uint64_t = unsigned long long;
-#elif ASL_OS_LINUX
- using uint64_t = unsigned long;
-#endif
-
-struct uint128_t
-{
- uint64_t high;
- uint64_t low;
-};
-
-using size_t = uint64_t;
-using isize_t = int64_t;
-
-using uintptr_t = size_t;
-
-namespace asl
-{
-
-enum class byte : uint8_t {};
-
-} // namespace asl
-
+#pragma once + +#include "asl/config.hpp" + +using int8_t = signed char; +using int16_t = signed short; +using int32_t = signed int; +#if ASL_OS_WINDOWS + using int64_t = signed long long; +#elif ASL_OS_LINUX + using int64_t = signed long; +#endif + +using uint8_t = unsigned char; +using uint16_t = unsigned short; +using uint32_t = unsigned int; +#if ASL_OS_WINDOWS + using uint64_t = unsigned long long; +#elif ASL_OS_LINUX + using uint64_t = unsigned long; +#endif + +struct uint128_t +{ + uint64_t high; + uint64_t low; +}; + +using size_t = uint64_t; +using isize_t = int64_t; + +using uintptr_t = size_t; + +namespace asl +{ + +enum class byte : uint8_t {}; + +} // namespace asl + |