summaryrefslogtreecommitdiffstats
path: root/sord
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-10 18:31:07 +0200
committerDavid Robillard <d@drobilla.net>2016-09-10 18:31:07 +0200
commit5d9d21f6c9146fad15536ec90af68460fb634320 (patch)
tree524f50f59e0cdc85e1f22af2602b1e1b1d7a23fe /sord
parent4cc80ae81717583d7f6af6ae3e49f1dbfcb6b503 (diff)
downloadsord-5d9d21f6c9146fad15536ec90af68460fb634320.tar.gz
sord-5d9d21f6c9146fad15536ec90af68460fb634320.tar.bz2
sord-5d9d21f6c9146fad15536ec90af68460fb634320.zip
Fix cross-links in documentation
Diffstat (limited to 'sord')
-rw-r--r--sord/sord.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sord/sord.h b/sord/sord.h
index 59ac084..d81bc26 100644
--- a/sord/sord.h
+++ b/sord/sord.h
@@ -108,9 +108,9 @@ typedef const SordNode* SordQuad[4];
*/
typedef enum {
SORD_SUBJECT = 0, /**< Subject */
- SORD_PREDICATE = 1, /**< Predicate (a.k.a. "key") */
- SORD_OBJECT = 2, /**< Object (a.k.a. "value") */
- SORD_GRAPH = 3 /**< Graph (a.k.a. "context") */
+ SORD_PREDICATE = 1, /**< Predicate ("key") */
+ SORD_OBJECT = 2, /**< Object ("value") */
+ SORD_GRAPH = 3 /**< Graph ("context") */
} SordQuadIndex;
/**
@@ -178,7 +178,7 @@ sord_world_set_error_sink(SordWorld* world,
Get a URI node from a string.
Note this function measures `str`, which is a common bottleneck.
- Use sord_node_from_serd_node instead if `str` is already measured.
+ Use sord_node_from_serd_node() instead if `str` is already measured.
*/
SORD_API
SordNode*
@@ -197,7 +197,7 @@ sord_new_relative_uri(SordWorld* world,
Get a blank node from a string.
Note this function measures `str`, which is a common bottleneck.
- Use sord_node_from_serd_node instead if `str` is already measured.
+ Use sord_node_from_serd_node() instead if `str` is already measured.
*/
SORD_API
SordNode*
@@ -207,7 +207,7 @@ sord_new_blank(SordWorld* world, const uint8_t* str);
Get a literal node from a string.
Note this function measures `str`, which is a common bottleneck.
- Use sord_node_from_serd_node instead if `str` is already measured.
+ Use sord_node_from_serd_node() instead if `str` is already measured.
*/
SORD_API
SordNode*
@@ -318,7 +318,7 @@ sord_node_to_serd_node(const SordNode* node);
/**
Create a new SordNode from a SerdNode.
- The returned node must be freed using sord_node_free.
+ The returned node must be freed using sord_node_free().
*/
SORD_API
SordNode*
@@ -411,7 +411,7 @@ sord_search(SordModel* model,
Search for a single node that matches a pattern.
Exactly one of `s`, `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.
+ The returned node must be freed using sord_node_free().
@return the first matching node, or NULL if no matches are found.
*/
SORD_API