aboutsummaryrefslogtreecommitdiffstats
path: root/ext/atom.lv2/atom.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/atom.lv2/atom.h')
-rw-r--r--ext/atom.lv2/atom.h11
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.