Logo Search packages:      
Sourcecode: yajl version File versions

yajl_alloc.h File Reference

Detailed Description

default memory allocation routines for yajl which use malloc/realloc and free

Definition in file yajl_alloc.h.

#include "api/yajl_common.h"

Go to the source code of this file.


#define YA_FREE(afs, ptr)   (afs)->free((afs)->ctx, (ptr))
#define YA_MALLOC(afs, sz)   (afs)->malloc((afs)->ctx, (sz))
#define YA_REALLOC(afs, ptr, sz)   (afs)->realloc((afs)->ctx, (ptr), (sz))


void yajl_set_default_alloc_funcs (yajl_alloc_funcs *yaf)

Generated by  Doxygen 1.6.0   Back to index