PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Committer:
spinal
Date:
Sun Nov 18 15:47:54 2018 +0000
Revision:
64:6e6c6c2b664e
Parent:
52:c04087025cab
added fix for directrectangle()

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Pokitto 52:c04087025cab 1 /*-------------------------------------------*/
Pokitto 52:c04087025cab 2 /* Integer type definitions for FatFs module */
Pokitto 52:c04087025cab 3 /*-------------------------------------------*/
Pokitto 52:c04087025cab 4
Pokitto 52:c04087025cab 5 #ifndef _INTEGER
Pokitto 52:c04087025cab 6
Pokitto 52:c04087025cab 7 namespace PFFS {
Pokitto 52:c04087025cab 8
Pokitto 52:c04087025cab 9 /* These types must be 16-bit, 32-bit or larger integer */
Pokitto 52:c04087025cab 10 typedef int INT;
Pokitto 52:c04087025cab 11 typedef unsigned int UINT;
Pokitto 52:c04087025cab 12
Pokitto 52:c04087025cab 13 /* These types must be 8-bit integer */
Pokitto 52:c04087025cab 14 typedef signed char CHAR;
Pokitto 52:c04087025cab 15 typedef unsigned char UCHAR;
Pokitto 52:c04087025cab 16 typedef unsigned char BYTE;
Pokitto 52:c04087025cab 17
Pokitto 52:c04087025cab 18 /* These types must be 16-bit integer */
Pokitto 52:c04087025cab 19 typedef short SHORT;
Pokitto 52:c04087025cab 20 typedef unsigned short USHORT;
Pokitto 52:c04087025cab 21 typedef unsigned short WORD;
Pokitto 52:c04087025cab 22 typedef unsigned short WCHAR;
Pokitto 52:c04087025cab 23
Pokitto 52:c04087025cab 24 /* These types must be 32-bit integer */
Pokitto 52:c04087025cab 25 typedef long LONG;
Pokitto 52:c04087025cab 26 typedef unsigned long ULONG;
Pokitto 52:c04087025cab 27 typedef unsigned long DWORD;
Pokitto 52:c04087025cab 28
Pokitto 52:c04087025cab 29 /* Boolean type */
Pokitto 52:c04087025cab 30 // typedef enum { FALSE = 0, TRUE } BOOL; // for soe reason does not work, but otoh isnt used anywhere
Pokitto 52:c04087025cab 31
Pokitto 52:c04087025cab 32 } // namespace PFFS
Pokitto 52:c04087025cab 33
Pokitto 52:c04087025cab 34 #define _INTEGER
Pokitto 52:c04087025cab 35 #endif
Pokitto 52:c04087025cab 36
Pokitto 52:c04087025cab 37