My Project
|
All the auxiliary stuff. More...
Go to the source code of this file.
Macros | |
#define | SI_INTEGER_VARIANT 2 |
#define | SI_BIGINT_VARIANT 1 |
#define | CHAR_BIT (8) |
#define | BIT_SIZEOF_LONG ((CHAR_BIT)*(SIZEOF_LONG)) |
#define | FALSE 0 |
#define | TRUE 1 |
#define | NULL (0) |
#define | NULLp ((void*)NULL) |
#define | loop for(;;) |
#define | SSI_BASE 16 |
#define | NO_INLINE |
#define | PDEBUG 0 |
#define | KDEBUG 0 |
#define | LDEBUG |
#define | RDEBUG |
#define | TEST |
#define | YYDEBUG 1 |
#define | FORCE_INLINE inline |
#define | DO_PRAGMA(x) _Pragma (#x) |
#define | TODO(who, msg) DO_PRAGMA(message ("TODO [for " #who "]: " #msg)) |
#define | _GNUC_PREREQ(maj, min) 0 |
#define | FORCE_INTERNAL |
#define | FORCE_DEPRECATED |
#define | BEGIN_CDECL extern "C" { |
#define | END_CDECL } |
#define | LIKELY(X) (X) |
#define | UNLIKELY(X) (X) |
Typedefs | |
typedef long | int64 |
typedef int | BOOLEAN |
typedef void * | ADDRESS |
Functions | |
static int | ABS (int v) |
static int | si_max (const int a, const int b) |
static int | si_min (const int a, const int b) |
static long | si_max (const long a, const long b) |
static unsigned long | si_max (const unsigned long a, const unsigned long b) |
static long | si_min (const long a, const long b) |
static unsigned long | si_min (const unsigned long a, const unsigned long b) |
template<typename A , typename B > | |
B | cast_A_to_B (A a) |
template<typename A > | |
void * | cast_A_to_vptr (A a) |
template<typename A > | |
A | cast_vptr_to_A (void *p) |
All the auxiliary stuff.
ABSTRACT: we shall put here everything that does not have its own place.
Definition in file auxiliary.h.
#define _GNUC_PREREQ | ( | maj, | |
min | |||
) | 0 |
Definition at line 344 of file auxiliary.h.
#define BEGIN_CDECL extern "C" { |
Definition at line 360 of file auxiliary.h.
#define BIT_SIZEOF_LONG ((CHAR_BIT)*(SIZEOF_LONG)) |
Definition at line 80 of file auxiliary.h.
#define CHAR_BIT (8) |
Definition at line 75 of file auxiliary.h.
Definition at line 336 of file auxiliary.h.
#define END_CDECL } |
Definition at line 361 of file auxiliary.h.
#define FALSE 0 |
Definition at line 96 of file auxiliary.h.
#define FORCE_DEPRECATED |
Definition at line 356 of file auxiliary.h.
#define FORCE_INLINE inline |
Definition at line 329 of file auxiliary.h.
#define FORCE_INTERNAL |
Definition at line 350 of file auxiliary.h.
#define KDEBUG 0 |
Definition at line 298 of file auxiliary.h.
#define LDEBUG |
Definition at line 301 of file auxiliary.h.
#define LIKELY | ( | X | ) | (X) |
Definition at line 403 of file auxiliary.h.
#define loop for(;;) |
Definition at line 121 of file auxiliary.h.
#define NO_INLINE |
Definition at line 147 of file auxiliary.h.
#define NULL (0) |
Definition at line 104 of file auxiliary.h.
#define NULLp ((void*)NULL) |
Definition at line 108 of file auxiliary.h.
#define PDEBUG 0 |
Definition at line 170 of file auxiliary.h.
#define RDEBUG |
Definition at line 304 of file auxiliary.h.
#define SI_BIGINT_VARIANT 1 |
Definition at line 38 of file auxiliary.h.
#define SI_INTEGER_VARIANT 2 |
Definition at line 34 of file auxiliary.h.
#define SSI_BASE 16 |
Definition at line 135 of file auxiliary.h.
#define TEST |
Definition at line 307 of file auxiliary.h.
Definition at line 337 of file auxiliary.h.
#define TRUE 1 |
Definition at line 100 of file auxiliary.h.
#define UNLIKELY | ( | X | ) | (X) |
Definition at line 404 of file auxiliary.h.
#define YYDEBUG 1 |
Definition at line 310 of file auxiliary.h.
typedef void* ADDRESS |
Definition at line 119 of file auxiliary.h.
typedef int BOOLEAN |
Definition at line 87 of file auxiliary.h.
typedef long int64 |
Definition at line 68 of file auxiliary.h.
|
inlinestatic |
Definition at line 112 of file auxiliary.h.
Definition at line 372 of file auxiliary.h.
Definition at line 385 of file auxiliary.h.
Definition at line 392 of file auxiliary.h.
Definition at line 124 of file auxiliary.h.
Definition at line 126 of file auxiliary.h.
Definition at line 127 of file auxiliary.h.
Definition at line 125 of file auxiliary.h.
Definition at line 128 of file auxiliary.h.