From 2cd84e4209633e59439c445f821bed8410347bab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 26 Jul 2006 03:25:08 +0000 Subject: - Removed all the unsigned char garbage from the API - Updated types in lv2.h to be non-machine-dependant (removed unsigned long in favour of uint32_t) - Updated schema - Updated example plugin to work with the above (partially) git-svn-id: http://svn.drobilla.net/lad/libslv2@101 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/query.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'slv2/query.h') diff --git a/slv2/query.h b/slv2/query.h index 79e7301..57d1b22 100644 --- a/slv2/query.h +++ b/slv2/query.h @@ -56,7 +56,7 @@ extern "C" { * * \return an unsigned (UTF-8) string which must be free()'d. */ -unsigned char* +char* slv2_query_header(const SLV2Plugin* p); @@ -70,8 +70,8 @@ slv2_query_header(const SLV2Plugin* p); * * eg. FILTER( LANG(?value) = "en" || LANG(?value) = "" ) */ -unsigned char* -slv2_query_lang_filter(const uchar* variable); +char* +slv2_query_lang_filter(const char* variable); /** Run a SPARQL query on a plugin's data file. @@ -85,7 +85,7 @@ slv2_query_lang_filter(const uchar* variable); */ rasqal_query_results* slv2_plugin_run_query(const SLV2Plugin* p, - const uchar* query_string, ...); + const char* query_string, ...); SLV2Property slv2_query_get_results(rasqal_query_results* results); -- cgit v1.2.1