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

Function PyRepr

trinity/TriSettings_Blue.cpp:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45#if BLUE_WITH_PYTHON
46PyObject* PyRepr( PyObject* self, PyObject* args )
47{
48 TriSettings* pThis = BluePythonCast<TriSettings*>( self );
49 // the cast above will always succeed
50
51 std::string repr = pThis->GetReprString();
52 return ToPython( repr.c_str() );
53}
54
55static PyObject* PyGetValue( PyObject* self, PyObject* args )
56{

Callers

nothing calls this directly

Calls 2

ToPythonFunction · 0.85
GetReprStringMethod · 0.80

Tested by

no test coverage detected