Open Inventor Reference
|
Go to the source code of this file.
Macros | |
#define | DGL_LITTLE_ENDIAN 1 /* integer formats */ |
#define | DGL_BIG_ENDIAN 2 |
#define | DGL_BIG_IEEE 1 /* floating point formats */ |
#define | DGL_NON_IEEE 3 |
#define | MACHINE_WORD_FORMAT DGL_LITTLE_ENDIAN |
#define | MACHINE_FLOAT_FORMAT DGL_NON_IEEE |
#define | MACHINE_WORD_FORMAT DGL_BIG_ENDIAN |
#define | MACHINE_FLOAT_FORMAT DGL_BIG_IEEE |
#define | M_SIZEOF(x) sizeof(x) |
#define | DGL_HTON_SHORT(t, f) t = f |
#define | DGL_NTOH_SHORT DGL_HTON_SHORT |
#define | DGL_HTON_INT32(t, f) t = f |
#define | DGL_NTOH_INT32 DGL_HTON_INT32 |
#define | DGL_HTON_FLOAT(t, f) t = f |
#define | DGL_NTOH_FLOAT DGL_HTON_FLOAT |
#define | DGL_HTON_DOUBLE(t, f) t = f |
#define | DGL_NTOH_DOUBLE DGL_HTON_DOUBLE |
#define | DGL_HTON_SHORT(t, f) |
#define | DGL_NTOH_SHORT DGL_HTON_SHORT |
#define | DGL_HTON_INT32(t, f) |
#define | DGL_NTOH_INT32 DGL_HTON_INT32 |
#define | DGL_HTON_FLOAT(t, f) mem_hton_float(&t,&f) |
#define | DGL_NTOH_FLOAT(t, f) mem_ntoh_float(&t,&f) |
#define | DGL_HTON_DOUBLE(t, f) mem_hton_double(&t,&f) |
#define | DGL_NTOH_DOUBLE(t, f) mem_ntoh_double(&t,&f) |
#define | INT32(p) (*(int32_t *)(p)) |
#define | FLOAT(p) (*(float *)(p)) |
#define | DOUBLE(p) (*(double *)(p)) |
#define | SHORT(p) (*(short *)(p)) |
#define DGL_BIG_ENDIAN 2 |
Definition at line 75 of file SoMachine.h.
#define DGL_BIG_IEEE 1 /* floating point formats */ |
Definition at line 77 of file SoMachine.h.
#define DGL_HTON_DOUBLE | ( | t, | |
f | |||
) | t = f |
Definition at line 149 of file SoMachine.h.
#define DGL_HTON_DOUBLE | ( | t, | |
f | |||
) | mem_hton_double(&t,&f) |
Definition at line 149 of file SoMachine.h.
#define DGL_HTON_FLOAT | ( | t, | |
f | |||
) | t = f |
Definition at line 147 of file SoMachine.h.
#define DGL_HTON_FLOAT | ( | t, | |
f | |||
) | mem_hton_float(&t,&f) |
Definition at line 147 of file SoMachine.h.
#define DGL_HTON_INT32 | ( | t, | |
f | |||
) | t = f |
Definition at line 138 of file SoMachine.h.
#define DGL_HTON_INT32 | ( | t, | |
f | |||
) |
Definition at line 138 of file SoMachine.h.
#define DGL_HTON_SHORT | ( | t, | |
f | |||
) | t = f |
Definition at line 136 of file SoMachine.h.
#define DGL_HTON_SHORT | ( | t, | |
f | |||
) |
Definition at line 136 of file SoMachine.h.
#define DGL_LITTLE_ENDIAN 1 /* integer formats */ |
Definition at line 74 of file SoMachine.h.
#define DGL_NON_IEEE 3 |
Definition at line 78 of file SoMachine.h.
#define DGL_NTOH_DOUBLE DGL_HTON_DOUBLE |
Definition at line 150 of file SoMachine.h.
#define DGL_NTOH_DOUBLE | ( | t, | |
f | |||
) | mem_ntoh_double(&t,&f) |
Definition at line 150 of file SoMachine.h.
#define DGL_NTOH_FLOAT DGL_HTON_FLOAT |
Definition at line 148 of file SoMachine.h.
#define DGL_NTOH_FLOAT | ( | t, | |
f | |||
) | mem_ntoh_float(&t,&f) |
Definition at line 148 of file SoMachine.h.
#define DGL_NTOH_INT32 DGL_HTON_INT32 |
Definition at line 139 of file SoMachine.h.
#define DGL_NTOH_INT32 DGL_HTON_INT32 |
Definition at line 139 of file SoMachine.h.
#define DGL_NTOH_SHORT DGL_HTON_SHORT |
Definition at line 137 of file SoMachine.h.
#define DGL_NTOH_SHORT DGL_HTON_SHORT |
Definition at line 137 of file SoMachine.h.
#define DOUBLE | ( | p | ) | (*(double *)(p)) |
Definition at line 209 of file SoMachine.h.
#define FLOAT | ( | p | ) | (*(float *)(p)) |
Definition at line 208 of file SoMachine.h.
#define INT32 | ( | p | ) | (*(int32_t *)(p)) |
Definition at line 207 of file SoMachine.h.
#define M_SIZEOF | ( | x | ) | sizeof(x) |
Definition at line 126 of file SoMachine.h.
#define MACHINE_FLOAT_FORMAT DGL_NON_IEEE |
Definition at line 87 of file SoMachine.h.
#define MACHINE_FLOAT_FORMAT DGL_BIG_IEEE |
Definition at line 87 of file SoMachine.h.
#define MACHINE_WORD_FORMAT DGL_LITTLE_ENDIAN |
Definition at line 86 of file SoMachine.h.
#define MACHINE_WORD_FORMAT DGL_BIG_ENDIAN |
Definition at line 86 of file SoMachine.h.
#define SHORT | ( | p | ) | (*(short *)(p)) |
Definition at line 210 of file SoMachine.h.