GameKit
0.0.1a
C++ gamedev tools
include
gk
core
IntTypes.hpp
Go to the documentation of this file.
1
/*
2
* =====================================================================================
3
*
4
* Filename: IntTypes.hpp
5
*
6
* Description:
7
*
8
* Created: 14/12/2014 05:05:33
9
*
10
* Author: Quentin Bazin, <quent42340@gmail.com>
11
*
12
* =====================================================================================
13
*/
14
#ifndef GK_INTTYPES_HPP_
15
#define GK_INTTYPES_HPP_
16
17
using
s8
=
signed
char;
18
using
s16
=
signed
short;
19
using
s32
=
signed
int;
20
21
using
u8
=
unsigned
char;
22
using
u16
=
unsigned
short;
23
using
u32
=
unsigned
int;
24
25
#if defined(_MSC_VER)
26
using
s64
=
signed
__int64;
27
using
u64
=
unsigned
__int64;
28
#else
29
using
s64
=
signed
long
long;
30
using
u64
=
unsigned
long
long;
31
#endif
32
33
#endif // GK_INTTYPES_HPP_
s32
signed int s32
Definition:
IntTypes.hpp:19
s64
signed long long s64
Definition:
IntTypes.hpp:29
u16
unsigned short u16
Definition:
IntTypes.hpp:22
u8
unsigned char u8
Definition:
IntTypes.hpp:21
u32
unsigned int u32
Definition:
IntTypes.hpp:23
s16
signed short s16
Definition:
IntTypes.hpp:18
s8
signed char s8
Definition:
IntTypes.hpp:17
u64
unsigned long long u64
Definition:
IntTypes.hpp:30
Generated by
1.8.12