MCPcopy Create free account
hub / github.com/JACoders/OpenJK / FreeScript

Function FreeScript

codemp/botlib/l_script.cpp:1438–1444  ·  view source on GitHub ↗

end of the function LoadScriptMemory ============================================================================ Parameter: - Returns: - Changes Globals: - ============================================================================

Source from the content-addressed store, hash-verified

1436// Changes Globals: -
1437//============================================================================
1438void FreeScript(script_t *script)
1439{
1440#ifdef PUNCTABLE
1441 if (script->punctuationtable) FreeMemory(script->punctuationtable);
1442#endif //PUNCTABLE
1443 FreeMemory(script);
1444} //end of the function FreeScript
1445//============================================================================
1446//
1447// Parameter: -

Callers 4

PC_ReadSourceTokenFunction · 0.85
PC_DefineFromStringFunction · 0.85
FreeSourceFunction · 0.85
AAS_ParseBSPEntitiesFunction · 0.85

Calls 1

FreeMemoryFunction · 0.85

Tested by

no test coverage detected