From 27341a1b6bb661114184f93fadaf534d890e8498 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 8 Mar 2011 00:17:53 +0000 Subject: Tidy. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3053 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/slv2.h | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'slv2/slv2.h') 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. @@ -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 @@ -366,17 +367,6 @@ SLV2_API 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. @@ -390,6 +380,17 @@ SLV2Plugin 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 -- cgit v1.2.1
Example Turtle Tokens
URI<http://example.org/foo >