summaryrefslogtreecommitdiffstats
path: root/slv2/values.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-12 17:58:12 +0000
committerDavid Robillard <d@drobilla.net>2008-01-12 17:58:12 +0000
commit98cc3bd853c47f6cd1cf02cf14e00413993fd6f5 (patch)
treefc31d4304b5a9bb4ba5df30704c3b773558359b1 /slv2/values.h
parent2ea341ef3313b189315367ad6beadc23eec227e3 (diff)
downloadlilv-98cc3bd853c47f6cd1cf02cf14e00413993fd6f5.tar.gz
lilv-98cc3bd853c47f6cd1cf02cf14e00413993fd6f5.tar.bz2
lilv-98cc3bd853c47f6cd1cf02cf14e00413993fd6f5.zip
Add plugin template interface (fast discovery of plugins with certain I/O
characteristics). git-svn-id: http://svn.drobilla.net/lad/slv2@1051 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/values.h')
-rw-r--r--slv2/values.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/slv2/values.h b/slv2/values.h
index 9d6c717..40da342 100644
--- a/slv2/values.h
+++ b/slv2/values.h
@@ -19,13 +19,13 @@
#ifndef __SLV2_VALUES_H__
#define __SLV2_VALUES_H__
-#include <stdbool.h>
-#include <slv2/value.h>
-
#ifdef __cplusplus
extern "C" {
#endif
+#include <stdbool.h>
+#include <slv2/value.h>
+
/** \defgroup slv2_collections Collections of values/objects
*
* Ordered collections of typed values which are fast for random
@@ -41,6 +41,12 @@ SLV2Values
slv2_values_new();
+/** Free an SLV2Values.
+ */
+void
+slv2_values_free(SLV2Values);
+
+
/** Get the number of elements in a string list.
*/
unsigned
@@ -57,7 +63,7 @@ SLV2Value
slv2_values_get_at(SLV2Values list, unsigned index);
-/** Return whether \a list contains \a string.
+/** Return whether \a list contains \a value.
*
* Time = O(n)
*/
@@ -65,12 +71,6 @@ bool
slv2_values_contains(SLV2Values list, SLV2Value value);
-/** Free a string list.
- */
-void
-slv2_values_free(SLV2Values);
-
-
/** @} */
#ifdef __cplusplus