Torque2D Reference
Public Attributes | List of all members
yajl_alloc_funcs Struct Reference

#include <yajl_common.h>

Public Attributes

yajl_malloc_func malloc
 
yajl_realloc_func realloc
 
yajl_free_func free
 
void * ctx
 

Detailed Description

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

Member Data Documentation

void * ctx

a context pointer that will be passed to above allocation routines

yajl_free_func free

pointer to a function that can free memory allocated using reallocFunction or mallocFunction

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


The documentation for this struct was generated from the following file: