Leptonica 1.85.0
Image processing and image analysis suite
Loading...
Searching...
No Matches
L_Heap Struct Reference

#include <heap.h>

Data Fields

l_int32 nalloc
 
l_int32 n
 
void ** array
 
l_int32 direction
 

Detailed Description

Heap of arbitrary void* data

Definition at line 77 of file heap.h.

Field Documentation

◆ array

void** L_Heap::array

◆ direction

l_int32 L_Heap::direction

L_SORT_INCREASING or L_SORT_DECREASING

Definition at line 82 of file heap.h.

Referenced by lheapCreate(), lheapSwapDown(), and lheapSwapUp().

◆ n

l_int32 L_Heap::n

◆ nalloc

l_int32 L_Heap::nalloc

size of allocated ptr array

Definition at line 79 of file heap.h.

Referenced by lheapAdd(), lheapCreate(), lheapExtendArray(), and lheapPrint().


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