SQLite4
Check-in [995c17a6f1]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:"Uplifted" KVFactory::xFactory's type to typedef KVFactory_factory_f.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 995c17a6f1127f342994991e2473f304dc903fea
User & Date: stephan 2012-06-29 21:40:37
Context
2012-06-29
22:49
merged in [3abadc2e11ef] (approved by drh). check-in: b66a99f023 user: stephan tags: trunk
22:42
"uplifted" sqlite4::init to Sqlite4InitInfo typedef. Closed-Leaf check-in: 3abadc2e11 user: stephan tags: stephan
21:40
"Uplifted" KVFactory::xFactory's type to typedef KVFactory_factory_f. check-in: 995c17a6f1 user: stephan tags: trunk
21:38
va_arg function ptr conversion changed to a typedef for portability (tcc). The tcc guys claim (with references) that the syntax fault is sqlite's here. check-in: db19977f62 user: stephan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h.

2382
2383
2384
2385
2386
2387
2388





2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
typedef struct {
  sqlite4 *db;        /* The database being initialized */
  int iDb;            /* 0 for main database.  1 for TEMP, 2.. for ATTACHed */
  char **pzErrMsg;    /* Error message stored here */
  int rc;             /* Result code stored here */
} InitData;






/*
** A pluggable storage engine
*/
typedef struct KVFactory {
  struct KVFactory *pNext;          /* Next in list of them all */
  const char *zName;                /* Name of this factory */
  int (*xFactory)(sqlite4_env*,sqlite4_kvstore**,const char*,unsigned);
  int isPerm;                       /* True if a built-in.  Cannot be popped */
} KVFactory;

/*
** An instance of this structure defines the run-time environment.
*/
struct sqlite4_env {







>
>
>
>
>






|







2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
typedef struct {
  sqlite4 *db;        /* The database being initialized */
  int iDb;            /* 0 for main database.  1 for TEMP, 2.. for ATTACHed */
  char **pzErrMsg;    /* Error message stored here */
  int rc;             /* Result code stored here */
} InitData;

/*
** FIXME: missing docs
*/
typedef int (*KVFactory_factory_f)(sqlite4_env*,sqlite4_kvstore**,const char*,unsigned);

/*
** A pluggable storage engine
*/
typedef struct KVFactory {
  struct KVFactory *pNext;          /* Next in list of them all */
  const char *zName;                /* Name of this factory */
  KVFactory_factory_f xFactory;
  int isPerm;                       /* True if a built-in.  Cannot be popped */
} KVFactory;

/*
** An instance of this structure defines the run-time environment.
*/
struct sqlite4_env {