aboutsummaryrefslogtreecommitdiffstats
path: root/src/env.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-13 11:22:18 +0100
committerDavid Robillard <d@drobilla.net>2023-12-02 16:27:02 -0500
commit4401b2bbcda598599469722d7288bc36e389e356 (patch)
tree858d8e69db0018e3c825c74cbd2cd82a4b66a0c6 /src/env.c
parent70277ccdb3035db83d81d942777c12a60c4aded3 (diff)
downloadserd-4401b2bbcda598599469722d7288bc36e389e356.tar.gz
serd-4401b2bbcda598599469722d7288bc36e389e356.tar.bz2
serd-4401b2bbcda598599469722d7288bc36e389e356.zip
Shorten node constructor names
Diffstat (limited to 'src/env.c')
-rw-r--r--src/env.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/env.c b/src/env.c
index 31958e22..d11a5bab 100644
--- a/src/env.c
+++ b/src/env.c
@@ -78,7 +78,7 @@ serd_env_set_base_uri(SerdEnv* const env, const SerdNode* const uri)
// Resolve base URI and create a new node and URI for it
SerdURIView base_uri;
SerdNode base_uri_node =
- serd_node_new_uri_from_node(uri, &env->base_uri, &base_uri);
+ serd_new_uri_from_node(uri, &env->base_uri, &base_uri);
// Replace the current base URI
serd_node_free(&env->base_uri_node);
@@ -144,7 +144,7 @@ serd_env_set_prefix(SerdEnv* const env,
// Resolve relative URI and create a new node and URI for it
SerdURIView abs_uri;
SerdNode abs_uri_node =
- serd_node_new_uri_from_node(uri, &env->base_uri, &abs_uri);
+ serd_new_uri_from_node(uri, &env->base_uri, &abs_uri);
// Set prefix to resolved (absolute) URI
serd_env_add(env, name, &abs_uri_node);
@@ -230,7 +230,7 @@ serd_env_expand_node(const SerdEnv* const env, const SerdNode* const node)
break;
case SERD_URI: {
SerdURIView ignored;
- return serd_node_new_uri_from_node(node, &env->base_uri, &ignored);
+ return serd_new_uri_from_node(node, &env->base_uri, &ignored);
}
case SERD_CURIE: {
SerdStringView prefix;