MCPcopy Create free account
hub / github.com/Ahli/Galaxy-Observer-UI / CASC_FREE

Function CASC_FREE

tools/CascExtractor/CascExtractor/CascExtractor.cpp:175–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175template <typename T> void CASC_FREE(T*& ptr) noexcept
176{
177 if (ptr != nullptr) {
178 free(ptr);
179 ptr = nullptr;
180 }
181}
182
183// Retrieves the pointer to plain name
184template <typename XCHAR> const XCHAR* GetPlainFileName(const XCHAR* szFileName)

Callers 2

GetFileInfoFunction · 0.85
ExtractFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected