aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/urid
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-11 19:55:54 +0000
committerDavid Robillard <d@drobilla.net>2012-03-11 19:55:54 +0000
commite5600d750ffd32b3f5760616a197240acdfc1f46 (patch)
tree3971c201622f903c7ad45a09e2ee01c7ad30fdf2 /lv2/lv2plug.in/ns/ext/urid
parentec9b62e83536624500b294a5de53164d7dbce073 (diff)
downloadlv2-e5600d750ffd32b3f5760616a197240acdfc1f46.tar.xz
Implement consistent URI defines in core, state, atom, urid.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/urid')
-rw-r--r--lv2/lv2plug.in/ns/ext/urid/urid.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/lv2/lv2plug.in/ns/ext/urid/urid.h b/lv2/lv2plug.in/ns/ext/urid/urid.h
index 22c9a66..edf047f 100644
--- a/lv2/lv2plug.in/ns/ext/urid/urid.h
+++ b/lv2/lv2plug.in/ns/ext/urid/urid.h
@@ -23,9 +23,15 @@
#ifndef LV2_URID_H
#define LV2_URID_H
-#define LV2_URID_URI "http://lv2plug.in/ns/ext/urid"
-#define LV2_URID_MAP_URI LV2_URID_URI "#map"
-#define LV2_URID_UNMAP_URI LV2_URID_URI "#unmap"
+#define LV2_URID_URI "http://lv2plug.in/ns/ext/urid"
+#define LV2_URID_PREFIX LV2_URID_URI "#"
+
+#define LV2_URID__map LV2_URID_PREFIX "map"
+#define LV2_URID__unmap LV2_URID_PREFIX "unmap"
+
+/* Legacy defines */
+#define LV2_URID_MAP_URI LV2_URID__map
+#define LV2_URID_UNMAP_URI LV2_URID__unmap
#include <stdint.h>