summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sratom/sratom.h4
-rw-r--r--src/sratom.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/sratom/sratom.h b/sratom/sratom.h
index 3e76954..c94e855 100644
--- a/sratom/sratom.h
+++ b/sratom/sratom.h
@@ -156,7 +156,7 @@ sratom_write(Sratom* sratom,
uint32_t flags,
const SerdNode* subject,
const SerdNode* predicate,
- uint32_t type,
+ uint32_t type_urid,
uint32_t size,
const void* body);
@@ -170,7 +170,7 @@ sratom_read(Sratom* sratom,
LV2_Atom_Forge* forge,
SordWorld* world,
SordModel* model,
- const SordNode* subject);
+ const SordNode* node);
/**
Serialise an Atom to a Turtle string.
diff --git a/src/sratom.c b/src/sratom.c
index 3537587..1d35df2 100644
--- a/src/sratom.c
+++ b/src/sratom.c
@@ -114,8 +114,8 @@ SRATOM_API
void
sratom_set_sink(Sratom* sratom,
const char* base_uri,
- SerdStatementSink write_statement,
- SerdEndSink end_anon,
+ SerdStatementSink sink,
+ SerdEndSink end_sink,
void* handle)
{
if (base_uri) {
@@ -124,8 +124,8 @@ sratom_set_sink(Sratom* sratom,
USTR(base_uri), NULL, NULL);
serd_uri_parse(sratom->base_uri.buf, &sratom->base);
}
- sratom->write_statement = write_statement;
- sratom->end_anon = end_anon;
+ sratom->write_statement = sink;
+ sratom->end_anon = end_sink;
sratom->handle = handle;
}