This is the main header file for the library, but it is included from spl/debug.h. More...
#include <spl/autoconf/config.h>
#include <sys/types.h>
#include <string.h>
#include <spl/typeof.h>
Go to the source code of this file.
Classes | |
class | IHashable |
Lets Math return hash codes in an implementation independant way (mostly for Hashtable keys). More... | |
class | IComparable |
Lets Hashtable (through Math) use pointer keys. Implementors of IComparable assume that the argument is of their type. I.e., arbitrary types cannot be passed to Equals and Compare. More... | |
Defines | |
#define | LITTLE_ENDIAN 1 |
#define | false 0 |
#define | true 1 |
#define | IL_MIN_INT32 ((int32)0x80000000) |
#define | IL_MAX_INT32 ((int32)0x7FFFFFFF) |
#define | IL_MAX_UINT32 ((uint32)0xFFFFFFFFL) |
#define | IL_MIN_INT64 ((int64)0x8000000000000000LL) |
#define | IL_MAX_INT64 ((int64)0x7FFFFFFFFFFFFFFFLL) |
#define | IL_MAX_UINT64 ((int64)0x7FFFFFFFFFFFFFFFLL) |
#define | READ_BYTE(buf, offset) ((int32)(((int8 *)(buf))[(offset)])) |
#define | READ_BYTE_SHIFT(buf, offset, shift) (((uint32)(((uint8 *)(buf))[(offset)])) << (shift)) |
#define | BYTE_MAJIC 0x0112 |
#define | BOOL_MAJIC 0x0113 |
#define | INT16_MAJIC 0x0114 |
#define | FLOAT32_MAJIC 0x0115 |
Typedefs | |
typedef signed __int64 | int64 |
typedef unsigned __int64 | uint64 |
typedef signed int | int32 |
typedef signed short | int16 |
typedef __int8 | int8 |
typedef unsigned char | byte |
typedef unsigned int | uint32 |
typedef unsigned short | uint16 |
typedef unsigned __int8 | uint8 |
typedef float | float32 |
typedef double | float64 |
typedef char | bool |
Functions | |
void | ValidateType (int8 i) |
void | ValidateType (int16 i) |
void | ValidateType (int32 i) |
void | ValidateType (int64 i) |
void | ValidateType (float32 i) |
void | ValidateType (float64 i) |
void | ValidateType (byte i) |
void | ValidateType (uint16 i) |
void | ValidateType (uint32 i) |
void | ValidateType (uint64 i) |
This is the main header file for the library, but it is included from spl/debug.h.
Definition in file types.h.