From d65373803d3b55960a212284818aa54d12e6d018 Mon Sep 17 00:00:00 2001 From: Michael James Gratton Date: Sat, 28 Apr 2018 20:46:54 +1000 Subject: [PATCH] sqlite3: Add additional constants for flags of Database.open_v2() https://bugzilla.gnome.org/show_bug.cgi?id=795627 --- vapi/sqlite3.vapi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/vapi/sqlite3.vapi b/vapi/sqlite3.vapi index cd331df00..d6620dbbb 100644 --- a/vapi/sqlite3.vapi +++ b/vapi/sqlite3.vapi @@ -224,6 +224,18 @@ namespace Sqlite { public const int OPEN_READWRITE; [CCode (cname = "SQLITE_OPEN_CREATE")] public const int OPEN_CREATE; + [CCode (cname = "SQLITE_OPEN_URI")] + public const int OPEN_URI; + [CCode (cname = "SQLITE_OPEN_MEMORY")] + public const int OPEN_MEMORY; + [CCode (cname = "SQLITE_OPEN_NOMUTEX")] + public const int OPEN_NOMUTEX; + [CCode (cname = "SQLITE_OPEN_FULLMUTEX")] + public const int OPEN_FULLMUTEX; + [CCode (cname = "SQLITE_OPEN_SHAREDCACHE")] + public const int OPEN_SHAREDCACHE; + [CCode (cname = "SQLITE_OPEN_PRIVATECACHE")] + public const int OPEN_PRIVATECACHE; [CCode (cname = "SQLITE_INTEGER")] public const int INTEGER; [CCode (cname = "SQLITE_FLOAT")] -- 2.11.4.GIT