Changeset 11074
- Timestamp:
- Jan 12, 2007, 11:58:09 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/types/psArray.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psArray.h
r9730 r11074 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.4 3$ $Name: not supported by cvs2svn $14 * @date $Date: 200 6-10-24 22:52:56$13 * @version $Revision: 1.44 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2007-01-12 21:58:09 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 222 222 } 223 223 224 #define PS_ASSERT_ARRAY_SIZE(ARRAY, SIZE, RVAL) \ 225 if ((ARRAY)->n != (SIZE)) { \ 226 psError(PS_ERR_BAD_PARAMETER_SIZE, true, \ 227 "psArray %s has size %ld instead of expected size %ld.", \ 228 #ARRAY, (ARRAY)->n, SIZE); \ 229 return RVAL; \ 230 } 224 231 225 232 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
