aboutsummaryrefslogtreecommitdiffstats
path: root/src/lv2_evbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lv2_evbuf.h')
-rw-r--r--src/lv2_evbuf.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lv2_evbuf.h b/src/lv2_evbuf.h
index 7af161d..da0713e 100644
--- a/src/lv2_evbuf.h
+++ b/src/lv2_evbuf.h
@@ -92,13 +92,18 @@ void*
lv2_evbuf_get_buffer(LV2_Evbuf* evbuf);
/**
- Reset an iterator to point to the start of @a buf.
- @return True if @a iter is valid, otherwise false (buffer is empty)
+ Return an iterator to the start of @a buf.
*/
LV2_Evbuf_Iterator
lv2_evbuf_begin(LV2_Evbuf* evbuf);
/**
+ Return an iterator to the end of @a buf.
+*/
+LV2_Evbuf_Iterator
+lv2_evbuf_end(LV2_Evbuf* evbuf);
+
+/**
Check if @a iter is valid.
@return True if @a iter is valid, otherwise false (past end of buffer)
*/