summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-08 00:17:53 +0000
committerDavid Robillard <d@drobilla.net>2011-03-08 00:17:53 +0000
commit27341a1b6bb661114184f93fadaf534d890e8498 (patch)
tree1b8c7a98d64bcb5231991bb19be8df9211223928 /slv2
parent567b4cc4fec495044e2e03d9f4d157fe65f3022a (diff)
downloadlilv-27341a1b6bb661114184f93fadaf534d890e8498.tar.gz
lilv-27341a1b6bb661114184f93fadaf534d890e8498.tar.bz2
lilv-27341a1b6bb661114184f93fadaf534d890e8498.zip
Tidy.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3053 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2')
-rw-r--r--slv2/slv2.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/slv2/slv2.h b/slv2/slv2.h
index 62ea105..dc47347 100644
--- a/slv2/slv2.h
+++ b/slv2/slv2.h
@@ -177,6 +177,7 @@ slv2_value_equals(SLV2Value value, SLV2Value other);
/**
Return this value as a Turtle/SPARQL token.
+ Returned value must be freed by caller with slv2_value_free.
<table>
<caption>Example Turtle Tokens</caption>
<tr><th>URI</th><td>&lt;http://example.org/foo &gt;</td></tr>
@@ -233,7 +234,7 @@ slv2_value_is_literal(SLV2Value value);
/**
Return whether this value is a string literal.
- Returns true if @a value is a string (but not numeric) value.
+ Returns true if @a value is a string value (and not numeric).
*/
SLV2_API
bool
@@ -367,17 +368,6 @@ unsigned
slv2_plugins_size(SLV2Plugins plugins);
/**
- Get a plugin from @a plugins by URI.
- Return value is shared (stored in @a plugins) and must not be freed or
- modified by the caller in any way.
- @return NULL if no plugin with @a uri is found in @a plugins.
-*/
-SLV2_API
-SLV2Plugin
-slv2_plugins_get_by_uri(SLV2Plugins plugins,
- SLV2Value uri);
-
-/**
Get a plugin from @a plugins by index.
@a index has no significance other than as an index into this plugins.
Any @a index not less than slv2_plugins_get_length(plugins) will return NULL,
@@ -391,6 +381,17 @@ slv2_plugins_get_at(SLV2Plugins plugins,
unsigned index);
/**
+ Get a plugin from @a plugins by URI.
+ Return value is shared (stored in @a plugins) and must not be freed or
+ modified by the caller in any way.
+ @return NULL if no plugin with @a uri is found in @a plugins.
+*/
+SLV2_API
+SLV2Plugin
+slv2_plugins_get_by_uri(SLV2Plugins plugins,
+ SLV2Value uri);
+
+/**
Get a plugin class from @a classes by URI.
Return value is shared (stored in @a classes) and must not be freed or
modified by the caller in any way.