Changeset 2274
- Timestamp:
- Nov 3, 2004, 3:59:04 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
dataManip/psConstants.h (modified) (3 diffs)
-
math/psConstants.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psConstants.h
r2273 r2274 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-11-04 01: 04:57$8 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-11-04 01:59:04 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 326 326 #define PS_READOUT_CHECK_EMPTY(NAME, RVAL) \ 327 327 if (NAME->image->numCols < 1 || NAME->image->numRows < 1) { \ 328 psError(__func__,"Unallowable operation: psReadout %s or its data is NULL.", #NAME); \ 328 psError(PS_ERR_BAD_PARAMETER_SIZE, true, \ 329 "Unallowable operation: psReadout %s or its data is NULL.", #NAME); \ 329 330 return(RVAL); \ 330 331 } … … 332 333 #define PS_READOUT_CHECK_TYPE(NAME, TYPE, RVAL) \ 333 334 if (NAME->image->type.type != TYPE) { \ 334 psError(__func__,"Unallowable operation: psImage %s has incorrect type.", #NAME); \ 335 psError(PS_ERR_BAD_PARAMETER_TYPE, true, \ 336 "Unallowable operation: psImage %s has incorrect type.", #NAME); \ 335 337 return(RVAL); \ 336 338 } -
trunk/psLib/src/math/psConstants.h
r2273 r2274 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-11-04 01: 04:57$8 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-11-04 01:59:04 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 326 326 #define PS_READOUT_CHECK_EMPTY(NAME, RVAL) \ 327 327 if (NAME->image->numCols < 1 || NAME->image->numRows < 1) { \ 328 psError(__func__,"Unallowable operation: psReadout %s or its data is NULL.", #NAME); \ 328 psError(PS_ERR_BAD_PARAMETER_SIZE, true, \ 329 "Unallowable operation: psReadout %s or its data is NULL.", #NAME); \ 329 330 return(RVAL); \ 330 331 } … … 332 333 #define PS_READOUT_CHECK_TYPE(NAME, TYPE, RVAL) \ 333 334 if (NAME->image->type.type != TYPE) { \ 334 psError(__func__,"Unallowable operation: psImage %s has incorrect type.", #NAME); \ 335 psError(PS_ERR_BAD_PARAMETER_TYPE, true, \ 336 "Unallowable operation: psImage %s has incorrect type.", #NAME); \ 335 337 return(RVAL); \ 336 338 }
Note:
See TracChangeset
for help on using the changeset viewer.
