diff options
author | David Robillard <d@drobilla.net> | 2012-11-23 02:48:39 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-11-23 02:48:39 +0000 |
commit | a76bd27ee0a9e763654100b584b3506f4f53e0c0 (patch) | |
tree | 3e8eb73e5835c941ce4c9c5c0f7d72ad60e47856 /lilv | |
parent | f7963514ecc6b09717e5a5b49845cb0043145e37 (diff) | |
download | lilv-a76bd27ee0a9e763654100b584b3506f4f53e0c0.tar.gz lilv-a76bd27ee0a9e763654100b584b3506f4f53e0c0.tar.bz2 lilv-a76bd27ee0a9e763654100b584b3506f4f53e0c0.zip |
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
Diffstat (limited to 'lilv')
-rw-r--r-- | lilv/lilv.h | 7 |
1 files changed, 5 insertions, 2 deletions
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. |