/************************************************************************ | |
* °æÈ¨ËùÓÐ (C)2001,ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£ | |
* | |
* ÎļþÃû³Æ£º base_api.h | |
* Îļþ±êʶ£º | |
* ÄÚÈÝÕªÒª£º | |
* | |
* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ | |
* --------------------------------------------------------------------- | |
* 2007/11/24 V0.5 ¹¨Òí create | |
************************************************************************/ | |
#ifndef BASE_PUB_H_ | |
#define BASE_PUB_H_ | |
/************************************************************************** | |
* Í·Îļþ°üº¬ * | |
**************************************************************************/ | |
#include "oss_api.h" | |
/************************************************************************** | |
* ºê¶¨Òå * | |
**************************************************************************/ | |
#define NU_SUCCESS ZOSS_SUCCESS | |
#define NU_NULL NULL | |
#define NU_TASK ZOSS_THREAD_ID | |
#ifdef _OS_WIN | |
#define PROCESS ZOSS_THREAD_ID | |
#endif | |
#define NU_PREEMPT 1 | |
#define NU_START 1 | |
#define NU_FIFO 6 | |
/************************************************************************** | |
* Êý¾ÝÀàÐÍ * | |
**************************************************************************/ | |
typedef LONG SDL_Duration; | |
typedef SDL_Duration SDL_duration; | |
typedef SDL_Duration SDL_Time; | |
typedef SDL_Time SDL_time; | |
typedef unsigned long UNSIGNED; | |
typedef long SIGNED; | |
typedef SINT32 DATA_ELEMENT; | |
typedef DATA_ELEMENT OPTION; | |
typedef UINT32 STATUS; | |
typedef UINT8 UNSIGNED_CHAR; | |
typedef unsigned long * UNSIGNED_PTR; | |
typedef UINT8 * BYTE_PTR; | |
//typedef UINT16 word; | |
typedef UINT8 SDL_Boolean; | |
typedef UINT8 SDL_boolean; | |
typedef SINT16 INT16; | |
#ifndef _OS_WIN | |
typedef long int INT32; | |
typedef SINT32 INT; | |
//typedef UINT8 byte; | |
#endif | |
typedef UINT32 TID; | |
typedef UINT8 xInputAction; | |
typedef long SdlTimeSpec; | |
typedef unsigned long t_timer_param; | |
//typedef unsigned char ubyte; | |
//typedef unsigned short ushort; | |
#endif |