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-12-19 20:57:51 -0500
commitf03a9cffc2f52d637692210e2a3e96f545972976 (patch)
tree4da7195feeed67daa3a6822fbe5524e7a5b4fb0f /src/world.c
parent36dc0c62b0dbeab7208111d6700c7aaaf51faf1d (diff)
downloadserd-f03a9cffc2f52d637692210e2a3e96f545972976.tar.gz
serd-f03a9cffc2f52d637692210e2a3e96f545972976.tar.bz2
serd-f03a9cffc2f52d637692210e2a3e96f545972976.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 21bce2f3..f950e948 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)
{