]> Shamusworld >> Repos - thunder/blob - src/types.h
51bcbcd26179e8320ebf7e15cd3f51c0bee3a8a5
[thunder] / src / types.h
1 //
2 // TYPES.H
3 //
4 // by James L. Hammons
5 // (C) 2009 Underground Software
6 //
7 // Now that C/C++ has stardard sizes, this is much more precise. We still do
8 // this because we don't like typing _t on the back of our types. :-)
9 //
10
11 #ifndef __TYPES_H__
12 #define __TYPES_H__
13
14 #include <stdint.h>
15
16 typedef uint8_t         uint8;
17 typedef int8_t          int8;
18 typedef uint16_t        uint16;
19 typedef int16_t         int16;
20 typedef uint32_t        uint32;
21 typedef int32_t         int32;
22 typedef uint64_t        uint64;
23 typedef int64_t         int64;
24
25 #endif  // __TYPES_H__