YAJL 1.0.12
Data Structures | Defines | Typedefs
yajl_common.h File Reference

Go to the source code of this file.

Data Structures

struct  yajl_alloc_funcs

Defines

#define YAJL_MAX_DEPTH   128
#define YAJL_API

Typedefs

typedef void *(* yajl_malloc_func )(void *ctx, unsigned int sz)
typedef void(* yajl_free_func )(void *ctx, void *ptr)
typedef void *(* yajl_realloc_func )(void *ctx, void *ptr, unsigned int sz)

Define Documentation

#define YAJL_API
#define YAJL_MAX_DEPTH   128

Typedef Documentation

typedef void(* yajl_free_func)(void *ctx, void *ptr)

pointer to a free function, supporting client overriding memory allocation routines

typedef void*(* yajl_malloc_func)(void *ctx, unsigned int sz)

pointer to a malloc function, supporting client overriding memory allocation routines

typedef void*(* yajl_realloc_func)(void *ctx, void *ptr, unsigned int sz)

pointer to a realloc function which can resize an allocation.