IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3248


Ignore:
Timestamp:
Feb 16, 2005, 4:34:56 PM (21 years ago)
Author:
Paul Price
Message:

Made psMemSetDeallocator and psMemGetDeallocator public functions, and
cleaned up description.

Location:
trunk/doc/pslib
Files:
2 edited

Legend:

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

    r3235 r3248  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.69 2005-02-16 00:38:40 jhoblitt Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.70 2005-02-17 02:34:52 price Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    473473\item add limit param to psDBSelectRows()
    474474\item change psDBUpdateRows() & psDBDeleteRows() to return signed values
    475 \end{itemize}
     475\item Made \code{psMemSetDeallocator} and \code{psMemGetDeallocator}
     476  public functions, and cleaned up description.
     477\end{itemize}
  • trunk/doc/pslib/psLibSDRS.tex

    r3235 r3248  
    1 %%% $Id: psLibSDRS.tex,v 1.181 2005-02-16 00:38:40 jhoblitt Exp $
     1%%% $Id: psLibSDRS.tex,v 1.182 2005-02-17 02:34:56 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    463463
    464464\begin{verbatim}
    465 void p_psMemSetDeallocator(void* ptr, psFreeFcn freeFcn);     
    466 psFreeFcn p_psMemGetDeallocator(void* ptr);     
     465void psMemSetDeallocator(void* ptr, psFreeFcn freeFcn);     
     466psFreeFcn psMemGetDeallocator(void* ptr);     
    467467\end{verbatim}
    468468
     
    476476free function would free the data element references they may contain.
    477477
    478 The fucntion \code{p_psSetFreeFcn} is used to associated a free
    479 function to a memory block, while \code{p_psGetFreeFcn} retrieves the
    480 last free function set.  To remove a free function from a memory
    481 block, the \code{psSetFreeFcn} should be invoked with \code{NULL}.  If
    482 no free function is set, \code{p_psGetFreeFcn} shall return
    483 \code{NULL}.
     478The fucntion \code{psMemSetDeallocator} is used to associated a free
     479function to a memory block, while \code{psMemGetDeallocator} retrieves
     480the last free function set.  To remove a free function from a memory
     481block, the \code{psMemSetDeallocator} should be invoked with
     482\code{NULL}.  If no free function is set, \code{psMemGetDeallocator}
     483shall return \code{NULL}.
    484484
    485485\subsubsection{Callback Routines}
Note: See TracChangeset for help on using the changeset viewer.