[vala/wip/mjog/sqlite-statement-updates] vapi: Add missing SQL methods from Sqlite.Statement
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/mjog/sqlite-statement-updates] vapi: Add missing SQL methods from Sqlite.Statement
- Date: Mon, 5 Aug 2019 13:51:37 +0000 (UTC)
commit e9389ac8f385ee0abe80ad5f0a8f75fcbd13a8c4
Author: Michael Gratton <mike vee net>
Date: Mon Aug 5 23:15:27 2019 +1000
vapi: Add missing SQL methods from Sqlite.Statement
vapi/sqlite3.vapi | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/vapi/sqlite3.vapi b/vapi/sqlite3.vapi
index 07a16102f..e9f23712d 100644
--- a/vapi/sqlite3.vapi
+++ b/vapi/sqlite3.vapi
@@ -397,6 +397,15 @@ namespace Sqlite {
public unowned string column_table_name (int col);
public unowned string column_origin_name (int col);
public unowned string sql ();
+ public string? expanded_sql () {
+ string* sqlite = this._expanded_sql ();
+ string? sql = sqlite;
+ Sqlite.Memory.free ((void*) sqlite);
+ return sql;
+ }
+ [CCode (cname = "sqlite3_expanded_sql")]
+ private string? _expanded_sql ();
+ public unowned string normalised_sql ();
}
namespace Memory {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]