[vala/0.36] sqlite3: Correct return C type of Statement.column_text & Value.to_text
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.36] sqlite3: Correct return C type of Statement.column_text & Value.to_text
- Date: Thu, 28 Feb 2019 17:39:38 +0000 (UTC)
commit 4a4764678dabcb622523e96891132009fd9fe56e
Author: Jiří Janoušek <janousek jiri gmail com>
Date: Sat Jan 5 17:46:42 2019 +0100
sqlite3: Correct return C type of Statement.column_text & Value.to_text
vapi/sqlite3.vapi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/vapi/sqlite3.vapi b/vapi/sqlite3.vapi
index d6620dbbb..07a16102f 100644
--- a/vapi/sqlite3.vapi
+++ b/vapi/sqlite3.vapi
@@ -149,7 +149,7 @@ namespace Sqlite {
public int to_int ();
[CCode (cname = "sqlite3_value_int64")]
public int64 to_int64 ();
- [CCode (cname = "sqlite3_value_text")]
+ [CCode (cname = "sqlite3_value_text", type = "const unsigned char*")]
public unowned string to_text ();
[CCode (cname = "sqlite3_value_type")]
public int to_type ();
@@ -388,6 +388,7 @@ namespace Sqlite {
public double column_double (int col);
public int column_int (int col);
public int64 column_int64 (int col);
+ [CCode (type = "const unsigned char*")]
public unowned string? column_text (int col);
public int column_type (int col);
public unowned Value column_value (int col);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]