From 0840e50cf815349c7d380df9dff10b591b6b847d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Sep 2018 15:46:33 +0200 Subject: Aggressively deprecate uri-map extension --- lv2/uri-map/uri-map.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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 +#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 -- cgit v1.2.1