diff options
author | David Robillard <d@drobilla.net> | 2006-07-22 19:19:05 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-07-22 19:19:05 +0000 |
commit | deca2cc89850dffc051d0a0aafc9d681af838934 (patch) | |
tree | cfca762a3b03289385bb40c17673b4483142c420 /slv2/port.h | |
parent | c7153b1a3d607108bab6cd8d6719977ffb213092 (diff) | |
download | lilv-deca2cc89850dffc051d0a0aafc9d681af838934.tar.gz lilv-deca2cc89850dffc051d0a0aafc9d681af838934.tar.bz2 lilv-deca2cc89850dffc051d0a0aafc9d681af838934.zip |
Removed data type enumeration in favour of using the URI directly
git-svn-id: http://svn.drobilla.net/lad/libslv2@100 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/port.h')
-rw-r--r-- | slv2/port.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/slv2/port.h b/slv2/port.h index 749ea4e..601aa49 100644 --- a/slv2/port.h +++ b/slv2/port.h @@ -46,7 +46,7 @@ extern "C" { /** Get a property of a port, by port index. * - * Return value must be free()'d by caller. + * Return value must be freed by caller with slv2_property_free. */ SLV2Property slv2_port_get_property(SLV2Plugin* plugin, @@ -73,9 +73,12 @@ slv2_port_get_class(SLV2Plugin* plugin, unsigned long index); -/** Get the data type of a port. +/** Get the data type of a port (as a URI). + * + * The only data type included in the core LV2 specification is lv2:float. + * Compare this return value with @ref SLV2_DATA_TYPE_FLOAT to check for it. */ -enum SLV2DataType +uchar* slv2_port_get_data_type(SLV2Plugin* plugin, unsigned long index); |