diff options
Diffstat (limited to 'serd/serd.h')
-rw-r--r-- | serd/serd.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h index ce968a28..06bff454 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -643,6 +643,17 @@ bool serd_node_equals(const SerdNode* a, const SerdNode* b); /** + Compare two nodes. + + Returns less than, equal to, or greater than zero if `a` is less than, equal + to, or greater than `b`, respectively. NULL is treated as less than any + other node. +*/ +SERD_API +int +serd_node_compare(const SerdNode* a, const SerdNode* b); + +/** Create a new URI from a string. */ SERD_API |