diff options
author | David Robillard <d@drobilla.net> | 2021-02-25 20:08:20 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-08 23:23:05 -0500 |
commit | 01a76c7d703650df7f39d21c704f5b7c4f41ca14 (patch) | |
tree | 0d662aaceb9b6dee2cc2f566cd67aa20fa0939ca /src/node.h | |
parent | 3bf35cb9e72709fb417cff0d5a2dc9b681e5ecb1 (diff) | |
download | serd-01a76c7d703650df7f39d21c704f5b7c4f41ca14.tar.gz serd-01a76c7d703650df7f39d21c704f5b7c4f41ca14.tar.bz2 serd-01a76c7d703650df7f39d21c704f5b7c4f41ca14.zip |
Add numeric node construction and access API
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -17,6 +17,7 @@ #ifndef SERD_NODE_H #define SERD_NODE_H +#include "exess/exess.h" #include "serd/serd.h" #include <stddef.h> @@ -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 |