From e0efa719ab0872b852a1c50108b0b3ac73abb630 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 31 Jul 2007 15:38:31 +0000 Subject: First steps towards Ingen SWIG bindings. git-svn-id: http://svn.drobilla.net/lad/ingen@661 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/module/module.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/libs/module/module.cpp') diff --git a/src/libs/module/module.cpp b/src/libs/module/module.cpp index 7584ebc7..4e342670 100644 --- a/src/libs/module/module.cpp +++ b/src/libs/module/module.cpp @@ -33,8 +33,9 @@ get_world() { if (!world) { world = new World(); + world->rdf_world = new Raul::RDF::World(); #ifdef HAVE_SLV2 - world->slv2_world = slv2_world_new_using_rdf_world(world->rdf_world.world()); + world->slv2_world = slv2_world_new_using_rdf_world(world->rdf_world->world()); slv2_world_load_all(world->slv2_world); #endif } @@ -49,7 +50,7 @@ destroy_world() #ifdef HAVE_SLV2 slv2_world_free(world->slv2_world); #endif - + delete world->rdf_world; delete world; world = NULL; } -- cgit v1.2.1