IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2731


Ignore:
Timestamp:
Dec 16, 2004, 11:42:39 AM (22 years ago)
Author:
gusciora
Message:

...

Location:
trunk/psLib/src
Files:
2 edited

Legend:

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

    r2680 r2731  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.43 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-12-09 23:31:14 $
     8 *  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-12-16 21:42:39 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3333    psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
    3434            "Error: %s and %s are equal.", \
     35            #NAME1, #NAME2); \
     36    return(RVAL); \
     37}
     38
     39#define PS_INT_CHECK_NON_EQUALS(NAME1, NAME2, RVAL) \
     40if (NAME1 != NAME2) { \
     41    psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
     42            "Error: %s and %s are not equal.", \
    3543            #NAME1, #NAME2); \
    3644    return(RVAL); \
  • trunk/psLib/src/math/psConstants.h

    r2680 r2731  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.43 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-12-09 23:31:14 $
     8 *  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-12-16 21:42:39 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3333    psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
    3434            "Error: %s and %s are equal.", \
     35            #NAME1, #NAME2); \
     36    return(RVAL); \
     37}
     38
     39#define PS_INT_CHECK_NON_EQUALS(NAME1, NAME2, RVAL) \
     40if (NAME1 != NAME2) { \
     41    psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
     42            "Error: %s and %s are not equal.", \
    3543            #NAME1, #NAME2); \
    3644    return(RVAL); \
Note: See TracChangeset for help on using the changeset viewer.