aboutsummaryrefslogtreecommitdiffstats
path: root/src/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.c')
-rw-r--r--src/env.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/env.c b/src/env.c
index f7c8c6ba..6ff8e3f5 100644
--- a/src/env.c
+++ b/src/env.c
@@ -264,9 +264,9 @@ serd_env_expand(const SerdEnv* env, const SerdNode* node)
}
void
-serd_env_foreach(const SerdEnv* env, SerdPrefixFunc func, void* handle)
+serd_env_write_prefixes(const SerdEnv* env, const SerdSink* sink)
{
for (size_t i = 0; i < env->n_prefixes; ++i) {
- func(handle, env->prefixes[i].name, env->prefixes[i].uri);
+ serd_sink_write_prefix(sink, env->prefixes[i].name, env->prefixes[i].uri);
}
}