diff options
author | David Robillard <d@drobilla.net> | 2018-12-29 19:56:13 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-31 11:37:49 -0500 |
commit | 201888d97b1382632fcd7b335c37030c8a4922d8 (patch) | |
tree | d772f34887be39d41c2f7ed00c5686fc70e399a0 /src/reader.c | |
parent | 8790f785102ffc5b205ee1ea1fc2586164a6f383 (diff) | |
download | serd-201888d97b1382632fcd7b335c37030c8a4922d8.tar.gz serd-201888d97b1382632fcd7b335c37030c8a4922d8.tar.bz2 serd-201888d97b1382632fcd7b335c37030c8a4922d8.zip |
Rename SerdType to SerdNodeType
The old name has become ambiguous with the expanded scope of serd.
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/reader.c b/src/reader.c index bc8edd52..ab6b3611 100644 --- a/src/reader.c +++ b/src/reader.c @@ -75,7 +75,7 @@ blank_id(SerdReader* reader) SerdNode* push_node_padded(SerdReader* reader, size_t maxlen, - SerdType type, const char* str, size_t n_bytes) + SerdNodeType type, const char* str, size_t n_bytes) { // Push a null byte to ensure the previous node was null terminated char* terminator = (char*)serd_stack_push(&reader->stack, 1); @@ -109,7 +109,10 @@ push_node_padded(SerdReader* reader, size_t maxlen, } SerdNode* -push_node(SerdReader* reader, SerdType type, const char* str, size_t n_bytes) +push_node(SerdReader* reader, + SerdNodeType type, + const char* str, + size_t n_bytes) { return push_node_padded(reader, n_bytes, type, str, n_bytes); } |