other stuff
| 761 | |
| 762 | // other stuff |
| 763 | void tScriptName::add_parameter(const char *type, const char *parm) { |
| 764 | ASSERT(nparms < MAX_SCRPARAMS); |
| 765 | |
| 766 | paramtypes[nparms] = new char[strlen(type) + 1]; |
| 767 | parameters[nparms] = new char[strlen(parm) + 1]; |
| 768 | strcpy(parameters[nparms], parm); |
| 769 | strcpy(paramtypes[nparms], type); |
| 770 | nparms++; |
| 771 | } |
| 772 | |
| 773 | void tScriptName::free_parameters() { |
| 774 | for (int i = 0; i < nparms; i++) { |
no outgoing calls
no test coverage detected