sqlite3ext.h (251886) | sqlite3ext.h (269851) |
---|---|
1/* 2** 2006 June 7 3** 4** The author disclaims copyright to this source code. In place of 5** a legal notice, here is a blessing: 6** 7** May you do good and not evil. 8** May you find forgiveness for yourself and forgive others. --- 460 unchanged lines hidden (view full) --- 469#define sqlite3_wal_checkpoint_v2 sqlite3_api->wal_checkpoint_v2 470#endif /* SQLITE_CORE */ 471 472#ifndef SQLITE_CORE 473 /* This case when the file really is being compiled as a loadable 474 ** extension */ 475# define SQLITE_EXTENSION_INIT1 const sqlite3_api_routines *sqlite3_api=0; 476# define SQLITE_EXTENSION_INIT2(v) sqlite3_api=v; | 1/* 2** 2006 June 7 3** 4** The author disclaims copyright to this source code. In place of 5** a legal notice, here is a blessing: 6** 7** May you do good and not evil. 8** May you find forgiveness for yourself and forgive others. --- 460 unchanged lines hidden (view full) --- 469#define sqlite3_wal_checkpoint_v2 sqlite3_api->wal_checkpoint_v2 470#endif /* SQLITE_CORE */ 471 472#ifndef SQLITE_CORE 473 /* This case when the file really is being compiled as a loadable 474 ** extension */ 475# define SQLITE_EXTENSION_INIT1 const sqlite3_api_routines *sqlite3_api=0; 476# define SQLITE_EXTENSION_INIT2(v) sqlite3_api=v; |
477# define SQLITE_EXTENSION_INIT3 \ 478 extern const sqlite3_api_routines *sqlite3_api; |
|
477#else 478 /* This case when the file is being statically linked into the 479 ** application */ 480# define SQLITE_EXTENSION_INIT1 /*no-op*/ 481# define SQLITE_EXTENSION_INIT2(v) (void)v; /* unused parameter */ | 479#else 480 /* This case when the file is being statically linked into the 481 ** application */ 482# define SQLITE_EXTENSION_INIT1 /*no-op*/ 483# define SQLITE_EXTENSION_INIT2(v) (void)v; /* unused parameter */ |
484# define SQLITE_EXTENSION_INIT3 /*no-op*/ |
|
482#endif 483 484#endif /* _SQLITE3EXT_H_ */ | 485#endif 486 487#endif /* _SQLITE3EXT_H_ */ |