From d80b2a1c153f81685d026f8e09c12175abed3d03 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 10 Sep 2023 13:39:56 -0400 Subject: Separate Turtle and TriG reading code --- src/reader.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/reader.h') diff --git a/src/reader.h b/src/reader.h index 0907d4cc..7bd4ff95 100644 --- a/src/reader.h +++ b/src/reader.h @@ -72,6 +72,9 @@ push_node(SerdReader* reader, const char* str, size_t length); +ZIX_PURE_FUNC int +tokcmp(const SerdNode* node, const char* tok, size_t n); + ZIX_PURE_FUNC size_t genid_length(const SerdReader* reader); @@ -87,12 +90,6 @@ set_blank_id(SerdReader* reader, SerdNode* node, size_t buf_size); SerdStatus emit_statement(SerdReader* reader, ReadContext ctx, SerdNode* o); -SerdStatus -read_n3_statement(SerdReader* reader); - -SerdStatus -read_turtleTrigDoc(SerdReader* reader); - static inline int peek_byte(SerdReader* reader) { -- cgit v1.2.1