- uri_map.callback_data = (LV2_URI_Map_Callback_Data)this;
- uri_map.uri_to_id = uri_to_id;
- features.append(new Lv2Feature(NS_EXT "uri-map", &uri_map));
- map.handle = (void*)&uri_table;
- map.map = uri_table_map;
- features.append(new Lv2Feature(LV2_URID_MAP_URI, &map));
- unmap.handle = (void*)&uri_table;
- unmap.unmap = uri_table_unmap;
- features.append(new Lv2Feature(LV2_URID_UNMAP_URI, &unmap));
+ uri_map.handle = (LV2_URID_Map_Handle)this;
+ uri_map.map = map_uri;
+ features.append(new Lv2Feature(LV2_URID__map, &uri_map));
+ uri_unmap.handle = (LV2_URID_Unmap_Handle)this;
+ uri_unmap.unmap = unmap_uri;
+ features.append(new Lv2Feature(LV2_URID__unmap, &uri_unmap));