diff options
-rw-r--r-- | serd/serd.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/serd/serd.h b/serd/serd.h index ba285255..f548d15f 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -483,22 +483,6 @@ SerdNode serd_node_from_substring(SerdType type, const char* str, size_t len); /** - Make a deep copy of `node`. - - @return a node that the caller must free with serd_node_free(). -*/ -SERD_API -SerdNode -serd_node_copy(const SerdNode* node); - -/** - Return true iff `a` is equal to `b`. -*/ -SERD_API -bool -serd_node_equals(const SerdNode* a, const SerdNode* b); - -/** Simple wrapper for serd_node_new_uri() to resolve a URI node. */ SERD_API @@ -606,6 +590,22 @@ SerdNode serd_node_new_blob(const void* buf, size_t size, bool wrap_lines); /** + Make a deep copy of `node`. + + @return a node that the caller must free with serd_node_free(). +*/ +SERD_API +SerdNode +serd_node_copy(const SerdNode* node); + +/** + Return true iff `a` is equal to `b`. +*/ +SERD_API +bool +serd_node_equals(const SerdNode* a, const SerdNode* b); + +/** Free any data owned by `node`. Note that if `node` is itself dynamically allocated (which is not the case |