Leptonica  1.82.0
Image processing and image analysis suite
Sarray Struct Reference

#include <array.h>

Data Fields

l_int32 nalloc
 
l_int32 n
 
l_int32 refcount
 
char ** array
 

Detailed Description

String array: an array of C strings

Definition at line 126 of file array.h.

Field Documentation

◆ array

◆ n

l_int32 Sarray::n

number of strings allocated

Definition at line 129 of file array.h.

Referenced by sarrayAddString(), sarrayClear(), sarrayCopy(), sarrayDestroy(), sarrayGetArray(), sarrayGetCount(), sarrayGetString(), and sarrayRemoveString().

◆ nalloc

l_int32 Sarray::nalloc

size of allocated ptr array

Definition at line 128 of file array.h.

Referenced by sarrayAddString(), sarrayCopy(), sarrayExtendArray(), and sarrayGetArray().

◆ refcount

l_int32 Sarray::refcount

reference count (1 if no clones)

Definition at line 130 of file array.h.

Referenced by sarrayChangeRefcount(), and sarrayGetRefcount().


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