diff pyvamp-main.cpp @ 29:e80caada79a8

* Remove nonportable and unnecessary opendir features test (originally inherited from the Vamp SDK's implementation of a similar plugin lookup, but it's been gone from the SDK for ages now) * Comment out some excessive debug output
author cannam
date Tue, 22 Sep 2009 15:20:44 +0000
parents ba3686eb697c
children
line wrap: on
line diff
--- a/pyvamp-main.cpp	Tue Aug 25 08:49:22 2009 +0000
+++ b/pyvamp-main.cpp	Tue Sep 22 15:20:44 2009 +0000
@@ -72,21 +72,21 @@
 
 static bool tryPreload(string name)
 {
-    cerr << "Trying to load Python interpreter library \"" << name << "\"...";
+//    cerr << "Trying to load Python interpreter library \"" << name << "\"...";
 #ifdef _WIN32
     void *lib = LoadLibrary(name.c_str());
     if (!lib) {
-        cerr << " failed" << endl;
+//        cerr << " failed" << endl;
         return false;
     }
 #else
     void *lib = dlopen(name.c_str(), RTLD_NOW | RTLD_GLOBAL);
     if (!lib) {
-        cerr << " failed" << endl;
+//        cerr << " failed" << endl;
         return false;
     }
 #endif
-    cerr << " succeeded" << endl;
+//    cerr << " succeeded" << endl;
     return true;
 }