diff options
author | David Robillard <d@drobilla.net> | 2018-04-29 18:29:03 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | 48a9bed4cf7dc2b81acb6c645f7d053e1b9ead6d (patch) | |
tree | 67a2f395fdf443f74e15bb7fe4111282e364528f /serd | |
parent | 87583c1f917756ebd06744cc39a20eee39c34010 (diff) | |
download | serd-48a9bed4cf7dc2b81acb6c645f7d053e1b9ead6d.tar.gz serd-48a9bed4cf7dc2b81acb6c645f7d053e1b9ead6d.tar.bz2 serd-48a9bed4cf7dc2b81acb6c645f7d053e1b9ead6d.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 2ca6a19c..8fdea919 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -484,7 +484,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. |