Browse Source

Fix inconsistent parameter names

zrythm_meson
David Robillard 5 years ago
parent
commit
a1c8e16e16
  1. 4
      sratom/sratom.h
  2. 8
      src/sratom.c

4
sratom/sratom.h

@ -156,7 +156,7 @@ sratom_write(Sratom* sratom, @@ -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, @@ -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.

8
src/sratom.c

@ -114,8 +114,8 @@ SRATOM_API @@ -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, @@ -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;
}

Loading…
Cancel
Save