Mercurial > hg > vampy
diff PyExtensionModule.cpp @ 67:146d14ab15e7
Debug output: off by default, on with VAMPY_VERBOSE environment variable
author | Chris Cannam |
---|---|
date | Mon, 17 Nov 2014 10:03:44 +0000 |
parents | 5664fe298af2 |
children |
line wrap: on
line diff
--- a/PyExtensionModule.cpp Mon Nov 17 09:37:59 2014 +0000 +++ b/PyExtensionModule.cpp Mon Nov 17 10:03:44 2014 +0000 @@ -16,6 +16,7 @@ #include "PyFeatureSet.h" #include "PyParameterDescriptor.h" #include "PyOutputDescriptor.h" +#include "Debug.h" #include "vamp/vamp.h" #include "vamp-sdk/Plugin.h" @@ -250,9 +251,7 @@ Py_INCREF((PyObject*)&ParameterDescriptor_Type); if (PyModule_AddObject(module,"ParameterDescriptor",(PyObject*)&ParameterDescriptor_Type) !=0) goto failure; -#ifdef _DEBUG - cerr << "Vampy: extension module initialised." << endl; -#endif + DSTREAM << "Vampy: extension module initialised." << endl; return;