diff vampy-main.cpp @ 116:c85d26cb9dab vampy-2.3

Add debug print of Vampy release version; update CHANGELOG
author Chris Cannam
date Tue, 26 Feb 2019 14:42:15 +0000
parents 39c5f644152d
children a38d318c85a9
line wrap: on
line diff
--- a/vampy-main.cpp	Tue Feb 26 14:31:08 2019 +0000
+++ b/vampy-main.cpp	Tue Feb 26 14:42:15 2019 +0000
@@ -58,6 +58,8 @@
 #include <dlfcn.h>
 #endif
 
+#include "version.h"
+
 using std::cerr;
 using std::endl;
 using std::string;
@@ -199,9 +201,11 @@
 	return;
 
 /*HAVE_NUMPY*/
-#endif 
+#else
+	DSTREAM << "Numpy support deselected at compile time, not attempting to initialise it" << endl;
+#endif
 
-    numpyInstalled = false;
+	numpyInstalled = false;
 	arrayApiInitialised = true;
 	return;
 }
@@ -300,8 +304,10 @@
 {
 	DSTREAM << "# vampGetPluginDescriptor(" << version << "," << index << ")" << endl;
 	
-    if (version < 1) return 0;
+	if (version < 1) return 0;
 
+	DSTREAM << "# Vampy version: " << VAMPY_VERSION << endl;
+	
 	int isPythonInitialized = Py_IsInitialized();
 	DSTREAM << "# isPythonInitialized: " << isPythonInitialized << endl;
 	DSTREAM << "# haveScannedPlugins: " << haveScannedPlugins << endl;