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

Method free_parameters

editor/ObjCScript.cpp:773–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

771}
772
773void tScriptName::free_parameters() {
774 for (int i = 0; i < nparms; i++) {
775 if (parameters[i]) {
776 delete[] (parameters[i]);
777 parameters[i] = NULL;
778 }
779 if (paramtypes[i]) {
780 delete[] (paramtypes[i]);
781 paramtypes[i] = NULL;
782 }
783 }
784 nparms = 0;
785}

Callers 1

AddScriptToListFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected