Changeset 53 for trunk/include/helpers/linklist.h
- Timestamp:
- Apr 2, 2001, 12:38:55 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/linklist.h
r41 r53 10 10 */ 11 11 12 /* Copyright (C) 1997-200 0Ulrich Mller.12 /* Copyright (C) 1997-2001 Ulrich Mller. 13 13 * This file is part of the "XWorkplace helpers" source package. 14 14 * This is free software; you can redistribute it and/or modify … … 98 98 // changed V0.9.0 (99-10-22) [umoeller] 99 99 typedef FNSORTLIST *PFNSORTLIST; 100 101 /* 102 *@@ FOR_ALL_NODES: 103 * helper macro to iterator over all nodes in 104 * a list. 105 * 106 * Usage: 107 + 108 + PLINKLIST pll = ...; 109 + PLISTNODE pNode; 110 + 111 + FOR_ALL_NODES(pll, pNode) 112 + { 113 + PVOID pData = (PVOID)pNode->pItemData; 114 + } 115 + 116 * This really is a "for" loop, so you can "break" 117 * out of the loop. 118 * 119 *@@added V0.9.9 (2001-04-01) [umoeller] 120 */ 121 122 #define FOR_ALL_NODES(pll, pNode) for (pNode = lstQueryFirstNode(pll); (pNode); pNode = pNode->pNext) 100 123 101 124 /* ******************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.