diff PyPlugScanner.cpp @ 3:134313c59d82

* Add global mutex to PyPlugin -- all plugin method calls are strictly serialised in order to avoid problems with Python interpreter's lack of thread safety.
author cannam
date Fri, 14 Mar 2008 12:02:15 +0000
parents e20e214bdfb5
children a4c955e9a70b
line wrap: on
line diff
--- a/PyPlugScanner.cpp	Wed Mar 12 12:42:19 2008 +0000
+++ b/PyPlugScanner.cpp	Fri Mar 14 12:02:15 2008 +0000
@@ -6,7 +6,6 @@
 */
 
 
-#include "/usr/include/python/Python.h"
 #include "PyPlugScanner.h"
 
 //#include <fstream>
@@ -198,6 +197,12 @@
 
 //Return correct plugin directories as per platform
 //Code taken from vamp-sdk/PluginHostAdapter.cpp
+
+//!!! It would probably be better to actually call
+// PluginHostAdapter::getPluginPath.  That would mean this "plugin"
+// needs to link against vamp-hostsdk, but that's probably acceptable
+// as it is sort of a host as well.
+
 std::vector<std::string>
 PyPlugScanner::getAllValidPath()
 {