summaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-14 22:38:29 +0000
committerDavid Robillard <d@drobilla.net>2009-06-14 22:38:29 +0000
commit7c38c56d726a1a1f8119e4e03cc9a07ef720a84d (patch)
tree52133483649c91ae782c5e934704b2b2d4285033 /src/world.c
parent03aa15ef37abb29d9d88d8b4912616247ceffa5d (diff)
downloadlilv-7c38c56d726a1a1f8119e4e03cc9a07ef720a84d.tar.gz
lilv-7c38c56d726a1a1f8119e4e03cc9a07ef720a84d.tar.bz2
lilv-7c38c56d726a1a1f8119e4e03cc9a07ef720a84d.zip
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
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c7
1 files changed, 3 insertions, 4 deletions
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 : <http://lv2plug.in/ns/lv2core#>\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*);