Changeset 4356
- Timestamp:
- Jun 22, 2005, 3:01:00 PM (21 years ago)
- Location:
- trunk/doc/pslib
- Files:
-
- 2 edited
-
ChangeLogSDRS.tex (modified) (2 diffs)
-
psLibSDRS.tex (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/ChangeLogSDRS.tex
r4273 r4356 1 %%% $Id: ChangeLogSDRS.tex,v 1.14 7 2005-06-15 19:57:10 eugene Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.148 2005-06-23 01:01:00 price Exp $ 2 2 3 3 \subsection{Changes from version 00 to version 01} … … 729 729 \item added psLogGetLevel 730 730 \end{itemize} 731 732 \subsection{Changes from Revision 15 (15 June 2005) to Revision 16 (present)} 733 734 \begin{itemize} 735 \item Removed \code{psLookupTableStatusType} (see bugs 304, 454). 736 \item Added \code{psArrayElementsFree} (already implemented). 737 \item Sizes in \code{psArray} are \code{unsigned long}. 738 \end{itemize} -
trunk/doc/pslib/psLibSDRS.tex
r4273 r4356 1 %%% $Id: psLibSDRS.tex,v 1.29 0 2005-06-15 19:57:10 eugene Exp $1 %%% $Id: psLibSDRS.tex,v 1.291 2005-06-23 01:01:00 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 1611 1611 \begin{datatype} 1612 1612 typedef struct { 1613 const long n;///< size of array1614 const long nalloc;///< allocated data block1613 const unsigned long n; ///< size of array 1614 const unsigned long nalloc; ///< allocated data block 1615 1615 psPtr *data; ///< pointer to data block 1616 1616 void *lock; ///< Optional lock for thread safety 1617 } }psArray;1617 } psArray; 1618 1618 \end{datatype} 1619 1619 % … … 1625 1625 % 1626 1626 \begin{prototype} 1627 psArray *psArrayAlloc( long nalloc);1628 psArray *psArrayRealloc(psArray *array, long nalloc);1627 psArray *psArrayAlloc(unsigned long nalloc); 1628 psArray *psArrayRealloc(psArray *array, unsigned long nalloc); 1629 1629 \end{prototype} 1630 1630 % … … 1641 1641 \code{array} is \code{NULL}, then \code{psArrayRealloc} must return an 1642 1642 error. 1643 1644 \begin{prototype} 1645 void psArrayElementsFree(psArray* array); 1646 \end{prototype} 1647 % 1648 \code{psArrayElementsFree} shall free all elements on the 1649 \code{array}. 1643 1650 1644 1651 \begin{prototype} … … 2870 2877 Interpolation on a lookup table is performed by the following 2871 2878 functions: 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} 2881 double psLookupTableInterpolate(const psLookupTable *table, double index, long column); 2883 2882 psVector *psLookupTableInterpolateAll(const psLookupTable *table, double index, psVector *stats); 2884 2883 \end{prototype}
Note:
See TracChangeset
for help on using the changeset viewer.
