diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/serd/serd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h index 95555013..77b42a24 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -1378,6 +1378,16 @@ SERD_API SerdEnv* SERD_ALLOCATED serd_env_new(SerdStringView base_uri); +/// Copy an environment +SERD_API +SerdEnv* SERD_ALLOCATED +serd_env_copy(const SerdEnv* SERD_NULLABLE env); + +/// Return true iff `a` is equal to `b` +SERD_PURE_API +bool +serd_env_equals(const SerdEnv* SERD_NULLABLE a, const SerdEnv* SERD_NULLABLE b); + /// Free `env` SERD_API void |