- 時間撮記:
- 2011-6-14 下午09:15:32 (14 年 以前)
- svn:sync-xref-src-repo-rev:
- 72267
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/HostServices/SharedClipboard/service.cpp
r37455 r37458 144 144 #ifdef UNIT_TEST 145 145 /** Testing interface, getter for clipboard mode */ 146 uint32_t testClipSvcGetMode(void)146 uint32_t TestClipSvcGetMode(void) 147 147 { 148 148 return vboxSvcClipboardMode(); … … 743 743 } 744 744 745 #ifdef UNIT_TEST 746 static int testSSMStubRC(void) { AssertFailedReturn(VERR_WRONG_ORDER); } 747 static uint32_t testSSMStubU32(void) { AssertFailedReturn(0); } 748 # define SSMR3PutU32(pSSM, u32) testSSMStubRC() 749 # define SSMR3PutStructEx(pSSM, pvStruct, cbStruct, fFlags, paFields, pvUser) \ 750 testSSMStubRC() 751 # define SSMR3GetU32(pSSM, pu32) ( *(pu32) = 0, testSSMStubRC() ) 752 # define SSMR3HandleHostBits(pSSM) testSSMStubU32() 753 # define SSMR3GetStructEx(pSSM, pvStruct, cbStruct, fFlags, paFields, pvUser) \ 754 testSSMStubRC() 755 #endif 756 745 757 /** 746 758 * SSM descriptor table for the VBOXCLIPBOARDCLIENTDATA structure. … … 907 919 } 908 920 921 #ifdef UNIT_TEST 922 # undef SSMR3PutU32 923 # undef SSMR3GetU32 924 # undef SSMR3HandleHostBits 925 # undef SSMR3GetStructEx 926 #endif 927 909 928 static DECLCALLBACK(int) extCallback (uint32_t u32Function, uint32_t u32Format, void *pvData, uint32_t cbData) 910 929 {
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器