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>2018-05-27 18:23:15 +0200
commitb81b27fd762c3a3880070277a6d563a1c6913c1a (patch)
treead3aa5def3cffa2f0d4abf564f748f0aea00e649 /serd
parent3efbbdb49f4122d3879007227eafc5afe520d7c5 (diff)
downloadserd-b81b27fd762c3a3880070277a6d563a1c6913c1a.tar.gz
serd-b81b27fd762c3a3880070277a6d563a1c6913c1a.tar.bz2
serd-b81b27fd762c3a3880070277a6d563a1c6913c1a.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 715ff22a..ae581886 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -460,7 +460,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`.