Changeset 2106

Show
Ignore:
Timestamp:
06/14/09 15:38:29 (15 months ago)
Author:
drobilla
Message:

Add missing lv2_dyn_manifest.h.
Update for dynamic manifest extension to use LV2_Feature directly.

Location:
trunk/slv2/src
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/slv2/src/slv2_internal.h

    r2105 r2106  
    258258/* ********* Dynamic Manifest ********* */ 
    259259#ifdef SLV2_DYN_MANIFEST 
    260 static const LV2_Dyn_Manifest_Feature* const dman_features = { NULL }; 
     260static const LV2_Feature* const dman_features = { NULL }; 
    261261#endif 
    262262 
  • trunk/slv2/src/world.c

    r2105 r2106  
    208208 
    209209#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; 
    212211 
    213212        const unsigned char* const query_str = (const unsigned char* const) 
     
    237236 
    238237                // 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 *); 
    240239                OpenFunc open_func = (OpenFunc)dlsym(lib, "lv2_dyn_manifest_open"); 
    241240                if (open_func) 
    242                         open_func(&handle, &features); 
     241                        open_func(&handle, &dman_features); 
    243242 
    244243                // Get subjects (the data that would be in manifest.ttl)