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

Function ilSaveRawF

DevIL/src-IL/src/il_raw.cpp:146–154  ·  view source on GitHub ↗

Writes Raw to an already-opened file

Source from the content-addressed store, hash-verified

144
145//! Writes Raw to an already-opened file
146ILuint ilSaveRawF(ILHANDLE File)
147{
148 ILuint Pos;
149 iSetOutputFile(File);
150 Pos = itellw();
151 if (iSaveRawInternal() == IL_FALSE)
152 return 0; // Error occurred
153 return itellw() - Pos; // Return the number of bytes written.
154}
155
156
157//! Writes Raw to a memory "lump"

Callers 2

ilSaveRawFunction · 0.85
ILAPIENTRY ilSaveFFunction · 0.85

Calls 2

iSetOutputFileFunction · 0.85
iSaveRawInternalFunction · 0.85

Tested by

no test coverage detected