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

Function ilIsValidFitsF

DevIL/src-IL/src/il_fits.cpp:77–88  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

75
76//! Checks if the ILHANDLE contains a valid FITS file at the current position.
77ILboolean ilIsValidFitsF(ILHANDLE File)
78{
79 ILuint FirstPos;
80 ILboolean bRet;
81
82 iSetInputFile(File);
83 FirstPos = itell();
84 bRet = iIsValidFits();
85 iseek(FirstPos, IL_SEEK_SET);
86
87 return bRet;
88}
89
90
91//! Checks if Lump is a valid FITS lump.

Callers 1

ilIsValidFitsFunction · 0.85

Calls 2

iSetInputFileFunction · 0.85
iIsValidFitsFunction · 0.85

Tested by

no test coverage detected