Changeset 2204 for trunk/psLib/src/collections/psVector.h
- Timestamp:
- Oct 26, 2004, 2:57:34 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psVector.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psVector.h
r1982 r2204 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.2 4$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-10- 06 21:30:52$13 * @version $Revision: 1.25 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-10-27 00:57:31 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 33 33 { 34 34 psType type; ///< Type of data. 35 unsigned intnalloc; ///< Total number of elements available.36 unsigned intn; ///< Number of elements in use.35 psU32 nalloc; ///< Total number of elements available. 36 psU32 n; ///< Number of elements in use. 37 37 38 38 union { … … 49 49 psC32* C32; ///< Single-precision complex data. 50 50 psC64* C64; ///< Double-precision complex data. 51 psP TRV; ///< Pointer to data.51 psPtr V; ///< Pointer to data. 52 52 } data; ///< Union for data types. 53 53 } … … 69 69 */ 70 70 psVector* psVectorAlloc( 71 unsigned intnalloc, ///< Total number of elements to make available.71 psU32 nalloc, ///< Total number of elements to make available. 72 72 psElemType dataType ///< Type of data to be held by vector. 73 73 ); … … 84 84 psVector* psVectorRealloc( 85 85 psVector* restrict psVec, ///< Vector to reallocate. 86 unsigned intnalloc ///< Total number of elements to make available.86 psU32 nalloc ///< Total number of elements to make available. 87 87 ); 88 88 … … 101 101 ///< taken to preserve the values. 102 102 103 unsigned intnalloc, ///< Total number of elements to make available.103 psU32 nalloc, ///< Total number of elements to make available. 104 104 psElemType type ///< the datatype of the returned vector 105 105 );
Note:
See TracChangeset
for help on using the changeset viewer.
