IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 7, 2007, 3:09:49 PM (19 years ago)
Author:
Paul Price
Message:

Adding memory instrumentation for psImageCopy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageStructManip.h

    r15456 r15492  
    55*  @author Robert DeSonia, MHPCC
    66*
    7 *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    8 *  @date $Date: 2007-11-05 23:56:33 $
     7*  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     8*  @date $Date: 2007-11-08 01:09:49 $
    99*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1010*/
     
    6464 *
    6565 */
     66#ifdef DOXYGEN
    6667psImage* psImageCopy(
    6768    psImage* output,                   ///< if not NULL, a psImage that could be recycled.
     
    6970    psElemType type                    ///< the desired datatype of the returned copy
    7071);
     72#else // ifdef DOXYGEN
     73psImage* p_psImageCopy(
     74    const char *file,                   ///< File of caller
     75    unsigned int lineno,                ///< Line number of caller
     76    const char *func,                   ///< Function name of caller
     77    psImage* output,                   ///< if not NULL, a psImage that could be recycled.
     78    const psImage* input,              ///< the psImage to copy
     79    psElemType type                    ///< the desired datatype of the returned copy
     80) PS_ATTR_MALLOC;
     81#define psImageCopy(output, input, type) \
     82      p_psImageSubset(__FILE__, __LINE__, __func__, output, input, type)
     83#endif // ifdef DOXYGEN
    7184
    7285/** Trim an image
Note: See TracChangeset for help on using the changeset viewer.