aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_read_chunk.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-14 16:05:10 +0200
committerDavid Robillard <d@drobilla.net>2022-01-13 22:59:16 -0500
commitbfece96cead96fdcdb11567f1cf031edc3f53a8b (patch)
tree228f67721acb76714dc7bea7c6de741e9f70307e /test/test_read_chunk.c
parent045c52b442a48c0ef9002539f63854eb198acadd (diff)
downloadserd-bfece96cead96fdcdb11567f1cf031edc3f53a8b.tar.gz
serd-bfece96cead96fdcdb11567f1cf031edc3f53a8b.tar.bz2
serd-bfece96cead96fdcdb11567f1cf031edc3f53a8b.zip
Merge datatype/language into node
This moves closer to the sord API, and is more convenient in most cases.
Diffstat (limited to 'test/test_read_chunk.c')
-rw-r--r--test/test_read_chunk.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/test/test_read_chunk.c b/test/test_read_chunk.c
index d97713a4..009cbd14 100644
--- a/test/test_read_chunk.c
+++ b/test/test_read_chunk.c
@@ -49,14 +49,12 @@ on_prefix(void* handle, const SerdNode* name, const SerdNode* uri)
}
static SerdStatus
-on_statement(void* handle,
- SerdStatementFlags flags,
- const SerdNode* graph,
- const SerdNode* subject,
- const SerdNode* predicate,
- const SerdNode* object,
- const SerdNode* object_datatype,
- const SerdNode* object_lang)
+on_statement(void* const handle,
+ const SerdStatementFlags flags,
+ const SerdNode* const graph,
+ const SerdNode* const subject,
+ const SerdNode* const predicate,
+ const SerdNode* const object)
{
(void)handle;
(void)flags;
@@ -64,8 +62,6 @@ on_statement(void* handle,
(void)subject;
(void)predicate;
(void)object;
- (void)object_datatype;
- (void)object_lang;
++n_statement;
return SERD_SUCCESS;