summaryrefslogtreecommitdiffstats
path: root/src/query.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-19 18:29:16 +0000
committerDavid Robillard <d@drobilla.net>2007-04-19 18:29:16 +0000
commitc625507d8a3101742c083dd030cbd1e1e295a9a0 (patch)
tree038277c2016d99c02b80500f928c25b6af4eb9f1 /src/query.c
parent45fa5e4b4cd73edadf656471f0557603096d8874 (diff)
downloadlilv-c625507d8a3101742c083dd030cbd1e1e295a9a0.tar.gz
lilv-c625507d8a3101742c083dd030cbd1e1e295a9a0.tar.bz2
lilv-c625507d8a3101742c083dd030cbd1e1e295a9a0.zip
Renamed SLV2Model SLV2World.
Updated Ingen for SLV2 API changes. git-svn-id: http://svn.drobilla.net/lad/slv2@459 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/query.c')
-rw-r--r--src/query.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/query.c b/src/query.c
index 7127a8d..968834c 100644
--- a/src/query.c
+++ b/src/query.c
@@ -124,7 +124,7 @@ slv2_plugin_query(SLV2Plugin plugin,
//printf("******** Query \n%s********\n", query_str);
- librdf_query *rq = librdf_new_query(plugin->model->world, "sparql", NULL,
+ librdf_query *rq = librdf_new_query(plugin->world->world, "sparql", NULL,
(const unsigned char*)query_str, base_uri);
if (!rq) {
@@ -200,7 +200,7 @@ slv2_query_count_results(SLV2Plugin p,
assert(p);
assert(query_str);
- librdf_query *rq = librdf_new_query(p->model->world, "sparql", NULL,
+ librdf_query *rq = librdf_new_query(p->world->world, "sparql", NULL,
(unsigned char*)query_str, NULL);
//printf("Query: \n%s\n\n", query_str);
@@ -209,7 +209,7 @@ slv2_query_count_results(SLV2Plugin p,
//librdf_query_add_data_graph(rq, slv2_ontology_uri,
// NULL, RASQAL_DATA_GRAPH_BACKGROUND);
- librdf_query_results* results = librdf_query_execute(rq, p->model->model);
+ librdf_query_results* results = librdf_query_execute(rq, p->world->model);
assert(results);
size_t count = slv2_query_count_bindings(results);