std_types.h
#ifndef STD_TYPES
#define STD_TYPES
/* enum Bool - Boolean Type */
typedef enum
{
False = 0,
True = 1
} Bool;
typedef int Int; /**< Signed base integer> **/
typedef unsigned int Uint; /**< Unsigned base integer> **/
typedef unsigned long Ulong; /**< Unsigned base long> **/
typedef char Char; /**< Character> **/
typedef char* Pointer; /**< Character pointer> **/
typedef void* Ptr; /**< Arbitrary (void) pointer (works for pointing to any data)> **/
/* Signed integer definitions (64bit, 32bit, 16bit, 8bit) */
typedef long long Int64;
typedef int Int32;
typedef short Int16;
typedef signed char Int8;
/* Unsigned integer definitions (64bit, 32bit, 16bit, 8bit) */
typedef unsigned long long Uint64;
typedef unsigned int Uint32;
typedef unsigned short Uint16;
typedef unsigned char Uint8;
#endif /* STD_TYPES */
0 意見:
張貼留言