MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / FreeFile

Method FreeFile

Source/Runtime/Private/IO/FileSystem.cpp:800–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

798}
799
800void FileSystem::FreeFile(void *buffer) const {
801 if (!buffer) {
802 BE_FATALERROR("FileSystem::FreeFile: nullptr pointer");
803 return;
804 }
805
806 Mem_Free(buffer);
807}
808
809void FileSystem::WriteFile(const char *filename, const void *buffer, int size) {
810 if (!filename || !buffer) {

Callers 15

ReadDictMethod · 0.80
ChangeScriptMethod · 0.80
LoadBinaryAnimMethod · 0.80
LoadMethod · 0.80
PurgeMethod · 0.80
LoadMethod · 0.80
LoadBinaryMeshMethod · 0.80
LoadMethod · 0.80
LoadMethod · 0.80
LoadMethod · 0.80
LoadMethod · 0.80

Calls 1

Mem_FreeFunction · 0.85

Tested by

no test coverage detected