Leptonica  1.83.1
Image processing and image analysis suite
L_Ptra Struct Reference

#include <ptra.h>

Data Fields

l_int32 nalloc
 
l_int32 imax
 
l_int32 nactual
 
void ** array
 

Detailed Description

Generic pointer array

Definition at line 53 of file ptra.h.

Field Documentation

◆ array

void** L_Ptra::array

◆ imax

l_int32 L_Ptra::imax

greatest valid index

Definition at line 56 of file ptra.h.

Referenced by ptraAdd(), ptraCompactArray(), ptraDestroy(), ptraGetMaxIndex(), ptraInsert(), and ptraRemove().

◆ nactual

l_int32 L_Ptra::nactual

actual number of stored elements

Definition at line 57 of file ptra.h.

Referenced by ptraAdd(), ptraGetActualCount(), ptraInsert(), ptraRemove(), and ptraReplace().

◆ nalloc

l_int32 L_Ptra::nalloc

size of allocated ptr array

Definition at line 55 of file ptra.h.

Referenced by ptraAdd(), ptraExtendArray(), ptraGetPtrToItem(), and ptraInsert().


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