aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-30 12:35:47 -0500
committerDavid Robillard <d@drobilla.net>2019-12-19 20:57:50 -0500
commit36dc0c62b0dbeab7208111d6700c7aaaf51faf1d (patch)
tree4f4809eb76d012a258c33f25f687c59784be9133 /src
parentd9b65f7b0273795df2e4fb24afadc431477ad2dc (diff)
downloadserd-36dc0c62b0dbeab7208111d6700c7aaaf51faf1d.tar.gz
serd-36dc0c62b0dbeab7208111d6700c7aaaf51faf1d.tar.bz2
serd-36dc0c62b0dbeab7208111d6700c7aaaf51faf1d.zip
Remove serd_env_foreach()
Diffstat (limited to 'src')
-rw-r--r--src/env.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/env.c b/src/env.c
index dac6fdae..e1d173bc 100644
--- a/src/env.c
+++ b/src/env.c
@@ -317,16 +317,6 @@ serd_env_expand(const SerdEnv* env, const SerdNode* node)
}
void
-serd_env_foreach(const SerdEnv* env,
- SerdPrefixSink func,
- void* handle)
-{
- for (size_t i = 0; i < env->n_prefixes; ++i) {
- func(handle, env->prefixes[i].name, env->prefixes[i].uri);
- }
-}
-
-void
serd_env_write_prefixes(const SerdEnv* env, const SerdSink* sink)
{
for (size_t i = 0; i < env->n_prefixes; ++i) {