VirtualBox

Changeset 28615 in vbox


Ignore:
Timestamp:
Apr 22, 2010 8:49:59 PM (15 years ago)
Author:
vboxsync
Message:

iprt/list.h: RTListForEachReverse use the right macro, no NULLs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/list.h

    r28437 r28615  
    240240 */
    241241#define RTListForEachReverse(pList, pIterator, Type, Member) \
    242     for (pIterator = RTListNodeGetLast(pList, Type, Member); \
     242    for (pIterator = RTListNodeGetPrev(pList, Type, Member); \
    243243         !RTListNodeIsDummy(pList, pIterator, Type, Member); \
    244244         pIterator = RT_FROM_MEMBER((pIterator)->Member.pPrev, Type, Member) )
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette