summaryrefslogtreecommitdiffstats
path: root/src/libs/module/Module.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-08-01 03:20:35 +0000
committerDavid Robillard <d@drobilla.net>2007-08-01 03:20:35 +0000
commit9cd4eddfb41c4573d4acd4f625572c4cdff50497 (patch)
treeb9ebf2ecd19ddc5033c891edf17fae01a61ef438 /src/libs/module/Module.cpp
parent22395ab7d817dec53e2c2fff07de6d88db70492e (diff)
downloadingen-9cd4eddfb41c4573d4acd4f625572c4cdff50497.tar.gz
ingen-9cd4eddfb41c4573d4acd4f625572c4cdff50497.tar.bz2
ingen-9cd4eddfb41c4573d4acd4f625572c4cdff50497.zip
More SWIGification. Engine->Client calls/messages implemented... and segfault somewhere in Python :/ .
git-svn-id: http://svn.drobilla.net/lad/ingen@664 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/module/Module.cpp')
-rw-r--r--src/libs/module/Module.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/module/Module.cpp b/src/libs/module/Module.cpp
index e5a137e7..1c6c7788 100644
--- a/src/libs/module/Module.cpp
+++ b/src/libs/module/Module.cpp
@@ -56,7 +56,7 @@ load_module(const string& name)
string filename = Glib::Module::build_path(dir, name);
if (Glib::file_test(filename, Glib::FILE_TEST_EXISTS)) {
- module = new Glib::Module(filename);
+ module = new Glib::Module(filename, Glib::MODULE_BIND_LAZY);
if (*module) {
return SharedPtr<Glib::Module>(module);
@@ -70,7 +70,8 @@ load_module(const string& name)
// Try default directory if not found
module = new Glib::Module(
- Glib::Module::build_path(INGEN_MODULE_DIR, name));
+ Glib::Module::build_path(INGEN_MODULE_DIR, name),
+ Glib::MODULE_BIND_LAZY);
if (*module) {
return SharedPtr<Glib::Module>(module);