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

Function ILAPIENTRY iRestoreWriteFuncs

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

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

Source from the content-addressed store, hash-verified

120
121// Restores the read functions - must be used after iPreserveReadFuncs().
122void ILAPIENTRY iRestoreWriteFuncs()
123{
124 PutcProc = PutcProcCopy;
125 SeekWProc = SeekWProcCopy;
126 TellWProc = TellWProcCopy;
127 WriteProc = WriteProcCopy;
128 iopenw = iopenwCopy;
129 iclosew = iclosewCopy;
130
131 return;
132}
133
134
135// Next 7 functions are the default read functions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected