Skip to content

Commit e068bcd

Browse files
committed
1 parent 4c5aec8 commit e068bcd

File tree

1 file changed

+2
-32
lines changed

1 file changed

+2
-32
lines changed

sqlite3ext.h

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ typedef struct sqlite3_api_routines sqlite3_api_routines;
2828
** WARNING: In order to maintain backwards compatibility, add new
2929
** interfaces to the end of this structure only. If you insert new
3030
** interfaces in the middle of this structure, then older different
31-
** versions of SQLite will not be able to load each other's shared
31+
** versions of SQLite will not be able to load each others' shared
3232
** libraries!
3333
*/
3434
struct sqlite3_api_routines {
@@ -250,28 +250,11 @@ struct sqlite3_api_routines {
250250
const char *(*uri_parameter)(const char*,const char*);
251251
char *(*vsnprintf)(int,char*,const char*,va_list);
252252
int (*wal_checkpoint_v2)(sqlite3*,const char*,int,int*,int*);
253-
/* Version 3.8.7 and later */
254-
int (*auto_extension)(void(*)(void));
255-
int (*bind_blob64)(sqlite3_stmt*,int,const void*,sqlite3_uint64,
256-
void(*)(void*));
257-
int (*bind_text64)(sqlite3_stmt*,int,const char*,sqlite3_uint64,
258-
void(*)(void*),unsigned char);
259-
int (*cancel_auto_extension)(void(*)(void));
260-
int (*load_extension)(sqlite3*,const char*,const char*,char**);
261-
void *(*malloc64)(sqlite3_uint64);
262-
sqlite3_uint64 (*msize)(void*);
263-
void *(*realloc64)(void*,sqlite3_uint64);
264-
void (*reset_auto_extension)(void);
265-
void (*result_blob64)(sqlite3_context*,const void*,sqlite3_uint64,
266-
void(*)(void*));
267-
void (*result_text64)(sqlite3_context*,const char*,sqlite3_uint64,
268-
void(*)(void*), unsigned char);
269-
int (*strglob)(const char*,const char*);
270253
};
271254

272255
/*
273256
** The following macros redefine the API routines so that they are
274-
** redirected through the global sqlite3_api structure.
257+
** redirected throught the global sqlite3_api structure.
275258
**
276259
** This header file is also used by the loadext.c source file
277260
** (part of the main SQLite library - not an extension) so that
@@ -484,19 +467,6 @@ struct sqlite3_api_routines {
484467
#define sqlite3_uri_parameter sqlite3_api->uri_parameter
485468
#define sqlite3_uri_vsnprintf sqlite3_api->vsnprintf
486469
#define sqlite3_wal_checkpoint_v2 sqlite3_api->wal_checkpoint_v2
487-
/* Version 3.8.7 and later */
488-
#define sqlite3_auto_extension sqlite3_api->auto_extension
489-
#define sqlite3_bind_blob64 sqlite3_api->bind_blob64
490-
#define sqlite3_bind_text64 sqlite3_api->bind_text64
491-
#define sqlite3_cancel_auto_extension sqlite3_api->cancel_auto_extension
492-
#define sqlite3_load_extension sqlite3_api->load_extension
493-
#define sqlite3_malloc64 sqlite3_api->malloc64
494-
#define sqlite3_msize sqlite3_api->msize
495-
#define sqlite3_realloc64 sqlite3_api->realloc64
496-
#define sqlite3_reset_auto_extension sqlite3_api->reset_auto_extension
497-
#define sqlite3_result_blob64 sqlite3_api->result_blob64
498-
#define sqlite3_result_text64 sqlite3_api->result_text64
499-
#define sqlite3_strglob sqlite3_api->strglob
500470
#endif /* SQLITE_CORE */
501471

502472
#ifndef SQLITE_CORE

0 commit comments

Comments
 (0)