MCPcopy Create free account
hub / github.com/SimVascular/SimVascular / PyUtilGetObjectType

Function PyUtilGetObjectType

Code/Source/PythonAPI/PyUtils.cxx:98–103  ·  view source on GitHub ↗

--------------------- PyUtilGetObjectType ---------------------

Source from the content-addressed store, hash-verified

96//---------------------
97//
98std::string
99PyUtilGetObjectType(PyObject* obj)
100{
101 PyTypeObject* type = obj->ob_type;
102 return std::string(type->tp_name);
103}
104
105//----------------------
106// PyUtilGetPyErrorInfo

Callers 9

PyUtilGetBoolAttrFunction · 0.85
PyUtilGetDoubleAttrFunction · 0.85
PyUtilGetIntAttrFunction · 0.85
PyUtilGetStringAttrFunction · 0.85
PyUtilGetDictListAttrFunction · 0.85
PyUtilGetStringListAttrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected