aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/ns/ext/atom
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-30 01:59:42 +0000
committerDavid Robillard <d@drobilla.net>2012-01-30 01:59:42 +0000
commit5dd744e769713ab6387f473062a64efcb667b738 (patch)
treefe04d77d8d133e3811e4528dc0520eac45a9f491 /lv2/ns/ext/atom
parentc93019b5c405a61b84a0ba85486167e6241026cc (diff)
downloadlv2-5dd744e769713ab6387f473062a64efcb667b738.tar.xz
Update documentation.
Diffstat (limited to 'lv2/ns/ext/atom')
-rw-r--r--lv2/ns/ext/atom/atom.h22
-rw-r--r--lv2/ns/ext/atom/atom.ttl18
-rw-r--r--lv2/ns/ext/atom/manifest.ttl2
3 files changed, 21 insertions, 21 deletions
diff --git a/lv2/ns/ext/atom/atom.h b/lv2/ns/ext/atom/atom.h
index 39d721c..569ab49 100644
--- a/lv2/ns/ext/atom/atom.h
+++ b/lv2/ns/ext/atom/atom.h
@@ -55,7 +55,7 @@ typedef struct {
/**
An atom:String.
- This type may safely be cast to LV2_Atom.
+ May be cast to LV2_Atom.
*/
typedef struct {
uint32_t type; /**< Type of this atom (mapped URI). */
@@ -65,7 +65,7 @@ typedef struct {
/**
An atom:Literal.
- This type may safely be cast to LV2_Atom.
+ May be cast to LV2_Atom.
*/
typedef struct {
uint32_t type; /**< Type of this atom (mapped URI). */
@@ -77,17 +77,17 @@ typedef struct {
/**
An atom:URID or atom:BlankID.
- This type may safely be cast to LV2_Atom.
+ May be cast to LV2_Atom.
*/
typedef struct {
uint32_t type; /**< Type of this atom (mapped URI). */
uint32_t size; /**< Size in bytes, not including type and size. */
uint32_t id; /**< URID (integer mapped URI) or blank node ID. */
-} LV2_Atom_ID;
+} LV2_Atom_URID;
/**
An atom:Vector.
- This type may safely be cast to LV2_Atom.
+ May be cast to LV2_Atom.
*/
typedef struct {
uint32_t type; /**< Type of this atom (mapped URI). */
@@ -108,7 +108,7 @@ typedef struct _LV2_Atom_Property {
/**
An atom:Thing (Resource, Blank, or Message).
- This type may safely be cast to LV2_Atom.
+ May be cast to LV2_Atom.
*/
typedef struct {
uint32_t type; /**< Type of this atom (mapped URI). */
@@ -130,7 +130,7 @@ typedef struct {
/**
An atom:Int32, a signed 32-bit integer.
- This type may safely be cast to LV2_Atom.
+ May be cast to LV2_Atom.
*/
typedef struct {
uint32_t type;
@@ -140,17 +140,17 @@ typedef struct {
/**
An atom:Int64, a signed 64-bit integer.
- This type may safely be cast to LV2_Atom.
+ May be cast to LV2_Atom.
*/
typedef struct {
uint32_t type;
uint32_t size;
- int64_t value;
+ int64_t value;
} LV2_Atom_Int64;
/**
An atom:Float, a 32-bit IEEE-754 floating point number.
- This type may safely be cast to LV2_Atom.
+ May be cast to LV2_Atom.
*/
typedef struct {
uint32_t type;
@@ -160,7 +160,7 @@ typedef struct {
/**
An atom:Double, a 64-bit IEEE-754 floating point number.
- This type may safely be cast to LV2_Atom.
+ May be cast to LV2_Atom.
*/
typedef struct {
uint32_t type;
diff --git a/lv2/ns/ext/atom/atom.ttl b/lv2/ns/ext/atom/atom.ttl
index 2556776..c28b610 100644
--- a/lv2/ns/ext/atom/atom.ttl
+++ b/lv2/ns/ext/atom/atom.ttl
@@ -1,5 +1,5 @@
# LV2 Atom Extension
-# Copyright 2007-2011 David Robillard <d@drobilla.net>
+# Copyright 2007-2012 David Robillard <d@drobilla.net>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
@@ -16,11 +16,11 @@
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
-@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://lv2plug.in/ns/ext/atom>
a lv2:Specification ;
@@ -29,8 +29,8 @@
doap:license <http://opensource.org/licenses/isc> ;
rdfs:seeAlso <atom-buffer.h> ;
doap:release [
- doap:revision "0.2" ;
- doap:created "2011-11-05"
+ doap:revision "0.3" ;
+ doap:created "2012-01-28"
] ;
doap:maintainer [
a foaf:Person ;
@@ -137,8 +137,8 @@ sizeof(LV2_Atom_Literal)</code>, including the terminating NULL character. The
href="http://www.loc.gov/standards/iso639-2/">ISO 693-2</a> or <a
href="http://www.loc.gov/standards/iso639-2/">ISO 693-3</a> language code.</p>
-<p>For compatibility, a Literal MUST have either a <code>datatype</code>
-or a <code>lang</code>, but never both.</p>
+<p>A Literal may have a <code>datatype</code> OR a <code>lang</code>, but never
+both.</p>
<p>For example, a Literal can be "Hello" in English:</p>
<pre class="c-code">
diff --git a/lv2/ns/ext/atom/manifest.ttl b/lv2/ns/ext/atom/manifest.ttl
index adb10e5..20c974d 100644
--- a/lv2/ns/ext/atom/manifest.ttl
+++ b/lv2/ns/ext/atom/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/ext/atom>
a lv2:Specification ;
lv2:minorVersion 0 ;
- lv2:microVersion 2 ;
+ lv2:microVersion 3 ;
rdfs:seeAlso <atom.ttl> .