diff options
author | David Robillard <d@drobilla.net> | 2018-04-29 18:29:03 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-30 17:58:17 -0500 |
commit | 4057fae5851aafbdcd42c99f86f73f985a55ab41 (patch) | |
tree | 63b164a170b5014739eeb7ded7bbf54d0e5ce4a3 /serd | |
parent | 94f49fa72fdfa32ce798969af22867fde2fd73e9 (diff) | |
download | serd-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.h | 4 |
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`. |