Commit 8466b4cd authored by Hanspeter Portner's avatar Hanspeter Portner

fixes for LV2 1.10.

parent 285ae3a6
......@@ -36,6 +36,10 @@
#define RDFS__range RDFS_PREFIX"range"
#define RDFS__comment RDFS_PREFIX"comment"
#ifndef LV2_PATCH__Copy
# define LV2_PATCH__Copy LV2_PATCH_PREFIX "Copy"
#endif
static const char *moony_ref [MOONY_UDATA_COUNT] = {
[MOONY_UDATA_ATOM] = "latom",
[MOONY_UDATA_FORGE] = "lforge",
......
......@@ -39,6 +39,20 @@
#define MAX_PORTS 18
#ifndef LV2_UI__protocol
# define LV2_UI__protocol LV2_UI_PREFIX "protocol"
# define LV2_UI__floatProtocol LV2_UI_PREFIX "floatProtocol"
# define LV2_UI__peakProtocol LV2_UI_PREFIX "peakProtocol"
#endif
#ifdef LV2_ATOM_TUPLE_FOREACH
# undef LV2_ATOM_TUPLE_FOREACH
# define LV2_ATOM_TUPLE_FOREACH(tuple, iter) \
for (LV2_Atom* (iter) = lv2_atom_tuple_begin(tuple); \
!lv2_atom_tuple_is_end(LV2_ATOM_BODY(tuple), (tuple)->atom.size, (iter)); \
(iter) = lv2_atom_tuple_next(iter))
#endif
typedef struct _UI UI;
typedef struct _server_t server_t;
typedef struct _client_t client_t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment