src/libtess2/bucketalloc.h File Reference

Go to the source code of this file.

Functions

struct BucketAlloccreateBucketAlloc (TESSalloc *alloc, const char *name, unsigned int itemSize, unsigned int bucketSize)
void * bucketAlloc (struct BucketAlloc *ba)
void bucketFree (struct BucketAlloc *ba, void *ptr)
void deleteBucketAlloc (struct BucketAlloc *ba)

Function Documentation

struct BucketAlloc* createBucketAlloc ( TESSalloc alloc,
const char *  name,
unsigned int  itemSize,
unsigned int  bucketSize 
) [read]
void* bucketAlloc ( struct BucketAlloc ba  ) 
void bucketFree ( struct BucketAlloc ba,
void *  ptr 
)
void deleteBucketAlloc ( struct BucketAlloc ba  )