Change fixed size data types

This commit is contained in:
Daniel Chappuis 2016-10-17 22:41:58 +02:00
parent 14bfb0aca4
commit ce06a4b935

View File

@ -30,6 +30,7 @@
#include <limits> #include <limits>
#include <cfloat> #include <cfloat>
#include <utility> #include <utility>
#include <cstdint>
#include "decimal.h" #include "decimal.h"
// Windows platform // Windows platform
@ -51,10 +52,9 @@ using luint = long unsigned int;
using bodyindex = luint; using bodyindex = luint;
using bodyindexpair = std::pair<bodyindex, bodyindex>; using bodyindexpair = std::pair<bodyindex, bodyindex>;
using int16 = signed short; using int8 = int8_t;
using int32 = signed int; using int16 = int16_t;
using uint16 = unsigned short; using int32 = int32_t;
using uint32 = unsigned int;
// ------------------- Enumerations ------------------- // // ------------------- Enumerations ------------------- //