diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/node.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -450,6 +450,14 @@ serd_node_length(const SerdNode* const node) return node->length; } +SerdStringView +serd_node_string_view(const SerdNode* const node) +{ + const SerdStringView r = {(const char*)(node + 1), node->length}; + + return r; +} + SerdNodeFlags serd_node_flags(const SerdNode* const node) { |