summaryrefslogtreecommitdiffstats
path: root/lilv
diff options
context:
space:
mode:
Diffstat (limited to 'lilv')
-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
@{