diff options
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/reader.c b/src/reader.c index 143435c1..fa84d7d7 100644 --- a/src/reader.c +++ b/src/reader.c @@ -14,8 +14,8 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "byte_source.h" #include "reader.h" +#include "byte_source.h" #include "stack.h" #include "system.h" @@ -80,11 +80,11 @@ serd_file_read_byte(void* buf, size_t size, size_t nmemb, void* stream) } Ref -push_node_padded(SerdReader* reader, - size_t maxlen, - SerdType type, - const char* str, - size_t n_bytes) +push_node_padded(SerdReader* reader, + size_t maxlen, + SerdNodeType type, + const char* str, + size_t n_bytes) { void* mem = serd_stack_push_aligned( &reader->stack, sizeof(SerdNode) + maxlen + 1, sizeof(SerdNode)); @@ -107,7 +107,10 @@ push_node_padded(SerdReader* reader, } Ref -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); } |