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

Function ILAPIENTRY ilSetWrite

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

Allows you to override the default file-writing functions.

Source from the content-addressed store, hash-verified

289
290//! Allows you to override the default file-writing functions.
291void ILAPIENTRY ilSetWrite(fOpenRProc Open, fCloseRProc Close, fPutcProc Putc, fSeekWProc Seek, fTellWProc Tell, fWriteProc Write)
292{
293 iopenw = Open;
294 iclosew = Close;
295 PutcProc = Putc;
296 WriteProc = Write;
297 SeekWProc = Seek;
298 TellWProc = Tell;
299
300 return;
301}
302
303
304// Tells DevIL that we're reading from a file, not a lump

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected