diff options
author | David Robillard <d@drobilla.net> | 2018-04-29 18:29:03 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-06-21 18:12:03 +0200 |
commit | 71898a9fe6558f0fb612b67c7b0b6d97ce75c6dd (patch) | |
tree | afca9ae318cb06f579b97cfd3fe9364b26317710 /serd | |
parent | 4d310d89521c97ddcb683986cbe8e860457fe73a (diff) | |
download | serd-71898a9fe6558f0fb612b67c7b0b6d97ce75c6dd.tar.gz serd-71898a9fe6558f0fb612b67c7b0b6d97ce75c6dd.tar.bz2 serd-71898a9fe6558f0fb612b67c7b0b6d97ce75c6dd.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 76899f4c..9688ad4e 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -480,7 +480,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); /** Simple wrapper for serd_node_new_uri() to resolve a URI node. |