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>2023-12-02 16:27:02 -0500
commitb16765b4830587c42db16587eda86f1eebb9a352 (patch)
treea1cc261786bbf0e06f59bad76a9fa11c5646d8d9 /src/node.h
parent8771f4611a37efbe2841abe6db06c662490bdd88 (diff)
downloadserd-b16765b4830587c42db16587eda86f1eebb9a352.tar.gz
serd-b16765b4830587c42db16587eda86f1eebb9a352.tar.bz2
serd-b16765b4830587c42db16587eda86f1eebb9a352.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 a87871b4..783fe574 100644
--- a/src/node.h
+++ b/src/node.h
@@ -39,6 +39,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);