aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
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>.