From a76bd27ee0a9e763654100b584b3506f4f53e0c0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 23 Nov 2012 02:48:39 +0000 Subject: Support atom:supports in lilv_port_supports_event() (fix #857). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4857 a436a847-0d15-0410-975c-d299462d15a1 --- lilv/lilv.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lilv') diff --git a/lilv/lilv.h b/lilv/lilv.h index 9e9a907..30bb3f5 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -1037,13 +1037,16 @@ lilv_port_has_property(const LilvPlugin* p, const LilvNode* property_uri); /** - Return whether a port is an event port and supports a certain event type. + Return whether a port supports a certain event type. + + More precisely, this returns true iff the port has an atom:supports or an + ev:supportsEvent property with @p event_type as the value. */ LILV_API bool lilv_port_supports_event(const LilvPlugin* p, const LilvPort* port, - const LilvNode* event_uri); + const LilvNode* event_type); /** Get the index of a port. -- cgit v1.2.1