Go to the documentation of this file.Go to the SVN repository for this file.
58 #if !defined(NDEBUG) && !defined(_DEBUG)
69 #define LITTLE_ENDIAN 1234
70 #define BIG_ENDIAN 4321
71 #define OTHER_ENDIAN 0
75 #ifdef IS_LITTLE_ENDIAN
76 #define BYTE_ORDER LITTLE_ENDIAN
79 #define BYTE_ORDER BIG_ENDIAN
81 #define BYTE_ORDER OTHER_ENDIAN
106 #define FnPtr Nlm_FnPtr
111 #define VoidPtr Nlm_VoidPtr
114 #define Pointer Nlm_VoidPtr
119 #define Handle Nlm_Handle
124 #define Char Nlm_Char
125 #define CharPtr Nlm_CharPtr
130 #define Uchar Nlm_Uchar
131 #define UcharPtr Nlm_UcharPtr
136 #define Boolean Nlm_Boolean
137 #define BoolPtr Nlm_BoolPtr
142 #define Byte Nlm_Byte
143 #define BytePtr Nlm_BytePtr
144 #define BYTE_MAX UCHAR_MAX
149 #define Int1 Nlm_Int1
150 #define Int1Ptr Nlm_Int1Ptr
151 #define INT1_MIN SCHAR_MIN
152 #define INT1_MAX SCHAR_MAX
157 #define Uint1 Nlm_Uint1
158 #define Uint1Ptr Nlm_Uint1Ptr
159 #define UINT1_MAX UCHAR_MAX
164 #define Int2 Nlm_Int2
165 #define Int2Ptr Nlm_Int2Ptr
166 #define INT2_MIN SHRT_MIN
167 #define INT2_MAX SHRT_MAX
172 #define Uint2 Nlm_Uint2
173 #define Uint2Ptr Nlm_Uint2Ptr
174 #define UINT2_MAX USHRT_MAX
179 #define Int4 Nlm_Int4
180 #define Int4Ptr Nlm_Int4Ptr
181 #define INT4_MIN (-2147483647-1)
182 #define INT4_MAX 2147483647
187 #define Uint4 Nlm_Uint4
188 #define Uint4Ptr Nlm_Uint4Ptr
189 #define UINT4_MAX 4294967295U
193 #define TIME_MAX ULONG_MAX
198 #define FloatLo Nlm_FloatLo
199 #define FloatLoPtr Nlm_FloatLoPtr
204 #define FloatHi Nlm_FloatHi
205 #define FloatHiPtr Nlm_FloatHiPtr
209 #define BigScalar long
217 #define SIZE_MAX MAXALLOC
221 #define PATH_MAX FILENAME_MAX
225 #define NULL ((void *)0)
233 #define TRUE ((Nlm_Boolean)1)
237 #define FALSE ((Nlm_Boolean)0)
241 #define MIN(a,b) ((a)>(b)?(b):(a))
245 #define MAX(a,b) ((a)>=(b)?(a):(b))
249 #define ABS(a) ((a)>=0?(a):-(a))
253 #define SIGN(a) ((a)>0?1:((a)<0?-1:0))
257 #define ROUNDUP(A,B) (((A)%(B)) != 0 ? (A)+(B)-((A)%(B)) : (A))
261 #define DIM(A) (sizeof(A)/sizeof((A)[0]))
265 #define LN2 (0.693147180559945)
268 #define LN10 (2.302585092994046)
295 #define LIBCALL FAR PASCAL EXPORT
297 #define LIBCALL FAR PASCAL
302 #define LIBCALLBACK FAR PASCAL
unsigned int
A callback function used to compare two keys in a database.