From 5dd744e769713ab6387f473062a64efcb667b738 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 30 Jan 2012 01:59:42 +0000 Subject: Update documentation. --- lv2/ns/ext/atom/atom.h | 22 +++++++++++----------- lv2/ns/ext/atom/atom.ttl | 18 +++++++++--------- lv2/ns/ext/atom/manifest.ttl | 2 +- 3 files changed, 21 insertions(+), 21 deletions(-) (limited to 'lv2/ns/ext/atom') 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 +# Copyright 2007-2012 David Robillard # # 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: . @prefix doap: . @prefix foaf: . -@prefix lv2: . -@prefix rdf: . +@prefix lv2: . +@prefix owl: . +@prefix rdf: . @prefix rdfs: . -@prefix xsd: . -@prefix owl: . +@prefix xsd: . a lv2:Specification ; @@ -29,8 +29,8 @@ doap:license ; rdfs:seeAlso ; 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), including the terminating NULL character. The href="http://www.loc.gov/standards/iso639-2/">ISO 693-2 or ISO 693-3 language code.

-

For compatibility, a Literal MUST have either a datatype -or a lang, but never both.

+

A Literal may have a datatype OR a lang, but never +both.

For example, a Literal can be "Hello" in English:

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 @@
 
 	a lv2:Specification ;
 	lv2:minorVersion 0 ;
-	lv2:microVersion 2 ;
+	lv2:microVersion 3 ;
 	rdfs:seeAlso  .
 
-- 
cgit v1.2.1