diff options
author | David Robillard <d@drobilla.net> | 2017-06-29 12:53:23 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-06-30 10:29:33 -0400 |
commit | 902d171c5e79561a534c3cbb9cc547cd1fadeab7 (patch) | |
tree | 20b2e3bdadb7e390ab33d5e1163ebdfe8b6280cf /serd | |
parent | 195e4bcff3c4dfd3fe8bbf0df57d53ce89ca99e8 (diff) | |
download | serd-902d171c5e79561a534c3cbb9cc547cd1fadeab7.tar.gz serd-902d171c5e79561a534c3cbb9cc547cd1fadeab7.tar.bz2 serd-902d171c5e79561a534c3cbb9cc547cd1fadeab7.zip |
Fix various clang-tidy issues
Diffstat (limited to 'serd')
-rw-r--r-- | serd/serd.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/serd/serd.h b/serd/serd.h index 1c31fb14..dbabd4d9 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -370,11 +370,13 @@ SerdStatus serd_uri_parse(const uint8_t* utf8, SerdURI* out); /** - Set `out` to `uri` resolved against `base`. + Set target `t` to reference `r` resolved against `base`. + + @see http://tools.ietf.org/html/rfc3986#section-5.2.2 */ SERD_API void -serd_uri_resolve(const SerdURI* uri, const SerdURI* base, SerdURI* out); +serd_uri_resolve(const SerdURI* r, const SerdURI* base, SerdURI* t); /** Function to detect I/O stream errors. @@ -766,7 +768,7 @@ SERD_API void serd_reader_set_error_sink(SerdReader* reader, SerdErrorSink error_sink, - void* handle); + void* error_handle); /** Return the `handle` passed to serd_reader_new(). @@ -908,7 +910,7 @@ serd_writer_new(SerdSyntax syntax, SerdStyle style, SerdEnv* env, const SerdURI* base_uri, - SerdSink sink, + SerdSink ssink, void* stream); /** @@ -967,7 +969,7 @@ SERD_API void serd_writer_set_error_sink(SerdWriter* writer, SerdErrorSink error_sink, - void* handle); + void* error_handle); /** Set a prefix to be removed from matching blank node identifiers. @@ -1026,8 +1028,8 @@ serd_writer_write_statement(SerdWriter* writer, const SerdNode* subject, const SerdNode* predicate, const SerdNode* object, - const SerdNode* object_datatype, - const SerdNode* object_lang); + const SerdNode* datatype, + const SerdNode* lang); /** Mark the end of an anonymous node's description. |