diff options
Diffstat (limited to 'include/serd/serd.h')
-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 4f713a2f..09017175 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -985,6 +985,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 |