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

Function iIsValidPic

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

Internal function to get the header and check it.

Source from the content-addressed store, hash-verified

84
85// Internal function to get the header and check it.
86ILboolean iIsValidPic()
87{
88 PIC_HEAD Head;
89
90 if (!iGetPicHead(&Head))
91 return IL_FALSE;
92 iseek(-(ILint)sizeof(PIC_HEAD), IL_SEEK_CUR); // Go ahead and restore to previous state
93
94 return iCheckPic(&Head);
95}
96
97
98// Internal function used to check if the header is a valid .pic header.

Callers 2

ilIsValidPicFFunction · 0.85
ilIsValidPicLFunction · 0.85

Calls 2

iGetPicHeadFunction · 0.85
iCheckPicFunction · 0.85

Tested by

no test coverage detected