Changeset 3381 for trunk/psLib/src/sysUtils
- Timestamp:
- Mar 7, 2005, 10:58:51 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psType.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psType.h
r3341 r3381 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 2-28 23:34:10 $12 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-03-07 20:58:50 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 50 50 typedef float psF32; ///< 32-bit floating point 51 51 typedef double psF64; ///< 64-bit floating point 52 52 53 #ifdef SWIG 53 54 typedef struct … … 65 66 typedef double _Complex psC64; ///< complex with 64-bit floating point Real and Imagary numbers 66 67 #endif 68 67 69 typedef void* psPtr; ///< void pointer 68 70 typedef bool psBool; ///< boolean value … … 204 206 #define PS_IS_PSELEMTYPE_BOOL(x) ((x & 0x1000) == 0x1000) 205 207 /// Macro to determine the storage size, in bytes, of the psElemType. 206 #define PSELEMTYPE_SIZEOF(x) ( (x== PS_TYPE_PTR) ? sizeof(psPtr) :(x & 0xFF) )208 #define PSELEMTYPE_SIZEOF(x) ( (x==(PS_TYPE_PTR&0xFFFF)) ? sizeof(psPtr) :(x & 0xFF) ) 207 209 208 210 /** Dimensions of a data type.
Note:
See TracChangeset
for help on using the changeset viewer.
