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

Method CPluginAlgorithm

python/astra/src/PythonPluginAlgorithm.cpp:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84
85
86CPluginAlgorithm::CPluginAlgorithm(PyObject* pyclass){
87 instance = PyObject_CallObject(pyclass, NULL);
88 if(instance==NULL) logPythonError();
89}
90
91CPluginAlgorithm::~CPluginAlgorithm(){
92 if(instance!=NULL){

Callers

nothing calls this directly

Calls 1

logPythonErrorFunction · 0.85

Tested by

no test coverage detected