| 183 | } |
| 184 | |
| 185 | static PyObject* PyGetVariable( PyObject* self, PyObject* args ) |
| 186 | { |
| 187 | Tr2VariableStore* pThis = BluePythonCast<Tr2VariableStore*>( self ); |
| 188 | const char* name; |
| 189 | if( !PyArg_ParseTuple( args, "s", &name ) ) |
| 190 | { |
| 191 | return NULL; |
| 192 | } |
| 193 | |
| 194 | TriVariable* variable = pThis->GetVariable( name ); |
| 195 | return PyWrapVariable( variable ); |
| 196 | } |
| 197 | |
| 198 | static PyObject* PyGetLocalVariable( PyObject* self, PyObject* args ) |
| 199 | { |
nothing calls this directly
no test coverage detected