From 7c38c56d726a1a1f8119e4e03cc9a07ef720a84d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 14 Jun 2009 22:38:29 +0000 Subject: Add missing lv2_dyn_manifest.h. Update for dynamic manifest extension to use LV2_Feature directly. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2106 a436a847-0d15-0410-975c-d299462d15a1 --- src/world.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/world.c') diff --git a/src/world.c b/src/world.c index b99ee35..4d004d9 100644 --- a/src/world.c +++ b/src/world.c @@ -207,8 +207,7 @@ slv2_world_load_bundle(SLV2World world, SLV2Value bundle_uri) manifest_model); #ifdef SLV2_DYN_MANIFEST - LV2_Dyn_Manifest_Handle handle = NULL; - const LV2_Dyn_Manifest_Feature* const features = { NULL }; + LV2_Dyn_Manifest_Handle handle = NULL; const unsigned char* const query_str = (const unsigned char* const) "PREFIX : \n" @@ -236,10 +235,10 @@ slv2_world_load_bundle(SLV2World world, SLV2Value bundle_uri) continue; // Open dynamic manifest - typedef int (*OpenFunc)(LV2_Dyn_Manifest_Handle*, const LV2_Dyn_Manifest_Feature *const *); + typedef int (*OpenFunc)(LV2_Dyn_Manifest_Handle*, const LV2_Feature *const *); OpenFunc open_func = (OpenFunc)dlsym(lib, "lv2_dyn_manifest_open"); if (open_func) - open_func(&handle, &features); + open_func(&handle, &dman_features); // Get subjects (the data that would be in manifest.ttl) typedef int (*GetSubjectsFunc)(LV2_Dyn_Manifest_Handle, FILE*); -- cgit v1.2.1