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

Dependents:   YATTT sd_map_test cPong SnowDemo ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers integer.h Source File

integer.h

00001 /*-------------------------------------------*/
00002 /* Integer type definitions for FatFs module */
00003 /*-------------------------------------------*/
00004 
00005 #ifndef _INTEGER
00006 
00007 namespace PFFS {
00008 
00009 /* These types must be 16-bit, 32-bit or larger integer */
00010 typedef int                INT;
00011 typedef unsigned int    UINT;
00012 
00013 /* These types must be 8-bit integer */
00014 typedef signed char        CHAR;
00015 typedef unsigned char    UCHAR;
00016 typedef unsigned char    BYTE;
00017 
00018 /* These types must be 16-bit integer */
00019 typedef short            SHORT;
00020 typedef unsigned short    USHORT;
00021 typedef unsigned short    WORD;
00022 typedef unsigned short    WCHAR;
00023 
00024 /* These types must be 32-bit integer */
00025 typedef long            LONG;
00026 typedef unsigned long    ULONG;
00027 typedef unsigned long    DWORD;
00028 
00029 /* Boolean type */
00030 // typedef enum { FALSE = 0, TRUE } BOOL; // for soe reason does not work, but otoh isnt used anywhere
00031 
00032 } // namespace PFFS
00033 
00034 #define _INTEGER
00035 #endif
00036 
00037