aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/env.c2
-rw-r--r--src/reader.c2
-rw-r--r--src/writer.c8
3 files changed, 6 insertions, 6 deletions
diff --git a/src/env.c b/src/env.c
index d521373d..0227d54c 100644
--- a/src/env.c
+++ b/src/env.c
@@ -52,7 +52,7 @@ serd_env_free(SerdEnv* const env)
}
const SerdNode*
-serd_env_get_base_uri(const SerdEnv* const env, SerdURIView* const out)
+serd_env_base_uri(const SerdEnv* const env, SerdURIView* const out)
{
if (out) {
*out = env->base_uri;
diff --git a/src/reader.c b/src/reader.c
index 8a376b28..f34de787 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -235,7 +235,7 @@ serd_reader_free(SerdReader* const reader)
}
void*
-serd_reader_get_handle(const SerdReader* const reader)
+serd_reader_handle(const SerdReader* const reader)
{
return reader->handle;
}
diff --git a/src/writer.c b/src/writer.c
index 6bc69c78..eea85ddf 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -742,7 +742,7 @@ write_uri_node(SerdWriter* const writer,
}
if (!has_scheme && !supports_uriref(writer) &&
- !serd_env_get_base_uri(writer->env, NULL)->buf) {
+ !serd_env_base_uri(writer->env, NULL)->buf) {
return w_err(writer,
SERD_ERR_BAD_ARG,
"syntax does not support URI reference <%s>\n",
@@ -755,7 +755,7 @@ write_uri_node(SerdWriter* const writer,
SerdURIView in_base_uri;
SerdURIView uri;
SerdURIView 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);
@@ -1173,7 +1173,7 @@ serd_writer_set_base_uri(SerdWriter* writer, const SerdNode* uri)
TRY(st, 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 (uri && (writer->syntax == SERD_TURTLE || writer->syntax == SERD_TRIG)) {
TRY(st, terminate_context(writer));
@@ -1244,7 +1244,7 @@ serd_writer_free(SerdWriter* writer)
}
SerdEnv*
-serd_writer_get_env(SerdWriter* writer)
+serd_writer_env(SerdWriter* writer)
{
return writer->env;
}