IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 5, 2005, 3:12:58 PM (21 years ago)
Author:
desonia
Message:

Removed PS_TYPE_PTR from psElemType, as per latest SDRS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sysUtils/psType.h

    r3381 r3671  
    1010*  @author Ross Harman, MHPCC
    1111*
    12 *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2005-03-07 20:58:50 $
     12*  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-04-06 01:12:58 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    8383    PS_TYPE_C32  = 0x0808,             ///< Complex numbers consisting of single-precision floating point.
    8484    PS_TYPE_C64  = 0x0810,             ///< Complex numbers consisting of double-precision floating point.
    85     PS_TYPE_BOOL = 0x1301,             ///< Boolean.
    86     PS_TYPE_PTR  = 0x0000              ///< Something else that's not supported for arithmetic.
     85    PS_TYPE_BOOL = 0x1301              ///< Boolean.
    8786} psElemType;
    8887
     
    133132#define PS_TYPE_C32_NAME  "psC32"
    134133#define PS_TYPE_C64_NAME  "psC64"
    135 #define PS_TYPE_PTR_NAME  "psPtr"
    136134
    137135#define PS_TYPE_NAME(value,type) \
     
    175173case PS_TYPE_C64: \
    176174    value = PS_TYPE_C64_NAME; \
    177     break; \
    178 case PS_TYPE_PTR: \
    179     value = PS_TYPE_PTR_NAME; \
    180175    break; \
    181176default: \
     
    206201#define PS_IS_PSELEMTYPE_BOOL(x) ((x & 0x1000) == 0x1000)
    207202/// Macro to determine the storage size, in bytes, of the psElemType.
    208 #define PSELEMTYPE_SIZEOF(x) ( (x==(PS_TYPE_PTR&0xFFFF)) ? sizeof(psPtr) :(x & 0xFF) )
     203#define PSELEMTYPE_SIZEOF(x) (x & 0xFF)
    209204
    210205/** Dimensions of a data type.
Note: See TracChangeset for help on using the changeset viewer.