MCPcopy Create free account
hub / github.com/carbonengine/trinity / PyGetLocalVariable

Function PyGetLocalVariable

trinity/Tr2VariableStore_Blue.cpp:198–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198static PyObject* PyGetLocalVariable( PyObject* self, PyObject* args )
199{
200 Tr2VariableStore* pThis = BluePythonCast<Tr2VariableStore*>( self );
201 const char* name;
202 if( !PyArg_ParseTuple( args, "s", &name ) )
203 {
204 return NULL;
205 }
206
207 TriVariable* variable = pThis->GetLocalVariable( name );
208 return PyWrapVariable( variable );
209}
210
211static PyObject* PyGetVariableStore( PyObject* self, PyObject* args )
212{

Callers

nothing calls this directly

Calls 2

PyWrapVariableFunction · 0.85
GetLocalVariableMethod · 0.80

Tested by

no test coverage detected