| 170 | } |
| 171 | |
| 172 | static PyObject* PyFindLocalVariable( PyObject* self, PyObject* args ) |
| 173 | { |
| 174 | Tr2VariableStore* pThis = BluePythonCast<Tr2VariableStore*>( self ); |
| 175 | const char* name; |
| 176 | if( !PyArg_ParseTuple( args, "s", &name ) ) |
| 177 | { |
| 178 | return NULL; |
| 179 | } |
| 180 | |
| 181 | TriVariable* variable = pThis->FindLocalVariable( name ); |
| 182 | return PyWrapVariable( variable ); |
| 183 | } |
| 184 | |
| 185 | static PyObject* PyGetVariable( PyObject* self, PyObject* args ) |
| 186 | { |
nothing calls this directly
no test coverage detected