aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-12 15:51:07 +0200
committerDavid Robillard <d@drobilla.net>2021-03-08 23:23:06 -0500
commit0054cff3f5aa1e2c4b5e47fd9b2dfeeff6b17e53 (patch)
treeb267a6fa76129ef10e91bf953ca63cf20abc6407 /src/node.h
parentbf01cef66e561ea0cd2ad0babf08194b00f84b77 (diff)
downloadserd-0054cff3f5aa1e2c4b5e47fd9b2dfeeff6b17e53.tar.gz
serd-0054cff3f5aa1e2c4b5e47fd9b2dfeeff6b17e53.tar.bz2
serd-0054cff3f5aa1e2c4b5e47fd9b2dfeeff6b17e53.zip
Remove double allocations in serd_env_expand()
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h
index 04452c98..a9b7120c 100644
--- a/src/node.h
+++ b/src/node.h
@@ -58,6 +58,17 @@ serd_node_zero_pad(SerdNode* SERD_NONNULL node);
SerdNode* SERD_ALLOCATED
serd_new_resolved_uri(SerdStringView string, SerdURIView base_uri);
+SerdNode* SERD_ALLOCATED
+serd_new_typed_literal_expanded(SerdStringView str,
+ SerdNodeFlags flags,
+ SerdStringView datatype_prefix,
+ SerdStringView datatype_suffix);
+
+SerdNode* SERD_ALLOCATED
+serd_new_typed_literal_uri(SerdStringView str,
+ SerdNodeFlags flags,
+ SerdURIView datatype_uri);
+
ExessVariant
serd_node_get_value_as(const SerdNode* SERD_NONNULL node,
ExessDatatype value_type);