aboutsummaryrefslogtreecommitdiffstats
path: root/serd
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-04-29 18:29:03 +0200
committerDavid Robillard <d@drobilla.net>2019-12-19 20:52:32 -0500
commitbff380b4dbeb28d21e71686d389f21403525150b (patch)
tree45225bd0067f6f97f0a1eb67675ea7b3ad53a5cd /serd
parente9e850f798885c528ef9413fd8d12dd0ef9e06c1 (diff)
downloadserd-bff380b4dbeb28d21e71686d389f21403525150b.tar.gz
serd-bff380b4dbeb28d21e71686d389f21403525150b.tar.bz2
serd-bff380b4dbeb28d21e71686d389f21403525150b.zip
Make serd_node_new_literal take datatype as a node
Diffstat (limited to 'serd')
-rw-r--r--serd/serd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 7aa0ebdd..41ce9820 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -481,7 +481,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`.