IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 8, 2007, 3:40:08 PM (19 years ago)
Author:
jhoblitt
Message:

gcc attribute cleanup

Location:
trunk/psLib/src/mathtypes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/mathtypes/psImage.h

    r12813 r14452  
    99 * @author Joshua Hoblitt, University of Hawaii
    1010 *
    11  * @version $Revision: 1.93 $ $Name: not supported by cvs2svn $
    12  * @date $Date: 2007-04-12 18:52:57 $
     11 * @version $Revision: 1.94 $ $Name: not supported by cvs2svn $
     12 * @date $Date: 2007-08-09 01:40:07 $
    1313 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1414 */
     
    8989    int numRows,                       ///< Number of rows in image.
    9090    psElemType type                    ///< Type of data for image.
    91 );
     91) PS_ATTR_MALLOC;
    9292#define psImageAlloc(numCols, numRows, type) \
    9393      p_psImageAlloc(__FILE__, __LINE__, __func__, numCols, numRows, type)
  • trunk/psLib/src/mathtypes/psScalar.h

    r12431 r14452  
    88 * @author Joshua Hoblitt, University of Hawaii
    99 *
    10  * @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
    11  * @date $Date: 2007-03-14 00:39:51 $
     10 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
     11 * @date $Date: 2007-08-09 01:40:07 $
    1212 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1313 */
     
    7070    double value,                       ///< Data to be put into psScalar
    7171    psElemType type                     ///< Type of data to be held by psScalar
    72 );
     72) PS_ATTR_MALLOC;
    7373#define psScalarAlloc(value, type) \
    7474      p_psScalarAlloc(__FILE__, __LINE__, __func__, value, type)
  • trunk/psLib/src/mathtypes/psVector.h

    r14267 r14452  
    1010 * @author Joshua Hoblitt, University of Hawaii
    1111 *
    12  * @version $Revision: 1.68 $ $Name: not supported by cvs2svn $
    13  * @date $Date: 2007-07-17 20:32:02 $
     12 * @version $Revision: 1.69 $ $Name: not supported by cvs2svn $
     13 * @date $Date: 2007-08-09 01:40:07 $
    1414 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1515 */
     
    9090    long nalloc,                        ///< Total number of elements to make available.
    9191    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;
    9793#define psVectorAlloc(nalloc, type) \
    9894      p_psVectorAlloc(__FILE__, __LINE__, __func__, nalloc, type)
     
    119115    long nalloc,                       ///< Total number of elements to make available.
    120116    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;
    126118#define psVectorAllocEmpty(nalloc, type) \
    127119      p_psVectorAllocEmpty(__FILE__, __LINE__, __func__, nalloc, type)
Note: See TracChangeset for help on using the changeset viewer.