diff options
author | Jürg Billeter <j@bitron.ch> | 2010-03-20 11:31:04 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2010-03-20 11:31:04 +0100 |
commit | 96f442f159a424faa3617ebdab23cdcb61af7873 (patch) | |
tree | 6714db5d17251cfeb15e342a967c0403e3ccb4e8 /vapi/sqlite3.vapi | |
parent | 17c5f08651bb39f219b502f8732692b83636183d (diff) | |
download | vala-96f442f159a424faa3617ebdab23cdcb61af7873.tar.gz |
Do not use `weak' modifier where it is not applicable
Diffstat (limited to 'vapi/sqlite3.vapi')
-rw-r--r-- | vapi/sqlite3.vapi | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vapi/sqlite3.vapi b/vapi/sqlite3.vapi index c9d3e266c..702e8e011 100644 --- a/vapi/sqlite3.vapi +++ b/vapi/sqlite3.vapi @@ -41,7 +41,7 @@ namespace Sqlite { 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 unowned string errmsg (); public int prepare (string sql, int n_bytes, out Statement stmt, out string tail = null); public int prepare_v2 (string sql, int n_bytes, out Statement stmt, out string tail = null); public void trace (TraceCallback? xtrace); @@ -74,7 +74,7 @@ namespace Sqlite { [CCode (cname = "sqlite3_value_int64")] public int64 to_int64 (); [CCode (cname = "sqlite3_value_text")] - public weak string to_text (); + public unowned string to_text (); [CCode (cname = "sqlite3_value_type")] public int to_type (); [CCode (cname = "sqlite3_value_numeric_type")] @@ -169,11 +169,11 @@ namespace Sqlite { public class Statement { public int bind_parameter_count (); public int bind_parameter_index (string name); - public weak string bind_parameter_name (int index); + public unowned string bind_parameter_name (int index); public int clear_bindings (); public int column_count (); public int data_count (); - public weak Database db_handle (); + public unowned Database db_handle (); public int reset (); public int step (); public int bind_blob (int index, void* value, int n, GLib.DestroyNotify destroy_notify); @@ -189,11 +189,11 @@ namespace Sqlite { public double column_double (int col); public int column_int (int col); public int64 column_int64 (int col); - public weak string column_text (int col); + public unowned string column_text (int col); public int column_type (int col); - public weak Value column_value (int col); - public weak string column_name (int index); - public weak string sql (); + public unowned Value column_value (int col); + public unowned string column_name (int index); + public unowned string sql (); } [Compact] |