Changeset 4457 for trunk/psLib/src/collections/psArray.c
- Timestamp:
- Jul 5, 2005, 5:04:35 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psArray.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psArray.c
r4392 r4457 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.3 2$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 6-25 02:02:04$11 * @version $Revision: 1.33 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-07-06 03:04:35 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 49 49 FUNCTION IMPLEMENTATION - PUBLIC 50 50 *****************************************************************************/ 51 psArray* psArrayAlloc( unsignedlong nalloc)51 psArray* psArrayAlloc(long nalloc) 52 52 { 53 53 psArray* psArr = NULL; … … 66 66 } 67 67 68 psArray* psArrayRealloc(psArray* in, unsignedlong nalloc)68 psArray* psArrayRealloc(psArray* in, long nalloc) 69 69 { 70 70 if (in == NULL) { … … 160 160 /// Set an element in the array. 161 161 bool psArraySet(psArray* array, ///< input array to set element in 162 unsigned long position,///< the element position to set162 long position, ///< the element position to set 163 163 psPtr data) ///< the value to set it to 164 164 { … … 185 185 186 186 /// Get an element in the array. 187 psPtr psArrayGet(const psArray* array, unsignedlong position )187 psPtr psArrayGet(const psArray* array, long position ) 188 188 { 189 189 if (array == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.
