MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / FreeStringTables

Function FreeStringTables

Descent3/localization.cpp:221–224  ·  view source on GitHub ↗

Deallocates all the memory used for the string tables

Source from the content-addressed store, hash-verified

219
220// Deallocates all the memory used for the string tables
221void FreeStringTables(void) {
222 DestroyStringTable(String_table, String_table_size);
223 String_table = NULL;
224}
225
226const char *GetStringFromTable(int index) {
227 if ((index < 0) || (index >= String_table_size))

Callers

nothing calls this directly

Calls 1

DestroyStringTableFunction · 0.85

Tested by

no test coverage detected