IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 13, 2005, 5:23:55 PM (21 years ago)
Author:
gusciora
Message:

...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psConstants.h

    r3598 r3700  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.63 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-03-31 23:01:46 $
     8 *  @version $Revision: 1.64 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-04-14 03:23:55 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    1313 *  XXX: Add parenthesis around all arguments so that these macros can be
    1414 *       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.
    1519 *
    1620 */
     
    195199    CLEANUP; \
    196200} \
    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 
    207201
    208202#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.