aboutsummaryrefslogtreecommitdiffstats
path: root/serd/serd.h
diff options
context:
space:
mode:
Diffstat (limited to 'serd/serd.h')
-rw-r--r--serd/serd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 8744b634..c3ba5268 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -488,7 +488,9 @@ serd_node_new_substring(SerdType type, const char* str, size_t len);
*/
SERD_API
SerdNode*
-serd_node_new_literal(const char* str, const char* datatype, const char* lang);
+serd_node_new_literal(const char* str,
+ const SerdNode* datatype,
+ const char* lang);
/**
Return a deep copy of `node`.