blackConnect tests update git-svn-id: svn://10.0.0.236/trunk@99925 18797224-902f-48f8-a5cc-f745e15eee43
45 lines
1.2 KiB
C
45 lines
1.2 KiB
C
#include <limits.h>
|
|
#include <float.h>
|
|
|
|
#define byte_min (PRUint8)0
|
|
#define byte_mid (PRUint8)1
|
|
#define byte_max (PRUint8)127
|
|
#define short_min (PRInt16)SHRT_MIN
|
|
#define short_zerro (PRInt16)0
|
|
#define short_mid (PRInt16)1
|
|
#define short_max (PRInt16)SHRT_MAX
|
|
#define int_min (PRInt32)INT_MIN
|
|
#define int_zerro (PRInt32)0
|
|
#define int_mid (PRInt32)1
|
|
#define int_max (PRInt32)INT_MAX
|
|
#define long_min (PRInt64)LL_MinInt()
|
|
#define long_zerro (PRInt64)0
|
|
#define long_mid (PRInt64)1
|
|
#define long_max (PRInt64)LL_MaxInt()
|
|
#define ushort_min (PRUint16)0
|
|
#define ushort_mid (PRUint16)1
|
|
#define ushort_max (PRUint16)SHRT_MAX
|
|
#define uint_min (PRUint32)0
|
|
#define uint_mid (PRUint32)1
|
|
#define uint_max (PRUint32)INT_MAX
|
|
#define ulong_min (PRUint64)0
|
|
#define ulong_mid (PRUint64)1
|
|
#define ulong_max (PRUint64)LL_MaxInt()
|
|
#define float_min (float)FLT_MIN
|
|
#define float_zerro (float)0
|
|
#define float_mid (float)1
|
|
#define float_max (float)FLT_MAX
|
|
#define double_min (double)DBL_MIN
|
|
#define double_zerro (double)0
|
|
#define double_mid (double)1
|
|
#define double_max (double)DBL_MAX
|
|
#define char_first '0'
|
|
#define char_last 'Z'
|
|
#define wchar_first '0'
|
|
#define wchar_last 'Z'
|
|
#define string_first NULL
|
|
#define string_empty ""
|
|
#define string_null "iddqd"
|
|
#define string_last "112"
|
|
|