Changeset 4212 for trunk/psLib/src/collections/psVector.h
- Timestamp:
- Jun 10, 2005, 11:46:46 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psVector.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psVector.h
r4162 r4212 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-06- 08 23:40:45$13 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-06-10 21:46:46 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 88 88 psVector* psVec, ///< Vector to reallocate. 89 89 psU32 nalloc ///< Total number of elements to make available. 90 ); 91 92 /** Extend a vector's length. 93 * 94 * Increments a vector's length, n, by the specified number of elements. 95 * If the allocated storage is less than the current vector's length plus 96 * twice the number of elements to be added, it is reallocated larger by 97 * a given amount. 98 * 99 * @return psVector* Pointer to the adjusted psVector 100 */ 101 psVector *psVectorExtend( 102 psVector *vector, ///< Vector to extend 103 int delta, ///< Amount to expand allocation, if necessary 104 int nExtend ///< Number of elements to add to vector length 90 105 ); 91 106
Note:
See TracChangeset
for help on using the changeset viewer.
