2.1. 변수 타입
변수 타입을 정의한다.
typedef unsigned char M_Boolean // unsigned 8bit. TRUE 또는// FALSE를 나타낸다.typedef unsigned int M_Uint32 // unsigned 32 bit typetypedef unsigned short M_Uint16 // unsigned 16bit typetypedef unsigned char M_Uint8 // unsigned 8bit typetypedef signed int M_Int32 // signed 32bit typetypedef signed short M_Int16 // signed 16bit typetypedef signed char M_Int8 // signed 8bit typetypedef char M_Char // char typetypedef unsigned char M_Byte // unsigned 8bit typetypedef signed long long M_Int64 // signed 64bit typetypedef unsigned long long M_Uint64 // unsigned 64bit typetypedef unsigned short M_Ucode // unsigned 16bit. unicode// character
typedef signed long M_Sint32 // signed 32bit typetypedef signed short M_Sint16 // signed 16bit type#define NULL 0 //NULL 정의#define TRUE 1 //TRUE정의#define FALSE 0 //FALSE정의#define inline __inline //inline정의