YAJL  2.1.0
Data Structures | Macros | Typedefs
yajl_common.h File Reference
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  yajl_alloc_funcs
 

Macros

#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)
 

Macro Definition 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.