YAJL 2.0.0
Data Structures | Defines | Typedefs
yajl_common.h File Reference
#include <stddef.h>

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, size_t sz)
typedef void(* yajl_free_func )(void *ctx, void *ptr)
typedef void *(* yajl_realloc_func )(void *ctx, void *ptr, size_t 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, size_t sz)

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

typedef void*(* yajl_realloc_func)(void *ctx, void *ptr, size_t sz)

pointer to a realloc function which can resize an allocation.