IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4411


Ignore:
Timestamp:
Jun 28, 2005, 11:31:24 AM (21 years ago)
Author:
Paul Price
Message:

Updating psImage to use int instead of psS32

Location:
trunk/doc/pslib
Files:
2 edited

Legend:

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

    r4410 r4411  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.155 2005-06-28 21:22:27 price Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.156 2005-06-28 21:31:24 price Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    744744  \code{PS_MEM_LIMIT}.
    745745\item \code{psVector} and \code{psImage} functions \code{-Alloc},
    746   \code{-Realloc} and \code{-Recycle} changed to signed.
     746  \code{-Realloc} and \code{-Recycle} changed to signed \code{int}.
    747747\item \code{nFail} in \code{psMetadataConfigParse} is \code{unsigned}.
    748748\item \code{timeval} changed to \code{struct timeval} throughout.
  • trunk/doc/pslib/psLibSDRS.tex

    r4410 r4411  
    1 %%% $Id: psLibSDRS.tex,v 1.303 2005-06-28 21:22:27 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.304 2005-06-28 21:31:24 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    31513151typedef struct psImage {
    31523152    psMathType type;                    ///< image data type and dimension
    3153     const psS32 numCols;                ///< Number of columns in image
    3154     const psS32 numRows;                ///< Number of rows in image.
    3155     const psS32 col0;                   ///< Column position relative to parent.
    3156     const psS32 row0;                   ///< Row position relative to parent.
    3157 
     3153    const int numCols;                  ///< Number of columns in image
     3154    const int numRows;                  ///< Number of rows in image.
     3155    const int col0;                     ///< Column position relative to parent.
     3156    const int row0;                     ///< Row position relative to parent.
    31583157    union {
    31593158        psS8  **S8;                     ///< Pointers to char data
     
    32033202
    32043203\begin{prototype}
    3205 psImage *psImageAlloc(psS32 numCols, psS32 numRows, psElemType type);
     3204psImage *psImageAlloc(int numCols, int numRows, psElemType type);
    32063205\end{prototype}
    32073206Create an image of a specified \code{numCols}, \code{numRows}, and data
     
    32133212psImage* psImageRecycle(
    32143213    psImage* old,                       ///< the psImage to recycle by resizing image buffer
    3215     psS32 numCols,                      ///< the desired number of columns in image
    3216     psS32 numRows,                      ///< the desired number of rows in image
    3217     const psElemType type           ///< the desired datatype of the image
     3214    int numCols,                        ///< the desired number of columns in image
     3215    int numRows,                        ///< the desired number of rows in image
     3216    const psElemType type               ///< the desired datatype of the image
    32183217);
    32193218\end{prototype}
Note: See TracChangeset for help on using the changeset viewer.