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>2020-10-27 13:13:58 +0100
commit05950ac684d467eb609476d1aa531e221abcffa0 (patch)
tree5fd07fe579f76051d2422aa6387caf51243561ae /src/world.c
parent18b0689fe567929b6eb6a1986b16139a122ca12c (diff)
downloadserd-05950ac684d467eb609476d1aa531e221abcffa0.tar.gz
serd-05950ac684d467eb609476d1aa531e221abcffa0.tar.bz2
serd-05950ac684d467eb609476d1aa531e221abcffa0.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 800a8bbc..f449ed50 100644
--- a/src/world.c
+++ b/src/world.c
@@ -111,6 +111,12 @@ serd_world_free(SerdWorld* world)
}
}
+SerdNodes*
+serd_world_nodes(SerdWorld* world)
+{
+ return world->nodes;
+}
+
const SerdNode*
serd_world_get_blank(SerdWorld* world)
{