Wrappers for memory allocation.
More...
#include <stdlib.h>
Go to the source code of this file.
|
| #define | freeMe(s, element) {if(s->element) comdFree(s->element); s->element = NULL;} |
| |
Wrappers for memory allocation.
Definition in file memUtils.h.
| #define freeMe |
( |
|
s, |
|
|
|
element |
|
) |
| {if(s->element) comdFree(s->element); s->element = NULL;} |
| static void* comdCalloc |
( |
size_t |
num, |
|
|
size_t |
iSize |
|
) |
| |
|
static |
| static void comdFree |
( |
void * |
ptr | ) |
|
|
static |
| static void* comdMalloc |
( |
size_t |
iSize | ) |
|
|
static |
| static void* comdRealloc |
( |
void * |
ptr, |
|
|
size_t |
iSize |
|
) |
| |
|
static |