IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4252


Ignore:
Timestamp:
Jun 14, 2005, 10:28:53 AM (21 years ago)
Author:
Paul Price
Message:

Changed void * to psPtr

Location:
trunk/doc/pslib
Files:
2 edited

Legend:

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

    r4244 r4252  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.138 2005-06-14 03:07:19 price Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.139 2005-06-14 20:28:53 price Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    706706  include most psLib structures.  \code{PS_META_MULTI} changed to
    707707  \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.280 2005-06-14 03:31:44 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.281 2005-06-14 20:28:53 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    956956to pass around both the structure and a mutex, or wrap PSLib
    957957structures in their own thread-safe structures that contain a mutex.
     958PSLib is not responsible for freeing the \code{lock} (it may not even
     959be allocated using the PSLib memory management system) --- it is
     960entirely the responsibility of the user and PSLib provides only a
     961place to hang it.
    958962
    959963We also define the following conveniences:
     
    15551559    const long n;                       ///< size of array
    15561560    const long nalloc;                  ///< allocated data block
    1557     void **data;                        ///< pointer to data block
     1561    psPtr *data;                        ///< pointer to data block
    15581562    void *lock;                         ///< Optional lock for thread safety
    15591563}} psArray;
     
    16601664   struct psListElem *prev;            ///< previous link in list
    16611665   struct psListElem *next;            ///< next link in list
    1662    void *data;                         ///< real data item
     1666   psPtr data;                         ///< real data item
    16631667} psListElem;
    16641668\end{datatype}
     
    18661870typedef struct psHashBucket {
    18671871    char *key;                          ///< key for this item of data
    1868     void *data;                         ///< the data itself
     1872    psPtr data;                         ///< the data itself
    18691873    struct psHashBucket *next;          ///< list of other possible keys
    18701874} psHashBucket;
     
    29102914} psMath;
    29112915\end{datatype}
    2912 
    2913 \tbd{Why do we need this?  Can't we use psMathType instead?}
    29142916
    29152917%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     
    36573659
    36583660\begin{prototype}
    3659 void *psFitsReadTableRowRaw(size_t *size, const psFits *fits, int row);
     3661psPtr psFitsReadTableRowRaw(size_t *size, const psFits *fits, int row);
    36603662\end{prototype}
    36613663This function reads a single row of the table in the extension pointed
Note: See TracChangeset for help on using the changeset viewer.