aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-26 14:21:37 -0500
committerDavid Robillard <d@drobilla.net>2019-04-13 19:15:32 +0200
commit14c2fe14b90c1057b2829b7008423ef9bf79edef (patch)
tree4cd0aa739097f9243d88553d43d4b26d0da17527 /src/world.c
parent7734028901a428267b723f4b956deae91c45c1cf (diff)
downloadserd-14c2fe14b90c1057b2829b7008423ef9bf79edef.tar.gz
serd-14c2fe14b90c1057b2829b7008423ef9bf79edef.tar.bz2
serd-14c2fe14b90c1057b2829b7008423ef9bf79edef.zip
Expose the node cache in the world
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/world.c b/src/world.c
index 0bc4f4bc..483c46a6 100644
--- a/src/world.c
+++ b/src/world.c
@@ -108,6 +108,12 @@ serd_world_free(SerdWorld* world)
free(world);
}
+SerdNodes*
+serd_world_get_nodes(SerdWorld* world)
+{
+ return world->nodes;
+}
+
const SerdNode*
serd_world_get_blank(SerdWorld* world)
{