summaryrefslogtreecommitdiffstats
path: root/lilv/lilv.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-16 14:49:49 -0700
committerDavid Robillard <d@drobilla.net>2016-09-16 14:49:49 -0700
commit2bb30b516903c8004bd86c16d9ed17be98ec0e7d (patch)
tree7e249376109c5446a5ac2679e9405954d870a70f /lilv/lilv.h
parent30caa09d56a3d566d3b592774a5f55077836e492 (diff)
downloadlilv-2bb30b516903c8004bd86c16d9ed17be98ec0e7d.tar.gz
lilv-2bb30b516903c8004bd86c16d9ed17be98ec0e7d.tar.bz2
lilv-2bb30b516903c8004bd86c16d9ed17be98ec0e7d.zip
Add lilv_world_get_symbol()
Diffstat (limited to 'lilv/lilv.h')
-rw-r--r--lilv/lilv.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h
index 1808194..bb2f127 100644
--- a/lilv/lilv.h
+++ b/lilv/lilv.h
@@ -708,6 +708,16 @@ lilv_world_ask(LilvWorld* world,
const LilvNode* object);
/**
+ Get an LV2 symbol for some subject.
+
+ This will return the lv2:symbol property of the subject if it is given
+ explicitly, and otherwise will attempt to derive a symbol from the URI.
+ @return A string node that is a valid LV2 symbol, or NULL on error.
+*/
+LILV_API LilvNode*
+lilv_world_get_symbol(LilvWorld* world, const LilvNode* subject);
+
+/**
@}
@name Plugin
@{