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

Function iIsValidSun

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

Internal function to get the header and check it.

Source from the content-addressed store, hash-verified

140
141// Internal function to get the header and check it.
142ILboolean iIsValidSun()
143{
144 SUNHEAD Head;
145
146 if (!iGetSunHead(&Head))
147 return IL_FALSE;
148 iseek(-(ILint)sizeof(SUNHEAD), IL_SEEK_CUR);
149
150 return iCheckSun(&Head);
151}
152
153
154// Reads a Sun file

Callers 2

ilIsValidSunFFunction · 0.85
ilIsValidSunLFunction · 0.85

Calls 2

iGetSunHeadFunction · 0.85
iCheckSunFunction · 0.85

Tested by

no test coverage detected