Changeset 309 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jan 25, 2007 3:57:38 PM (18 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxGuestLib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/HGCM.cpp
r301 r309 72 72 } 73 73 74 staticDECLINLINE(int) vbglHandleHeapEnter (void)74 DECLINLINE(int) vbglHandleHeapEnter (void) 75 75 { 76 76 int rc = RTSemFastMutexRequest(g_vbgldata.mutexHGCMHandle); … … 82 82 } 83 83 84 staticDECLINLINE(void) vbglHandleHeapLeave (void)84 DECLINLINE(void) vbglHandleHeapLeave (void) 85 85 { 86 86 RTSemFastMutexRelease(g_vbgldata.mutexHGCMHandle); -
trunk/src/VBox/Additions/common/VBoxGuestLib/PhysHeap.cpp
r295 r309 156 156 157 157 158 staticDECLINLINE(void *) vbglPhysHeapBlock2Data (VBGLPHYSHEAPBLOCK *pBlock)158 DECLINLINE(void *) vbglPhysHeapBlock2Data (VBGLPHYSHEAPBLOCK *pBlock) 159 159 { 160 160 return (void *)(pBlock? (char *)pBlock + sizeof (VBGLPHYSHEAPBLOCK): NULL); 161 161 } 162 162 163 staticDECLINLINE(VBGLPHYSHEAPBLOCK *) vbglPhysHeapData2Block (void *p)163 DECLINLINE(VBGLPHYSHEAPBLOCK *) vbglPhysHeapData2Block (void *p) 164 164 { 165 165 VBGLPHYSHEAPBLOCK *pBlock = (VBGLPHYSHEAPBLOCK *)(p? (char *)p - sizeof (VBGLPHYSHEAPBLOCK): NULL); … … 171 171 } 172 172 173 staticDECLINLINE(int) vbglPhysHeapEnter (void)173 DECLINLINE(int) vbglPhysHeapEnter (void) 174 174 { 175 175 int rc = RTSemFastMutexRequest(g_vbgldata.mutexHeap); … … 181 181 } 182 182 183 staticDECLINLINE(void) vbglPhysHeapLeave (void)183 DECLINLINE(void) vbglPhysHeapLeave (void) 184 184 { 185 185 RTSemFastMutexRelease(g_vbgldata.mutexHeap);
Note:
See TracChangeset
for help on using the changeset viewer.