diff options
author | David Robillard <d@drobilla.net> | 2010-10-27 01:37:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-10-27 01:37:53 +0000 |
commit | 62940482c29913124fc8f499994a345f76af17b5 (patch) | |
tree | ee161b9abbed09fe174a68b2bc999b7836dfbf87 /src/engine/LV2BlobFeature.hpp | |
parent | 5177aa485f28e40e087042c2b7292fb9a94e7a3c (diff) | |
download | ingen-62940482c29913124fc8f499994a345f76af17b5.tar.gz ingen-62940482c29913124fc8f499994a345f76af17b5.tar.bz2 ingen-62940482c29913124fc8f499994a345f76af17b5.zip |
Update for new Atom extension.
Add RDF read (parse) and RDF write (serialise) plugins.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2649 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/LV2BlobFeature.hpp')
-rw-r--r-- | src/engine/LV2BlobFeature.hpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/engine/LV2BlobFeature.hpp b/src/engine/LV2BlobFeature.hpp index b071a067..8d2977c1 100644 --- a/src/engine/LV2BlobFeature.hpp +++ b/src/engine/LV2BlobFeature.hpp @@ -26,30 +26,30 @@ struct BlobFeature : public Shared::LV2Features::Feature { BlobFeature() { LV2_Blob_Support* data = (LV2_Blob_Support*)malloc(sizeof(LV2_Blob_Support)); data->data = NULL; - data->ref_size = sizeof(LV2_Blob*); - data->blob_new = &blob_new; + data->ref_size = sizeof(LV2_Blob); data->ref_get = &ref_get; data->ref_copy = &ref_copy; data->ref_reset = &ref_reset; + data->blob_new = &blob_new; _feature.URI = LV2_BLOB_SUPPORT_URI; _feature.data = data; } - static void blob_new(LV2_Blob_Support_Data data, - LV2_Atom* reference, - LV2_Blob_Destroy destroy, - uint32_t type, - size_t size) {} - - static LV2_Blob* ref_get(LV2_Blob_Support_Data data, - LV2_Atom* ref) { return 0; } + static LV2_Blob ref_get(LV2_Blob_Support_Data data, + LV2_Atom_Reference* ref) { return 0; } static void ref_copy(LV2_Blob_Support_Data data, - LV2_Atom* dst, - LV2_Atom* src) {} + LV2_Atom_Reference* dst, + LV2_Atom_Reference* src) {} static void ref_reset(LV2_Blob_Support_Data data, - LV2_Atom* ref) {} + LV2_Atom_Reference* ref) {} + + static void blob_new(LV2_Blob_Support_Data data, + LV2_Atom_Reference* reference, + LV2_Blob_Destroy destroy, + uint32_t type, + size_t size) {} SharedPtr<LV2_Feature> feature(Shared::Node*) { return SharedPtr<LV2_Feature>(&_feature, NullDeleter<LV2_Feature>); |