diff options
Diffstat (limited to 'dep/CascLib/src/CascRootFile_Mndx.cpp')
-rw-r--r-- | dep/CascLib/src/CascRootFile_Mndx.cpp | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/dep/CascLib/src/CascRootFile_Mndx.cpp b/dep/CascLib/src/CascRootFile_Mndx.cpp index 1c193ea9498..20e3c86e3a6 100644 --- a/dep/CascLib/src/CascRootFile_Mndx.cpp +++ b/dep/CascLib/src/CascRootFile_Mndx.cpp @@ -91,14 +91,6 @@ typedef struct _CASC_ROOT_ENTRY_MNDX } CASC_ROOT_ENTRY_MNDX, *PCASC_ROOT_ENTRY_MNDX; //----------------------------------------------------------------------------- -// Testing functions prototypes - -#if defined(_DEBUG) && defined(_X86_) && defined(CASCLIB_TEST) -extern "C" bool _cdecl sub_1958B00_x86(TFileNameDatabase * pDB, TMndxFindResult * pStruct1C); -void TestMndxRootFile(PCASC_MNDX_INFO pMndxInfo); -#endif - -//----------------------------------------------------------------------------- // Local variables unsigned char table_1BA1818[0x800] = @@ -3345,8 +3337,9 @@ int RootHandler_CreateMNDX(TCascStorage * hs, LPBYTE pbRootFile, DWORD cbRootFil // Unit tests #if defined(_DEBUG) && defined(_X86_) && defined(CASCLIB_TEST) - +/* extern "C" { + bool _cdecl sub_1958B00_x86(TFileNameDatabase * pDB, TMndxFindResult * pStruct1C); DWORD _cdecl sub_19573D0_x86(TFileNameDatabase * pDB, DWORD arg_0, DWORD arg_4); DWORD _cdecl sub_1957EF0_x86(TFileNameDatabase * pDB, TMndxFindResult * pStruct1C); bool _cdecl sub_1959460_x86(TFileNameDatabase * pDB, TMndxFindResult * pStruct1C); @@ -3390,7 +3383,7 @@ static int sub_1956CE0_x86(TFileNameDatabasePtr * pDatabasePtr, TMndxFindResult *pbFindResult = sub_1959460_x86(pDatabasePtr->pDB, pStruct1C); return nError; } -/* + static void TestFileSearch_SubStrings(PMAR_FILE pMarFile, char * szFileName, size_t nLength) { TMndxFindResult Struct1C_1; @@ -3437,7 +3430,6 @@ static void TestFileSearch_SubStrings(PMAR_FILE pMarFile, char * szFileName, siz nLength--; } } -*/ static void TestFindPackage(PMAR_FILE pMarFile, const char * szPackageName) { @@ -3621,4 +3613,5 @@ void TestMndxRootFile(PCASC_MNDX_INFO pMndxInfo) ListFile_Free(pvListFile); } } +*/ #endif // defined(_DEBUG) && defined(_X86_) && defined(CASCLIB_TEST) |