From 072105a853f756383fea2ae295f0d97fcc2fac53 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Jan 2008 00:52:59 +0000 Subject: SLV2 0.4.5 + documentation fixes. git-svn-id: http://svn.drobilla.net/lad/slv2@1060 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/portsignature.h | 4 ++++ slv2/template.h | 8 ++++++++ 2 files changed, 12 insertions(+) (limited to 'slv2') 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, -- cgit v1.2.1