diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-09-18 09:38:01 +0900 |
|---|---|---|
| committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-09-18 09:38:01 +0900 |
| commit | dc8479928c5aee4c6ad6fe4f59006fb604cee701 (patch) | |
| tree | 569a7f13128450bbab973236615587ff00bced5f /src/common/common_types.h | |
| parent | fe948af0952d7badacbce62a8e35a3a1421245ba (diff) | |
Sources: Run clang-format on everything.
Diffstat (limited to 'src/common/common_types.h')
| -rw-r--r-- | src/common/common_types.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/common_types.h b/src/common/common_types.h index 9f51dff18..ee18eac81 100644 --- a/src/common/common_types.h +++ b/src/common/common_types.h @@ -32,18 +32,18 @@ #endif #endif -typedef std::uint8_t u8; ///< 8-bit unsigned byte +typedef std::uint8_t u8; ///< 8-bit unsigned byte typedef std::uint16_t u16; ///< 16-bit unsigned short typedef std::uint32_t u32; ///< 32-bit unsigned word typedef std::uint64_t u64; ///< 64-bit unsigned int -typedef std::int8_t s8; ///< 8-bit signed byte +typedef std::int8_t s8; ///< 8-bit signed byte typedef std::int16_t s16; ///< 16-bit signed short typedef std::int32_t s32; ///< 32-bit signed word typedef std::int64_t s64; ///< 64-bit signed int -typedef float f32; ///< 32-bit floating point -typedef double f64; ///< 64-bit floating point +typedef float f32; ///< 32-bit floating point +typedef double f64; ///< 64-bit floating point // TODO: It would be nice to eventually replace these with strong types that prevent accidental // conversion between each other. |
