summaryrefslogtreecommitdiffstats
path: root/src/port.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port.c')
-rw-r--r--src/port.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/port.c b/src/port.c
index f008020..f2f8fd6 100644
--- a/src/port.c
+++ b/src/port.c
@@ -131,6 +131,14 @@ lilv_port_get_value(const LilvPlugin* p,
}
LILV_API
+uint32_t
+lilv_port_get_index(const LilvPlugin* p,
+ const LilvPort* port)
+{
+ return port->index;
+}
+
+LILV_API
const LilvNode*
lilv_port_get_symbol(const LilvPlugin* p,
const LilvPort* port)