summaryrefslogtreecommitdiffstats
path: root/lilv
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-04 04:18:14 +0000
committerDavid Robillard <d@drobilla.net>2014-01-04 04:18:14 +0000
commitd30fb311225a6548aa1d6f42ea39a268b327d96d (patch)
tree6e2bca0185ff1bfa032a6e4f716e33faa5bc68ad /lilv
parent3ee994bedf2d5139dbc0242646f8c370a31d71d0 (diff)
downloadlilv-d30fb311225a6548aa1d6f42ea39a268b327d96d.tar.gz
lilv-d30fb311225a6548aa1d6f42ea39a268b327d96d.tar.bz2
lilv-d30fb311225a6548aa1d6f42ea39a268b327d96d.zip
Add lilv_port_get_node() for using world query functions with ports.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5255 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'lilv')
-rw-r--r--lilv/lilv.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h
index 5abe867..bdf70dc 100644
--- a/lilv/lilv.h
+++ b/lilv/lilv.h
@@ -1065,6 +1065,18 @@ lilv_plugin_get_related(const LilvPlugin* plugin, const LilvNode* type);
*/
/**
+ Get the RDF node of @a port.
+
+ Ports nodes may be may be URIs or blank nodes.
+
+ @return A shared node which must not be modified or freed.
+*/
+LILV_API
+const LilvNode*
+lilv_port_get_node(const LilvPlugin* plugin,
+ const LilvPort* port);
+
+/**
Port analog of lilv_plugin_get_value.
*/
LILV_API