summaryrefslogtreecommitdiffstats
path: root/src/query.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-22 19:19:05 +0000
committerDavid Robillard <d@drobilla.net>2006-07-22 19:19:05 +0000
commitdeca2cc89850dffc051d0a0aafc9d681af838934 (patch)
treecfca762a3b03289385bb40c17673b4483142c420 /src/query.c
parentc7153b1a3d607108bab6cd8d6719977ffb213092 (diff)
downloadlilv-deca2cc89850dffc051d0a0aafc9d681af838934.tar.gz
lilv-deca2cc89850dffc051d0a0aafc9d681af838934.tar.bz2
lilv-deca2cc89850dffc051d0a0aafc9d681af838934.zip
Removed data type enumeration in favour of using the URI directly
git-svn-id: http://svn.drobilla.net/lad/libslv2@100 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/query.c')
-rw-r--r--src/query.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/query.c b/src/query.c
index ddaf648..da9239d 100644
--- a/src/query.c
+++ b/src/query.c
@@ -50,8 +50,8 @@ slv2_query_lang_filter(const uchar* variable)
// FILTER( LANG(?value) = "en" || LANG(?value) = "" )
result = ustrjoin(
//U("FILTER (lang(?value) = \""), lang, U("\")\n"), 0);
- U("FILTER( lang(?value) = \""), lang,
- U("\" || lang(?value) = \"\" )\n"), NULL);
+ U("FILTER( lang(?"), variable, U(") = \""), lang,
+ U("\" || lang(?"), variable, U(") = \"\" )\n"), NULL);
}
return result;
@@ -122,3 +122,11 @@ slv2_query_get_results(rasqal_query_results* results)
return result;
}
+void
+slv2_property_free(struct _Property* prop)
+{
+ //struct _Property* prop = (struct _Property*)property;
+ free(prop->values);
+ free(prop);
+}
+