]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Add bindings to support LAQRS extensions
authorJürg Billeter <j@bitron.ch>
Wed, 10 Dec 2008 11:19:23 +0000 (11:19 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Wed, 10 Dec 2008 11:19:23 +0000 (11:19 +0000)
2008-12-10  Jürg Billeter  <j@bitron.ch>

* vapi/rasqal.vapi:

Add bindings to support LAQRS extensions

svn path=/trunk/; revision=2133

ChangeLog
vapi/rasqal.vapi

index 313fd637167682cc10ef59c80ed234cc6c7493af..2f20fafb62f9f5212dc518e118fa1ed3fadce8d2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-10  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/rasqal.vapi:
+
+       Add bindings to support LAQRS extensions
+
 2008-12-09  Jürg Billeter  <j@bitron.ch>
 
        * gobject/valagsignalmodule.vala:
index 67be89ae2c1a056d6303766dc3e3ba2275275cad..e4431859dcd9b01b38c2859953ca7ca8ca136e14 100644 (file)
@@ -47,7 +47,11 @@ namespace Rasqal {
                OR,
                LITERAL,
                ORDER_COND_ASC,
-               ORDER_COND_DESC
+               ORDER_COND_DESC,
+               GROUP_COND_ASC,
+               GROUP_COND_DESC,
+               COUNT,
+               VARSTAR
        }
 
        [Compact]
@@ -91,6 +95,9 @@ namespace Rasqal {
                [CCode (cname = "rasqal_new_query")]
                public Query (string? name, string? uri);
                public bool get_distinct ();
+               public int get_limit ();
+               public int get_offset ();
+               public weak Expression? get_group_condition (int idx);
                public weak Expression? get_order_condition (int idx);
                public weak GraphPattern get_query_graph_pattern ();
                public weak Variable? get_variable (int idx);
@@ -112,6 +119,7 @@ namespace Rasqal {
        [CCode (cname = "rasqal_variable", free_function = "rasqal_free_variable")]
        public class Variable {
                public weak string? name;
+               public Expression? expression;
        }
 }