MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / DeleteMessage

Method DeleteMessage

Source/Logging/ramhandler.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void RamHandler::DeleteMessage(uint32_t index) {
42 if (row_instances[index].data != NULL) {
43 mem.Free(row_instances[index].data);
44 row_instances[index].data = NULL;
45 row_instance_count--;
46 }
47}
48
49void RamHandler::Log(LogSystem::LogType type, int row, const char* filename, const char* cat, const char* message_prefix, const char* message) {
50 log_mutex_.lock();

Callers

nothing calls this directly

Calls 1

FreeMethod · 0.45

Tested by

no test coverage detected