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

Function ilSaveMngF

DevIL/src-IL/src/il_mng.cpp:315–322  ·  view source on GitHub ↗

Writes a Mng to an already-opened file

Source from the content-addressed store, hash-verified

313
314//! Writes a Mng to an already-opened file
315ILuint ilSaveMngF(ILHANDLE File)
316{
317 ILuint Pos = itellw();
318 iSetOutputFile(File);
319 if (iSaveMngInternal() == IL_FALSE)
320 return 0; // Error occurred
321 return itellw() - Pos; // Return the number of bytes written.
322}
323
324
325//! Writes a Mng to a memory "lump"

Callers 1

ilSaveMngFunction · 0.85

Calls 2

iSetOutputFileFunction · 0.85
iSaveMngInternalFunction · 0.85

Tested by

no test coverage detected