Changeset 3573
- Timestamp:
- Mar 30, 2005, 1:38:37 PM (21 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
dataManip/psConstants.h (modified) (2 diffs)
-
math/psConstants.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psConstants.h
r3572 r3573 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1. 59$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-03-30 23:3 5:07 $8 * @version $Revision: 1.60 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-03-30 23:38:37 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 197 197 CLEANUP; \ 198 198 } \ 199 200 // XXX: The above macro is seg faulting on occasion. 201 #define PS_ORIG_VECTOR_CHECK_NULL(NAME, RVAL) \ 202 if (NAME == NULL || NAME->data.U8 == NULL) { \ 203 psError(PS_ERR_BAD_PARAMETER_NULL, true, \ 204 "Unallowable operation: psVector %s or its data is NULL.", \ 205 #NAME); \ 206 } \ 207 199 208 200 209 #define PS_VECTOR_CHECK_EMPTY(NAME, RVAL) PS_VECTOR_CHECK_EMPTY_GENERAL(NAME, return RVAL) -
trunk/psLib/src/math/psConstants.h
r3572 r3573 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1. 59$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-03-30 23:3 5:07 $8 * @version $Revision: 1.60 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-03-30 23:38:37 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 197 197 CLEANUP; \ 198 198 } \ 199 200 // XXX: The above macro is seg faulting on occasion. 201 #define PS_ORIG_VECTOR_CHECK_NULL(NAME, RVAL) \ 202 if (NAME == NULL || NAME->data.U8 == NULL) { \ 203 psError(PS_ERR_BAD_PARAMETER_NULL, true, \ 204 "Unallowable operation: psVector %s or its data is NULL.", \ 205 #NAME); \ 206 } \ 207 199 208 200 209 #define PS_VECTOR_CHECK_EMPTY(NAME, RVAL) PS_VECTOR_CHECK_EMPTY_GENERAL(NAME, return RVAL)
Note:
See TracChangeset
for help on using the changeset viewer.
