update for use with non-null types, patch by Phil Housley
authorJuerg Billeter <j@bitron.ch>
Mon, 14 Apr 2008 21:08:08 +0000 (21:08 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Mon, 14 Apr 2008 21:08:08 +0000 (21:08 +0000)
2008-04-14  Juerg Billeter  <j@bitron.ch>

* vapi/sqlite3.vapi: update for use with non-null types,
  patch by Phil Housley

svn path=/trunk/; revision=1233

ChangeLog
vapi/sqlite3.vapi

index 13f8ee0..bf783be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-04-14  Jürg Billeter  <j@bitron.ch>
 
+       * vapi/sqlite3.vapi: update for use with non-null types,
+         patch by Phil Housley
+
+2008-04-14  Jürg Billeter  <j@bitron.ch>
+
        * vapi/sdl-mixer.vapi, vapi/sdl-ttf.vapi, vapi/sdl.vapi: update for
          use with non-null types, patch by Levi Bard, fixes bug 528097
 
index 4398f3a..71fe0b5 100644 (file)
@@ -27,7 +27,7 @@ namespace Sqlite {
        public class Database {
                public int busy_timeout (int ms);
                public int changes ();
-               public int exec (string sql, Callback sqlite3_callback = null, void* data = null, out string errmsg = null);
+               public int exec (string sql, Callback? sqlite3_callback = null, void* data = null, out string errmsg = null);
                public int extended_result_codes (int onoff);
                public int get_autocommit ();
                public void interrupt ();
@@ -38,7 +38,7 @@ namespace Sqlite {
                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, 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);