| 111 | |
| 112 | |
| 113 | int |
| 114 | TclEvaluator::setExpression(const char *passedExpression) |
| 115 | { |
| 116 | if (theExpression != 0) |
| 117 | delete [] theExpression; |
| 118 | |
| 119 | int exprLen = strlen(passedExpression); |
| 120 | theExpression = new char[exprLen+1]; |
| 121 | strcpy(theExpression,passedExpression); |
| 122 | |
| 123 | return 0; |
| 124 | } |
| 125 | |
| 126 | |
| 127 | int |
no outgoing calls
no test coverage detected