aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-12 18:24:19 +0200
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:58 +0100
commitca7b73aea47367e946c473dd235061e48effdb5f (patch)
tree897225ab6e7acd16fa8402d650b7e8cb4babcf4c /src
parentbf00e111df96c634f480eac9427238f99ac166d6 (diff)
downloadserd-ca7b73aea47367e946c473dd235061e48effdb5f.tar.gz
serd-ca7b73aea47367e946c473dd235061e48effdb5f.tar.bz2
serd-ca7b73aea47367e946c473dd235061e48effdb5f.zip
Remove "get" from accessor names
Diffstat (limited to 'src')
-rw-r--r--src/env.c3
-rw-r--r--src/reader.c2
-rw-r--r--src/writer.c6
3 files changed, 5 insertions, 6 deletions
diff --git a/src/env.c b/src/env.c
index c52f6ce4..187cf075 100644
--- a/src/env.c
+++ b/src/env.c
@@ -60,8 +60,7 @@ serd_env_free(SerdEnv* env)
}
const SerdNode*
-serd_env_get_base_uri(const SerdEnv* env,
- SerdURI* out)
+serd_env_base_uri(const SerdEnv* env, SerdURI* out)
{
if (out) {
*out = env->base_uri;
diff --git a/src/reader.c b/src/reader.c
index 11ce520d..70fc8eb2 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -239,7 +239,7 @@ serd_reader_free(SerdReader* reader)
}
void*
-serd_reader_get_handle(const SerdReader* reader)
+serd_reader_handle(const SerdReader* reader)
{
return reader->handle;
}
diff --git a/src/writer.c b/src/writer.c
index bf4ccaa8..26d0427a 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -530,7 +530,7 @@ write_uri_node(SerdWriter* const writer,
SerdURI in_base_uri;
SerdURI uri;
SerdURI abs_uri;
- serd_env_get_base_uri(writer->env, &in_base_uri);
+ serd_env_base_uri(writer->env, &in_base_uri);
serd_uri_parse(node->buf, &uri);
serd_uri_resolve(&uri, &in_base_uri, &abs_uri);
bool rooted = uri_is_under(&writer->base_uri, &writer->root_uri);
@@ -918,7 +918,7 @@ serd_writer_set_base_uri(SerdWriter* writer,
const SerdNode* uri)
{
if (!serd_env_set_base_uri(writer->env, uri)) {
- serd_env_get_base_uri(writer->env, &writer->base_uri);
+ serd_env_base_uri(writer->env, &writer->base_uri);
if (writer->syntax == SERD_TURTLE || writer->syntax == SERD_TRIG) {
if (writer->context.graph.type || writer->context.subject.type) {
@@ -989,7 +989,7 @@ serd_writer_free(SerdWriter* writer)
}
SerdEnv*
-serd_writer_get_env(SerdWriter* writer)
+serd_writer_env(SerdWriter* writer)
{
return writer->env;
}