IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2004, 3:14:52 PM (22 years ago)
Author:
desonia
Message:

added psArrayAdd function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psArray.h

    r2204 r2793  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-10-27 00:57:31 $
     14 *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2004-12-23 01:14:52 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6868psArray* psArrayRealloc(
    6969    psArray* restrict psArr,           ///< array to reallocate.
    70     psU32 nalloc                ///< Total number of elements to make available.
     70    psU32 nalloc                       ///< Total number of elements to make available.
     71);
     72
     73/** Add an element to the end the array, expanding the array storage if
     74 *  necessary.
     75 *
     76 *  @return psArray*        The array with the element added
     77 */
     78psArray* psArrayAdd(
     79    psArray* psArr,                    ///< array to operate on
     80    int delta,
     81    ///< the amount to expand array, if necessary.  If less than one, 10 will be used.
     82    psPtr data                         ///< the data pointer to add to psArray
    7183);
    7284
Note: See TracChangeset for help on using the changeset viewer.