aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-09 20:46:13 +0000
committerDavid Robillard <d@drobilla.net>2011-05-09 20:46:13 +0000
commit64f006162ddf79bced1ec401e577589cf146af1f (patch)
tree6731bc939204775e67ada64da0c2400f322c9946 /src
parent00433beb65e513283dbd1b05d4232fa2c8e0de69 (diff)
downloadserd-64f006162ddf79bced1ec401e577589cf146af1f.tar.gz
serd-64f006162ddf79bced1ec401e577589cf146af1f.tar.bz2
serd-64f006162ddf79bced1ec401e577589cf146af1f.zip
Improve documentation and const-correctness.
git-svn-id: http://svn.drobilla.net/serd/trunk@165 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src')
-rw-r--r--src/env.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/env.c b/src/env.c
index 499aa706..6671d683 100644
--- a/src/env.c
+++ b/src/env.c
@@ -60,8 +60,8 @@ serd_env_free(SerdEnv* env)
SERD_API
const SerdNode*
-serd_env_get_base_uri(SerdEnv* env,
- SerdURI* out)
+serd_env_get_base_uri(const SerdEnv* env,
+ SerdURI* out)
{
*out = env->base_uri;
return &env->base_uri_node;
@@ -196,7 +196,7 @@ serd_env_expand(const SerdEnv* env,
SERD_API
SerdNode
-serd_env_expand_node(SerdEnv* env,
+serd_env_expand_node(const SerdEnv* env,
const SerdNode* node)
{
if (node->type == SERD_CURIE) {