Leptonica  1.83.1
Image processing and image analysis suite
L_Stack Struct Reference

#include <stack.h>

Data Fields

l_int32 nalloc
 
l_int32 n
 
void ** array
 
struct L_Stackauxstack
 

Detailed Description

Expandable pointer stack for arbitrary void* data. Note that array[n] is the first null ptr in the array

Definition at line 59 of file stack.h.

Field Documentation

◆ array

void** L_Stack::array

ptr array

Definition at line 63 of file stack.h.

Referenced by lstackAdd(), lstackDestroy(), lstackExtendArray(), lstackPrint(), and lstackRemove().

◆ auxstack

struct L_Stack* L_Stack::auxstack

auxiliary stack

Definition at line 64 of file stack.h.

Referenced by lstackDestroy(), popFillseg(), pushFillseg(), and pushFillsegBB().

◆ n

l_int32 L_Stack::n

number of stored elements

Definition at line 62 of file stack.h.

Referenced by lstackAdd(), lstackDestroy(), lstackGetCount(), lstackPrint(), and lstackRemove().

◆ nalloc

l_int32 L_Stack::nalloc

size of ptr array

Definition at line 61 of file stack.h.

Referenced by lstackAdd(), lstackExtendArray(), and lstackPrint().


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