Struct yajl_alloc_funcs

Struct Documentation

struct yajl_alloc_funcs

A structure which can be passed to yajl_*_alloc() routines to allow the client to specify memory allocation functions to be used.

Public Members

yajl_malloc_func malloc

Pointer to a function that can allocate uninitialized memory.

yajl_realloc_func realloc

Pointer to a function that can resize memory allocations.

yajl_free_func free

Pointer to a function that can free memory allocated using the above realloc or malloc functions.

void *ctx

A context pointer that will be passed to above allocation routines.