Changeset 4252
- Timestamp:
- Jun 14, 2005, 10:28:53 AM (21 years ago)
- Location:
- trunk/doc/pslib
- Files:
-
- 2 edited
-
ChangeLogSDRS.tex (modified) (2 diffs)
-
psLibSDRS.tex (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/ChangeLogSDRS.tex
r4244 r4252 1 %%% $Id: ChangeLogSDRS.tex,v 1.13 8 2005-06-14 03:07:19price Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.139 2005-06-14 20:28:53 price Exp $ 2 2 3 3 \subsection{Changes from version 00 to version 01} … … 706 706 include most psLib structures. \code{PS_META_MULTI} changed to 707 707 \code{PS_DATA_METADATA_MULTI}. 708 \item Changed some \code{char *} to \code{psString}, as appropriate. 709 Noted that metadata functions must copy strings in to a 710 \code{psMetadataItem}. 711 \end{itemize} 708 \item Added policy on \code{psPtr, psString}, Changed some \code{void 709 *} to \code{psPtr} and some \code{char *} to \code{psString}, as 710 appropriate. Noted that metadata functions must copy strings in to 711 a \code{psMetadataItem}. 712 \end{itemize} -
trunk/doc/pslib/psLibSDRS.tex
r4247 r4252 1 %%% $Id: psLibSDRS.tex,v 1.28 0 2005-06-14 03:31:44price Exp $1 %%% $Id: psLibSDRS.tex,v 1.281 2005-06-14 20:28:53 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 956 956 to pass around both the structure and a mutex, or wrap PSLib 957 957 structures in their own thread-safe structures that contain a mutex. 958 PSLib is not responsible for freeing the \code{lock} (it may not even 959 be allocated using the PSLib memory management system) --- it is 960 entirely the responsibility of the user and PSLib provides only a 961 place to hang it. 958 962 959 963 We also define the following conveniences: … … 1555 1559 const long n; ///< size of array 1556 1560 const long nalloc; ///< allocated data block 1557 void **data; ///< pointer to data block1561 psPtr *data; ///< pointer to data block 1558 1562 void *lock; ///< Optional lock for thread safety 1559 1563 }} psArray; … … 1660 1664 struct psListElem *prev; ///< previous link in list 1661 1665 struct psListElem *next; ///< next link in list 1662 void *data; ///< real data item1666 psPtr data; ///< real data item 1663 1667 } psListElem; 1664 1668 \end{datatype} … … 1866 1870 typedef struct psHashBucket { 1867 1871 char *key; ///< key for this item of data 1868 void *data; ///< the data itself1872 psPtr data; ///< the data itself 1869 1873 struct psHashBucket *next; ///< list of other possible keys 1870 1874 } psHashBucket; … … 2910 2914 } psMath; 2911 2915 \end{datatype} 2912 2913 \tbd{Why do we need this? Can't we use psMathType instead?}2914 2916 2915 2917 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% … … 3657 3659 3658 3660 \begin{prototype} 3659 void *psFitsReadTableRowRaw(size_t *size, const psFits *fits, int row);3661 psPtr psFitsReadTableRowRaw(size_t *size, const psFits *fits, int row); 3660 3662 \end{prototype} 3661 3663 This function reads a single row of the table in the extension pointed
Note:
See TracChangeset
for help on using the changeset viewer.
