Changeset 48782 in vbox
- Timestamp:
- Oct 1, 2013 2:51:16 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/list.h
r48781 r48782 307 307 #define RTListForEachCpp(pList, pIterator, Type, Member) \ 308 308 for (pIterator = RTListNodeGetNextCpp(pList, Type, Member); \ 309 !RTListNodeIsDummy (pList, pIterator, Type, Member); \309 !RTListNodeIsDummyCpp(pList, pIterator, Type, Member); \ 310 310 pIterator = RT_FROM_CPP_MEMBER((pIterator)->Member.pNext, Type, Member) ) 311 311 … … 332 332 for (pIterator = RTListNodeGetNextCpp(pList, Type, Member), \ 333 333 pIterNext = RT_FROM_CPP_MEMBER((pIterator)->Member.pNext, Type, Member); \ 334 !RTListNodeIsDummy (pList, pIterator, Type, Member); \334 !RTListNodeIsDummyCpp(pList, pIterator, Type, Member); \ 335 335 pIterator = pIterNext, \ 336 336 pIterNext = RT_FROM_CPP_MEMBER((pIterator)->Member.pNext, Type, Member) ) … … 352 352 #define RTListForEachReverseCpp(pList, pIterator, Type, Member) \ 353 353 for (pIterator = RTListNodeGetPrevCpp(pList, Type, Member); \ 354 !RTListNodeIsDummy (pList, pIterator, Type, Member); \354 !RTListNodeIsDummyCpp(pList, pIterator, Type, Member); \ 355 355 pIterator = RT_FROM_CPP_MEMBER((pIterator)->Member.pPrev, Type, Member) ) 356 356 … … 376 376 for (pIterator = RTListNodeGetPrevCpp(pList, Type, Member), \ 377 377 pIterPrev = RT_FROM_CPP_MEMBER((pIterator)->Member.pPrev, Type, Member); \ 378 !RTListNodeIsDummy (pList, pIterator, Type, Member); \378 !RTListNodeIsDummyCpp(pList, pIterator, Type, Member); \ 379 379 pIterator = pIterPrev, \ 380 380 pIterPrev = RT_FROM_CPP_MEMBER((pIterator)->Member.pPrev, Type, Member) )
Note:
See TracChangeset
for help on using the changeset viewer.