From 1776fe75458a11eeaa5ed0c26c6c9aa0e93f6f2c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 18 Apr 2011 03:30:02 +0000 Subject: Saner module loading API. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3157 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/ingen_lv2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/engine') 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; } -- cgit v1.2.1