diff options
author | David Robillard <d@drobilla.net> | 2018-04-29 18:29:03 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:15:32 +0200 |
commit | 05d9109178906eb68ef6b488d115134c7bdcf179 (patch) | |
tree | d238d8f76c304440e8b32374b8989d1a3eceea3f /serd | |
parent | 61cc66d1f56dfe1cfa8da20f95d7152ca414c903 (diff) | |
download | serd-05d9109178906eb68ef6b488d115134c7bdcf179.tar.gz serd-05d9109178906eb68ef6b488d115134c7bdcf179.tar.bz2 serd-05d9109178906eb68ef6b488d115134c7bdcf179.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 5e2b2d6f..fd0912e2 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`. |