Changeset 170
- Timestamp:
- Mar 9, 2004, 2:55:27 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/src/Utils/psDlist.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/src/Utils/psDlist.h
r141 r170 29 29 * Constructors and Destructors 30 30 */ 31 psDlist *psDlist New(void *data); // initial data item; may be NULL31 psDlist *psDlistAlloc(void *data); // initial data item; may be NULL 32 32 33 void psDlist Del(psDlist *list, // list to destroy34 void (*elem Del)(void *)); // destructor for data on list33 void psDlistFree(psDlist *list, // list to destroy 34 void (*elemFree)(void *)); // destructor for data on list 35 35 36 36 /* … … 50 50 // or PS_DLIST_PREV 51 51 /* 52 * convenience functions to use psDlistGet as an iterator 53 */ 54 void psDlistSetIterator(psDlist *list, int where, int which); 55 void *psDlistGetNext(psDlist *list, int which); 56 void *psDlistGetPrev(psDlist *list, int which); 57 /* 52 58 * Conversions to/from arrays 53 59 */
Note:
See TracChangeset
for help on using the changeset viewer.
