|
Defines |
|
#define | CPL_C_START extern "C" { |
|
#define | CPL_C_END } |
|
#define | NULL 0 |
|
#define | FALSE 0 |
|
#define | TRUE 1 |
|
#define | MIN(a, b) ((a<b) ? a : b) |
|
#define | MAX(a, b) ((a>b) ? a : b) |
|
#define | ABS(x) ((x<0) ? (-1*(x)) : x) |
|
#define | EQUALN(a, b, n) (strncasecmp(a,b,n)==0) |
|
#define | EQUAL(a, b) (strcasecmp(a,b)==0) |
|
#define | CPL_LSB |
|
#define | CPL_IS_LSB 1 |
| #define | CPL_SWAP16(x) |
| #define | CPL_SWAP16PTR(x) |
| #define | CPL_SWAP32(x) |
| #define | CPL_SWAP32PTR(x) |
| #define | CPL_SWAP64PTR(x) |
|
#define | CPL_SWAPDOUBLE(p) CPL_SWAP64PTR(p) |
|
#define | CPL_LSBWORD16(x) (x) |
|
#define | CPL_MSBWORD16(x) CPL_SWAP16(x) |
|
#define | CPL_LSBWORD32(x) (x) |
|
#define | CPL_MSBWORD32(x) CPL_SWAP32(x) |
|
#define | CPL_LSBPTR16(x) |
|
#define | CPL_MSBPTR16(x) CPL_SWAP16PTR(x) |
|
#define | CPL_LSBPTR32(x) |
|
#define | CPL_MSBPTR32(x) CPL_SWAP32PTR(x) |
|
#define | CPL_LSBPTR64(x) |
|
#define | CPL_MSBPTR64(x) CPL_SWAP64PTR(x) |
| #define | CPL_CVSID(string) |
Typedefs |
|
typedef int | GInt32 |
|
typedef unsigned int | GUInt32 |
|
typedef short | GInt16 |
|
typedef unsigned short | GUInt16 |
|
typedef unsigned char | GByte |
|
typedef int | GBool |
|
typedef long long | GIntBig |
|
typedef unsigned long long | GUIntBig |