aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/atom/atom.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-16 23:05:48 +0000
committerDavid Robillard <d@drobilla.net>2012-02-16 23:05:48 +0000
commit75d524c764a6f91aa9662040a2c218e8d2802438 (patch)
tree3f42dfa23e1c9c24de8233f40e551f89803241e4 /lv2/lv2plug.in/ns/ext/atom/atom.h
parentd3ca298da58bce97f95c7beaaea101fb7cf64c4c (diff)
downloadlv2-75d524c764a6f91aa9662040a2c218e8d2802438.tar.xz
Add atom:eventTransfer (for UIs that talk to atom event ports).
Add lv2_atom_total_size() helper. Make LV2_Atom_Literal definiton consistent with others. Rework forge API to support writing to an arbitrary sink function (e.g. ringbuffer).
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/atom/atom.h')
-rw-r--r--lv2/lv2plug.in/ns/ext/atom/atom.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/lv2/lv2plug.in/ns/ext/atom/atom.h b/lv2/lv2plug.in/ns/ext/atom/atom.h
index 5c0b3fd..fd0279c 100644
--- a/lv2/lv2plug.in/ns/ext/atom/atom.h
+++ b/lv2/lv2plug.in/ns/ext/atom/atom.h
@@ -96,16 +96,11 @@ typedef struct {
/* Contents (a null-terminated UTF-8 string) follow here. */
} LV2_Atom_String;
-/** The header of an atom:Literal body. */
+/** The complete header of an atom:Literal. */
typedef struct {
+ LV2_Atom atom; /**< Atom header. */
uint32_t datatype; /**< The ID of the datatype of this literal. */
uint32_t lang; /**< The ID of the language of this literal. */
-} LV2_Atom_Literal_Head;
-
-/** The complete header of an atom:Literal. */
-typedef struct {
- LV2_Atom atom; /**< Atom header. */
- LV2_Atom_Literal_Head literal; /**< Literal body header. */
/* Contents (a null-terminated UTF-8 string) follow here. */
} LV2_Atom_Literal;