From 9cd4eddfb41c4573d4acd4f625572c4cdff50497 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 1 Aug 2007 03:20:35 +0000 Subject: 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 --- src/libs/module/Module.cpp | 5 +++-- src/libs/module/module.cpp | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libs/module') 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(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(module); diff --git a/src/libs/module/module.cpp b/src/libs/module/module.cpp index ab73c09e..d169e546 100644 --- a/src/libs/module/module.cpp +++ b/src/libs/module/module.cpp @@ -42,7 +42,6 @@ get_world() } if (!world) { - cerr << "NEW WORLD\n" << endl; world = new World(); world->rdf_world = new Raul::RDF::World(); #ifdef HAVE_SLV2 -- cgit v1.2.1