mirror of https://github.com/jorio/Pomme.git
Use stdint.h types for basic integer typedefs (#8)
This commit is contained in:
parent
d57c28e205
commit
9fae17d771
|
@ -6,18 +6,18 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Integer types
|
// Integer types
|
||||||
|
|
||||||
typedef char SignedByte;
|
typedef int8_t SignedByte;
|
||||||
typedef char SInt8;
|
typedef int8_t SInt8;
|
||||||
typedef short SInt16;
|
typedef int16_t SInt16;
|
||||||
typedef int SInt32;
|
typedef int32_t SInt32;
|
||||||
typedef long long SInt64;
|
typedef int64_t SInt64;
|
||||||
|
|
||||||
typedef unsigned char Byte;
|
typedef uint8_t Byte;
|
||||||
typedef unsigned char UInt8;
|
typedef uint8_t UInt8;
|
||||||
typedef unsigned char Boolean;
|
typedef uint8_t Boolean;
|
||||||
typedef unsigned short UInt16;
|
typedef uint16_t UInt16;
|
||||||
typedef unsigned int UInt32;
|
typedef uint32_t UInt32;
|
||||||
typedef unsigned long long UInt64;
|
typedef uint64_t UInt64;
|
||||||
|
|
||||||
#if __BIG_ENDIAN__
|
#if __BIG_ENDIAN__
|
||||||
typedef struct { UInt32 hi, lo; } UnsignedWide;
|
typedef struct { UInt32 hi, lo; } UnsignedWide;
|
||||||
|
|
Loading…
Reference in New Issue