Changeset 15759
- Timestamp:
- Dec 7, 2007, 9:30:12 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/mathtypes/psImage.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/mathtypes/psImage.h
r14452 r15759 9 9 * @author Joshua Hoblitt, University of Hawaii 10 10 * 11 * @version $Revision: 1.9 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2007- 08-09 01:40:07$11 * @version $Revision: 1.95 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2007-12-07 19:30:12 $ 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 14 14 */ … … 37 37 const int numCols; ///< Number of columns in image 38 38 const int numRows; ///< Number of rows in image. 39 const int col0; ///< Column position relative to parent.40 const int row0; ///< Row position relative to parent.39 const int col0; ///< Column position relative to parent. 40 const int row0; ///< Row position relative to parent. 41 41 42 42 union { … … 235 235 if ((NAME)->type.type != TYPE) { \ 236 236 psError(PS_ERR_BAD_PARAMETER_TYPE, true, \ 237 "Unallowable operation: psImage %s has incorrect type .", \238 #NAME ); \237 "Unallowable operation: psImage %s has incorrect type: %s instead of %s.", \ 238 #NAME, PS_TYPE_NAME((NAME)->type.type), PS_TYPE_NAME(TYPE)); \ 239 239 return(RVAL); \ 240 240 } … … 243 243 if ((NAME)->type.type != PS_TYPE_F32 && (NAME)->type.type != PS_TYPE_F64) { \ 244 244 psError(PS_ERR_BAD_PARAMETER_TYPE, true, \ 245 "Unallowable operation: psImage %s is not of type F32 or F64 .", \246 #NAME ); \245 "Unallowable operation: psImage %s is not of type F32 or F64: %s.", \ 246 #NAME, PS_TYPE_NAME((NAME)->type.type)); \ 247 247 return(RVAL); \ 248 248 } … … 252 252 ((NAME1)->numRows != (NAME2)->numRows)) { \ 253 253 psError(PS_ERR_BAD_PARAMETER_SIZE, true, \ 254 "Unallowable operation: psImages %s and %s are not the same size .", \255 #NAME1, #NAME2 ); \254 "Unallowable operation: psImages %s and %s are not the same size: %dx%d vs %dx%d.", \ 255 #NAME1, #NAME2, (NAME1)->numCols, (NAME1)->numRows, (NAME2)->numCols, (NAME2)->numRows); \ 256 256 return(RVAL); \ 257 257 } … … 261 261 ((NAME1)->numRows != NUM_ROWS)) { \ 262 262 psError(PS_ERR_BAD_PARAMETER_SIZE, true, \ 263 "Unallowable operation: psImages %s is not the correct size .", \264 #NAME1 ); \263 "Unallowable operation: psImages %s is not the correct size: %dx%d instead of %dx%d.", \ 264 #NAME1, (NAME1)->numCols, (NAME1)->numRows, NUM_COLS, NUM_ROWS); \ 265 265 return(RVAL); \ 266 266 }
Note:
See TracChangeset
for help on using the changeset viewer.
