From d30fb311225a6548aa1d6f42ea39a268b327d96d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Jan 2014 04:18:14 +0000 Subject: 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 --- lilv/lilv.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lilv') diff --git a/lilv/lilv.h b/lilv/lilv.h index 5abe867..bdf70dc 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -1064,6 +1064,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. */ -- cgit v1.2.1