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

Function ilLoadIff

DevIL/src-IL/src/il_iff.cpp:64–77  ·  view source on GitHub ↗

Reads an IFF file

Source from the content-addressed store, hash-verified

62
63//! Reads an IFF file
64ILboolean ilLoadIff(const ILstring FileName)
65{
66 ILHANDLE iffFile;
67 ILboolean ret = IL_FALSE;
68
69 iffFile = iopenr(FileName);
70 if (iffFile == NULL) {
71 ilSetError(IL_COULD_NOT_OPEN_FILE);
72 return ret;
73 }
74 ret = ilLoadIffF(iffFile);
75 icloser(iffFile);
76 return ret;
77}
78
79
80//! Reads an already-opened IFF file

Callers 2

ILAPIENTRY ilLoadFunction · 0.85
ILAPIENTRY ilLoadImageFunction · 0.85

Calls 2

ilSetErrorFunction · 0.85
ilLoadIffFFunction · 0.85

Tested by

no test coverage detected