VirtualBox

Changeset 19756 in vbox


Ignore:
Timestamp:
May 15, 2009 11:33:55 PM (16 years ago)
Author:
vboxsync
Message:

iprt/avl.h: added a AVLU32TREE type for the RTAvlU32* API.

File:
1 edited

Legend:

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

    r19567 r19756  
    144144} AVLU32NODECORE, *PAVLU32NODECORE, **PPAVLU32NODECORE;
    145145
     146/** A tree with void pointer keys. */
     147typedef PAVLU32NODECORE     AVLU32TREE;
     148/** Pointer to a tree with void pointer keys. */
     149typedef PPAVLU32NODECORE    PAVLU32TREE;
     150
    146151/** Callback function for AVLU32DoWithAll() & AVLU32Destroy(). */
    147152typedef DECLCALLBACK(int) AVLU32CALLBACK(PAVLU32NODECORE, void*);
     
    153158 * Functions.
    154159 */
    155 RTDECL(bool)            RTAvlU32Insert(PPAVLU32NODECORE ppTree, PAVLU32NODECORE pNode);
    156 RTDECL(PAVLU32NODECORE) RTAvlU32Remove(PPAVLU32NODECORE ppTree, AVLU32KEY Key);
    157 RTDECL(PAVLU32NODECORE) RTAvlU32Get(PPAVLU32NODECORE ppTree, AVLU32KEY Key);
    158 RTDECL(PAVLU32NODECORE) RTAvlU32GetBestFit(PPAVLU32NODECORE ppTree, AVLU32KEY Key, bool fAbove);
    159 RTDECL(PAVLU32NODECORE) RTAvlU32RemoveBestFit(PPAVLU32NODECORE ppTree, AVLU32KEY Key, bool fAbove);
    160 RTDECL(int)             RTAvlU32DoWithAll(PPAVLU32NODECORE ppTree, int fFromLeft, PAVLU32CALLBACK pfnCallBack, void *pvParam);
    161 RTDECL(int)             RTAvlU32Destroy(PPAVLU32NODECORE pTree, PAVLU32CALLBACK pfnCallBack, void *pvParam);
     160RTDECL(bool)            RTAvlU32Insert(PAVLU32TREE pTree, PAVLU32NODECORE pNode);
     161RTDECL(PAVLU32NODECORE) RTAvlU32Remove(PAVLU32TREE pTree, AVLU32KEY Key);
     162RTDECL(PAVLU32NODECORE) RTAvlU32Get(PAVLU32TREE pTree, AVLU32KEY Key);
     163RTDECL(PAVLU32NODECORE) RTAvlU32GetBestFit(PAVLU32TREE pTree, AVLU32KEY Key, bool fAbove);
     164RTDECL(PAVLU32NODECORE) RTAvlU32RemoveBestFit(PAVLU32TREE pTree, AVLU32KEY Key, bool fAbove);
     165RTDECL(int)             RTAvlU32DoWithAll(PAVLU32TREE pTree, int fFromLeft, PAVLU32CALLBACK pfnCallBack, void *pvParam);
     166RTDECL(int)             RTAvlU32Destroy(PAVLU32TREE pTree, PAVLU32CALLBACK pfnCallBack, void *pvParam);
    162167
    163168/** @} */
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