/* * * (c) 2004,2005 Laurent Vivier * */ #ifndef __MACOS_TYPES_H__ #define __MACOS_TYPES_H__ #ifdef ARCH_M68K typedef unsigned char u_int8_t; typedef signed char int8_t; typedef unsigned short u_int16_t; typedef signed short int16_t; typedef unsigned int u_int32_t; typedef signed int int32_t; #endif /* ARCH_M68K */ typedef int16_t OSErr; typedef unsigned long FourCharCode; typedef FourCharCode OSType; typedef unsigned char Str255[256]; typedef const unsigned char * ConstStr255Param; typedef unsigned char Str27[28]; enum { false = 0, true = 1 }; struct Rect { int16_t top; int16_t left; int16_t bottom; int16_t right; }; typedef struct Rect Rect; typedef Rect* RectPtr; struct Point { int16_t v; int16_t h; }; typedef struct Point Point; typedef Point* PointPtr; #endif /* __MACOS_TYPES_H__ */