IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 8, 2005, 3:04:01 PM (21 years ago)
Author:
desonia
Message:

added some helpful functionality to help SWIG.

File:
1 edited

Legend:

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

    r3115 r3165  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-02-03 00:54:10 $
     14 *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-02-09 01:04:01 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    126126);
    127127
     128/** Set an element in the array.  If the current element is non-NULL, the old
     129 *  element is freed.
     130 *
     131 *  @return psBool  TRUE if the element was set successfully, otherwise FALSE
     132 */
     133psBool psArraySet(
     134    psArray* in,                       ///< input array to set element in
     135    psU32 position,                    ///< the element position to set
     136    void* value                        ///< the value to set it to
     137);
     138
     139/** Get an element from the array.
     140 *
     141 *  @return void*   the element at given position.
     142 */
     143void* psArrayGet(
     144    psArray* in,                       ///< input array to get element from
     145    psU32 position                     ///< the element position to get
     146);
     147
    128148/// @}
    129149
Note: See TracChangeset for help on using the changeset viewer.