From 8f954d7a609c7bf5a955c117c8abbde0eaef3aca Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 20 Dec 2018 13:08:46 -0500 Subject: Add serd_env_write_prefixes() --- serd/serd.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'serd') diff --git a/serd/serd.h b/serd/serd.h index aaf66549..a31d6e64 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -1003,6 +1003,13 @@ serd_env_foreach(const SerdEnv* env, SerdPrefixSink func, void* handle); +/** + Write all prefixes in `env` to `sink`. +*/ +SERD_API +void +serd_env_write_prefixes(const SerdEnv* env, const SerdSink* sink); + /** @} @name Sink -- cgit v1.2.1