Go to the source code of this file.
◆ BEGIN_C_DECLS
◆ END_C_DECLS
◆ XCALLOC
| #define XCALLOC |
( |
|
type, |
|
|
|
num |
|
) |
| ((type*) xcalloc ((size_t)(num), (size_t)sizeof(type))) |
◆ XFREE
Value:do { \
if (stale) { free(stale); stale=0; } \
} while (0)
Definition at line 42 of file xmalloc.h.
◆ XMALLOC
| #define XMALLOC |
( |
|
type, |
|
|
|
num |
|
) |
| ((type*) xmalloc((size_t)((num) * sizeof(type)))) |
◆ XREALLOC
| #define XREALLOC |
( |
|
type, |
|
|
|
p, |
|
|
|
num |
|
) |
| ((type*) xrealloc ((p), (size_t)((num) * sizeof(type)))) |
◆ xcalloc()
◆ xmalloc()
| void* xmalloc |
( |
size_t |
num | ) |
|
◆ xrealloc()
| void* xrealloc |
( |
void * |
p, |
|
|
size_t |
num |
|
) |
| |