From 75d524c764a6f91aa9662040a2c218e8d2802438 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Feb 2012 23:05:48 +0000 Subject: 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). --- lv2/lv2plug.in/ns/ext/atom/atom.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'lv2/lv2plug.in/ns/ext/atom/atom.h') 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; -- cgit v1.2.1