Woolz Image Processing  Version 1.8.3
_AlcBlockStack Struct Reference

General purpose data structure for maintaining blocks of some data type. Useful for efficient memory allocation. It's not a stack but a doubly linked list of blocks of data which can be used as a stack, heap, list, .... Typedef: AlcBlockStack. More...

Data Fields

size_t elmCnt
 
size_t maxElm
 
void * elements
 
struct _AlcBlockStackprev
 
struct _AlcBlockStacknext
 

Detailed Description

General purpose data structure for maintaining blocks of some data type. Useful for efficient memory allocation. It's not a stack but a doubly linked list of blocks of data which can be used as a stack, heap, list, .... Typedef: AlcBlockStack.

Field Documentation

◆ elmCnt

size_t _AlcBlockStack::elmCnt

Number of elements used in block

Referenced by AlcBlockStackNew().

◆ maxElm

size_t _AlcBlockStack::maxElm

Number of elements space allocated for in block

Referenced by AlcBlockStackNew().

◆ elements

void* _AlcBlockStack::elements

Block of elements

Referenced by AlcBlockStackFree(), and AlcBlockStackNew().

◆ prev

struct _AlcBlockStack* _AlcBlockStack::prev

Previous block up in stack

Referenced by AlcBlockStackNew().

◆ next

struct _AlcBlockStack* _AlcBlockStack::next

Next block down, remember it's a doubly linked list not a stack!

Referenced by AlcBlockStackFree(), and AlcBlockStackNew().


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