diff options
author | David Robillard <d@drobilla.net> | 2018-09-30 17:31:10 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-06-21 18:12:04 +0200 |
commit | d188719d6f585d70791a7ad00be73f780b13226f (patch) | |
tree | 7d15e33afbad8804a8da8e7c24af784f4427e26b /serd | |
parent | 4f2640a2e4689cdda26a914c77aa2822a06da0f5 (diff) | |
download | serd-d188719d6f585d70791a7ad00be73f780b13226f.tar.gz serd-d188719d6f585d70791a7ad00be73f780b13226f.tar.bz2 serd-d188719d6f585d70791a7ad00be73f780b13226f.zip |
Add serd_env_copy() and serd_env_equals()
Diffstat (limited to 'serd')
-rw-r--r-- | serd/serd.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h index 119445fa..f0d72774 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -933,6 +933,20 @@ SerdEnv* serd_env_new(const SerdNode* base_uri); /** + Copy an environment. +*/ +SERD_API +SerdEnv* +serd_env_copy(const SerdEnv* env); + +/** + Return true iff `a` is equal to `b`. +*/ +SERD_API +bool +serd_env_equals(const SerdEnv* a, const SerdEnv* b); + +/** Free `ns`. */ SERD_API |