33#ifndef BASE_INTEGRAL_TYPES_H_
34#define BASE_INTEGRAL_TYPES_H_
37typedef signed char schar;
38typedef signed char int8;
44typedef long long int64;
53typedef unsigned char uint8;
54typedef unsigned short uint16;
55typedef unsigned int uint32;
57typedef unsigned __int64 uint64;
59typedef unsigned long long uint64;
66typedef signed int char32;
75typedef unsigned long uword_t;
86#define GG_LONGLONG(x) x##I64
87#define GG_ULONGLONG(x) x##UI64
90#define GG_LL_FORMAT "I64"
91#define GG_LL_FORMAT_W L"I64"
95#define GG_LONGLONG(x) x##LL
96#define GG_ULONGLONG(x) x##ULL
97#define GG_LL_FORMAT "ll"
98#define GG_LL_FORMAT_W L"ll"
103static const uint8 kuint8max = (( uint8) 0xFF);
104static const uint16 kuint16max = ((uint16) 0xFFFF);
105static const uint32 kuint32max = ((uint32) 0xFFFFFFFF);
106static const uint64 kuint64max = ((uint64) GG_LONGLONG(0xFFFFFFFFFFFFFFFF));
107static const int8 kint8min = (( int8) ~0x7F);
108static const int8 kint8max = (( int8) 0x7F);
109static const int16 kint16min = (( int16) ~0x7FFF);
110static const int16 kint16max = (( int16) 0x7FFF);
111static const int32 kint32min = (( int32) ~0x7FFFFFFF);
112static const int32 kint32max = (( int32) 0x7FFFFFFF);
113static const int64 kint64min = (( int64) GG_LONGLONG(~0x7FFFFFFFFFFFFFFF));
114static const int64 kint64max = (( int64) GG_LONGLONG(0x7FFFFFFFFFFFFFFF));
117typedef uint64 Fprint;
118static const Fprint kIllegalFprint = 0;
119static const Fprint kMaxFprint = GG_ULONGLONG(0xFFFFFFFFFFFFFFFF);