MCPcopy Create free account
hub / github.com/DentonW/DevIL / iSetOutputFake

Function iSetOutputFake

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

This is only called by ilDetermineSize. Associates iputc, etc. with "fake" writing functions in il_size.c.

Source from the content-addressed store, hash-verified

347// This is only called by ilDetermineSize. Associates iputc, etc. with
348// "fake" writing functions in il_size.c.
349void iSetOutputFake(void)
350{
351 iputc = iSizePutc;
352 iseekw = iSizeSeek;
353 itellw = iSizeTell;
354 iwrite = iSizeWrite;
355 return;
356}
357
358
359// Tells DevIL that we're writing to a lump, not a file

Callers 1

ilDetermineSizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected