diff options
author | David Robillard <d@drobilla.net> | 2018-09-30 17:31:10 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-11-25 22:12:47 +0100 |
commit | 6a95fc336970abdbc9583e6da55ae6c244fc6142 (patch) | |
tree | 069b275c7d493c0e1feb2f221aa2f448608f4b0b /serd | |
parent | 5a6a76f484cca46d4e788f2e62b9fafb1f5ea6cf (diff) | |
download | serd-6a95fc336970abdbc9583e6da55ae6c244fc6142.tar.gz serd-6a95fc336970abdbc9583e6da55ae6c244fc6142.tar.bz2 serd-6a95fc336970abdbc9583e6da55ae6c244fc6142.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 315af0b9..0dc95d5e 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -901,6 +901,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 |