EPICS Base
7.0.6.1
|
Memory allocation macros for yajl. More...
#include "yajl_common.h"
Go to the source code of this file.
Macros | |
#define | YA_MALLOC(afs, sz) (afs)->malloc((afs)->ctx, (sz)) |
#define | YA_FREE(afs, ptr) (afs)->free((afs)->ctx, (ptr)) |
#define | YA_REALLOC(afs, ptr, sz) (afs)->realloc((afs)->ctx, (ptr), (sz)) |
Functions | |
YAJL_API void | yajl_set_default_alloc_funcs (yajl_alloc_funcs *yaf) |
These macros are used inside YAJL instead of directly calling malloc(), realloc() or free(). They call the equivalent method in their yajl_alloc_funcs parameter afs.
Definition in file yajl_alloc.h.