aboutsummaryrefslogtreecommitdiffstats
path: root/src/read_ntriples.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-02-25 16:02:00 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit74ddf7934336f16dcdce688333040d82972817fc (patch)
treef1c73da4a614dd7e7fd15762b0a772d56a341afe /src/read_ntriples.h
parent02d56e83931e53e1cde57247c64d56fda3804f77 (diff)
downloadserd-74ddf7934336f16dcdce688333040d82972817fc.tar.gz
serd-74ddf7934336f16dcdce688333040d82972817fc.tar.bz2
serd-74ddf7934336f16dcdce688333040d82972817fc.zip
Move read_IRIREF to read_ntriples.c
Bit of a weird situation this one, since the rule is from NTriples but serd doesn't actually use it in the NTriples parser (since it uses a stricter one instead). Still, I think it makes sense here, and in practice, makes for a more sensible inlining situation.
Diffstat (limited to 'src/read_ntriples.h')
-rw-r--r--src/read_ntriples.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/read_ntriples.h b/src/read_ntriples.h
index 58daae0c..23934375 100644
--- a/src/read_ntriples.h
+++ b/src/read_ntriples.h
@@ -48,12 +48,12 @@ SerdStatus
read_EOL(SerdReader* reader);
/**
- Read an IRI reference suffix into an existing node.
+ Read a complete IRI reference.
RDF 1.1 NTriples: [8] IRIREF
*/
SerdStatus
-read_IRIREF_suffix(SerdReader* reader, SerdNode* node);
+read_IRIREF(SerdReader* reader, SerdNode** dest);
/**
Read a string that is single-quoted with the given character.