summaryrefslogtreecommitdiffstats
path: root/slv2/stringlist.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-02-19 00:46:59 +0000
committerDavid Robillard <d@drobilla.net>2007-02-19 00:46:59 +0000
commitd3d736deba06ca2ef655858ac22d8267c5cc6363 (patch)
tree1f21bcdb93d2935a3641c7e150771688bb1b63bb /slv2/stringlist.h
parent0153919a422e7a520c38f9cd01e9a079f73c80fd (diff)
downloadlilv-d3d736deba06ca2ef655858ac22d8267c5cc6363.tar.gz
lilv-d3d736deba06ca2ef655858ac22d8267c5cc6363.tar.bz2
lilv-d3d736deba06ca2ef655858ac22d8267c5cc6363.zip
Header/API cleanups.
Removed public exposure of raptor/rasqal. Redefined opaque types properly. git-svn-id: http://svn.drobilla.net/lad/slv2@317 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/stringlist.h')
-rw-r--r--slv2/stringlist.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/slv2/stringlist.h b/slv2/stringlist.h
index 4abb383..7414659 100644
--- a/slv2/stringlist.h
+++ b/slv2/stringlist.h
@@ -21,9 +21,6 @@
#include <stdbool.h>
-typedef void* SLV2Strings;
-
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -38,6 +35,9 @@ extern "C" {
*/
+typedef void* SLV2Strings;
+
+
/** Allocate a new, empty SLV2Strings
*/
SLV2Strings
@@ -47,21 +47,21 @@ slv2_strings_new();
/** Get the number of elements in a string list.
*/
unsigned
-slv2_strings_size(const SLV2Strings list);
+slv2_strings_size(SLV2Strings list);
/** Get a string from a string list at the given index.
*
* @return the element at @a index, or NULL if index is out of range.
*/
-char*
-slv2_strings_get_at(const SLV2Strings list, unsigned index);
+const char*
+slv2_strings_get_at(SLV2Strings list, unsigned index);
/** Return whether @a list contains @a uri.
*/
bool
-slv2_strings_contains(const SLV2Strings list, const char* uri);
+slv2_strings_contains(SLV2Strings list, const char* uri);
/** Free a string list. */