diff options
author | David Robillard <d@drobilla.net> | 2018-04-29 18:29:03 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-05-27 18:23:15 +0200 |
commit | b81b27fd762c3a3880070277a6d563a1c6913c1a (patch) | |
tree | ad3aa5def3cffa2f0d4abf564f748f0aea00e649 /serd | |
parent | 3efbbdb49f4122d3879007227eafc5afe520d7c5 (diff) | |
download | serd-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.h | 4 |
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`. |