Changeset 91112 in vbox for trunk/src/VBox/Main
- Timestamp:
- Sep 3, 2021 10:58:51 PM (3 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/HGCMObjects.h
r82968 r91112 31 31 typedef struct _ObjectAVLCore 32 32 { 33 AVLU LNODECORE AvlCore;33 AVLU32NODECORE AvlCore; 34 34 HGCMObject *pSelf; 35 35 } ObjectAVLCore; -
trunk/src/VBox/Main/src-client/HGCMObjects.cpp
r82968 r91112 36 36 static uint32_t volatile g_u32ClientHandleCount; 37 37 38 static PAVLU LNODECORE g_pTree;38 static PAVLU32NODECORE g_pTree; 39 39 40 40 … … 123 123 pCore->AvlCore.Key = Key; 124 124 125 bool fRC = RTAvlU LInsert(&g_pTree, &pCore->AvlCore);125 bool fRC = RTAvlU32Insert(&g_pTree, &pCore->AvlCore); 126 126 127 127 /* Could not insert a handle. */ … … 185 185 if (RT_SUCCESS(rc)) 186 186 { 187 ObjectAVLCore *pCore = (ObjectAVLCore *)RTAvlU LRemove(&g_pTree, handle);187 ObjectAVLCore *pCore = (ObjectAVLCore *)RTAvlU32Remove(&g_pTree, handle); 188 188 189 189 if (pCore) … … 220 220 if (RT_SUCCESS(rc)) 221 221 { 222 ObjectAVLCore *pCore = (ObjectAVLCore *)RTAvlU LGet(&g_pTree, handle);222 ObjectAVLCore *pCore = (ObjectAVLCore *)RTAvlU32Get(&g_pTree, handle); 223 223 224 224 Assert(!pCore || (pCore->pSelf && pCore->pSelf->Type() == enmObjType));
Note:
See TracChangeset
for help on using the changeset viewer.