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

Function ilIsValidPsdF

DevIL/src-IL/src/il_psd.cpp:68–79  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

66
67//! Checks if the ILHANDLE contains a valid Psd file at the current position.
68ILboolean ilIsValidPsdF(ILHANDLE File)
69{
70 ILuint FirstPos;
71 ILboolean bRet;
72
73 iSetInputFile(File);
74 FirstPos = itell();
75 bRet = iIsValidPsd();
76 iseek(FirstPos, IL_SEEK_SET);
77
78 return bRet;
79}
80
81
82//! Checks if Lump is a valid Psd lump.

Callers 3

ilIsValidPsdFunction · 0.85
ILAPIENTRY ilIsValidFFunction · 0.85

Calls 2

iSetInputFileFunction · 0.85
iIsValidPsdFunction · 0.85

Tested by

no test coverage detected