diff options
author | David Robillard <d@drobilla.net> | 2018-06-15 09:26:17 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-30 17:58:17 -0500 |
commit | acc79c53e8c8c1ca8327c5a438cc46425ab8c8a2 (patch) | |
tree | d38139657e241d93ea291465895c9e88287df315 /src/reader.c | |
parent | 9b5c844feb67045a98fc238fef801ef8732d29a5 (diff) | |
download | serd-acc79c53e8c8c1ca8327c5a438cc46425ab8c8a2.tar.gz serd-acc79c53e8c8c1ca8327c5a438cc46425ab8c8a2.tar.bz2 serd-acc79c53e8c8c1ca8327c5a438cc46425ab8c8a2.zip |
Bring read/write interface closer to C standard
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader.c b/src/reader.c index 7d831bbe..63e45070 100644 --- a/src/reader.c +++ b/src/reader.c @@ -261,7 +261,7 @@ serd_reader_read_file(SerdReader* reader, } SerdStatus st = serd_reader_start_stream( - reader, (SerdSource)fread, (SerdStreamErrorFunc)ferror, + reader, (SerdReadFunc)fread, (SerdStreamErrorFunc)ferror, fd, path, SERD_PAGE_SIZE); if (!st) { @@ -295,7 +295,7 @@ skip_bom(SerdReader* me) SerdStatus serd_reader_start_stream(SerdReader* reader, - SerdSource read_func, + SerdReadFunc read_func, SerdStreamErrorFunc error_func, void* stream, const char* name, |