OGR
|
#include "cpl_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdarg.h>
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include <time.h>
#include <errno.h>
#include <locale.h>
#include <strings.h>
Go to the source code of this file.
Macros | |
#define | CPL_LSBINT16PTR(x) ((*(GByte*)(x)) | ((*(GByte*)((x)+1)) << 8)) |
#define | CPL_LSBINT32PTR(x) |
#define | CPL_LSBSINT16PTR(x) ((GInt16) CPL_LSBINT16PTR(x)) |
#define | CPL_LSBUINT16PTR(x) ((GUInt16)CPL_LSBINT16PTR(x)) |
#define | CPL_LSBSINT32PTR(x) ((GInt32) CPL_LSBINT32PTR(x)) |
#define | CPL_LSBUINT32PTR(x) ((GUInt32)CPL_LSBINT32PTR(x)) |
Core portability definitions for CPL.
#define CPL_LSBINT16PTR | ( | x | ) | ((*(GByte*)(x)) | ((*(GByte*)((x)+1)) << 8)) |
Return a Int16 from the 2 bytes ordered in LSB order at address x
#define CPL_LSBINT32PTR | ( | x | ) |
Return a Int32 from the 4 bytes ordered in LSB order at address x
#define CPL_LSBSINT16PTR | ( | x | ) | ((GInt16) CPL_LSBINT16PTR(x)) |
Return a signed Int16 from the 2 bytes ordered in LSB order at address x
#define CPL_LSBSINT32PTR | ( | x | ) | ((GInt32) CPL_LSBINT32PTR(x)) |
Return a signed Int32 from the 4 bytes ordered in LSB order at address x
#define CPL_LSBUINT16PTR | ( | x | ) | ((GUInt16)CPL_LSBINT16PTR(x)) |
Return a unsigned Int16 from the 2 bytes ordered in LSB order at address x
#define CPL_LSBUINT32PTR | ( | x | ) | ((GUInt32)CPL_LSBINT32PTR(x)) |
Return a unsigned Int32 from the 4 bytes ordered in LSB order at address x