aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-02-20 16:50:11 -0500
committerDavid Robillard <d@drobilla.net>2021-03-08 23:23:05 -0500
commit9cf28251f67e91a97bb75a74ad1ed23bac609b0d (patch)
tree947bf6128615d4bd0c801d4ebe2123b2ebd95eb2 /src/node.h
parenta0ff18dcc526779e482a4a8e7741fc407c6940ae (diff)
downloadserd-9cf28251f67e91a97bb75a74ad1ed23bac609b0d.tar.gz
serd-9cf28251f67e91a97bb75a74ad1ed23bac609b0d.tar.bz2
serd-9cf28251f67e91a97bb75a74ad1ed23bac609b0d.zip
Zero node padding before passing to reader sinks
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h
index 5c6f790e..6bebdb6d 100644
--- a/src/node.h
+++ b/src/node.h
@@ -46,6 +46,9 @@ void
serd_node_set(SerdNode* SERD_NONNULL* SERD_NONNULL dst,
const SerdNode* SERD_NONNULL src);
+void
+serd_node_zero_pad(SerdNode* SERD_NONNULL node);
+
/// Create a new URI from a string, resolved against a base URI
SerdNode* SERD_ALLOCATED
serd_new_resolved_uri(SerdStringView string, SerdURIView base_uri);