Changeset 2106
- Timestamp:
- 06/14/09 15:38:29 (15 months ago)
- Location:
- trunk/slv2/src
- Files:
-
- 1 added
- 2 modified
-
lv2_dyn_manifest.h (added)
-
slv2_internal.h (modified) (1 diff)
-
world.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/slv2/src/slv2_internal.h
r2105 r2106 258 258 /* ********* Dynamic Manifest ********* */ 259 259 #ifdef SLV2_DYN_MANIFEST 260 static const LV2_ Dyn_Manifest_Feature* const dman_features = { NULL };260 static const LV2_Feature* const dman_features = { NULL }; 261 261 #endif 262 262 -
trunk/slv2/src/world.c
r2105 r2106 208 208 209 209 #ifdef SLV2_DYN_MANIFEST 210 LV2_Dyn_Manifest_Handle handle = NULL; 211 const LV2_Dyn_Manifest_Feature* const features = { NULL }; 210 LV2_Dyn_Manifest_Handle handle = NULL; 212 211 213 212 const unsigned char* const query_str = (const unsigned char* const) … … 237 236 238 237 // Open dynamic manifest 239 typedef int (*OpenFunc)(LV2_Dyn_Manifest_Handle*, const LV2_ Dyn_Manifest_Feature *const *);238 typedef int (*OpenFunc)(LV2_Dyn_Manifest_Handle*, const LV2_Feature *const *); 240 239 OpenFunc open_func = (OpenFunc)dlsym(lib, "lv2_dyn_manifest_open"); 241 240 if (open_func) 242 open_func(&handle, & features);241 open_func(&handle, &dman_features); 243 242 244 243 // Get subjects (the data that would be in manifest.ttl)
