aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-06 20:59:12 +0200
committerDavid Robillard <d@drobilla.net>2022-01-13 23:03:44 -0500
commitd88b5a797f8502c40d0da964d653a1cd3028c872 (patch)
treebf2cbf8370515f24333b2c859fedf6c27877da12 /src/node.h
parent2ddf10fb8bfabff3ecdbe9ea866a905631ec2866 (diff)
downloadserd-d88b5a797f8502c40d0da964d653a1cd3028c872.tar.gz
serd-d88b5a797f8502c40d0da964d653a1cd3028c872.tar.bz2
serd-d88b5a797f8502c40d0da964d653a1cd3028c872.zip
Clean up numeric node construction and access API
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h
index 73af0d63..bb03f949 100644
--- a/src/node.h
+++ b/src/node.h
@@ -17,6 +17,7 @@
#ifndef SERD_NODE_H
#define SERD_NODE_H
+#include "exess/exess.h"
#include "serd/serd.h"
#include <stddef.h>
@@ -56,4 +57,10 @@ serd_node_zero_pad(SerdNode* SERD_NONNULL node);
SerdNode* SERD_ALLOCATED
serd_new_resolved_uri(SerdStringView string, SerdURIView base_uri);
+ExessResult
+serd_node_get_value_as(const SerdNode* SERD_NONNULL node,
+ ExessDatatype value_type,
+ size_t value_size,
+ void* SERD_NONNULL value);
+
#endif // SERD_NODE_H