Changeset 14452 for trunk/psLib/src/mathtypes
- Timestamp:
- Aug 8, 2007, 3:40:08 PM (19 years ago)
- Location:
- trunk/psLib/src/mathtypes
- Files:
-
- 3 edited
-
psImage.h (modified) (2 diffs)
-
psScalar.h (modified) (2 diffs)
-
psVector.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/mathtypes/psImage.h
r12813 r14452 9 9 * @author Joshua Hoblitt, University of Hawaii 10 10 * 11 * @version $Revision: 1.9 3$ $Name: not supported by cvs2svn $12 * @date $Date: 2007-0 4-12 18:52:57 $11 * @version $Revision: 1.94 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2007-08-09 01:40:07 $ 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 14 14 */ … … 89 89 int numRows, ///< Number of rows in image. 90 90 psElemType type ///< Type of data for image. 91 ) ;91 ) PS_ATTR_MALLOC; 92 92 #define psImageAlloc(numCols, numRows, type) \ 93 93 p_psImageAlloc(__FILE__, __LINE__, __func__, numCols, numRows, type) -
trunk/psLib/src/mathtypes/psScalar.h
r12431 r14452 8 8 * @author Joshua Hoblitt, University of Hawaii 9 9 * 10 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $11 * @date $Date: 2007-0 3-14 00:39:51$10 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2007-08-09 01:40:07 $ 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 13 13 */ … … 70 70 double value, ///< Data to be put into psScalar 71 71 psElemType type ///< Type of data to be held by psScalar 72 ) ;72 ) PS_ATTR_MALLOC; 73 73 #define psScalarAlloc(value, type) \ 74 74 p_psScalarAlloc(__FILE__, __LINE__, __func__, value, type) -
trunk/psLib/src/mathtypes/psVector.h
r14267 r14452 10 10 * @author Joshua Hoblitt, University of Hawaii 11 11 * 12 * @version $Revision: 1.6 8$ $Name: not supported by cvs2svn $13 * @date $Date: 2007-0 7-17 20:32:02$12 * @version $Revision: 1.69 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2007-08-09 01:40:07 $ 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 15 15 */ … … 90 90 long nalloc, ///< Total number of elements to make available. 91 91 psElemType type ///< Type of data to be held by vector. 92 //#ifdef __GNUC__ 93 //) __attribute__((malloc)); 94 //#else // ifdef __GNUC__ 95 ); 96 //#endif // ifdef __GNUC__ 92 ) PS_ATTR_MALLOC; 97 93 #define psVectorAlloc(nalloc, type) \ 98 94 p_psVectorAlloc(__FILE__, __LINE__, __func__, nalloc, type) … … 119 115 long nalloc, ///< Total number of elements to make available. 120 116 psElemType type ///< Type of data to be held by vector. 121 //#ifdef __GNUC__ 122 //) __attribute__((malloc)); 123 //#else // ifdef __GNUC__ 124 ); 125 //#endif // ifdef __GNUC__ 117 ) PS_ATTR_MALLOC; 126 118 #define psVectorAllocEmpty(nalloc, type) \ 127 119 p_psVectorAllocEmpty(__FILE__, __LINE__, __func__, nalloc, type)
Note:
See TracChangeset
for help on using the changeset viewer.
