MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / Clear

Method Clear

neo/game/script/Script_Program.cpp:122–133  ·  view source on GitHub ↗

================ function_t::Clear ================ */

Source from the content-addressed store, hash-verified

120================
121*/
122void function_t::Clear( void ) {
123 eventdef = NULL;
124 def = NULL;
125 type = NULL;
126 firstStatement = 0;
127 numStatements = 0;
128 parmTotal = 0;
129 locals = 0;
130 filenum = 0;
131 name.Clear();
132 parmSize.Clear();
133}
134
135/***********************************************************************
136

Callers 6

RestartMethod · 0.45
Event_SpawnMethod · 0.45
FinishCompilationMethod · 0.45
FreeDataMethod · 0.45
RestartMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected