Changeset 4367 for trunk/psLib/src/types
- Timestamp:
- Jun 22, 2005, 5:50:29 PM (21 years ago)
- Location:
- trunk/psLib/src/types
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psArray.c
r4342 r4367 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-06-2 2 02:05:41$11 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-06-23 03:50:29 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 147 147 } 148 148 149 psArray* psArraySort(psArray* array, psComparePtrF cnfunc)149 psArray* psArraySort(psArray* array, psComparePtrFunc func) 150 150 { 151 151 if (array == NULL) { -
trunk/psLib/src/types/psArray.h
r4342 r4367 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.2 6$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-06-2 2 02:05:41$14 * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-23 03:50:29 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 123 123 psArray* psArraySort( 124 124 psArray* array, ///< input array to sort. 125 psComparePtrF cn func///< the compare function125 psComparePtrFunc func ///< the compare function 126 126 ); 127 127 -
trunk/psLib/src/types/psList.c
r4316 r4367 6 6 * @author Robert Daniel DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.3 7$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-06- 18 03:13:01$8 * @version $Revision: 1.38 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-06-23 03:50:29 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 610 610 } 611 611 612 psList* psListSort(psList* list, psComparePtrF cn compare)612 psList* psListSort(psList* list, psComparePtrFunc func) 613 613 { 614 614 psArray* arr; … … 622 622 psFree(list); 623 623 624 arr = psArraySort(arr, compare);624 arr = psArraySort(arr, func); 625 625 626 626 // convert back to linked list -
trunk/psLib/src/types/psList.h
r4330 r4367 7 7 * @ingroup LinkedList 8 8 * 9 * @version $Revision: 1.2 7$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06-2 1 03:01:37$9 * @version $Revision: 1.28 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-23 03:50:29 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 99 99 psListIterator* psListIteratorAlloc( 100 100 psList* list, ///< the psList to iterate with 101 long location, ///< the initial starting point.101 long location, ///< the initial starting point. 102 102 ///< This can be a numeric index, PS_LIST_HEAD, or PS_LIST_TAIL. 103 103 bool mutable ///< Is it permissible to modify list? … … 221 221 psList* psListSort( 222 222 psList* list, ///< the list to sort 223 psComparePtrF cn compare///< the comparison function223 psComparePtrFunc func ///< the comparison function 224 224 ); 225 225
Note:
See TracChangeset
for help on using the changeset viewer.
