Пример #1
0
// Reset io to use the default file system functions for reading data
void ILAPIENTRY il2ResetRead(ILimage* image)
{
    il2SetRead((ILimage*) image, iDefaultOpenR, iDefaultCloseR, iDefaultEof, iDefaultGetc,
               iDefaultRead, iDefaultSeek, iDefaultTell);
    return;
}
Пример #2
0
//! Allows you to override the default file-reading functions.
ILAPI void ILAPIENTRY ilSetRead(fOpenProc aOpen, fCloseProc aClose, fEofProc aEof, fGetcProc aGetc, 
	fReadProc aRead, fSeekProc aSeek, fTellProc aTell)
{
	il2SetRead(iCurImage, aOpen, aClose, aEof, aGetc, aRead, aSeek, aTell);
}