aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/serd/node.h')
-rw-r--r--include/serd/node.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/serd/node.h b/include/serd/node.h
index d140e4c0..8dbdbde4 100644
--- a/include/serd/node.h
+++ b/include/serd/node.h
@@ -120,7 +120,7 @@ typedef uint32_t SerdNodeFlags;
Arguments constructors like #serd_a_file_uri return a temporary view of
their arguments, which can be passed (usually inline) to node construction
- functions like #serd_node_new, or #serd_node_construct.
+ functions like #serd_node_new, #serd_node_construct, or #serd_nodes_get.
@{
*/
@@ -413,6 +413,9 @@ serd_node_construct(size_t buf_size, void* ZIX_NULLABLE buf, SerdNodeArgs args);
nodes with an allocator. The returned nodes must be freed with
serd_node_free() using the same allocator.
+ Note that in most cases it is better to use a #SerdNodes instead of managing
+ individual node allocations.
+
@{
*/