diff options
author | David Robillard <d@drobilla.net> | 2010-10-25 20:28:28 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-10-25 20:28:28 +0000 |
commit | 97bf8024d67baa23fb5ca6da32e0e4abf64dbe15 (patch) | |
tree | b8fd9d88c5afb06829fbcc83662bdb3e8c228691 /ext/atom.lv2/atom.h | |
parent | c6883595c3a4a34bf1a459c3bc1fba91d27f18f8 (diff) | |
download | lv2-97bf8024d67baa23fb5ca6da32e0e4abf64dbe15.tar.xz |
LV2_Atom_Object => LV2_Object (consistently).
Fix string body of LV2_Atom_String.
Diffstat (limited to 'ext/atom.lv2/atom.h')
-rw-r--r-- | ext/atom.lv2/atom.h | 8 |
1 files changed, 4 insertions, 4 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 */ |