Changeset 4051 for trunk/psLib/src/math/psConstants.h
- Timestamp:
- May 31, 2005, 11:48:13 AM (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
r4049 r4051 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.7 0$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-05-31 21: 25:27$8 * @version $Revision: 1.71 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-05-31 21:48:13 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 150 150 } 151 151 152 // Return an error if the arg lies outside the supplied range 153 #define PS_ASSERT_LONG_WITHIN_RANGE(NAME, LOWER, UPPER, RVAL) \ 154 if ((NAME) < (LOWER) || (NAME) > (UPPER)) { \ 155 psError(PS_ERR_BAD_PARAMETER_VALUE, true, \ 156 "Error: %s, %lld, is out of range.", \ 157 #NAME, NAME, LOWER, UPPER); \ 158 return RVAL; \ 159 } 160 152 161 /***************************************************************************** 153 162 Macros which take a generic psLib type and determine if it is NULL, or has
Note:
See TracChangeset
for help on using the changeset viewer.
