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

Function bclose

DevIL/src-IL/src/il_bits.cpp:58–69  ·  view source on GitHub ↗

Closes an open BITFILE and frees memory for it.

Source from the content-addressed store, hash-verified

56
57// Closes an open BITFILE and frees memory for it.
58ILint bclose(BITFILE *BitFile)
59{
60 if (BitFile == NULL || BitFile->File == NULL)
61 return IL_EOF;
62
63 // Removed 01-26-2008. The file will get closed later by
64 // the calling function.
65 //icloser(BitFile->File);
66 ifree(BitFile);
67
68 return 0;
69}
70
71
72// Returns the current bit position of a BITFILE.

Callers 2

iLoadWbmpInternalFunction · 0.85
BitTestFunction · 0.85

Calls

no outgoing calls

Tested by 1

BitTestFunction · 0.68