diff options
author | David Robillard <d@drobilla.net> | 2011-11-21 03:11:51 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-21 03:11:51 +0000 |
commit | 02fb3fba4da00032c26e85d7ef0f767879e1f235 (patch) | |
tree | 587fb15e4a81fbdbcbf0b1e9ebad7ae815537da2 /lv2/ns | |
parent | bbc2bb312e6d9e5613d4a2342c245d6e378c2108 (diff) | |
download | lv2-02fb3fba4da00032c26e85d7ef0f767879e1f235.tar.xz |
Update urid extension.
Diffstat (limited to 'lv2/ns')
-rw-r--r-- | lv2/ns/ext/urid/manifest.ttl | 4 | ||||
-rw-r--r-- | lv2/ns/ext/urid/urid.h | 4 | ||||
-rw-r--r-- | lv2/ns/ext/urid/urid.ttl | 21 |
3 files changed, 15 insertions, 14 deletions
diff --git a/lv2/ns/ext/urid/manifest.ttl b/lv2/ns/ext/urid/manifest.ttl index c77aff6..4b23244 100644 --- a/lv2/ns/ext/urid/manifest.ttl +++ b/lv2/ns/ext/urid/manifest.ttl @@ -4,6 +4,6 @@ <http://lv2plug.in/ns/ext/urid> a lv2:Specification ; - lv2:minorVersion 0 ; - lv2:microVersion 2 ; + lv2:minorVersion 1 ; + lv2:microVersion 0 ; rdfs:seeAlso <urid.ttl> . diff --git a/lv2/ns/ext/urid/urid.h b/lv2/ns/ext/urid/urid.h index d36d0dd..22c9a66 100644 --- a/lv2/ns/ext/urid/urid.h +++ b/lv2/ns/ext/urid/urid.h @@ -23,7 +23,9 @@ #ifndef LV2_URID_H #define LV2_URID_H -#define LV2_URID_URI "http://lv2plug.in/ns/ext/urid" +#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" #include <stdint.h> diff --git a/lv2/ns/ext/urid/urid.ttl b/lv2/ns/ext/urid/urid.ttl index a87b368..6fc01e6 100644 --- a/lv2/ns/ext/urid/urid.ttl +++ b/lv2/ns/ext/urid/urid.ttl @@ -26,8 +26,8 @@ doap:name "LV2 URID" ; doap:shortdesc "Features for mapping URIs to and from integers." ; doap:release [ - doap:revision "0.2" ; - doap:created "2011-01-04" + doap:revision "1.0" ; + doap:created "2011-11-20" ] ; doap:developer [ a foaf:Person ; @@ -42,18 +42,18 @@ URIs in real time). Typically, plugins map URIs to integers for things they thread without doing any string comparison. This allows for the extensibility of RDF but with the performance of integers.</p> -<p>This extension is intended as an improved and simpler replacement for the <a -href="http://lv2plug.in/ns/ext/uri-map">uri-map</a> extension, since the -<q>map</q> context parameter has been found problematic.</p> +<p>This extension is intended as an improved and simplified replacement for the +<a href="http://lv2plug.in/ns/ext/uri-map">uri-map</a> extension, since the +<q>map</q> context parameter has been found problematic. New implementations +are strongly encouraged to use this extension for URI mapping.</p> """ . urid:map a lv2:Feature ; lv2:documentation """ <p>A feature which is used to map URIs to integers. To support this feature, -the host must pass an LV2_Feature to LV2_Descriptor::instantiate() with -<em>URI</em> <q>http://lv2plug.in/ns/ext/urid#map</q> and <em>data</em> pointed -to an instance of LV2_URID_Map.</p> +the host must pass an LV2_Feature to LV2_Descriptor::instantiate() with URI +LV2_URID_MAP_URI and data pointed to an instance of LV2_URID_Map.</p> """ . urid:unmap @@ -61,7 +61,6 @@ urid:unmap lv2:documentation """ <p>A feature which is used to unmap URIs previously mapped to integers by urid:map. To support this feature, the host must pass an LV2_Feature to -LV2_Descriptor::instantiate() with <em>URI</em> -<q>http://lv2plug.in/ns/ext/urid#unmap</q> and <em>data</em> pointed to an -instance of LV2_URID_Unmap.</p> +LV2_Descriptor::instantiate() with URI LV2_URID_UNMAP_URI and data pointed to +an instance of LV2_URID_Unmap.</p> """ . |