Changeset 19756 in vbox
- Timestamp:
- May 15, 2009 11:33:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/avl.h
r19567 r19756 144 144 } AVLU32NODECORE, *PAVLU32NODECORE, **PPAVLU32NODECORE; 145 145 146 /** A tree with void pointer keys. */ 147 typedef PAVLU32NODECORE AVLU32TREE; 148 /** Pointer to a tree with void pointer keys. */ 149 typedef PPAVLU32NODECORE PAVLU32TREE; 150 146 151 /** Callback function for AVLU32DoWithAll() & AVLU32Destroy(). */ 147 152 typedef DECLCALLBACK(int) AVLU32CALLBACK(PAVLU32NODECORE, void*); … … 153 158 * Functions. 154 159 */ 155 RTDECL(bool) RTAvlU32Insert(P PAVLU32NODECORE ppTree, PAVLU32NODECORE pNode);156 RTDECL(PAVLU32NODECORE) RTAvlU32Remove(P PAVLU32NODECORE ppTree, AVLU32KEY Key);157 RTDECL(PAVLU32NODECORE) RTAvlU32Get(P PAVLU32NODECORE ppTree, AVLU32KEY Key);158 RTDECL(PAVLU32NODECORE) RTAvlU32GetBestFit(P PAVLU32NODECORE ppTree, AVLU32KEY Key, bool fAbove);159 RTDECL(PAVLU32NODECORE) RTAvlU32RemoveBestFit(P PAVLU32NODECORE ppTree, AVLU32KEY Key, bool fAbove);160 RTDECL(int) RTAvlU32DoWithAll(P PAVLU32NODECORE ppTree, int fFromLeft, PAVLU32CALLBACK pfnCallBack, void *pvParam);161 RTDECL(int) RTAvlU32Destroy(P PAVLU32NODECORE pTree, PAVLU32CALLBACK pfnCallBack, void *pvParam);160 RTDECL(bool) RTAvlU32Insert(PAVLU32TREE pTree, PAVLU32NODECORE pNode); 161 RTDECL(PAVLU32NODECORE) RTAvlU32Remove(PAVLU32TREE pTree, AVLU32KEY Key); 162 RTDECL(PAVLU32NODECORE) RTAvlU32Get(PAVLU32TREE pTree, AVLU32KEY Key); 163 RTDECL(PAVLU32NODECORE) RTAvlU32GetBestFit(PAVLU32TREE pTree, AVLU32KEY Key, bool fAbove); 164 RTDECL(PAVLU32NODECORE) RTAvlU32RemoveBestFit(PAVLU32TREE pTree, AVLU32KEY Key, bool fAbove); 165 RTDECL(int) RTAvlU32DoWithAll(PAVLU32TREE pTree, int fFromLeft, PAVLU32CALLBACK pfnCallBack, void *pvParam); 166 RTDECL(int) RTAvlU32Destroy(PAVLU32TREE pTree, PAVLU32CALLBACK pfnCallBack, void *pvParam); 162 167 163 168 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.