diff options
Diffstat (limited to 'serd/serd.h')
-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 46a2bc80..e1d4bfa5 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -479,22 +479,6 @@ SerdNode serd_node_from_substring(SerdType type, const uint8_t* 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 @@ -602,6 +586,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 |