diff options
author | David Robillard <d@drobilla.net> | 2018-04-29 18:29:03 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-11-25 22:12:46 +0100 |
commit | 10521b725225ae2b53e4067d5aebd2da5b8ba46b (patch) | |
tree | 833681f4cadcb4d865e8aecf05cb57f13f46a64a /serd | |
parent | 4dba05e7ab2cd3caa3fd9c6872b7e21b39bb8ead (diff) | |
download | serd-10521b725225ae2b53e4067d5aebd2da5b8ba46b.tar.gz serd-10521b725225ae2b53e4067d5aebd2da5b8ba46b.tar.bz2 serd-10521b725225ae2b53e4067d5aebd2da5b8ba46b.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 1462ebbd..8c353538 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -489,7 +489,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`. |