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

Function iSetOutputFile

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

Tells DevIL that we're writing to a file, not a lump

Source from the content-addressed store, hash-verified

330
331// Tells DevIL that we're writing to a file, not a lump
332void iSetOutputFile(ILHANDLE File)
333{
334 // Helps with ilGetLumpPos().
335 WriteLump = NULL;
336 WriteLumpPos = 0;
337 WriteLumpSize = 0;
338
339 iputc = iPutcFile;
340 iseekw = iSeekWFile;
341 itellw = iTellWFile;
342 iwrite = iWriteFile;
343 FileWrite = File;
344}
345
346
347// This is only called by ilDetermineSize. Associates iputc, etc. with

Callers 15

ilSaveSgiFFunction · 0.85
ilSaveMngFFunction · 0.85
ilSaveTiffFFunction · 0.85
ilSaveJp2FFunction · 0.85
ilSaveRawFFunction · 0.85
ilSavePsdFFunction · 0.85
ilSaveVtfFFunction · 0.85
ilSaveDdsFFunction · 0.85
ilSaveExrFFunction · 0.85
ilSaveTargaFFunction · 0.85
ilSavePcxFFunction · 0.85
ilSaveWbmpFFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected