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-12-30 17:58:17 -0500
commit4057fae5851aafbdcd42c99f86f73f985a55ab41 (patch)
tree63b164a170b5014739eeb7ded7bbf54d0e5ce4a3 /serd
parent94f49fa72fdfa32ce798969af22867fde2fd73e9 (diff)
downloadserd-4057fae5851aafbdcd42c99f86f73f985a55ab41.tar.gz
serd-4057fae5851aafbdcd42c99f86f73f985a55ab41.tar.bz2
serd-4057fae5851aafbdcd42c99f86f73f985a55ab41.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 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`.