IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2006, 11:13:48 AM (20 years ago)
Author:
Paul Price
Message:

Synchronising with SDRS, and cleaning up:

  • Replaced is_psType() with PS_ASSERT_PTR() throughout psLib.
  • Changed "char *" to "psString" where appropriate in psDB and a few other places (to indicate pointers on the PS memory system).
  • Removed psLogArguments and psTraceArguments (functionality in psArgumentVerbosity).
  • Renamed psMetadataLookupMD to psMetadataLookupMetadata (it was about time...). Similarly with the psPolynomial?D{From,To}MD functions.
  • Removed psMetadataRemove() since it is ambiguous about what's removed --- use psMetadataRemove{Key,Index}.
  • psArrayRemoveByPos --> psArrayRemoveIndex
  • psArrayRemove --> psArrayRemoveData
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psStats.c

    r8627 r9538  
    1616 * use ->min and ->max (PS_STAT_USE_RANGE)
    1717 *
    18  *  @version $Revision: 1.185 $ $Name: not supported by cvs2svn $
    19  *  @date $Date: 2006-08-26 04:34:28 $
     18 *  @version $Revision: 1.186 $ $Name: not supported by cvs2svn $
     19 *  @date $Date: 2006-10-13 21:13:48 $
    2020 *
    2121 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    16231623bool psMemCheckStats(psPtr ptr)
    16241624{
    1625     if (!is_psType(ptr)) {
    1626         return false;
    1627     }
     1625    PS_ASSERT_PTR(ptr, false);
    16281626    return ( psMemGetDeallocator(ptr) == (psFreeFunc)statsFree );
    16291627}
     
    17341732bool psMemCheckHistogram(psPtr ptr)
    17351733{
    1736     if (!is_psType(ptr)) {
    1737         return false;
    1738     }
     1734    PS_ASSERT_PTR(ptr, false);
    17391735    return ( psMemGetDeallocator(ptr) == (psFreeFunc)histogramFree );
    17401736}
Note: See TracChangeset for help on using the changeset viewer.