MCPcopy Create free account
hub / github.com/DentonW/DevIL / ILAPIENTRY iRestoreReadFuncs

Function ILAPIENTRY iRestoreReadFuncs

DevIL/src-IL/src/il_files.cpp:89–99  ·  view source on GitHub ↗

Restores the read functions - must be used after iPreserveReadFuncs().

Source from the content-addressed store, hash-verified

87
88// Restores the read functions - must be used after iPreserveReadFuncs().
89void ILAPIENTRY iRestoreReadFuncs()
90{
91 GetcProc = GetcProcCopy;
92 ReadProc = ReadProcCopy;
93 SeekRProc = SeekProcCopy;
94 TellRProc = TellProcCopy;
95 iopenr = iopenCopy;
96 icloser = icloseCopy;
97
98 return;
99}
100
101
102// Just preserves the current read functions and replaces

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected