IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 7, 2004, 4:18:15 PM (22 years ago)
Author:
desonia
Message:

added list<->vector conversion routines.

File:
1 edited

Legend:

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

    r886 r912  
    99 *  @author Robert Daniel DeSonia, MHPCC
    1010 *
    11  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-06-05 19:12:51 $
     11 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-06-08 02:18:15 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1616
    1717#include <pthread.h>                   // we need a mutex to make this stuff thread safe.
     18
     19#include "psVector.h"
    1820
    1921/** Special values of index into list
     
    7981/** Append to a list */
    8082psDlist* psDlistAppend(
    81     psDlist* restrict list,                      ///< list to append to (may be NULL)
     83    psDlist* restrict list,             ///< list to append to (may be NULL)
    8284    void *data                          ///< data item to add
    8385);
     
    118120
    119121/** Convert doubly-linked list to an array */
    120 #if 0
    121 psVoidPtrArray *psDlistToArray(
     122psVector* psDlistToVector(
    122123    psDlist *dlist                      ///< List to convert
    123124);
    124125
    125126/** Convert array to a doubly-linked list */
    126 psDlist *psArrayToDlist(
    127     psVoidPtrArray *arr                 ///< Array to convert
     127psDlist* psVectorToDlist(
     128    psVector* arr                       ///< vector to convert
    128129);
    129 #endif
    130130
    131131/// @} End of DataGroup Functions
Note: See TracChangeset for help on using the changeset viewer.