summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-16 00:52:59 +0000
committerDavid Robillard <d@drobilla.net>2008-01-16 00:52:59 +0000
commit072105a853f756383fea2ae295f0d97fcc2fac53 (patch)
treeba061bf26e1d905ba47f9949725d8eccb0603faf /slv2
parent90e21f5c5c1926b3c8a50ddbf9e102e4a2a774fa (diff)
downloadlilv-072105a853f756383fea2ae295f0d97fcc2fac53.tar.gz
lilv-072105a853f756383fea2ae295f0d97fcc2fac53.tar.bz2
lilv-072105a853f756383fea2ae295f0d97fcc2fac53.zip
SLV2 0.4.5 + documentation fixes.
git-svn-id: http://svn.drobilla.net/lad/slv2@1060 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2')
-rw-r--r--slv2/portsignature.h4
-rw-r--r--slv2/template.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/slv2/portsignature.h b/slv2/portsignature.h
index 700b572..d35d63e 100644
--- a/slv2/portsignature.h
+++ b/slv2/portsignature.h
@@ -32,12 +32,16 @@ extern "C" {
/** Get the direction (input or output) of the port.
+ *
+ * Time = O(1)
*/
SLV2PortDirection
slv2_port_signature_get_direction(SLV2PortSignature sig);
/** Get the type (e.g. audio, midi) of the port.
+ *
+ * Time = O(1)
*/
SLV2PortDataType
slv2_port_signature_get_type(SLV2PortSignature sig);
diff --git a/slv2/template.h b/slv2/template.h
index a65ae40..47aac30 100644
--- a/slv2/template.h
+++ b/slv2/template.h
@@ -32,12 +32,16 @@ extern "C" {
/** Free an SLV2Template.
+ *
+ * Time = O(1) + free()
*/
void
slv2_template_free(SLV2Template);
/** Get the signature (direction and type) of a port
+ *
+ * Time = O(1)
*/
SLV2PortSignature
slv2_template_get_port(SLV2Template t,
@@ -45,12 +49,16 @@ slv2_template_get_port(SLV2Template t,
/** Get the total number of ports.
+ *
+ * Time = O(1)
*/
uint32_t
slv2_template_get_num_ports(SLV2Template t);
/** Get the number of ports of a given direction and type.
+ *
+ * Time = O(1)
*/
uint32_t
slv2_template_get_num_ports_of_type(SLV2Template t,