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

Function ILAPIENTRY ilSetRead

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

Allows you to override the default file-reading functions.

Source from the content-addressed store, hash-verified

274
275//! Allows you to override the default file-reading functions.
276void ILAPIENTRY ilSetRead(fOpenRProc Open, fCloseRProc Close, fEofProc Eof, fGetcProc Getc, fReadProc Read, fSeekRProc Seek, fTellRProc Tell)
277{
278 iopenr = Open;
279 icloser = Close;
280 EofProc = Eof;
281 GetcProc = Getc;
282 ReadProc = Read;
283 SeekRProc = Seek;
284 TellRProc = Tell;
285
286 return;
287}
288
289
290//! Allows you to override the default file-writing functions.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected