diff options
Diffstat (limited to 'sord/sord.h')
-rw-r--r-- | sord/sord.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sord/sord.h b/sord/sord.h index 04ea676..2269d13 100644 --- a/sord/sord.h +++ b/sord/sord.h @@ -401,10 +401,11 @@ sord_search(SordModel* model, Search for a single node that matches a pattern. Exactly one of @p s, @p p, @p o must be NULL. This function is mainly useful for predicates that only have one value. + The returned node must be freed using sord_node_free. @return the first matching node, or NULL if no matches are found. */ SORD_API -const SordNode* +SordNode* sord_get(SordModel* model, const SordNode* s, const SordNode* p, |