IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 22, 2005, 3:01:00 PM (21 years ago)
Author:
Paul Price
Message:

Removed psLookupTableStatusType, added psArrayElementsFree, sizes in psArray are unsigned long

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibSDRS.tex

    r4273 r4356  
    1 %%% $Id: psLibSDRS.tex,v 1.290 2005-06-15 19:57:10 eugene Exp $
     1%%% $Id: psLibSDRS.tex,v 1.291 2005-06-23 01:01:00 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    16111611\begin{datatype}
    16121612typedef struct {
    1613     const long n;                       ///< size of array
    1614     const long nalloc;                  ///< allocated data block
     1613    const unsigned long n;              ///< size of array
     1614    const unsigned long nalloc;         ///< allocated data block
    16151615    psPtr *data;                        ///< pointer to data block
    16161616    void *lock;                         ///< Optional lock for thread safety
    1617 }} psArray;
     1617} psArray;
    16181618\end{datatype}
    16191619%
     
    16251625%
    16261626\begin{prototype}
    1627 psArray *psArrayAlloc(long nalloc);
    1628 psArray *psArrayRealloc(psArray *array, long nalloc);
     1627psArray *psArrayAlloc(unsigned long nalloc);
     1628psArray *psArrayRealloc(psArray *array, unsigned long nalloc);
    16291629\end{prototype}
    16301630%
     
    16411641\code{array} is \code{NULL}, then \code{psArrayRealloc} must return an
    16421642error.
     1643
     1644\begin{prototype}
     1645void psArrayElementsFree(psArray* array);
     1646\end{prototype}
     1647%
     1648\code{psArrayElementsFree} shall free all elements on the
     1649\code{array}.
    16431650
    16441651\begin{prototype}
     
    28702877Interpolation on a lookup table is performed by the following
    28712878functions:
    2872 \begin{datatype}
    2873 typedef enum {
    2874     PS_LOOKUP_SUCCESS,                  ///< Table lookup succeeded
    2875     PS_LOOKUP_PAST_TOP,                 ///< Lookup off top of table
    2876     PS_LOOKUP_PAST_BOTTOM,              ///< Lookup off bottom of table
    2877     PS_LOOKUP_ERROR                     ///< Any other type of lookup error
    2878 } psLookupStatusType;
    2879 \end{datatype}
    2880 
    2881 \begin{prototype}
    2882 double psLookupTableInterpolate(const psLookupTable *table, double index, long column, psLookupStatusType *status);
     2879
     2880\begin{prototype}
     2881double psLookupTableInterpolate(const psLookupTable *table, double index, long column);
    28832882psVector *psLookupTableInterpolateAll(const psLookupTable *table, double index, psVector *stats);
    28842883\end{prototype}
Note: See TracChangeset for help on using the changeset viewer.