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

Function ilSaveRawL

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

Writes Raw to a memory "lump"

Source from the content-addressed store, hash-verified

156
157//! Writes Raw to a memory "lump"
158ILuint ilSaveRawL(void *Lump, ILuint Size)
159{
160 ILuint Pos;
161 iSetOutputLump(Lump, Size);
162 Pos = itellw();
163 if (iSaveRawInternal() == IL_FALSE)
164 return 0; // Error occurred
165 return itellw() - Pos; // Return the number of bytes written.
166}
167
168
169// Internal function used to load the raw data.

Callers 2

ilDetermineSizeFunction · 0.85
ILAPIENTRY ilSaveLFunction · 0.85

Calls 2

iSetOutputLumpFunction · 0.85
iSaveRawInternalFunction · 0.85

Tested by

no test coverage detected