[vala] sqlite3: Do not use `weak' modifier where it is not applicable



commit 2caf4455a30c6b72c2ac5ed7a3d43dc04605c02c
Author: Jürg Billeter <j bitron ch>
Date:   Sat Mar 20 17:20:08 2010 +0100

    sqlite3: Do not use `weak' modifier where it is not applicable

 vapi/sqlite3.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/sqlite3.vapi b/vapi/sqlite3.vapi
index 702e8e0..b592527 100644
--- a/vapi/sqlite3.vapi
+++ b/vapi/sqlite3.vapi
@@ -36,7 +36,7 @@ namespace Sqlite {
 		public int total_changes ();
 
 		public int complete (string sql);
-		public int get_table (string sql, [CCode (array_length = false)] out weak string[] resultp, out int nrow, out int ncolumn, out string errmsg);
+		public int get_table (string sql, [CCode (array_length = false)] out unowned string[] resultp, out int nrow, out int ncolumn, out string errmsg);
 		public static void free_table ([CCode (array_length = false)] string[] result);
 		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);



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