MCPcopy Create free account
hub / github.com/astra-toolbox/astra-toolbox / getInstance

Method getInstance

python/astra/src/PythonPluginAlgorithm.cpp:130–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130PyObject *CPluginAlgorithm::getInstance() const {
131 if (instance)
132 Py_INCREF(instance);
133 return instance;
134}
135
136PyObject * pyStringFromString(std::string str){
137 return PyUnicode_FromString(str.c_str());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected