summaryrefslogtreecommitdiffstats
path: root/slv2/values.h
diff options
context:
space:
mode:
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