diff options
author | David Robillard <d@drobilla.net> | 2021-03-01 13:24:02 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 16:27:02 -0500 |
commit | decdceff8698471013e65cbf84ddd3f02eceebe5 (patch) | |
tree | 91e8f02d572a7e00207cf87416a84d3ff6ff208c /src/n3.c | |
parent | 41c4935f03caef37baff3d22310b90abd300fd02 (diff) | |
download | serd-decdceff8698471013e65cbf84ddd3f02eceebe5.tar.gz serd-decdceff8698471013e65cbf84ddd3f02eceebe5.tar.bz2 serd-decdceff8698471013e65cbf84ddd3f02eceebe5.zip |
Rename function types for consistency
Diffstat (limited to 'src/n3.c')
-rw-r--r-- | src/n3.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1094,8 +1094,8 @@ read_anon(SerdReader* const reader, } read_ws_star(reader); - if (reader->end_sink) { - reader->end_sink(reader->handle, deref(reader, *dest)); + if (reader->end_func) { + reader->end_func(reader->handle, deref(reader, *dest)); } *ctx.flags = old_flags; @@ -1447,8 +1447,8 @@ read_base(SerdReader* const reader, const bool sparql, const bool token) Ref uri = 0; TRY(st, read_IRIREF(reader, &uri)); - if (reader->base_sink) { - TRY(st, reader->base_sink(reader->handle, deref(reader, uri))); + if (reader->base_func) { + TRY(st, reader->base_func(reader->handle, deref(reader, uri))); } pop_node(reader, uri); @@ -1485,8 +1485,8 @@ read_prefixID(SerdReader* const reader, const bool sparql, const bool token) Ref uri = 0; TRY(st, read_IRIREF(reader, &uri)); - if (reader->prefix_sink) { - st = reader->prefix_sink( + if (reader->prefix_func) { + st = reader->prefix_func( reader->handle, deref(reader, name), deref(reader, uri)); } |