IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 14, 2006, 4:57:12 PM (20 years ago)
Author:
drobbin
Message:

Added error handling to memory checking functions. Will hopefully avoid segfaults and abort calls now when passed in native types.

File:
1 edited

Legend:

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

    r7766 r7914  
    66*  This file contains the routines that allocate, free, and evaluate splines.
    77*
    8 *  @version $Revision: 1.149 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2006-06-30 02:20:06 $
     8*  @version $Revision: 1.150 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2006-07-15 02:57:12 $
    1010*
    1111*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    168168bool psMemCheckSpline1D(psPtr ptr)
    169169{
     170    if (!is_psType(ptr)) {
     171        return false;
     172    }
    170173    return ( psMemGetDeallocator(ptr) == (psFreeFunc)spline1DFree );
    171174}
Note: See TracChangeset for help on using the changeset viewer.