diff options
author | David Robillard <d@drobilla.net> | 2020-09-30 12:11:54 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:59 +0100 |
commit | 2c5728b6671a6877317f9dfa70ec55d85caa40d7 (patch) | |
tree | 52ce882a11beaadb74db8be38bfc4138bfd23628 | |
parent | 2f41f6609a4b0f9d7b0cdac83950d04a2ba6986b (diff) | |
download | serd-2c5728b6671a6877317f9dfa70ec55d85caa40d7.tar.gz serd-2c5728b6671a6877317f9dfa70ec55d85caa40d7.tar.bz2 serd-2c5728b6671a6877317f9dfa70ec55d85caa40d7.zip |
WIP: Simply reader byte reader interface
-rw-r--r-- | src/reader.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/reader.h b/src/reader.h index df6e6387..0cc2bff6 100644 --- a/src/reader.h +++ b/src/reader.h @@ -110,15 +110,6 @@ peek_byte(SerdReader* reader) } static inline int -eat_byte(SerdReader* reader) -{ - const int c = peek_byte(reader); - const SerdStatus st = serd_byte_source_advance(reader->source); - - return st > SERD_FAILURE ? EOF : c; -} - -static inline int eat_byte_safe(SerdReader* reader, const int byte) { (void)byte; |