aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-10-25 20:28:28 +0000
committerDavid Robillard <d@drobilla.net>2010-10-25 20:28:28 +0000
commit97bf8024d67baa23fb5ca6da32e0e4abf64dbe15 (patch)
treeb8fd9d88c5afb06829fbcc83662bdb3e8c228691 /ext
parentc6883595c3a4a34bf1a459c3bc1fba91d27f18f8 (diff)
downloadlv2-97bf8024d67baa23fb5ca6da32e0e4abf64dbe15.tar.xz
LV2_Atom_Object => LV2_Object (consistently).
Fix string body of LV2_Atom_String.
Diffstat (limited to 'ext')
-rw-r--r--ext/atom.lv2/atom.h8
-rw-r--r--ext/atom.lv2/atom.ttl2
2 files changed, 5 insertions, 5 deletions
diff --git a/ext/atom.lv2/atom.h b/ext/atom.lv2/atom.h
index f547e80..a15000a 100644
--- a/ext/atom.lv2/atom.h
+++ b/ext/atom.lv2/atom.h
@@ -79,8 +79,8 @@ typedef LV2_Atom LV2_Atom_Reference;
/** The body of an atom:String */
typedef struct _LV2_Atom_String {
- uint32_t lang; /**< The ID of the language of this string */
- char* str; /**< Null-terminated string data in UTF-8 encoding */
+ uint32_t lang; /**< The ID of the language of this string */
+ uint8_t str[]; /**< Null-terminated string data in UTF-8 encoding */
} LV2_Atom_String;
/** The body of an atom:Vector */
@@ -97,11 +97,11 @@ typedef struct _LV2_Atom_Property {
} LV2_Atom_Property;
/** The body of an atom:Resource or atom:Blank */
-typedef struct _LV2_Atom_Object {
+typedef struct _LV2_Object {
uint32_t context; /**< ID of context graph, or 0 for the default context */
uint32_t id; /**< ID for atom:Resource or blank ID for atom:Blank */
uint8_t properties[]; /**< Sequence of LV2_Atom_Property */
-} LV2_Atom_Object;
+} LV2_Object;
/* Optional Blob Support */
diff --git a/ext/atom.lv2/atom.ttl b/ext/atom.lv2/atom.ttl
index cf048aa..186268c 100644
--- a/ext/atom.lv2/atom.ttl
+++ b/ext/atom.lv2/atom.ttl
@@ -241,7 +241,7 @@ atom:Object a rdfs:Class ;
rdfs:comment """
Abstract base class for an "Object", i.e. an <a href="#Atom">Atom</a>
with a number of <a href="#Property">properties</a>. An <a
-href="urn:struct:LV2_Atom_Object" >LV2_Atom_Object</a> is an unsigned 32-bit
+href="urn:struct:LV2_Object">LV2_Object</a> is an unsigned 32-bit
integer <code>context</code> and <code>id</code> followed by a sequence of
<a href="urn:struct:LV2_Atom_Property" >properties</a>.