From 4057fae5851aafbdcd42c99f86f73f985a55ab41 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 29 Apr 2018 18:29:03 +0200 Subject: Make serd_node_new_literal take datatype as a node --- serd/serd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'serd') 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`. -- cgit v1.2.1