Defines | |
| #define | gan_eval(x) (x) |
| #define | gan_heap_report(f) ((void) 0) |
| #define | gan_heap_push() ((void) 0) |
| #define | gan_heap_pop() ((void) 0) |
| #define | M_SQRT1_2 0.70710678118654752440 |
| #define | M_SQRT2 1.41421356237309504880 |
| #define | M_SQRT3 1.73205080756887719317 |
| #define | M_PI 3.14159265358979323846 |
| #define | M_PI_2 1.57079632679489661923 |
| #define | GAN_ONE_THIRD 0.3333333333333333333333 |
| #define | GAN_ONE_THIRD_F 0.3333333333333333333333F |
| #define | powf(x, y) (float)pow((float)(x), (float)(y)) |
| #define | fabsf(x) (float)fabs((float)(x)) |
| #define | sqrtf(x) (float)sqrt((float)(x)) |
Enumerations | |
| enum | Gan_Bool { GAN_FALSE = 0, GAN_TRUE = 1 } |
| Boolean data type. More... | |
| enum | Gan_Type { GAN_CHAR, GAN_UCHAR, GAN_SHORT, GAN_USHORT, GAN_INT, GAN_UINT, GAN_LONG, GAN_ULONG, GAN_FLOAT, GAN_DOUBLE, GAN_LONGDOUBLE, GAN_STRING, GAN_BOOL, GAN_POINTER } |
| labels for simple types used throughout Gandalf More... | |
Functions | |
| void * | memcpy (void *dest, const void *src, size_t n) |
| void | gan_assert (Gan_Bool expr, const char *message) |
| Macro: Applies test and aborts program on false result with a message. | |
Variables | |
| Gan_Bool | gan_debug = GAN_FALSE |
| const size_t | gan_type_sizes [] |
| array of sizeof()'s of each Gandalf type, one for each value in a Gan_Type | |
|
|
Boolean data type.
|
|
|
||||||||||||
|
Macro: Applies test and aborts program on false result with a message.
NDEBUG is defined. |
|
|
Initial value:
{
sizeof(char),
sizeof(unsigned char),
sizeof(short),
sizeof(unsigned short),
sizeof(int),
sizeof(unsigned int),
sizeof(long),
sizeof(unsigned long),
sizeof(float),
sizeof(double),
sizeof(long double),
sizeof(char *),
sizeof(Gan_Bool),
sizeof(void *)
}
|
1.3-rc1