diff options
author | David Robillard <d@drobilla.net> | 2011-04-18 03:30:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-18 03:30:02 +0000 |
commit | 1776fe75458a11eeaa5ed0c26c6c9aa0e93f6f2c (patch) | |
tree | 16f09c2b731d2968a9b2390cf938d164d2920541 /src/engine | |
parent | ad02810bb505e823ed7222c785649f668baaa404 (diff) | |
download | ingen-1776fe75458a11eeaa5ed0c26c6c9aa0e93f6f2c.tar.gz ingen-1776fe75458a11eeaa5ed0c26c6c9aa0e93f6f2c.tar.bz2 ingen-1776fe75458a11eeaa5ed0c26c6c9aa0e93f6f2c.zip |
Saner module loading API.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3157 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/ingen_lv2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/ingen_lv2.cpp b/src/engine/ingen_lv2.cpp index 69daa7ae..c48e65fa 100644 --- a/src/engine/ingen_lv2.cpp +++ b/src/engine/ingen_lv2.cpp @@ -258,7 +258,7 @@ ingen_instantiate(const LV2_Descriptor* descriptor, IngenPlugin* plugin = (IngenPlugin*)malloc(sizeof(IngenPlugin)); plugin->world = new World(&lib.conf, lib.argc, lib.argv); - if (!plugin->world->load("ingen_serialisation")) { + if (!plugin->world->load_module("serialisation")) { delete plugin->world; return NULL; } @@ -389,7 +389,7 @@ Lib::Lib() Ingen::Shared::set_bundle_path_from_code((void*)&lv2_descriptor); Ingen::Shared::World* world = new Ingen::Shared::World(&conf, argc, argv); - if (!world->load("ingen_serialisation")) { + if (!world->load_module("serialisation")) { delete world; return; } |