corona  1.0.2
Types.h
Go to the documentation of this file.
00001 #ifndef CORONA_TYPES_H
00002 #define CORONA_TYPES_H
00003 
00004 
00005 namespace corona {
00006 
00007   // VC++-specific types
00008   #ifdef _MSC_VER
00009 
00010     typedef unsigned char    byte;
00011     typedef unsigned __int16 u16;
00012     typedef unsigned __int32 u32;
00013 
00014   // reasonable defaults
00015   // should work on any 32-bit platform
00016   #else
00017 
00018     typedef unsigned char  byte;
00019     typedef unsigned short u16;
00020     typedef unsigned long  u32;
00021 
00022   #endif
00023 
00024 }
00025 
00026 
00027 #endif