restore compatibility with sqlite < 3.5.0
authorJuerg Billeter <j@bitron.ch>
Thu, 17 Apr 2008 20:31:50 +0000 (20:31 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Thu, 17 Apr 2008 20:31:50 +0000 (20:31 +0000)
2008-04-17  Juerg Billeter  <j@bitron.ch>

* vapi/sqlite3.vapi: restore compatibility with sqlite < 3.5.0

svn path=/trunk/; revision=1253

ChangeLog
vapi/sqlite3.vapi

index 4d94003..879eb83 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-04-17  Jürg Billeter  <j@bitron.ch>
 
+       * vapi/sqlite3.vapi: restore compatibility with sqlite < 3.5.0
+
+2008-04-17  Jürg Billeter  <j@bitron.ch>
+
        * vala/valasemanticanalyzer.vala: report error when using `this' or
          `base' access outside of instance methods
 
index 71fe0b5..355a2f4 100644 (file)
@@ -37,8 +37,8 @@ namespace Sqlite {
                public int complete (string sql);
                public int get_table (string sql, out string[] resultp, ref int nrow, ref int ncolumn, out string errmsg);
                public static void free_table(string[] result);
-               [CCode (cname = "sqlite3_open_v2")]
-               public static int open (string filename, out Database db, int flags = OPEN_READWRITE | OPEN_CREATE, string? zVfs = null);
+               public static int open (string filename, out Database db);
+               public static int open_v2 (string filename, out Database db, int flags = OPEN_READWRITE | OPEN_CREATE, string? zVfs = null);
                public int errcode ();
                public weak string errmsg ();
                public int prepare (string sql, int n_bytes, out Statement stmt, out string tail = null);