diff options
author | David Robillard <d@drobilla.net> | 2011-04-05 23:12:07 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-05 23:12:07 +0000 |
commit | bd6e5f17c38e0e0291fa40ad57a83b1009b76c08 (patch) | |
tree | 149d96a7e89719356d14c2689b6faf908e6ac090 /ext/atom.lv2/atom.h | |
parent | f738ee3d9fa250d2ffad031d05663f888df56130 (diff) | |
download | lv2-bd6e5f17c38e0e0291fa40ad57a83b1009b76c08.tar.xz |
Make atom:String a simple C string (in UTF-8), and atom:Literal a full RDF literal.
Bump version number.
Diffstat (limited to 'ext/atom.lv2/atom.h')
-rw-r--r-- | ext/atom.lv2/atom.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ext/atom.lv2/atom.h b/ext/atom.lv2/atom.h index b39844b..d3fd7cf 100644 --- a/ext/atom.lv2/atom.h +++ b/ext/atom.lv2/atom.h @@ -88,12 +88,13 @@ typedef struct _LV2_Atom { typedef LV2_Atom LV2_Atom_Reference; /** - The body of an atom:String. + The body of an atom:Literal. */ -typedef struct _LV2_Atom_String { - 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; +typedef struct _LV2_Atom_Literal { + uint32_t datatype; /**< The ID of the datatype of this literal */ + uint32_t lang; /**< The ID of the language of this literal */ + uint8_t str[]; /**< Null-terminated string data in UTF-8 encoding */ +} LV2_Atom_Literal; /** The body of an atom:Vector. |