vbox的更動 26876 路徑 trunk/src/VBox/Devices/Graphics/HGSMI
- 時間撮記:
- 2010-2-26 下午06:21:38 (15 年 以前)
- 位置:
- trunk/src/VBox/Devices/Graphics/HGSMI
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Graphics/HGSMI/HGSMIHostHlp.cpp
r22652 r26876 72 72 } 73 73 74 HGSMILISTENTRY * hgsmiListRemoveAll (HGSMILIST *pList, HGSMILISTENTRY ** ppTail /* optional */) 75 { 76 HGSMILISTENTRY * pHead = pList->pHead; 77 if (ppTail) 78 *ppTail = pList->pTail; 79 80 hgsmiListInit (pList); 81 82 return pHead; 83 } 84 85 -
trunk/src/VBox/Devices/Graphics/HGSMI/HGSMIHostHlp.h
r22652 r26876 42 42 void hgsmiListRemove (HGSMILIST *pList, HGSMILISTENTRY *pEntry, HGSMILISTENTRY *pPrev); 43 43 44 DECLINLINE(HGSMILISTENTRY*) hgsmiListRemoveHead (HGSMILIST *pList) 45 { 46 HGSMILISTENTRY *pHead = pList->pHead; 47 if (pHead) 48 hgsmiListRemove (pList, pHead, NULL); 49 return pHead; 50 } 51 52 DECLINLINE(void) hgsmiListInit (HGSMILIST *pList) 53 { 54 pList->pHead = NULL; 55 pList->pTail = NULL; 56 } 57 58 HGSMILISTENTRY * hgsmiListRemoveAll (HGSMILIST *pList, HGSMILISTENTRY ** ppTail /* optional */); 59 44 60 45 61 #endif /* !__HGSMIHostHlp_h__*/
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器