MCPcopy Create free account
hub / github.com/DentonW/DevIL / ILAPIENTRY iWriteFile

Function ILAPIENTRY iWriteFile

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

Source from the content-addressed store, hash-verified

685
686
687ILint ILAPIENTRY iWriteFile(const void *Buffer, ILuint Size, ILuint Number)
688{
689 ILuint NumWritten;
690 NumWritten = WriteProc(Buffer, Size, Number, FileWrite);
691 if (NumWritten != Number) {
692 ilSetError(IL_FILE_WRITE_ERROR);
693 return 0;
694 }
695 return NumWritten;
696}
697
698
699ILint ILAPIENTRY iWriteLump(const void *Buffer, ILuint Size, ILuint Number)

Callers

nothing calls this directly

Calls 1

ilSetErrorFunction · 0.85

Tested by

no test coverage detected