Index: trunk/psLib/src/collections/psVector.h
===================================================================
--- trunk/psLib/src/collections/psVector.h	(revision 4409)
+++ trunk/psLib/src/collections/psVector.h	(revision 4493)
@@ -11,6 +11,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-28 20:17:52 $
+ *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-07-07 02:17:53 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -51,8 +51,9 @@
 typedef struct
 {
-    psType type;                       ///< Type of data.
-    int n;                             ///< Number of elements in use.
-    const int nalloc;                  ///< Total number of elements available.
+    psMathType type;                       ///< Type of data.
+    long n;                            ///< Number of elements in use.
+    const long nalloc;                 ///< Total number of elements available.
     p_psVectorData data;               ///< Union for data types.
+    void *lock;                        ///< Optional lock for thread safety.
 }
 psVector;
@@ -73,7 +74,8 @@
  */
 psVector* psVectorAlloc(
-    unsigned long nalloc,              ///< Total number of elements to make available.
+    long nalloc,                       ///< Total number of elements to make available.
     psElemType type                    ///< Type of data to be held by vector.
-);
+)
+;
 
 /** Reallocate a vector.
@@ -88,5 +90,5 @@
 psVector* psVectorRealloc(
     psVector* vector,                  ///< Vector to reallocate.
-    unsigned long nalloc               ///< Total number of elements to make available.
+    long nalloc                        ///< Total number of elements to make available.
 );
 
@@ -120,5 +122,5 @@
     ///< taken to preserve the values.
 
-    unsigned long nalloc,              ///< Total number of elements to make available.
+    long nalloc,                       ///< Total number of elements to make available.
     psElemType type                    ///< the datatype of the returned vector
 );
