Changeset 4316 for trunk/psLib/src/collections/psList.c
- Timestamp:
- Jun 17, 2005, 5:13:02 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psList.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psList.c
r4312 r4316 6 6 * @author Robert Daniel DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.3 6$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-06-18 0 0:53:32$8 * @version $Revision: 1.37 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-06-18 03:13:01 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 149 149 } 150 150 151 psListIterator* psListIteratorAlloc(psList* list, intlocation, bool mutable)151 psListIterator* psListIteratorAlloc(psList* list, long location, bool mutable) 152 152 { 153 153 psListIterator* iter = psAlloc(sizeof(psListIterator)); … … 181 181 } 182 182 183 psBool psListIteratorSet(psListIterator* iterator,184 int location)183 bool psListIteratorSet(psListIterator* iterator, 184 int location) 185 185 { 186 186 if (iterator == NULL) { … … 247 247 } 248 248 249 psBool psListAdd(psList* list, psS32location, psPtr data)249 bool psListAdd(psList* list, long location, psPtr data) 250 250 { 251 251 … … 433 433 } 434 434 435 psBool psListRemove(psList* list,436 psS32location)435 bool psListRemove(psList* list, 436 long location) 437 437 { 438 438 if (list == NULL) { … … 451 451 } 452 452 453 psBool psListRemoveData(psList* list,454 psPtr data)453 bool psListRemoveData(psList* list, 454 psPtr data) 455 455 { 456 456 if (list == NULL) { … … 485 485 } 486 486 487 psPtr psListGet(psList* list, psS32location)487 psPtr psListGet(psList* list, long location) 488 488 { 489 489 if (list == NULL) { … … 564 564 * Convert a psList to/from a psVoidPtrArray 565 565 */ 566 psArray* psListToArray( psList* restrict list)566 psArray* psListToArray(const psList* restrict list) 567 567 { 568 568 psListElem* ptr;
Note:
See TracChangeset
for help on using the changeset viewer.
