Changeset 18954
- Timestamp:
- Aug 8, 2008, 8:05:34 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/types/psArray.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psArray.h
r15454 r18954 10 10 * @author Joshua Hoblitt, University of Hawaii 11 11 * 12 * @version $Revision: 1.5 2$ $Name: not supported by cvs2svn $13 * @date $Date: 200 7-11-05 23:42:46$12 * @version $Revision: 1.53 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2008-08-08 18:05:34 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 167 167 #endif // ifdef DOXYGEN 168 168 169 /// Add a scalar value to an array using psScalar 170 #define PS_ARRAY_ADD_SCALAR(ARRAY, VALUE, TYPE) { \ 171 psScalar *scalar = psScalarAlloc(VALUE, TYPE); \ 172 psArrayAdd(ARRAY, 1, scalar); \ 173 psFree(scalar); \ 174 } 175 169 176 170 177 /** Remove an element from the array by it's pointer
Note:
See TracChangeset
for help on using the changeset viewer.
