Mercurial > hg > vampy
diff PyPlugin.cpp @ 89:f92587bedb2c
Further small tidying
author | Chris Cannam |
---|---|
date | Thu, 10 Jan 2019 15:52:21 +0000 |
parents | 146d14ab15e7 |
children |
line wrap: on
line diff
--- a/PyPlugin.cpp Thu Jan 10 15:44:39 2019 +0000 +++ b/PyPlugin.cpp Thu Jan 10 15:52:21 2019 +0000 @@ -64,9 +64,10 @@ Py_CLEAR(args); Py_CLEAR(pyInputSampleRate); cerr << "PyPlugin::PyPlugin: Failed to create Python plugin instance for key \"" - << pluginKey << "\" (is the 1-arg class constructor from sample rate correctly provided?)" << endl; + << pluginKey << "\" (is the 1-arg class constructor from sample rate correctly provided?)" << endl; throw std::string("Constructor failed"); } + Py_INCREF(m_pyInstance); Py_DECREF(args); Py_DECREF(pyInputSampleRate);