diff options
author | David Robillard <d@drobilla.net> | 2018-09-30 17:31:10 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | a938b755197e8a2ea660cfae1b1ef160e8d59e11 (patch) | |
tree | f7cc470af4109c23e8b8a6d1e4f0ed63cb8e4e35 /serd | |
parent | 2f8014934fc8f4c6946bf81fe3898c39db611261 (diff) | |
download | serd-a938b755197e8a2ea660cfae1b1ef160e8d59e11.tar.gz serd-a938b755197e8a2ea660cfae1b1ef160e8d59e11.tar.bz2 serd-a938b755197e8a2ea660cfae1b1ef160e8d59e11.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 135e2b81..89d5b4eb 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -939,6 +939,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 |