Changeset 2220 for trunk/psLib/src/dataManip/psConstants.h
- Timestamp:
- Oct 27, 2004, 11:55:09 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/psConstants.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psConstants.h
r2218 r2220 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.2 6$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-10-27 21: 25:52$8 * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-10-27 21:55:09 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 35 35 return(RVAL); \ 36 36 } 37 38 #define PS_INT_CHECK_POSITIVE(NAME, RVAL) \ 39 if (NAME < 1) { \ 40 psError(__func__,"%s is 0 or less.", #NAME); \ 41 return(RVAL); \ 42 } 43 44 #define PS_INT_COMPARE(NAME1, NAME2, RVAL) \ 45 if (NAME1 < NAME2) { \ 46 psError(__func__,"%s is less than %s (%d < %D).", #NAME1, #NAME2, NAME1, NAME2); \ 47 return(RVAL); \ 48 } 49 37 50 38 51 #define PS_FLOAT_COMPARE(NAME1, NAME2, RVAL) \
Note:
See TracChangeset
for help on using the changeset viewer.
