[vala] sqlite3: Rename sqlite3_callback parameter to callback



commit 0d620ca3670aa413a5964da596dffd8781b4e814
Author: Luca Bruno <lucabru src gnome org>
Date:   Fri Jul 1 20:20:57 2011 +0200

    sqlite3: Rename sqlite3_callback parameter to callback
    
    Avoid possible conflicts with the C type sqlite3_callback.

 vapi/sqlite3.vapi |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vapi/sqlite3.vapi b/vapi/sqlite3.vapi
index 2188053..f4eaf0f 100644
--- a/vapi/sqlite3.vapi
+++ b/vapi/sqlite3.vapi
@@ -29,11 +29,11 @@ namespace Sqlite {
 		public int busy_timeout (int ms);
 		public int changes ();
 		[CCode (cname = "sqlite3_exec")]
-		public int _exec (string sql, Callback? sqlite3_callback = null, [CCode (type = "char**")] out unowned string errmsg = null);
+		public int _exec (string sql, Callback? callback = null, [CCode (type = "char**")] out unowned string errmsg = null);
 		[CCode (cname = "_sqlite3_exec")]
-		public int exec (string sql, Callback? sqlite3_callback = null, out string errmsg = null) {
+		public int exec (string sql, Callback? callback = null, out string errmsg = null) {
 			unowned string sqlite_errmsg;
-			var ec = this._exec (sql, sqlite3_callback, out sqlite_errmsg);
+			var ec = this._exec (sql, callback, out sqlite_errmsg);
 			if (&errmsg != null) {
 				errmsg = sqlite_errmsg;
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]