IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 29, 2005, 3:14:13 PM (21 years ago)
Author:
drobbin
Message:

Implemented psMemCheckType functions and tests. Some testing remains unfinished.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psMemory.h

    r4590 r4898  
    1212 *  @ingroup MemoryManagement
    1313 *
    14  *  @version $Revision: 1.48 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-07-21 02:39:57 $
     14 *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-08-30 01:14:13 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    172172);
    173173
     174/** Checks the deallocator to see if the pointer matches the desired datatype.
     175 *
     176 *  @return bool:       True if type matches, otherwise false.
     177 */
     178bool psMemCheckType(
     179    psDataType type,                   ///< The desired psDataType to match
     180    psPtr ptr                          ///< The desired pointer to match
     181);
     182
     183
    174184/** Set the memory as persistent so that it is ignored when detecting memory leaks.
    175185 *
Note: See TracChangeset for help on using the changeset viewer.