summaryrefslogtreecommitdiffstats
path: root/src/libs/module
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-11-05 23:26:05 +0000
committerDavid Robillard <d@drobilla.net>2007-11-05 23:26:05 +0000
commit12d9d26af1d7dea30a4bee0de1fad9bc35fa48a8 (patch)
treeec77935f44e39b280e09f335d85b45f3750772f3 /src/libs/module
parent38b112ad7a31b0f0ac729cc3a0cbfcdcf8f1152c (diff)
downloadingen-12d9d26af1d7dea30a4bee0de1fad9bc35fa48a8.tar.gz
ingen-12d9d26af1d7dea30a4bee0de1fad9bc35fa48a8.tar.bz2
ingen-12d9d26af1d7dea30a4bee0de1fad9bc35fa48a8.zip
Module loading printage.
git-svn-id: http://svn.drobilla.net/lad/ingen@909 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/module')
-rw-r--r--src/libs/module/Module.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/module/Module.cpp b/src/libs/module/Module.cpp
index 1c6c7788..8f3d6e81 100644
--- a/src/libs/module/Module.cpp
+++ b/src/libs/module/Module.cpp
@@ -59,6 +59,7 @@ load_module(const string& name)
module = new Glib::Module(filename, Glib::MODULE_BIND_LAZY);
if (*module) {
+ cerr << "Loaded module \"" << name << "\" from " << filename << endl;
return SharedPtr<Glib::Module>(module);
} else {
delete module;
@@ -74,6 +75,7 @@ load_module(const string& name)
Glib::MODULE_BIND_LAZY);
if (*module) {
+ cerr << "Loaded module \"" << name << "\" from " << INGEN_MODULE_DIR << endl;
return SharedPtr<Glib::Module>(module);
} else {
cerr << "Unable to load module \"" << name << "\" (try setting INGEN_MODULE_PATH)." << endl;