aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/uri-map/uri-map.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 15:46:33 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 15:46:33 +0200
commit0840e50cf815349c7d380df9dff10b591b6b847d (patch)
tree88a6a54feff47acf4c6d4eb1ebce9665bbf23631 /lv2/uri-map/uri-map.h
parentd77c88289edb4998f9e10b203e2757b5359a57e5 (diff)
downloadlv2-0840e50cf815349c7d380df9dff10b591b6b847d.tar.xz
Aggressively deprecate uri-map extension
Diffstat (limited to 'lv2/uri-map/uri-map.h')
-rw-r--r--lv2/uri-map/uri-map.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lv2/uri-map/uri-map.h b/lv2/uri-map/uri-map.h
index 12d52be..5974a81 100644
--- a/lv2/uri-map/uri-map.h
+++ b/lv2/uri-map/uri-map.h
@@ -38,13 +38,18 @@
#include <stdint.h>
+#include "lv2/core/attributes.h"
+
#ifdef __cplusplus
extern "C" {
#endif
+LV2_DISABLE_DEPRECATION_WARNINGS
+
/**
Opaque pointer to host data.
*/
+LV2_DEPRECATED
typedef void* LV2_URI_Map_Callback_Data;
/**
@@ -54,6 +59,7 @@ typedef void* LV2_URI_Map_Callback_Data;
plugin's instantiate method with URI "http://lv2plug.in/ns/ext/uri-map"
and data pointed to an instance of this struct.
*/
+LV2_DEPRECATED
typedef struct {
/**
Opaque pointer to host data.
@@ -95,6 +101,8 @@ typedef struct {
const char* uri);
} LV2_URI_Map_Feature;
+LV2_RESTORE_WARNINGS
+
#ifdef __cplusplus
} /* extern "C" */
#endif