summaryrefslogtreecommitdiffstats
path: root/src/sord.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sord.c')
-rw-r--r--src/sord.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sord.c b/src/sord.c
index 249fb0d..eac5087 100644
--- a/src/sord.c
+++ b/src/sord.c
@@ -421,6 +421,12 @@ sord_iter_get(const SordIter* iter, SordQuad id)
}
}
+const SordNode*
+sord_iter_get_node(const SordIter* iter, SordQuadIndex index)
+{
+ return ((SordNode**)zix_tree_get(iter->cur))[index];
+}
+
bool
sord_iter_next(SordIter* iter)
{