27 #ifndef __YAJL_ALLOC_H__
28 #define __YAJL_ALLOC_H__
32 #define YA_MALLOC(afs, sz) (afs)->malloc((afs)->ctx, (sz))
33 #define YA_FREE(afs, ptr) (afs)->free((afs)->ctx, (ptr))
34 #define YA_REALLOC(afs, ptr, sz) (afs)->realloc((afs)->ctx, (ptr), (sz))
Common routines and macros used by other YAJL APIs.