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

Function ilIsValidDcxF

DevIL/src-IL/src/il_dcx.cpp:44–55  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

42
43//! Checks if the ILHANDLE contains a valid .dcx file at the current position.
44ILboolean ilIsValidDcxF(ILHANDLE File)
45{
46 ILuint FirstPos;
47 ILboolean bRet;
48
49 iSetInputFile(File);
50 FirstPos = itell();
51 bRet = iIsValidDcx();
52 iseek(FirstPos, IL_SEEK_SET);
53
54 return bRet;
55}
56
57
58//! Checks if Lump is a valid .dcx lump.

Callers 1

ilIsValidDcxFunction · 0.85

Calls 2

iSetInputFileFunction · 0.85
iIsValidDcxFunction · 0.85

Tested by

no test coverage detected