Changeset 3313 for trunk/psLib/src/math/psConstants.h
- Timestamp:
- Feb 23, 2005, 2:19:51 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psConstants.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psConstants.h
r3264 r3313 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.5 5$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-02- 17 19:26:23$8 * @version $Revision: 1.56 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-02-24 00:19:51 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 198 198 } \ 199 199 200 #define PS_VECTOR_CHECK_EMPTY(NAME, RVAL) \ 200 #define PS_VECTOR_CHECK_EMPTY(NAME, RVAL) PS_VECTOR_CHECK_EMPTY_GENERAL(NAME, return RVAL) 201 #define PS_VECTOR_CHECK_EMPTY_GENERAL(NAME, CLEANUP) \ 201 202 if (NAME->n < 1) { \ 202 203 psError(PS_ERR_BAD_PARAMETER_SIZE, true, \ 203 204 "Unallowable operation: psVector %s has no elements.", \ 204 205 #NAME); \ 205 return(RVAL); \206 CLEANUP; \ 206 207 } \ 207 208
Note:
See TracChangeset
for help on using the changeset viewer.
