Changeset 3700 for trunk/psLib/src/dataManip/psConstants.h
- Timestamp:
- Apr 13, 2005, 5:23:55 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/psConstants.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psConstants.h
r3598 r3700 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.6 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 3-31 23:01:46$8 * @version $Revision: 1.64 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-14 03:23:55 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 13 13 * XXX: Add parenthesis around all arguments so that these macros can be 14 14 * called with complex expressions. 15 * 16 * XXX: All functions which use the PS_CHECK macros must be scrutinized so 17 * that we ensure that an argument which is expected to be output is 18 * psFree'ed before reurning NULL. 15 19 * 16 20 */ … … 195 199 CLEANUP; \ 196 200 } \ 197 198 // XXX: The above macro is seg faulting on occasion in pmObjects.199 #define PS_ORIG_VECTOR_CHECK_NULL(NAME, RVAL) \200 if (NAME == NULL || NAME->data.U8 == NULL) { \201 psError(PS_ERR_BAD_PARAMETER_NULL, true, \202 "Unallowable operation: psVector %s or its data is NULL.", \203 #NAME); \204 return(RVAL); \205 } \206 207 201 208 202 #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.
