diff options
author | David Robillard <d@drobilla.net> | 2017-12-29 14:37:46 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-29 14:38:39 -0500 |
commit | a1c8e16e166e609c1e9e9f07154eaca4617bfccf (patch) | |
tree | 008a19e26adb7ea295a794b4608c32f5b2b8c588 | |
parent | 51608a235016437bea9ec712a99470cf12b436b1 (diff) | |
download | sratom-a1c8e16e166e609c1e9e9f07154eaca4617bfccf.tar.gz sratom-a1c8e16e166e609c1e9e9f07154eaca4617bfccf.tar.bz2 sratom-a1c8e16e166e609c1e9e9f07154eaca4617bfccf.zip |
Fix inconsistent parameter names
-rw-r--r-- | sratom/sratom.h | 4 | ||||
-rw-r--r-- | src/sratom.c | 8 |
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; } |