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

Function iIsValidPsd

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

Internal function to get the header and check it.

Source from the content-addressed store, hash-verified

105
106// Internal function to get the header and check it.
107ILboolean iIsValidPsd()
108{
109 PSDHEAD Head;
110
111 iGetPsdHead(&Head);
112 iseek(-(ILint)sizeof(PSDHEAD), IL_SEEK_CUR);
113
114 return iCheckPsd(&Head);
115}
116
117
118// Internal function used to check if the HEADER is a valid Psd header.

Callers 2

ilIsValidPsdFFunction · 0.85
ilIsValidPsdLFunction · 0.85

Calls 2

iGetPsdHeadFunction · 0.85
iCheckPsdFunction · 0.85

Tested by

no test coverage detected