aboutsummaryrefslogtreecommitdiffstats
path: root/src/byte_source.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-02-27 21:19:15 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit2d5e6aa234faeb406911ed44f56038dc73f8ff8e (patch)
treeeae09c3e3b0acc7a7ac1f1f45d0ad637d939f145 /src/byte_source.h
parentba897eee8f9a55ab31e338a036fe924bc90be5ef (diff)
downloadserd-2d5e6aa234faeb406911ed44f56038dc73f8ff8e.tar.gz
serd-2d5e6aa234faeb406911ed44f56038dc73f8ff8e.tar.bz2
serd-2d5e6aa234faeb406911ed44f56038dc73f8ff8e.zip
[WIP] Simplify block writing interface and improve error handling
Diffstat (limited to 'src/byte_source.h')
-rw-r--r--src/byte_source.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/byte_source.h b/src/byte_source.h
index 9e65ef75..dae1c88e 100644
--- a/src/byte_source.h
+++ b/src/byte_source.h
@@ -18,6 +18,7 @@
#include <stdint.h>
#include <stdio.h>
+/// The partially inlinable source interface used by the reader
typedef struct {
SerdInputStream* in; ///< Input stream to read from
size_t block_size; ///< Number of bytes to read at a time