Index: trunk/archive/pslib/include/psStdArrays.h
===================================================================
--- trunk/archive/pslib/include/psStdArrays.h	(revision 226)
+++ trunk/archive/pslib/include/psStdArrays.h	(revision 247)
@@ -2,8 +2,8 @@
 #define PS_TYPES_H
 
-#include <complex.h>
-#include <stdint.h>
-#include "psArray.h"
-
+/** \file psStdArrays.h
+ *  \brief Support for basic flat arrays
+ *  \ingroup DataGroup
+ */
 
 /** Types of the elements of vectors, matrices, etc. */
@@ -189,3 +189,28 @@
 /************************************************************************************************************/
 
+/*****************************************************************************/
+/** Array of pointers to void.
+ *  psVoidPtrArray is special, as it needs to have a destructor that
+ *  accepts a destructor for the array elements
+ */
+typedef struct {
+    int n;				//!< Number of elements in use 
+    int size;				//!< Number of total elements
+    void **arr;				//!< The elements
+} psVoidPtrArray;
+
+/** Constructor */
+psVoidPtrArray *psVoidPtrArrayAlloc(int n, //!< Number of elements to use
+				    int s //!< Total number of elements
+				    );
+/** Reallocate */
+psVoidPtrArray *psVoidPtrArrayRealloc(psVoidPtrArray *arr, //!< Array to reallocate
+				      int n //!< Number of elements
+				      );
+/** Destructor */
+void psVoidPtrArrayFree(psVoidPtrArray *arr, //!< array to destroy
+			void (*elemFree)(void *) //!< destructor for array data
+			);
+
+
 #endif
