diff options
author | Jordan <me@jordan.im> | 2023-08-18 00:08:21 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2023-08-18 00:08:21 -0700 |
commit | 61553158764c6801578076c72d8bffb423e343cc (patch) | |
tree | 5d45cf4b6699eebf01e9f2b6ac9ff0000819ebd2 /vendor/github.com/mattn/go-sqlite3/sqlite3ext.h | |
parent | 001a042ccba1c3faf340d8217ee8d15efa60dc05 (diff) | |
download | keep-61553158764c6801578076c72d8bffb423e343cc.tar.gz keep-61553158764c6801578076c72d8bffb423e343cc.zip |
misc: go get -u; go mod tidy; go mod vendor
Diffstat (limited to 'vendor/github.com/mattn/go-sqlite3/sqlite3ext.h')
-rw-r--r-- | vendor/github.com/mattn/go-sqlite3/sqlite3ext.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3ext.h b/vendor/github.com/mattn/go-sqlite3/sqlite3ext.h index 940f162..819e2e3 100644 --- a/vendor/github.com/mattn/go-sqlite3/sqlite3ext.h +++ b/vendor/github.com/mattn/go-sqlite3/sqlite3ext.h @@ -336,9 +336,9 @@ struct sqlite3_api_routines { const char *(*filename_journal)(const char*); const char *(*filename_wal)(const char*); /* Version 3.32.0 and later */ - char *(*create_filename)(const char*,const char*,const char*, + const char *(*create_filename)(const char*,const char*,const char*, int,const char**); - void (*free_filename)(char*); + void (*free_filename)(const char*); sqlite3_file *(*database_file_object)(const char*); /* Version 3.34.0 and later */ int (*txn_state)(sqlite3*,const char*); @@ -362,6 +362,10 @@ struct sqlite3_api_routines { unsigned char *(*serialize)(sqlite3*,const char *,sqlite3_int64*, unsigned int); const char *(*db_name)(sqlite3*,int); + /* Version 3.40.0 and later */ + int (*value_encoding)(sqlite3_value*); + /* Version 3.41.0 and later */ + int (*is_interrupted)(sqlite3*); }; /* @@ -686,6 +690,10 @@ typedef int (*sqlite3_loadext_entry)( #define sqlite3_serialize sqlite3_api->serialize #endif #define sqlite3_db_name sqlite3_api->db_name +/* Version 3.40.0 and later */ +#define sqlite3_value_encoding sqlite3_api->value_encoding +/* Version 3.41.0 and later */ +#define sqlite3_is_interrupted sqlite3_api->is_interrupted #endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */ #if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) |