Functions

Two Dimensional (2D) Pointer Array Objects

Functions

NTTW_DLL_SYM nttw_integer ** ptrArray (const size_t size)
 Constructs a pointer array of type nttw_integer* which is accessible from the zeroth index.
NTTW_DLL_SYM void free_ptrArray (nttw_integer **data)
 Deletes or frees the pointer array that would have been created by ptrArray().
NTTW_DLL_SYM void free_ptrArray_All (nttw_integer **data, const size_t size)
 Deletes or frees the pointer array and subsequent 1-D arrays that each of the pointers are pointing too that would have been created by ptrArray().

Function Documentation

free_ptrArray ( nttw_integer **  data  ) 

Deletes or frees the pointer array that would have been created by ptrArray().

Must be used with ptrArray() that allocates a pointer array. The pointers themselves are NOT deallocated. Use free() from <stdlib.h> to free them.

Definition at line 96 of file array_complex.c.

free_ptrArray_All ( nttw_integer **  data,
const size_t  size 
)

Deletes or frees the pointer array and subsequent 1-D arrays that each of the pointers are pointing too that would have been created by ptrArray().

Must be used with ptrArray() that allocates a pointer array. The pointers in the array are deallocated.

Definition at line 101 of file array_complex.c.

ptrArray ( const size_t  size  ) 

Constructs a pointer array of type nttw_integer* which is accessible from the zeroth index.

Definition at line 87 of file array_complex.c.