X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=sqlite%2Fsqlite3ext.h;h=34c41fd5a97a4d1c7d8138af66b76fa47b71a5bd;hb=df90ec17796ac5e86bc8c38ff09b451b6a022e1b;hp=35d9950cf62c31f4e2ebe3304f1e95cf6459391d;hpb=3cd4e5c6f411d181d27c6a169fc214245e913286;p=zpackage diff --git a/sqlite/sqlite3ext.h b/sqlite/sqlite3ext.h index 35d9950..34c41fd 100644 --- a/sqlite/sqlite3ext.h +++ b/sqlite/sqlite3ext.h @@ -310,12 +310,15 @@ struct sqlite3_api_routines { int (*str_errcode)(sqlite3_str*); int (*str_length)(sqlite3_str*); char *(*str_value)(sqlite3_str*); + /* Version 3.25.0 and later */ int (*create_window_function)(sqlite3*,const char*,int,int,void*, void (*xStep)(sqlite3_context*,int,sqlite3_value**), void (*xFinal)(sqlite3_context*), void (*xValue)(sqlite3_context*), void (*xInv)(sqlite3_context*,int,sqlite3_value**), void(*xDestroy)(void*)); + /* Version 3.26.0 and later */ + const char *(*normalized_sql)(sqlite3_stmt*); }; /* @@ -603,6 +606,8 @@ typedef int (*sqlite3_loadext_entry)( #define sqlite3_str_value sqlite3_api->str_value /* Version 3.25.0 and later */ #define sqlite3_create_window_function sqlite3_api->create_window_function +/* Version 3.26.0 and later */ +#define sqlite3_normalized_sql sqlite3_api->normalized_sql #endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */ #if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)