aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-29 20:19:59 +0000
committerDavid Robillard <d@drobilla.net>2012-08-29 20:19:59 +0000
commit69a8d9d53bbcdd7be487238bbbab7e08cd7c19af (patch)
tree28010fcc40cfb19e38ca034f58a3ee9ad85ea080
parent984ced4acc6f6b9d00e43310ac838437183bd0bd (diff)
downloadlv2-69a8d9d53bbcdd7be487238bbbab7e08cd7c19af.tar.xz
Remove atom dependency from options extension.
-rw-r--r--lv2/lv2plug.in/ns/ext/options/options.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lv2/lv2plug.in/ns/ext/options/options.h b/lv2/lv2plug.in/ns/ext/options/options.h
index 9c87378..089464a 100644
--- a/lv2/lv2plug.in/ns/ext/options/options.h
+++ b/lv2/lv2plug.in/ns/ext/options/options.h
@@ -19,7 +19,6 @@
#include <stdint.h>
-#include "lv2/lv2plug.in/ns/ext/atom/atom.h"
#include "lv2/lv2plug.in/ns/ext/urid/urid.h"
#define LV2_OPTIONS_URI "http://lv2plug.in/ns/ext/options"
@@ -41,8 +40,10 @@ extern "C" {
LV2_OPTIONS__options .
*/
typedef struct {
- LV2_URID key; /**< Key (a property URID). */
- const LV2_Atom* value; /**< Value (an atom of appropriate type). */
+ LV2_URID key; /**< Key (a property URID). */
+ uint32_t size; /**< Size of value in bytes. */
+ LV2_URID type; /**< Type of value (a datatype URID). */
+ const void* value; /**< Pointer to value. */
} LV2_Options_Option;
#ifdef __cplusplus