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

Function ilIsValidPicF

DevIL/src-IL/src/il_pic.cpp:46–57  ·  view source on GitHub ↗

Checks if the ILHANDLE contains a valid .pic file at the current position.

Source from the content-addressed store, hash-verified

44
45//! Checks if the ILHANDLE contains a valid .pic file at the current position.
46ILboolean ilIsValidPicF(ILHANDLE File)
47{
48 ILuint FirstPos;
49 ILboolean bRet;
50
51 iSetInputFile(File);
52 FirstPos = itell();
53 bRet = iIsValidPic();
54 iseek(FirstPos, IL_SEEK_SET);
55
56 return bRet;
57}
58
59
60//! Checks if Lump is a valid .pic lump.

Callers 3

ilIsValidPicFunction · 0.85
ILAPIENTRY ilIsValidFFunction · 0.85

Calls 2

iSetInputFileFunction · 0.85
iIsValidPicFunction · 0.85

Tested by

no test coverage detected