Merge pull request #42 from georgemoralis/wheremyfoodat-patch-1
Use cstdint in types.h
This commit is contained in:
commit
f52b0ad01d
17
src/types.h
17
src/types.h
|
@ -1,14 +1,15 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
using s08 = char;
|
using s08 = std::int8_t;
|
||||||
using s16 = short;
|
using s16 = std::int16_t;
|
||||||
using s32 = int;
|
using s32 = std::int32_t;
|
||||||
using s64 = long long;
|
using s64 = std::int64_t;
|
||||||
|
|
||||||
using u08 = unsigned char;
|
using u08 = std::uint8_t;
|
||||||
using u16 = unsigned short;
|
using u16 = std::uint16_t;
|
||||||
using u32 = unsigned int;
|
using u32 = std::uint32_t;
|
||||||
using u64 = unsigned long long;
|
using u64 = std::uint64_t;
|
||||||
|
|
||||||
using f32 = float;
|
using f32 = float;
|
||||||
using f64 = double;
|
using f64 = double;
|
||||||
|
|
Loading…
Reference in New Issue