diff options
author | David Robillard <d@drobilla.net> | 2018-09-30 17:31:10 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-19 20:55:35 -0500 |
commit | 321f6b9bd838dcf882b20865ca3df6e44b42c0cb (patch) | |
tree | c80369221df5c7c3a482a34294f4c85a377e5174 /serd | |
parent | 94b22cc0efa1ea07e78b10b102318817d31bf3ec (diff) | |
download | serd-321f6b9bd838dcf882b20865ca3df6e44b42c0cb.tar.gz serd-321f6b9bd838dcf882b20865ca3df6e44b42c0cb.tar.bz2 serd-321f6b9bd838dcf882b20865ca3df6e44b42c0cb.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 87ff6021..cdd212db 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 |