MCPcopy Create free account
hub / github.com/EasyRPG/Player / Close

Method Close

src/platform.cpp:278–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278void Platform::Directory::Close() {
279 if (*this) {
280#if defined(_WIN32)
281 FindClose(dir_handle);
282 dir_handle = nullptr;
283#elif defined(__vita__)
284 ::sceIoDclose(dir_handle);
285 dir_handle = -1;
286#else
287 ::closedir(dir_handle);
288 dir_handle = nullptr;
289#endif
290 }
291
292 valid_entry = false;
293}

Callers 2

CloseLogFileMethod · 0.45
ToFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected