This file defines the basic type for a array struct and functions useful in manupulating arrays.
Ross Harman, MHPCC
Definition in file psArray.h.
#include "psType.h"
#include "psCompare.h"
Include dependency graph for psArray.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| bool | psMemCheckArray (psPtr ptr) |
| Checks the type of a particular pointer. | |
| psArray * | psArrayAlloc (long nalloc) |
| Allocate an array. | |
| psArray * | psArrayRealloc (psArray *array, long nalloc) |
| Reallocate an array. | |
| psArray * | psArrayAdd (psArray *array, long delta, psPtr data) |
| Add an element to the end the array, expanding the array storage if necessary. | |
| bool | psArrayRemove (psArray *array, const psPtr data) |
| Remove an element from the array. | |
| void | psArrayElementFree (psArray *psArr) |
| Deallocate/Dereference elements of an array. | |
| psArray * | psArraySort (psArray *array, psComparePtrFunc func) |
| Sort the array according to an external compare function. | |
| bool | psArraySet (psArray *array, long position, psPtr data) |
| Set an element in the array. | |
| psPtr | psArrayGet (const psArray *array, long position) |
| Get an element from the array. | |
1.4.2