Leptonica  1.82.0
Image processing and image analysis suite
L_Queue Struct Reference

#include <queue.h>

Data Fields

l_int32 nalloc
 
l_int32 nhead
 
l_int32 nelem
 
void ** array
 
struct L_Stackstack
 

Detailed Description

Expandable pointer queue for arbitrary void* data

Definition at line 64 of file queue.h.

Field Documentation

◆ array

void** L_Queue::array

ptr array

Definition at line 70 of file queue.h.

Referenced by lqueueAdd(), lqueueDestroy(), lqueueExtendArray(), lqueuePrint(), and lqueueRemove().

◆ nalloc

l_int32 L_Queue::nalloc

size of allocated ptr array

Definition at line 66 of file queue.h.

Referenced by lqueueAdd(), lqueueExtendArray(), and lqueuePrint().

◆ nelem

l_int32 L_Queue::nelem

number of elements stored in the queue

Definition at line 69 of file queue.h.

Referenced by lqueueAdd(), lqueueDestroy(), lqueueGetCount(), lqueuePrint(), and lqueueRemove().

◆ nhead

l_int32 L_Queue::nhead

location of head (in ptrs) from the
beginning of the array

Definition at line 67 of file queue.h.

Referenced by lqueueAdd(), lqueuePrint(), and lqueueRemove().

◆ stack

struct L_Stack* L_Queue::stack

auxiliary stack

Definition at line 71 of file queue.h.

Referenced by identifyWatershedBasin(), and lqueueDestroy().


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