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

Function ilIsValidSunF

DevIL/src-IL/src/il_sun.cpp:78–89  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

76
77//! Checks if the ILHANDLE contains a valid Sun file at the current position.
78ILboolean ilIsValidSunF(ILHANDLE File)
79{
80 ILuint FirstPos;
81 ILboolean bRet;
82
83 iSetInputFile(File);
84 FirstPos = itell();
85 bRet = iIsValidSun();
86 iseek(FirstPos, IL_SEEK_SET);
87
88 return bRet;
89}
90
91
92//! Checks if Lump is a valid Sun lump.

Callers 3

ilIsValidSunFunction · 0.85
ILAPIENTRY ilIsValidFFunction · 0.85

Calls 2

iSetInputFileFunction · 0.85
iIsValidSunFunction · 0.85

Tested by

no test coverage detected