| 157 | } |
| 158 | |
| 159 | static PyObject* PyFindVariable( PyObject* self, PyObject* args ) |
| 160 | { |
| 161 | Tr2VariableStore* pThis = BluePythonCast<Tr2VariableStore*>( self ); |
| 162 | const char* name; |
| 163 | if( !PyArg_ParseTuple( args, "s", &name ) ) |
| 164 | { |
| 165 | return NULL; |
| 166 | } |
| 167 | |
| 168 | TriVariable* variable = pThis->FindVariable( name ); |
| 169 | return PyWrapVariable( variable ); |
| 170 | } |
| 171 | |
| 172 | static PyObject* PyFindLocalVariable( PyObject* self, PyObject* args ) |
| 173 | { |
nothing calls this directly
no test coverage detected