MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / ChunkFile_Close

Function ChunkFile_Close

src/file.c:1009–1014  ·  view source on GitHub ↗

* Close an opened chunk file. * * @param index The index given by ChunkFile_Open() of the file. */

Source from the content-addressed store, hash-verified

1007 * @param index The index given by ChunkFile_Open() of the file.
1008 */
1009void ChunkFile_Close(uint8 index)
1010{
1011 if (index == FILE_INVALID) return;
1012
1013 File_Close(index);
1014}
1015
1016/**
1017 * Seek to the given chunk inside a chunk file.

Callers 5

Tiles_LoadICNFileFunction · 0.85
Script_LoadFromFileFunction · 0.85
GUI_Mentat_ShowHelpFunction · 0.85
FillSavegameDescFunction · 0.85

Calls 1

File_CloseFunction · 0.85

Tested by

no test coverage detected