aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-03-01 13:24:02 -0500
committerDavid Robillard <d@drobilla.net>2021-03-07 15:32:24 -0500
commit58890c798fbd87a2080c2fa8cc206a2631c3e558 (patch)
treeacc1eae84774a9b46cb7c021f939f7229c1a3383 /src/n3.c
parentee254d3e92900986526078bb9cbef1642a51dac1 (diff)
downloadserd-58890c798fbd87a2080c2fa8cc206a2631c3e558.tar.gz
serd-58890c798fbd87a2080c2fa8cc206a2631c3e558.tar.bz2
serd-58890c798fbd87a2080c2fa8cc206a2631c3e558.zip
Use consistent naming for function types
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/n3.c b/src/n3.c
index 4ea6adbe..4c4b9eb9 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -1091,8 +1091,8 @@ read_anon(SerdReader* reader, ReadContext ctx, bool subject, Ref* dest)
return r_err(reader, SERD_ERR_BAD_SYNTAX, "`.' inside blank\n");
}
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;
}
@@ -1432,8 +1432,8 @@ read_base(SerdReader* reader, bool sparql, 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);
@@ -1472,8 +1472,8 @@ read_prefixID(SerdReader* reader, bool sparql, 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));
}