IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Changed void * to psPtr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.