From 78d9efccbc890bf679b7df55c5776aa00260f73f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Jul 2011 15:24:29 +0000 Subject: Actually fix compilation against reference extension git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3428 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/LV2BlobFeature.hpp | 12 ++++++------ src/server/LV2Info.cpp | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/server/LV2BlobFeature.hpp b/src/server/LV2BlobFeature.hpp index 0e892219..b66a2828 100644 --- a/src/server/LV2BlobFeature.hpp +++ b/src/server/LV2BlobFeature.hpp @@ -32,22 +32,22 @@ struct BlobFeature : public Ingen::Shared::LV2Features::Feature { data->ref_copy = &ref_copy; data->ref_reset = &ref_reset; data->blob_new = &blob_new; - _feature.URI = LV2_BLOB_SUPPORT_URI; + _feature.URI = LV2_REFERENCE_BLOB_SUPPORT_URI; _feature.data = data; } static LV2_Blob ref_get(LV2_Blob_Support_Data data, - LV2_Atom_Reference* ref) { return 0; } + LV2_Reference* ref) { return 0; } static void ref_copy(LV2_Blob_Support_Data data, - LV2_Atom_Reference* dst, - LV2_Atom_Reference* src) {} + LV2_Reference* dst, + LV2_Reference* src) {} static void ref_reset(LV2_Blob_Support_Data data, - LV2_Atom_Reference* ref) {} + LV2_Reference* ref) {} static void blob_new(LV2_Blob_Support_Data data, - LV2_Atom_Reference* reference, + LV2_Reference* reference, LV2_Blob_Destroy destroy, uint32_t type, size_t size) {} diff --git a/src/server/LV2Info.cpp b/src/server/LV2Info.cpp index 796efb4c..51df1da5 100644 --- a/src/server/LV2Info.cpp +++ b/src/server/LV2Info.cpp @@ -55,7 +55,7 @@ LV2Info::LV2Info(Ingen::Shared::World* world) world->lv2_features()->add_feature(LV2_EVENT_URI, SharedPtr(new EventFeature())); - world->lv2_features()->add_feature(LV2_BLOB_SUPPORT_URI, + world->lv2_features()->add_feature(LV2_REFERENCE_BLOB_SUPPORT_URI, SharedPtr(new BlobFeature())); world->lv2_features()->add_feature(LV2_RESIZE_PORT_URI, SharedPtr(new ResizeFeature())); -- cgit v1.2.1