From 01a76c7d703650df7f39d21c704f5b7c4f41ca14 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 25 Feb 2021 20:08:20 -0500 Subject: Add numeric node construction and access API --- src/node.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/node.h') diff --git a/src/node.h b/src/node.h index 6bebdb6d..3d01bae7 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 @@ -53,4 +54,8 @@ serd_node_zero_pad(SerdNode* SERD_NONNULL node); SerdNode* SERD_ALLOCATED serd_new_resolved_uri(SerdStringView string, SerdURIView base_uri); +ExessVariant +serd_node_get_value_as(const SerdNode* SERD_NONNULL node, + ExessDatatype value_type); + #endif // SERD_NODE_H -- cgit v1.2.1