]> Shamusworld >> Repos - stargem2/blob - src/types.h
Virtual 6809 is close to being 100% at this point; at least StarGem works
[stargem2] / src / types.h
1 //
2 // Fundamental variable types
3 // by James L. Hammons
4 //
5 // Why these aren't a part of the C/C++ standard is beyond me. It seems to me that
6 // basic types where you know the width should be a no-brainer.
7 // I guess enough people were pissed off by it, so they included it finally. We
8 // still alias them because we don't like typing _t after our type identifiers. ;-)
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__