]> Shamusworld >> Repos - apple2/blob - src/types.h
Changed types.h to use standard C99 types, misc. cleanups
[apple2] / src / types.h
1 //
2 // Fundamental variable types
3 // by James L. Hammons
4 //
5
6 #ifndef __TYPES_H__
7 #define __TYPES_H__
8
9 // This should be portable, since it's part of the C99 standard...!
10
11 #include <stdint.h>
12
13 typedef uint8_t         uint8;
14 typedef int8_t          int8;
15 typedef uint16_t        uint16;
16 typedef int16_t         int16;
17 typedef uint32_t        uint32;
18 typedef int32_t         int32;
19 typedef uint64_t        uint64;
20 typedef int64_t         int64;
21
22 #endif  // __TYPES_H__