summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-28 22:08:51 +0000
committerDavid Robillard <d@drobilla.net>2007-04-28 22:08:51 +0000
commit2afaf28258dc8b6546c6f1c762f0d401bb50b896 (patch)
tree6f8931492a406f47b260f6060bb2fdb4d71aa25e /slv2
parent5d1f3ff25d5060fedfad4fb1b3fa956f478a043b (diff)
downloadlilv-2afaf28258dc8b6546c6f1c762f0d401bb50b896.tar.gz
lilv-2afaf28258dc8b6546c6f1c762f0d401bb50b896.tar.bz2
lilv-2afaf28258dc8b6546c6f1c762f0d401bb50b896.zip
Use index instead of variable name for selecting query variables (performance enhancement).
Improved ladspa2lv2, converting port hints and min/max/default values. git-svn-id: http://svn.drobilla.net/lad/slv2@481 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2')
-rw-r--r--slv2/plugin.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/slv2/plugin.h b/slv2/plugin.h
index fa43be0..7e7c928 100644
--- a/slv2/plugin.h
+++ b/slv2/plugin.h
@@ -265,7 +265,8 @@ slv2_plugin_get_optional_features(SLV2Plugin p);
*
* \param plugin The plugin to query.
* \param sparql_str A SPARQL SELECT query.
- * \param variable The variable to return results for.
+ * \param variable The index of the variable to return results for
+ * (i.e. with "<code>SELECT ?foo ?bar</code>" foo is 0, and bar is 1).
* \return All matches for \a variable.
*
* Time = Query
@@ -273,7 +274,7 @@ slv2_plugin_get_optional_features(SLV2Plugin p);
SLV2Values
slv2_plugin_simple_query(SLV2Plugin plugin,
const char* sparql_str,
- const char* variable);
+ unsigned variable);
/** Query a plugin and return the number of results found.