#include <stdlib.h>Include dependency graph for epDefs.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | _sfalse "<false>" |
| #define | _strue "<true>" |
| #define | _DEBUG(arg...) |
Definition in file epDefs.h.
|
|
|
|
|
|
|
|
Utilisation directive GNU C on peut définir une macro avec 1 nombre variable d'arguments yes ;-) MAIS ce n'est valable que pour le compilateur GNU GCC. pour 1 autre compilateur, on remplacera par 1 appel de fonction Definition at line 48 of file epDefs.h. Referenced by calculateIdealNumOfBuckets(), epHash_containsKey(), epHash_create(), epHash_destroy(), epHash_get(), epHash_getNumOfBuckets(), epHash_isEmpty(), epHash_put(), epHash_rehash(), epHash_remove(), epHash_setIdealRatio(), and epHash_size(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initializer: \
if(test) \
{ return(retval); } |
|
|
|
|
|
|
|
|
Initializer: \
({ \
type *__x =(type *) _XMALLOC(sizeof(type)); \
(type *) memcpy((void *)__x, (const void *)&(value), sizeof(type)); \
}) |
|
|
Initializer: \
({ \
if(ptr != NULL) \
{ free(ptr); (ptr) = NULL; } \
}) \ |
|
|
Initializer: \
({ \
void *__ptr; \
\
if((__ptr = malloc(len)) == NULL) \
{ _FATAL_ERROR(1, "%s", "Echec d'allocation de mémoire"); } \
\
__ptr; \
}) |
|
|
Initializer: \
({ \
size_t __len; \
char *__x; \
\
if(value == NULL) \
{ __x = NULL; } \
else \
{ \
__len = strlen(value)+1; \
__x =(char *) _XMALLOC(__len); \
memcpy((void *)__x, (const void *)(value), __len); \
}; \
\
__x; \
}) |
|
|
|
|
|
stringified <false> value |
|
|
stringified <true> value |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.1 written by Dimitri van Heesch,
© 1997-2000