IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13991


Ignore:
Timestamp:
Jun 29, 2007, 2:35:38 PM (19 years ago)
Author:
jhoblitt
Message:

remove the usage of inline that conflicts with C99 semantics

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

Legend:

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

    r13741 r13991  
    154154}
    155155
    156 bool inline psRegionIsNaN(psRegion region)
     156bool psRegionIsNaN(psRegion region)
    157157{
    158158    return isnan(region.x0) || isnan(region.x1) || isnan(region.y0) || isnan(region.y1);
  • trunk/psLib/src/math/psSparse.c

    r11686 r13991  
    117117}
    118118
    119 void inline psSparseVectorElement(psSparse *sparse, int i, float value)
     119void psSparseVectorElement(psSparse *sparse, int i, float value)
    120120{
    121121
  • trunk/psLib/src/math/psStats.c

    r13647 r13991  
    1313 * use ->min and ->max (PS_STAT_USE_RANGE)
    1414 *
    15  *  @version $Revision: 1.212 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2007-06-05 21:13:14 $
     15 *  @version $Revision: 1.213 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2007-06-30 00:35:38 $
    1717 *
    1818 *  Copyright 2006 IfA, University of Hawaii
     
    19641964}
    19651965
    1966 inline psStatsOptions psStatsSingleOption(psStatsOptions option)
     1966psStatsOptions psStatsSingleOption(psStatsOptions option)
    19671967{
    19681968    switch (option & ~(PS_STAT_USE_RANGE | PS_STAT_USE_BINSIZE)) {
     
    19921992}
    19931993
    1994 inline double psStatsGetValue(const psStats *stats, psStatsOptions option)
     1994double psStatsGetValue(const psStats *stats, psStatsOptions option)
    19951995{
    19961996    // We could call psStatsSingle to check, but it would be a waste since we effectively do it anyway
Note: See TracChangeset for help on using the changeset viewer.