9 #ifndef __ZEDA_DEFS_H__ 10 #define __ZEDA_DEFS_H__ 17 # define __BEGIN_DECLS extern "C"{ 21 # define __END_DECLS } 26 # define __BEGIN_DECLS 59 #if __STDC_VERSION__ < 199901L 82 #define INT_BIT ( sizeof(int) << 3 ) 85 #define INT_MAX ( ( ( ( 1 << ( ( INT_BIT >> 1 ) - 1 ) ) - 1 ) << ( INT_BIT >> 1 ) ) | ( ( 1 << ( INT_BIT >> 1 ) ) - 1 ) ) 89 #define UINT_MAX ( (uint)( ( ( ( 1 << ( INT_BIT >> 1 ) ) - 1 ) << ( INT_BIT >> 1 ) ) | ( ( 1 << ( INT_BIT >> 1 ) ) - 1 ) ) ) 100 #if !defined( _NETBSD_SOURCE ) 102 #if !defined( __USE_GNU ) && !defined( __USE_MISC ) && !defined( __KERNEL__ ) 119 #define zBoolStr(b) ( (b) ? "true" : "false" ) signed char int8_t
Definition: zeda_defs.h:70
int8_t byte
Definition: zeda_defs.h:92
int16_t word
Definition: zeda_defs.h:93
int int32_t
Definition: zeda_defs.h:72
ubyte bool
boolean type (for Language C).
Definition: zeda_defs.h:111
uint32_t udword
Definition: zeda_defs.h:98
#define __END_DECLS
Definition: zeda_defs.h:30
short int int16_t
Definition: zeda_defs.h:71
unsigned int uint
Definition: zeda_defs.h:104
int32_t dword
Definition: zeda_defs.h:94
unsigned long long int uint64_t
Definition: zeda_defs.h:68
uint8_t ubyte
Definition: zeda_defs.h:96
uint16_t uword
Definition: zeda_defs.h:97
unsigned short int uint16_t
Definition: zeda_defs.h:63
unsigned int uint32_t
Definition: zeda_defs.h:64
#define __BEGIN_DECLS
Definition: zeda_defs.h:26
unsigned long ulong
Definition: zeda_defs.h:105
unsigned char uint8_t
Definition: zeda_defs.h:62
long long int int64_t
Definition: zeda_defs.h:76