T_DYNARRAY_BLOCK

Defines a dynamic array block (DAB)

Service:Advanced
Defined In:nwdnarr.h

Structure

  typedef struct tagT_DYNARRAY_BLOCK 
  { 
     void   *DABarrayP ; 
     int     DABnumSlots ; 
     int     DABelementSize ; 
     void   *(*DABrealloc) (void *, size_t); 
     int     DABgrowAmount ; 
     int     DABnumEntries ; 
  } T_DYNARRAY_BLOCK;
  

Fields

DABarrayP

Points to the dynamic array.

DABnumSlots

Specifies the initial number of elements in the dynamic array

DABelementSize

Specifies the size (in bytes) of each element in the dynamic array

DABrealloc

Points to a memory allocation function. This function is normally realloc, but you can define your own function.

DABgrowAmount

Specifies the number of elements by which to increase the dynamic array when more elements are needed.

DABnumEntries

Specifies the number of entries in the dynamic array.