Changeset 4076
- Timestamp:
- Jun 1, 2005, 11:34:13 AM (21 years ago)
- Location:
- trunk/doc/pslib
- Files:
-
- 2 edited
-
ChangeLogSDRS.tex (modified) (2 diffs)
-
psLibSDRS.tex (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/ChangeLogSDRS.tex
r4075 r4076 1 %%% $Id: ChangeLogSDRS.tex,v 1.11 5 2005-06-01 21:26:34jhoblitt Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.116 2005-06-01 21:34:13 jhoblitt Exp $ 2 2 3 3 \subsection{Changes from version 00 to version 01} … … 655 655 \item change \code{psVector} to store it's number of elements as an \code{unsigned long int} 656 656 \item change \code{psArray} to store it's number of elements as an \code{unsigned long int} 657 \item change \code{psList} to store it's number of elements as an \code{unsigned long int} 658 \item change \code{psListIterator} to store the number of elements on the list as an \code{unsigned long int} 659 \item change \code{psListIterator} to store it's index as an \code{long int} 660 \item change \code{psHash} to store it's number of elements as an \code{unsigned long int} 657 661 \item remove \code{lock} from \code{psList} 658 662 \end{itemize} -
trunk/doc/pslib/psLibSDRS.tex
r4074 r4076 1 %%% $Id: psLibSDRS.tex,v 1.25 0 2005-06-01 21:24:21jhoblitt Exp $1 %%% $Id: psLibSDRS.tex,v 1.251 2005-06-01 21:34:13 jhoblitt Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 1630 1630 \begin{datatype} 1631 1631 typedef struct { 1632 unsigned int n;///< number of elements on list1632 unsigned long int n; ///< number of elements on list 1633 1633 psListElem *head; ///< first element on list (may be NULL) 1634 1634 psListElem *tail; ///< last element on list (may be NULL) … … 1685 1685 psListElem *cursor; ///< The current iterator cursor 1686 1686 bool offEnd; ///< Is the iterator off the end? 1687 int index;///< Index of iterator, to assist performance1687 long int index; ///< Index of iterator, to assist performance 1688 1688 bool mutable; ///< Is it permissible to modify the list? 1689 1689 } psListIterator; … … 1703 1703 The corresponding constructor shall be: 1704 1704 \begin{prototype} 1705 psListIterator *psListIteratorAlloc(const psList *list, int location, bool mutable);1705 psListIterator *psListIteratorAlloc(const psList *list, long int location, bool mutable); 1706 1706 \end{prototype} 1707 1707 Here, \code{list} is the \code{psList} on which the iterator will … … 1731 1731 1732 1732 \begin{prototype} 1733 bool psListAdd(psList *list, int location, psPtr data);1733 bool psListAdd(psList *list, long int location, psPtr data); 1734 1734 bool psListAddAfter(psListIterator *iterator, psPtr data); 1735 1735 bool psListAddBefore(psListIterator *iterator, psPtr data); … … 1749 1749 1750 1750 \begin{prototype} 1751 psPtr psListGet(psList *list, int location);1751 psPtr psListGet(psList *list, long int location); 1752 1752 psPtr psListGetAndIncrement(psListIterator *iterator); 1753 1753 psPtr psListGetAndDecrement(psListIterator *iterator); … … 1779 1779 1780 1780 \begin{prototype} 1781 bool psListRemove(psList *list, int location)1781 bool psListRemove(psList *list, long int location) 1782 1782 bool psListRemoveData(psList *list, psPtr data); 1783 1783 \end{prototype} … … 1840 1840 \begin{datatype} 1841 1841 typedef struct { 1842 int n;///< number of buckets1842 unsigned long int n; ///< number of buckets 1843 1843 psHashBucket **buckets; ///< the buckets themselves 1844 1844 } psHash; … … 1862 1862 A hash table is created with the following function: 1863 1863 \begin{prototype} 1864 psHash *psHashAlloc( psU32nalloc);1864 psHash *psHashAlloc(unsigned long int nalloc); 1865 1865 \end{prototype} 1866 1866 which allocates the space for the hash table, creating and
Note:
See TracChangeset
for help on using the changeset viewer.
