aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd
diff options
context:
space:
mode:
Diffstat (limited to 'include/serd')
-rw-r--r--include/serd/serd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h
index cfdc8693..a2e767ff 100644
--- a/include/serd/serd.h
+++ b/include/serd/serd.h
@@ -1062,13 +1062,15 @@ serd_env_qualify(const SerdEnv* SERD_NULLABLE env,
const SerdNode* SERD_NONNULL uri);
/**
- Expand `node`, transforming CURIEs into URIs.
+ Expand `node`, transforming CURIEs and URI references into absolute URIs.
If `node` is a relative URI reference, it is expanded to a full URI if
possible. If `node` is a literal, its datatype is expanded if necessary.
If `node` is a CURIE, it is expanded to a full URI if possible.
- Returns null if `node` can not be expanded.
+ For simple nodes that do not require expansion, a copy is returned. Null is
+ returned if `node` is/contains a CURIE or relative URI that can not be
+ expanded.
*/
SERD_API
SerdNode* SERD_ALLOCATED