INNER CODE UNIT · C++
str
ixray-team/ixray-1.6-stcop · src/xrCore/ELocatorAPI.cpp:107
char* str = LPSTR(p_it->first);
xr_free (str);
xr_delete (p_it->second);
}
pathes.clear ();
}
BOOL CLocatorAPI::file_find(LPCSTR full_name, FS_File& f)
{
intptr_t hFile;
_FINDDATA_T sFile;
// find all files
if (-1!=(hFile=_findfirst((LPSTR)full_name, &sFile))){
f = FS_File(sFile);
_findclose (hFile);
return TRUE;
}else{
return FALSE;