diff options
author | David Robillard <d@drobilla.net> | 2006-07-26 03:25:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-07-26 03:25:08 +0000 |
commit | 2cd84e4209633e59439c445f821bed8410347bab (patch) | |
tree | ba34505505795cff5cf35c2958ed21933b822e12 /slv2/query.h | |
parent | deca2cc89850dffc051d0a0aafc9d681af838934 (diff) | |
download | lilv-2cd84e4209633e59439c445f821bed8410347bab.tar.gz lilv-2cd84e4209633e59439c445f821bed8410347bab.tar.bz2 lilv-2cd84e4209633e59439c445f821bed8410347bab.zip |
- 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
Diffstat (limited to 'slv2/query.h')
-rw-r--r-- | slv2/query.h | 8 |
1 files changed, 4 insertions, 4 deletions
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); |