aboutsummaryrefslogtreecommitdiffstats
path: root/src/lv2_evbuf.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-09 05:00:23 +0000
committerDavid Robillard <d@drobilla.net>2011-11-09 05:00:23 +0000
commit35290c3484b096e41b359a1351c01e4efd3570f8 (patch)
tree505e17b891ad52ff194d635f8d580dc189bc9ea0 /src/lv2_evbuf.c
parentf2a79fecab88df0b01f1d5ab3cac15de212e3a2f (diff)
downloadjalv-35290c3484b096e41b359a1351c01e4efd3570f8.tar.gz
jalv-35290c3484b096e41b359a1351c01e4efd3570f8.tar.bz2
jalv-35290c3484b096e41b359a1351c01e4efd3570f8.zip
Update for changes in LV2 SVN.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@3608 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/lv2_evbuf.c')
-rw-r--r--src/lv2_evbuf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lv2_evbuf.c b/src/lv2_evbuf.c
index 8fab7f5..6cbffe3 100644
--- a/src/lv2_evbuf.c
+++ b/src/lv2_evbuf.c
@@ -119,6 +119,14 @@ lv2_evbuf_begin(LV2_Evbuf* evbuf)
return iter;
}
+LV2_Evbuf_Iterator
+lv2_evbuf_end(LV2_Evbuf* evbuf)
+{
+ const size_t size = lv2_evbuf_get_size(evbuf);
+ const LV2_Evbuf_Iterator iter = { evbuf, lv2_atom_pad_size(size) };
+ return iter;
+}
+
bool
lv2_evbuf_is_valid(LV2_Evbuf_Iterator iter)
{