require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&SQLITE3_H)) {
    eval 'sub SQLITE3_H () {1;}' unless defined(&SQLITE3_H);
    require 'stdarg.ph';
    if(defined(&__cplusplus)) {
    }
    unless(defined(&SQLITE_EXTERN)) {
	eval 'sub SQLITE_EXTERN () { &extern;}' unless defined(&SQLITE_EXTERN);
    }
    unless(defined(&SQLITE_API)) {
	eval 'sub SQLITE_API () {1;}' unless defined(&SQLITE_API);
    }
    unless(defined(&SQLITE_CDECL)) {
	eval 'sub SQLITE_CDECL () {1;}' unless defined(&SQLITE_CDECL);
    }
    unless(defined(&SQLITE_APICALL)) {
	eval 'sub SQLITE_APICALL () {1;}' unless defined(&SQLITE_APICALL);
    }
    unless(defined(&SQLITE_STDCALL)) {
	eval 'sub SQLITE_STDCALL () { &SQLITE_APICALL;}' unless defined(&SQLITE_STDCALL);
    }
    unless(defined(&SQLITE_CALLBACK)) {
	eval 'sub SQLITE_CALLBACK () {1;}' unless defined(&SQLITE_CALLBACK);
    }
    unless(defined(&SQLITE_SYSAPI)) {
	eval 'sub SQLITE_SYSAPI () {1;}' unless defined(&SQLITE_SYSAPI);
    }
    eval 'sub SQLITE_DEPRECATED () {1;}' unless defined(&SQLITE_DEPRECATED);
    eval 'sub SQLITE_EXPERIMENTAL () {1;}' unless defined(&SQLITE_EXPERIMENTAL);
    if(defined(&SQLITE_VERSION)) {
	undef(&SQLITE_VERSION) if defined(&SQLITE_VERSION);
    }
    if(defined(&SQLITE_VERSION_NUMBER)) {
	undef(&SQLITE_VERSION_NUMBER) if defined(&SQLITE_VERSION_NUMBER);
    }
    eval 'sub SQLITE_VERSION () {"3.26.0";}' unless defined(&SQLITE_VERSION);
    eval 'sub SQLITE_VERSION_NUMBER () {3026000;}' unless defined(&SQLITE_VERSION_NUMBER);
    eval 'sub SQLITE_SOURCE_ID () {"2018-12-01 12:34:55 bf8c1b2b7a5960c282e543b9c293686dccff272512d08865f4600fb58238b4f9";}' unless defined(&SQLITE_SOURCE_ID);
    unless(defined(&SQLITE_OMIT_COMPILEOPTION_DIAGS)) {
    }
    if(defined(&SQLITE_INT64_TYPE)) {
	if(defined(&SQLITE_UINT64_TYPE)) {
	} else {
	}
    }
 elsif(defined(&_MSC_VER) || defined(&__BORLANDC__)) {
    } else {
    }
    if(defined(&SQLITE_OMIT_FLOATING_POINT)) {
	eval 'sub double () { &sqlite3_int64;}' unless defined(&double);
    }
    eval 'sub SQLITE_OK () {0;}' unless defined(&SQLITE_OK);
    eval 'sub SQLITE_ERROR () {1;}' unless defined(&SQLITE_ERROR);
    eval 'sub SQLITE_INTERNAL () {2;}' unless defined(&SQLITE_INTERNAL);
    eval 'sub SQLITE_PERM () {3;}' unless defined(&SQLITE_PERM);
    eval 'sub SQLITE_ABORT () {4;}' unless defined(&SQLITE_ABORT);
    eval 'sub SQLITE_BUSY () {5;}' unless defined(&SQLITE_BUSY);
    eval 'sub SQLITE_LOCKED () {6;}' unless defined(&SQLITE_LOCKED);
    eval 'sub SQLITE_NOMEM () {7;}' unless defined(&SQLITE_NOMEM);
    eval 'sub SQLITE_READONLY () {8;}' unless defined(&SQLITE_READONLY);
    eval 'sub SQLITE_INTERRUPT () {9;}' unless defined(&SQLITE_INTERRUPT);
    eval 'sub SQLITE_IOERR () {10;}' unless defined(&SQLITE_IOERR);
    eval 'sub SQLITE_CORRUPT () {11;}' unless defined(&SQLITE_CORRUPT);
    eval 'sub SQLITE_NOTFOUND () {12;}' unless defined(&SQLITE_NOTFOUND);
    eval 'sub SQLITE_FULL () {13;}' unless defined(&SQLITE_FULL);
    eval 'sub SQLITE_CANTOPEN () {14;}' unless defined(&SQLITE_CANTOPEN);
    eval 'sub SQLITE_PROTOCOL () {15;}' unless defined(&SQLITE_PROTOCOL);
    eval 'sub SQLITE_EMPTY () {16;}' unless defined(&SQLITE_EMPTY);
    eval 'sub SQLITE_SCHEMA () {17;}' unless defined(&SQLITE_SCHEMA);
    eval 'sub SQLITE_TOOBIG () {18;}' unless defined(&SQLITE_TOOBIG);
    eval 'sub SQLITE_CONSTRAINT () {19;}' unless defined(&SQLITE_CONSTRAINT);
    eval 'sub SQLITE_MISMATCH () {20;}' unless defined(&SQLITE_MISMATCH);
    eval 'sub SQLITE_MISUSE () {21;}' unless defined(&SQLITE_MISUSE);
    eval 'sub SQLITE_NOLFS () {22;}' unless defined(&SQLITE_NOLFS);
    eval 'sub SQLITE_AUTH () {23;}' unless defined(&SQLITE_AUTH);
    eval 'sub SQLITE_FORMAT () {24;}' unless defined(&SQLITE_FORMAT);
    eval 'sub SQLITE_RANGE () {25;}' unless defined(&SQLITE_RANGE);
    eval 'sub SQLITE_NOTADB () {26;}' unless defined(&SQLITE_NOTADB);
    eval 'sub SQLITE_NOTICE () {27;}' unless defined(&SQLITE_NOTICE);
    eval 'sub SQLITE_WARNING () {28;}' unless defined(&SQLITE_WARNING);
    eval 'sub SQLITE_ROW () {100;}' unless defined(&SQLITE_ROW);
    eval 'sub SQLITE_DONE () {101;}' unless defined(&SQLITE_DONE);
    eval 'sub SQLITE_ERROR_MISSING_COLLSEQ () {( &SQLITE_ERROR | (1<<8));}' unless defined(&SQLITE_ERROR_MISSING_COLLSEQ);
    eval 'sub SQLITE_ERROR_RETRY () {( &SQLITE_ERROR | (2<<8));}' unless defined(&SQLITE_ERROR_RETRY);
    eval 'sub SQLITE_ERROR_SNAPSHOT () {( &SQLITE_ERROR | (3<<8));}' unless defined(&SQLITE_ERROR_SNAPSHOT);
    eval 'sub SQLITE_IOERR_READ () {( &SQLITE_IOERR | (1<<8));}' unless defined(&SQLITE_IOERR_READ);
    eval 'sub SQLITE_IOERR_SHORT_READ () {( &SQLITE_IOERR | (2<<8));}' unless defined(&SQLITE_IOERR_SHORT_READ);
    eval 'sub SQLITE_IOERR_WRITE () {( &SQLITE_IOERR | (3<<8));}' unless defined(&SQLITE_IOERR_WRITE);
    eval 'sub SQLITE_IOERR_FSYNC () {( &SQLITE_IOERR | (4<<8));}' unless defined(&SQLITE_IOERR_FSYNC);
    eval 'sub SQLITE_IOERR_DIR_FSYNC () {( &SQLITE_IOERR | (5<<8));}' unless defined(&SQLITE_IOERR_DIR_FSYNC);
    eval 'sub SQLITE_IOERR_TRUNCATE () {( &SQLITE_IOERR | (6<<8));}' unless defined(&SQLITE_IOERR_TRUNCATE);
    eval 'sub SQLITE_IOERR_FSTAT () {( &SQLITE_IOERR | (7<<8));}' unless defined(&SQLITE_IOERR_FSTAT);
    eval 'sub SQLITE_IOERR_UNLOCK () {( &SQLITE_IOERR | (8<<8));}' unless defined(&SQLITE_IOERR_UNLOCK);
    eval 'sub SQLITE_IOERR_RDLOCK () {( &SQLITE_IOERR | (9<<8));}' unless defined(&SQLITE_IOERR_RDLOCK);
    eval 'sub SQLITE_IOERR_DELETE () {( &SQLITE_IOERR | (10<<8));}' unless defined(&SQLITE_IOERR_DELETE);
    eval 'sub SQLITE_IOERR_BLOCKED () {( &SQLITE_IOERR | (11<<8));}' unless defined(&SQLITE_IOERR_BLOCKED);
    eval 'sub SQLITE_IOERR_NOMEM () {( &SQLITE_IOERR | (12<<8));}' unless defined(&SQLITE_IOERR_NOMEM);
    eval 'sub SQLITE_IOERR_ACCESS () {( &SQLITE_IOERR | (13<<8));}' unless defined(&SQLITE_IOERR_ACCESS);
    eval 'sub SQLITE_IOERR_CHECKRESERVEDLOCK () {( &SQLITE_IOERR | (14<<8));}' unless defined(&SQLITE_IOERR_CHECKRESERVEDLOCK);
    eval 'sub SQLITE_IOERR_LOCK () {( &SQLITE_IOERR | (15<<8));}' unless defined(&SQLITE_IOERR_LOCK);
    eval 'sub SQLITE_IOERR_CLOSE () {( &SQLITE_IOERR | (16<<8));}' unless defined(&SQLITE_IOERR_CLOSE);
    eval 'sub SQLITE_IOERR_DIR_CLOSE () {( &SQLITE_IOERR | (17<<8));}' unless defined(&SQLITE_IOERR_DIR_CLOSE);
    eval 'sub SQLITE_IOERR_SHMOPEN () {( &SQLITE_IOERR | (18<<8));}' unless defined(&SQLITE_IOERR_SHMOPEN);
    eval 'sub SQLITE_IOERR_SHMSIZE () {( &SQLITE_IOERR | (19<<8));}' unless defined(&SQLITE_IOERR_SHMSIZE);
    eval 'sub SQLITE_IOERR_SHMLOCK () {( &SQLITE_IOERR | (20<<8));}' unless defined(&SQLITE_IOERR_SHMLOCK);
    eval 'sub SQLITE_IOERR_SHMMAP () {( &SQLITE_IOERR | (21<<8));}' unless defined(&SQLITE_IOERR_SHMMAP);
    eval 'sub SQLITE_IOERR_SEEK () {( &SQLITE_IOERR | (22<<8));}' unless defined(&SQLITE_IOERR_SEEK);
    eval 'sub SQLITE_IOERR_DELETE_NOENT () {( &SQLITE_IOERR | (23<<8));}' unless defined(&SQLITE_IOERR_DELETE_NOENT);
    eval 'sub SQLITE_IOERR_MMAP () {( &SQLITE_IOERR | (24<<8));}' unless defined(&SQLITE_IOERR_MMAP);
    eval 'sub SQLITE_IOERR_GETTEMPPATH () {( &SQLITE_IOERR | (25<<8));}' unless defined(&SQLITE_IOERR_GETTEMPPATH);
    eval 'sub SQLITE_IOERR_CONVPATH () {( &SQLITE_IOERR | (26<<8));}' unless defined(&SQLITE_IOERR_CONVPATH);
    eval 'sub SQLITE_IOERR_VNODE () {( &SQLITE_IOERR | (27<<8));}' unless defined(&SQLITE_IOERR_VNODE);
    eval 'sub SQLITE_IOERR_AUTH () {( &SQLITE_IOERR | (28<<8));}' unless defined(&SQLITE_IOERR_AUTH);
    eval 'sub SQLITE_IOERR_BEGIN_ATOMIC () {( &SQLITE_IOERR | (29<<8));}' unless defined(&SQLITE_IOERR_BEGIN_ATOMIC);
    eval 'sub SQLITE_IOERR_COMMIT_ATOMIC () {( &SQLITE_IOERR | (30<<8));}' unless defined(&SQLITE_IOERR_COMMIT_ATOMIC);
    eval 'sub SQLITE_IOERR_ROLLBACK_ATOMIC () {( &SQLITE_IOERR | (31<<8));}' unless defined(&SQLITE_IOERR_ROLLBACK_ATOMIC);
    eval 'sub SQLITE_LOCKED_SHAREDCACHE () {( &SQLITE_LOCKED | (1<<8));}' unless defined(&SQLITE_LOCKED_SHAREDCACHE);
    eval 'sub SQLITE_LOCKED_VTAB () {( &SQLITE_LOCKED | (2<<8));}' unless defined(&SQLITE_LOCKED_VTAB);
    eval 'sub SQLITE_BUSY_RECOVERY () {( &SQLITE_BUSY | (1<<8));}' unless defined(&SQLITE_BUSY_RECOVERY);
    eval 'sub SQLITE_BUSY_SNAPSHOT () {( &SQLITE_BUSY | (2<<8));}' unless defined(&SQLITE_BUSY_SNAPSHOT);
    eval 'sub SQLITE_CANTOPEN_NOTEMPDIR () {( &SQLITE_CANTOPEN | (1<<8));}' unless defined(&SQLITE_CANTOPEN_NOTEMPDIR);
    eval 'sub SQLITE_CANTOPEN_ISDIR () {( &SQLITE_CANTOPEN | (2<<8));}' unless defined(&SQLITE_CANTOPEN_ISDIR);
    eval 'sub SQLITE_CANTOPEN_FULLPATH () {( &SQLITE_CANTOPEN | (3<<8));}' unless defined(&SQLITE_CANTOPEN_FULLPATH);
    eval 'sub SQLITE_CANTOPEN_CONVPATH () {( &SQLITE_CANTOPEN | (4<<8));}' unless defined(&SQLITE_CANTOPEN_CONVPATH);
    eval 'sub SQLITE_CANTOPEN_DIRTYWAL () {( &SQLITE_CANTOPEN | (5<<8));}' unless defined(&SQLITE_CANTOPEN_DIRTYWAL);
    eval 'sub SQLITE_CORRUPT_VTAB () {( &SQLITE_CORRUPT | (1<<8));}' unless defined(&SQLITE_CORRUPT_VTAB);
    eval 'sub SQLITE_CORRUPT_SEQUENCE () {( &SQLITE_CORRUPT | (2<<8));}' unless defined(&SQLITE_CORRUPT_SEQUENCE);
    eval 'sub SQLITE_READONLY_RECOVERY () {( &SQLITE_READONLY | (1<<8));}' unless defined(&SQLITE_READONLY_RECOVERY);
    eval 'sub SQLITE_READONLY_CANTLOCK () {( &SQLITE_READONLY | (2<<8));}' unless defined(&SQLITE_READONLY_CANTLOCK);
    eval 'sub SQLITE_READONLY_ROLLBACK () {( &SQLITE_READONLY | (3<<8));}' unless defined(&SQLITE_READONLY_ROLLBACK);
    eval 'sub SQLITE_READONLY_DBMOVED () {( &SQLITE_READONLY | (4<<8));}' unless defined(&SQLITE_READONLY_DBMOVED);
    eval 'sub SQLITE_READONLY_CANTINIT () {( &SQLITE_READONLY | (5<<8));}' unless defined(&SQLITE_READONLY_CANTINIT);
    eval 'sub SQLITE_READONLY_DIRECTORY () {( &SQLITE_READONLY | (6<<8));}' unless defined(&SQLITE_READONLY_DIRECTORY);
    eval 'sub SQLITE_ABORT_ROLLBACK () {( &SQLITE_ABORT | (2<<8));}' unless defined(&SQLITE_ABORT_ROLLBACK);
    eval 'sub SQLITE_CONSTRAINT_CHECK () {( &SQLITE_CONSTRAINT | (1<<8));}' unless defined(&SQLITE_CONSTRAINT_CHECK);
    eval 'sub SQLITE_CONSTRAINT_COMMITHOOK () {( &SQLITE_CONSTRAINT | (2<<8));}' unless defined(&SQLITE_CONSTRAINT_COMMITHOOK);
    eval 'sub SQLITE_CONSTRAINT_FOREIGNKEY () {( &SQLITE_CONSTRAINT | (3<<8));}' unless defined(&SQLITE_CONSTRAINT_FOREIGNKEY);
    eval 'sub SQLITE_CONSTRAINT_FUNCTION () {( &SQLITE_CONSTRAINT | (4<<8));}' unless defined(&SQLITE_CONSTRAINT_FUNCTION);
    eval 'sub SQLITE_CONSTRAINT_NOTNULL () {( &SQLITE_CONSTRAINT | (5<<8));}' unless defined(&SQLITE_CONSTRAINT_NOTNULL);
    eval 'sub SQLITE_CONSTRAINT_PRIMARYKEY () {( &SQLITE_CONSTRAINT | (6<<8));}' unless defined(&SQLITE_CONSTRAINT_PRIMARYKEY);
    eval 'sub SQLITE_CONSTRAINT_TRIGGER () {( &SQLITE_CONSTRAINT | (7<<8));}' unless defined(&SQLITE_CONSTRAINT_TRIGGER);
    eval 'sub SQLITE_CONSTRAINT_UNIQUE () {( &SQLITE_CONSTRAINT | (8<<8));}' unless defined(&SQLITE_CONSTRAINT_UNIQUE);
    eval 'sub SQLITE_CONSTRAINT_VTAB () {( &SQLITE_CONSTRAINT | (9<<8));}' unless defined(&SQLITE_CONSTRAINT_VTAB);
    eval 'sub SQLITE_CONSTRAINT_ROWID () {( &SQLITE_CONSTRAINT |(10<<8));}' unless defined(&SQLITE_CONSTRAINT_ROWID);
    eval 'sub SQLITE_NOTICE_RECOVER_WAL () {( &SQLITE_NOTICE | (1<<8));}' unless defined(&SQLITE_NOTICE_RECOVER_WAL);
    eval 'sub SQLITE_NOTICE_RECOVER_ROLLBACK () {( &SQLITE_NOTICE | (2<<8));}' unless defined(&SQLITE_NOTICE_RECOVER_ROLLBACK);
    eval 'sub SQLITE_WARNING_AUTOINDEX () {( &SQLITE_WARNING | (1<<8));}' unless defined(&SQLITE_WARNING_AUTOINDEX);
    eval 'sub SQLITE_AUTH_USER () {( &SQLITE_AUTH | (1<<8));}' unless defined(&SQLITE_AUTH_USER);
    eval 'sub SQLITE_OK_LOAD_PERMANENTLY () {( &SQLITE_OK | (1<<8));}' unless defined(&SQLITE_OK_LOAD_PERMANENTLY);
    eval 'sub SQLITE_OPEN_READONLY () {0x1;}' unless defined(&SQLITE_OPEN_READONLY);
    eval 'sub SQLITE_OPEN_READWRITE () {0x2;}' unless defined(&SQLITE_OPEN_READWRITE);
    eval 'sub SQLITE_OPEN_CREATE () {0x4;}' unless defined(&SQLITE_OPEN_CREATE);
    eval 'sub SQLITE_OPEN_DELETEONCLOSE () {0x8;}' unless defined(&SQLITE_OPEN_DELETEONCLOSE);
    eval 'sub SQLITE_OPEN_EXCLUSIVE () {0x10;}' unless defined(&SQLITE_OPEN_EXCLUSIVE);
    eval 'sub SQLITE_OPEN_AUTOPROXY () {0x20;}' unless defined(&SQLITE_OPEN_AUTOPROXY);
    eval 'sub SQLITE_OPEN_URI () {0x40;}' unless defined(&SQLITE_OPEN_URI);
    eval 'sub SQLITE_OPEN_MEMORY () {0x80;}' unless defined(&SQLITE_OPEN_MEMORY);
    eval 'sub SQLITE_OPEN_MAIN_DB () {0x100;}' unless defined(&SQLITE_OPEN_MAIN_DB);
    eval 'sub SQLITE_OPEN_TEMP_DB () {0x200;}' unless defined(&SQLITE_OPEN_TEMP_DB);
    eval 'sub SQLITE_OPEN_TRANSIENT_DB () {0x400;}' unless defined(&SQLITE_OPEN_TRANSIENT_DB);
    eval 'sub SQLITE_OPEN_MAIN_JOURNAL () {0x800;}' unless defined(&SQLITE_OPEN_MAIN_JOURNAL);
    eval 'sub SQLITE_OPEN_TEMP_JOURNAL () {0x1000;}' unless defined(&SQLITE_OPEN_TEMP_JOURNAL);
    eval 'sub SQLITE_OPEN_SUBJOURNAL () {0x2000;}' unless defined(&SQLITE_OPEN_SUBJOURNAL);
    eval 'sub SQLITE_OPEN_MASTER_JOURNAL () {0x4000;}' unless defined(&SQLITE_OPEN_MASTER_JOURNAL);
    eval 'sub SQLITE_OPEN_NOMUTEX () {0x8000;}' unless defined(&SQLITE_OPEN_NOMUTEX);
    eval 'sub SQLITE_OPEN_FULLMUTEX () {0x10000;}' unless defined(&SQLITE_OPEN_FULLMUTEX);
    eval 'sub SQLITE_OPEN_SHAREDCACHE () {0x20000;}' unless defined(&SQLITE_OPEN_SHAREDCACHE);
    eval 'sub SQLITE_OPEN_PRIVATECACHE () {0x40000;}' unless defined(&SQLITE_OPEN_PRIVATECACHE);
    eval 'sub SQLITE_OPEN_WAL () {0x80000;}' unless defined(&SQLITE_OPEN_WAL);
    eval 'sub SQLITE_IOCAP_ATOMIC () {0x1;}' unless defined(&SQLITE_IOCAP_ATOMIC);
    eval 'sub SQLITE_IOCAP_ATOMIC512 () {0x2;}' unless defined(&SQLITE_IOCAP_ATOMIC512);
    eval 'sub SQLITE_IOCAP_ATOMIC1K () {0x4;}' unless defined(&SQLITE_IOCAP_ATOMIC1K);
    eval 'sub SQLITE_IOCAP_ATOMIC2K () {0x8;}' unless defined(&SQLITE_IOCAP_ATOMIC2K);
    eval 'sub SQLITE_IOCAP_ATOMIC4K () {0x10;}' unless defined(&SQLITE_IOCAP_ATOMIC4K);
    eval 'sub SQLITE_IOCAP_ATOMIC8K () {0x20;}' unless defined(&SQLITE_IOCAP_ATOMIC8K);
    eval 'sub SQLITE_IOCAP_ATOMIC16K () {0x40;}' unless defined(&SQLITE_IOCAP_ATOMIC16K);
    eval 'sub SQLITE_IOCAP_ATOMIC32K () {0x80;}' unless defined(&SQLITE_IOCAP_ATOMIC32K);
    eval 'sub SQLITE_IOCAP_ATOMIC64K () {0x100;}' unless defined(&SQLITE_IOCAP_ATOMIC64K);
    eval 'sub SQLITE_IOCAP_SAFE_APPEND () {0x200;}' unless defined(&SQLITE_IOCAP_SAFE_APPEND);
    eval 'sub SQLITE_IOCAP_SEQUENTIAL () {0x400;}' unless defined(&SQLITE_IOCAP_SEQUENTIAL);
    eval 'sub SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN () {0x800;}' unless defined(&SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN);
    eval 'sub SQLITE_IOCAP_POWERSAFE_OVERWRITE () {0x1000;}' unless defined(&SQLITE_IOCAP_POWERSAFE_OVERWRITE);
    eval 'sub SQLITE_IOCAP_IMMUTABLE () {0x2000;}' unless defined(&SQLITE_IOCAP_IMMUTABLE);
    eval 'sub SQLITE_IOCAP_BATCH_ATOMIC () {0x4000;}' unless defined(&SQLITE_IOCAP_BATCH_ATOMIC);
    eval 'sub SQLITE_LOCK_NONE () {0;}' unless defined(&SQLITE_LOCK_NONE);
    eval 'sub SQLITE_LOCK_SHARED () {1;}' unless defined(&SQLITE_LOCK_SHARED);
    eval 'sub SQLITE_LOCK_RESERVED () {2;}' unless defined(&SQLITE_LOCK_RESERVED);
    eval 'sub SQLITE_LOCK_PENDING () {3;}' unless defined(&SQLITE_LOCK_PENDING);
    eval 'sub SQLITE_LOCK_EXCLUSIVE () {4;}' unless defined(&SQLITE_LOCK_EXCLUSIVE);
    eval 'sub SQLITE_SYNC_NORMAL () {0x2;}' unless defined(&SQLITE_SYNC_NORMAL);
    eval 'sub SQLITE_SYNC_FULL () {0x3;}' unless defined(&SQLITE_SYNC_FULL);
    eval 'sub SQLITE_SYNC_DATAONLY () {0x10;}' unless defined(&SQLITE_SYNC_DATAONLY);
    eval 'sub SQLITE_FCNTL_LOCKSTATE () {1;}' unless defined(&SQLITE_FCNTL_LOCKSTATE);
    eval 'sub SQLITE_FCNTL_GET_LOCKPROXYFILE () {2;}' unless defined(&SQLITE_FCNTL_GET_LOCKPROXYFILE);
    eval 'sub SQLITE_FCNTL_SET_LOCKPROXYFILE () {3;}' unless defined(&SQLITE_FCNTL_SET_LOCKPROXYFILE);
    eval 'sub SQLITE_FCNTL_LAST_ERRNO () {4;}' unless defined(&SQLITE_FCNTL_LAST_ERRNO);
    eval 'sub SQLITE_FCNTL_SIZE_HINT () {5;}' unless defined(&SQLITE_FCNTL_SIZE_HINT);
    eval 'sub SQLITE_FCNTL_CHUNK_SIZE () {6;}' unless defined(&SQLITE_FCNTL_CHUNK_SIZE);
    eval 'sub SQLITE_FCNTL_FILE_POINTER () {7;}' unless defined(&SQLITE_FCNTL_FILE_POINTER);
    eval 'sub SQLITE_FCNTL_SYNC_OMITTED () {8;}' unless defined(&SQLITE_FCNTL_SYNC_OMITTED);
    eval 'sub SQLITE_FCNTL_WIN32_AV_RETRY () {9;}' unless defined(&SQLITE_FCNTL_WIN32_AV_RETRY);
    eval 'sub SQLITE_FCNTL_PERSIST_WAL () {10;}' unless defined(&SQLITE_FCNTL_PERSIST_WAL);
    eval 'sub SQLITE_FCNTL_OVERWRITE () {11;}' unless defined(&SQLITE_FCNTL_OVERWRITE);
    eval 'sub SQLITE_FCNTL_VFSNAME () {12;}' unless defined(&SQLITE_FCNTL_VFSNAME);
    eval 'sub SQLITE_FCNTL_POWERSAFE_OVERWRITE () {13;}' unless defined(&SQLITE_FCNTL_POWERSAFE_OVERWRITE);
    eval 'sub SQLITE_FCNTL_PRAGMA () {14;}' unless defined(&SQLITE_FCNTL_PRAGMA);
    eval 'sub SQLITE_FCNTL_BUSYHANDLER () {15;}' unless defined(&SQLITE_FCNTL_BUSYHANDLER);
    eval 'sub SQLITE_FCNTL_TEMPFILENAME () {16;}' unless defined(&SQLITE_FCNTL_TEMPFILENAME);
    eval 'sub SQLITE_FCNTL_MMAP_SIZE () {18;}' unless defined(&SQLITE_FCNTL_MMAP_SIZE);
    eval 'sub SQLITE_FCNTL_TRACE () {19;}' unless defined(&SQLITE_FCNTL_TRACE);
    eval 'sub SQLITE_FCNTL_HAS_MOVED () {20;}' unless defined(&SQLITE_FCNTL_HAS_MOVED);
    eval 'sub SQLITE_FCNTL_SYNC () {21;}' unless defined(&SQLITE_FCNTL_SYNC);
    eval 'sub SQLITE_FCNTL_COMMIT_PHASETWO () {22;}' unless defined(&SQLITE_FCNTL_COMMIT_PHASETWO);
    eval 'sub SQLITE_FCNTL_WIN32_SET_HANDLE () {23;}' unless defined(&SQLITE_FCNTL_WIN32_SET_HANDLE);
    eval 'sub SQLITE_FCNTL_WAL_BLOCK () {24;}' unless defined(&SQLITE_FCNTL_WAL_BLOCK);
    eval 'sub SQLITE_FCNTL_ZIPVFS () {25;}' unless defined(&SQLITE_FCNTL_ZIPVFS);
    eval 'sub SQLITE_FCNTL_RBU () {26;}' unless defined(&SQLITE_FCNTL_RBU);
    eval 'sub SQLITE_FCNTL_VFS_POINTER () {27;}' unless defined(&SQLITE_FCNTL_VFS_POINTER);
    eval 'sub SQLITE_FCNTL_JOURNAL_POINTER () {28;}' unless defined(&SQLITE_FCNTL_JOURNAL_POINTER);
    eval 'sub SQLITE_FCNTL_WIN32_GET_HANDLE () {29;}' unless defined(&SQLITE_FCNTL_WIN32_GET_HANDLE);
    eval 'sub SQLITE_FCNTL_PDB () {30;}' unless defined(&SQLITE_FCNTL_PDB);
    eval 'sub SQLITE_FCNTL_BEGIN_ATOMIC_WRITE () {31;}' unless defined(&SQLITE_FCNTL_BEGIN_ATOMIC_WRITE);
    eval 'sub SQLITE_FCNTL_COMMIT_ATOMIC_WRITE () {32;}' unless defined(&SQLITE_FCNTL_COMMIT_ATOMIC_WRITE);
    eval 'sub SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE () {33;}' unless defined(&SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE);
    eval 'sub SQLITE_FCNTL_LOCK_TIMEOUT () {34;}' unless defined(&SQLITE_FCNTL_LOCK_TIMEOUT);
    eval 'sub SQLITE_FCNTL_DATA_VERSION () {35;}' unless defined(&SQLITE_FCNTL_DATA_VERSION);
    eval 'sub SQLITE_GET_LOCKPROXYFILE () { &SQLITE_FCNTL_GET_LOCKPROXYFILE;}' unless defined(&SQLITE_GET_LOCKPROXYFILE);
    eval 'sub SQLITE_SET_LOCKPROXYFILE () { &SQLITE_FCNTL_SET_LOCKPROXYFILE;}' unless defined(&SQLITE_SET_LOCKPROXYFILE);
    eval 'sub SQLITE_LAST_ERRNO () { &SQLITE_FCNTL_LAST_ERRNO;}' unless defined(&SQLITE_LAST_ERRNO);
    eval 'sub SQLITE_ACCESS_EXISTS () {0;}' unless defined(&SQLITE_ACCESS_EXISTS);
    eval 'sub SQLITE_ACCESS_READWRITE () {1;}' unless defined(&SQLITE_ACCESS_READWRITE);
    eval 'sub SQLITE_ACCESS_READ () {2;}' unless defined(&SQLITE_ACCESS_READ);
    eval 'sub SQLITE_SHM_UNLOCK () {1;}' unless defined(&SQLITE_SHM_UNLOCK);
    eval 'sub SQLITE_SHM_LOCK () {2;}' unless defined(&SQLITE_SHM_LOCK);
    eval 'sub SQLITE_SHM_SHARED () {4;}' unless defined(&SQLITE_SHM_SHARED);
    eval 'sub SQLITE_SHM_EXCLUSIVE () {8;}' unless defined(&SQLITE_SHM_EXCLUSIVE);
    eval 'sub SQLITE_SHM_NLOCK () {8;}' unless defined(&SQLITE_SHM_NLOCK);
    eval 'sub SQLITE_CONFIG_SINGLETHREAD () {1;}' unless defined(&SQLITE_CONFIG_SINGLETHREAD);
    eval 'sub SQLITE_CONFIG_MULTITHREAD () {2;}' unless defined(&SQLITE_CONFIG_MULTITHREAD);
    eval 'sub SQLITE_CONFIG_SERIALIZED () {3;}' unless defined(&SQLITE_CONFIG_SERIALIZED);
    eval 'sub SQLITE_CONFIG_MALLOC () {4;}' unless defined(&SQLITE_CONFIG_MALLOC);
    eval 'sub SQLITE_CONFIG_GETMALLOC () {5;}' unless defined(&SQLITE_CONFIG_GETMALLOC);
    eval 'sub SQLITE_CONFIG_SCRATCH () {6;}' unless defined(&SQLITE_CONFIG_SCRATCH);
    eval 'sub SQLITE_CONFIG_PAGECACHE () {7;}' unless defined(&SQLITE_CONFIG_PAGECACHE);
    eval 'sub SQLITE_CONFIG_HEAP () {8;}' unless defined(&SQLITE_CONFIG_HEAP);
    eval 'sub SQLITE_CONFIG_MEMSTATUS () {9;}' unless defined(&SQLITE_CONFIG_MEMSTATUS);
    eval 'sub SQLITE_CONFIG_MUTEX () {10;}' unless defined(&SQLITE_CONFIG_MUTEX);
    eval 'sub SQLITE_CONFIG_GETMUTEX () {11;}' unless defined(&SQLITE_CONFIG_GETMUTEX);
    eval 'sub SQLITE_CONFIG_LOOKASIDE () {13;}' unless defined(&SQLITE_CONFIG_LOOKASIDE);
    eval 'sub SQLITE_CONFIG_PCACHE () {14;}' unless defined(&SQLITE_CONFIG_PCACHE);
    eval 'sub SQLITE_CONFIG_GETPCACHE () {15;}' unless defined(&SQLITE_CONFIG_GETPCACHE);
    eval 'sub SQLITE_CONFIG_LOG () {16;}' unless defined(&SQLITE_CONFIG_LOG);
    eval 'sub SQLITE_CONFIG_URI () {17;}' unless defined(&SQLITE_CONFIG_URI);
    eval 'sub SQLITE_CONFIG_PCACHE2 () {18;}' unless defined(&SQLITE_CONFIG_PCACHE2);
    eval 'sub SQLITE_CONFIG_GETPCACHE2 () {19;}' unless defined(&SQLITE_CONFIG_GETPCACHE2);
    eval 'sub SQLITE_CONFIG_COVERING_INDEX_SCAN () {20;}' unless defined(&SQLITE_CONFIG_COVERING_INDEX_SCAN);
    eval 'sub SQLITE_CONFIG_SQLLOG () {21;}' unless defined(&SQLITE_CONFIG_SQLLOG);
    eval 'sub SQLITE_CONFIG_MMAP_SIZE () {22;}' unless defined(&SQLITE_CONFIG_MMAP_SIZE);
    eval 'sub SQLITE_CONFIG_WIN32_HEAPSIZE () {23;}' unless defined(&SQLITE_CONFIG_WIN32_HEAPSIZE);
    eval 'sub SQLITE_CONFIG_PCACHE_HDRSZ () {24;}' unless defined(&SQLITE_CONFIG_PCACHE_HDRSZ);
    eval 'sub SQLITE_CONFIG_PMASZ () {25;}' unless defined(&SQLITE_CONFIG_PMASZ);
    eval 'sub SQLITE_CONFIG_STMTJRNL_SPILL () {26;}' unless defined(&SQLITE_CONFIG_STMTJRNL_SPILL);
    eval 'sub SQLITE_CONFIG_SMALL_MALLOC () {27;}' unless defined(&SQLITE_CONFIG_SMALL_MALLOC);
    eval 'sub SQLITE_CONFIG_SORTERREF_SIZE () {28;}' unless defined(&SQLITE_CONFIG_SORTERREF_SIZE);
    eval 'sub SQLITE_DBCONFIG_MAINDBNAME () {1000;}' unless defined(&SQLITE_DBCONFIG_MAINDBNAME);
    eval 'sub SQLITE_DBCONFIG_LOOKASIDE () {1001;}' unless defined(&SQLITE_DBCONFIG_LOOKASIDE);
    eval 'sub SQLITE_DBCONFIG_ENABLE_FKEY () {1002;}' unless defined(&SQLITE_DBCONFIG_ENABLE_FKEY);
    eval 'sub SQLITE_DBCONFIG_ENABLE_TRIGGER () {1003;}' unless defined(&SQLITE_DBCONFIG_ENABLE_TRIGGER);
    eval 'sub SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER () {1004;}' unless defined(&SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER);
    eval 'sub SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION () {1005;}' unless defined(&SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION);
    eval 'sub SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE () {1006;}' unless defined(&SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE);
    eval 'sub SQLITE_DBCONFIG_ENABLE_QPSG () {1007;}' unless defined(&SQLITE_DBCONFIG_ENABLE_QPSG);
    eval 'sub SQLITE_DBCONFIG_TRIGGER_EQP () {1008;}' unless defined(&SQLITE_DBCONFIG_TRIGGER_EQP);
    eval 'sub SQLITE_DBCONFIG_RESET_DATABASE () {1009;}' unless defined(&SQLITE_DBCONFIG_RESET_DATABASE);
    eval 'sub SQLITE_DBCONFIG_DEFENSIVE () {1010;}' unless defined(&SQLITE_DBCONFIG_DEFENSIVE);
    eval 'sub SQLITE_DBCONFIG_MAX () {1010;}' unless defined(&SQLITE_DBCONFIG_MAX);
    eval 'sub SQLITE_DENY () {1;}' unless defined(&SQLITE_DENY);
    eval 'sub SQLITE_IGNORE () {2;}' unless defined(&SQLITE_IGNORE);
    eval 'sub SQLITE_CREATE_INDEX () {1;}' unless defined(&SQLITE_CREATE_INDEX);
    eval 'sub SQLITE_CREATE_TABLE () {2;}' unless defined(&SQLITE_CREATE_TABLE);
    eval 'sub SQLITE_CREATE_TEMP_INDEX () {3;}' unless defined(&SQLITE_CREATE_TEMP_INDEX);
    eval 'sub SQLITE_CREATE_TEMP_TABLE () {4;}' unless defined(&SQLITE_CREATE_TEMP_TABLE);
    eval 'sub SQLITE_CREATE_TEMP_TRIGGER () {5;}' unless defined(&SQLITE_CREATE_TEMP_TRIGGER);
    eval 'sub SQLITE_CREATE_TEMP_VIEW () {6;}' unless defined(&SQLITE_CREATE_TEMP_VIEW);
    eval 'sub SQLITE_CREATE_TRIGGER () {7;}' unless defined(&SQLITE_CREATE_TRIGGER);
    eval 'sub SQLITE_CREATE_VIEW () {8;}' unless defined(&SQLITE_CREATE_VIEW);
    eval 'sub SQLITE_DELETE () {9;}' unless defined(&SQLITE_DELETE);
    eval 'sub SQLITE_DROP_INDEX () {10;}' unless defined(&SQLITE_DROP_INDEX);
    eval 'sub SQLITE_DROP_TABLE () {11;}' unless defined(&SQLITE_DROP_TABLE);
    eval 'sub SQLITE_DROP_TEMP_INDEX () {12;}' unless defined(&SQLITE_DROP_TEMP_INDEX);
    eval 'sub SQLITE_DROP_TEMP_TABLE () {13;}' unless defined(&SQLITE_DROP_TEMP_TABLE);
    eval 'sub SQLITE_DROP_TEMP_TRIGGER () {14;}' unless defined(&SQLITE_DROP_TEMP_TRIGGER);
    eval 'sub SQLITE_DROP_TEMP_VIEW () {15;}' unless defined(&SQLITE_DROP_TEMP_VIEW);
    eval 'sub SQLITE_DROP_TRIGGER () {16;}' unless defined(&SQLITE_DROP_TRIGGER);
    eval 'sub SQLITE_DROP_VIEW () {17;}' unless defined(&SQLITE_DROP_VIEW);
    eval 'sub SQLITE_INSERT () {18;}' unless defined(&SQLITE_INSERT);
    eval 'sub SQLITE_PRAGMA () {19;}' unless defined(&SQLITE_PRAGMA);
    eval 'sub SQLITE_READ () {20;}' unless defined(&SQLITE_READ);
    eval 'sub SQLITE_SELECT () {21;}' unless defined(&SQLITE_SELECT);
    eval 'sub SQLITE_TRANSACTION () {22;}' unless defined(&SQLITE_TRANSACTION);
    eval 'sub SQLITE_UPDATE () {23;}' unless defined(&SQLITE_UPDATE);
    eval 'sub SQLITE_ATTACH () {24;}' unless defined(&SQLITE_ATTACH);
    eval 'sub SQLITE_DETACH () {25;}' unless defined(&SQLITE_DETACH);
    eval 'sub SQLITE_ALTER_TABLE () {26;}' unless defined(&SQLITE_ALTER_TABLE);
    eval 'sub SQLITE_REINDEX () {27;}' unless defined(&SQLITE_REINDEX);
    eval 'sub SQLITE_ANALYZE () {28;}' unless defined(&SQLITE_ANALYZE);
    eval 'sub SQLITE_CREATE_VTABLE () {29;}' unless defined(&SQLITE_CREATE_VTABLE);
    eval 'sub SQLITE_DROP_VTABLE () {30;}' unless defined(&SQLITE_DROP_VTABLE);
    eval 'sub SQLITE_FUNCTION () {31;}' unless defined(&SQLITE_FUNCTION);
    eval 'sub SQLITE_SAVEPOINT () {32;}' unless defined(&SQLITE_SAVEPOINT);
    eval 'sub SQLITE_COPY () {0;}' unless defined(&SQLITE_COPY);
    eval 'sub SQLITE_RECURSIVE () {33;}' unless defined(&SQLITE_RECURSIVE);
    eval 'sub SQLITE_TRACE_STMT () {0x1;}' unless defined(&SQLITE_TRACE_STMT);
    eval 'sub SQLITE_TRACE_PROFILE () {0x2;}' unless defined(&SQLITE_TRACE_PROFILE);
    eval 'sub SQLITE_TRACE_ROW () {0x4;}' unless defined(&SQLITE_TRACE_ROW);
    eval 'sub SQLITE_TRACE_CLOSE () {0x8;}' unless defined(&SQLITE_TRACE_CLOSE);
    eval 'sub SQLITE_LIMIT_LENGTH () {0;}' unless defined(&SQLITE_LIMIT_LENGTH);
    eval 'sub SQLITE_LIMIT_SQL_LENGTH () {1;}' unless defined(&SQLITE_LIMIT_SQL_LENGTH);
    eval 'sub SQLITE_LIMIT_COLUMN () {2;}' unless defined(&SQLITE_LIMIT_COLUMN);
    eval 'sub SQLITE_LIMIT_EXPR_DEPTH () {3;}' unless defined(&SQLITE_LIMIT_EXPR_DEPTH);
    eval 'sub SQLITE_LIMIT_COMPOUND_SELECT () {4;}' unless defined(&SQLITE_LIMIT_COMPOUND_SELECT);
    eval 'sub SQLITE_LIMIT_VDBE_OP () {5;}' unless defined(&SQLITE_LIMIT_VDBE_OP);
    eval 'sub SQLITE_LIMIT_FUNCTION_ARG () {6;}' unless defined(&SQLITE_LIMIT_FUNCTION_ARG);
    eval 'sub SQLITE_LIMIT_ATTACHED () {7;}' unless defined(&SQLITE_LIMIT_ATTACHED);
    eval 'sub SQLITE_LIMIT_LIKE_PATTERN_LENGTH () {8;}' unless defined(&SQLITE_LIMIT_LIKE_PATTERN_LENGTH);
    eval 'sub SQLITE_LIMIT_VARIABLE_NUMBER () {9;}' unless defined(&SQLITE_LIMIT_VARIABLE_NUMBER);
    eval 'sub SQLITE_LIMIT_TRIGGER_DEPTH () {10;}' unless defined(&SQLITE_LIMIT_TRIGGER_DEPTH);
    eval 'sub SQLITE_LIMIT_WORKER_THREADS () {11;}' unless defined(&SQLITE_LIMIT_WORKER_THREADS);
    eval 'sub SQLITE_PREPARE_PERSISTENT () {0x1;}' unless defined(&SQLITE_PREPARE_PERSISTENT);
    eval 'sub SQLITE_PREPARE_NORMALIZE () {0x2;}' unless defined(&SQLITE_PREPARE_NORMALIZE);
    eval 'sub SQLITE_INTEGER () {1;}' unless defined(&SQLITE_INTEGER);
    eval 'sub SQLITE_FLOAT () {2;}' unless defined(&SQLITE_FLOAT);
    eval 'sub SQLITE_BLOB () {4;}' unless defined(&SQLITE_BLOB);
    eval 'sub SQLITE_NULL () {5;}' unless defined(&SQLITE_NULL);
    if(defined(&SQLITE_TEXT)) {
	undef(&SQLITE_TEXT) if defined(&SQLITE_TEXT);
    } else {
	eval 'sub SQLITE_TEXT () {3;}' unless defined(&SQLITE_TEXT);
    }
    eval 'sub SQLITE3_TEXT () {3;}' unless defined(&SQLITE3_TEXT);
    eval 'sub SQLITE_UTF8 () {1;}' unless defined(&SQLITE_UTF8);
    eval 'sub SQLITE_UTF16LE () {2;}' unless defined(&SQLITE_UTF16LE);
    eval 'sub SQLITE_UTF16BE () {3;}' unless defined(&SQLITE_UTF16BE);
    eval 'sub SQLITE_UTF16 () {4;}' unless defined(&SQLITE_UTF16);
    eval 'sub SQLITE_ANY () {5;}' unless defined(&SQLITE_ANY);
    eval 'sub SQLITE_UTF16_ALIGNED () {8;}' unless defined(&SQLITE_UTF16_ALIGNED);
    eval 'sub SQLITE_DETERMINISTIC () {0x800;}' unless defined(&SQLITE_DETERMINISTIC);
    unless(defined(&SQLITE_OMIT_DEPRECATED)) {
    }
    eval 'sub SQLITE_STATIC () {(( &sqlite3_destructor_type)0);}' unless defined(&SQLITE_STATIC);
    eval 'sub SQLITE_TRANSIENT () {(( &sqlite3_destructor_type)-1);}' unless defined(&SQLITE_TRANSIENT);
    if(defined(&SQLITE_HAS_CODEC)) {
    }
    if(defined(&SQLITE_ENABLE_CEROD)) {
    }
    eval 'sub SQLITE_WIN32_DATA_DIRECTORY_TYPE () {1;}' unless defined(&SQLITE_WIN32_DATA_DIRECTORY_TYPE);
    eval 'sub SQLITE_WIN32_TEMP_DIRECTORY_TYPE () {2;}' unless defined(&SQLITE_WIN32_TEMP_DIRECTORY_TYPE);
    eval 'sub SQLITE_INDEX_SCAN_UNIQUE () {1;}' unless defined(&SQLITE_INDEX_SCAN_UNIQUE);
    eval 'sub SQLITE_INDEX_CONSTRAINT_EQ () {2;}' unless defined(&SQLITE_INDEX_CONSTRAINT_EQ);
    eval 'sub SQLITE_INDEX_CONSTRAINT_GT () {4;}' unless defined(&SQLITE_INDEX_CONSTRAINT_GT);
    eval 'sub SQLITE_INDEX_CONSTRAINT_LE () {8;}' unless defined(&SQLITE_INDEX_CONSTRAINT_LE);
    eval 'sub SQLITE_INDEX_CONSTRAINT_LT () {16;}' unless defined(&SQLITE_INDEX_CONSTRAINT_LT);
    eval 'sub SQLITE_INDEX_CONSTRAINT_GE () {32;}' unless defined(&SQLITE_INDEX_CONSTRAINT_GE);
    eval 'sub SQLITE_INDEX_CONSTRAINT_MATCH () {64;}' unless defined(&SQLITE_INDEX_CONSTRAINT_MATCH);
    eval 'sub SQLITE_INDEX_CONSTRAINT_LIKE () {65;}' unless defined(&SQLITE_INDEX_CONSTRAINT_LIKE);
    eval 'sub SQLITE_INDEX_CONSTRAINT_GLOB () {66;}' unless defined(&SQLITE_INDEX_CONSTRAINT_GLOB);
    eval 'sub SQLITE_INDEX_CONSTRAINT_REGEXP () {67;}' unless defined(&SQLITE_INDEX_CONSTRAINT_REGEXP);
    eval 'sub SQLITE_INDEX_CONSTRAINT_NE () {68;}' unless defined(&SQLITE_INDEX_CONSTRAINT_NE);
    eval 'sub SQLITE_INDEX_CONSTRAINT_ISNOT () {69;}' unless defined(&SQLITE_INDEX_CONSTRAINT_ISNOT);
    eval 'sub SQLITE_INDEX_CONSTRAINT_ISNOTNULL () {70;}' unless defined(&SQLITE_INDEX_CONSTRAINT_ISNOTNULL);
    eval 'sub SQLITE_INDEX_CONSTRAINT_ISNULL () {71;}' unless defined(&SQLITE_INDEX_CONSTRAINT_ISNULL);
    eval 'sub SQLITE_INDEX_CONSTRAINT_IS () {72;}' unless defined(&SQLITE_INDEX_CONSTRAINT_IS);
    eval 'sub SQLITE_INDEX_CONSTRAINT_FUNCTION () {150;}' unless defined(&SQLITE_INDEX_CONSTRAINT_FUNCTION);
    unless(defined(&NDEBUG)) {
    }
    eval 'sub SQLITE_MUTEX_FAST () {0;}' unless defined(&SQLITE_MUTEX_FAST);
    eval 'sub SQLITE_MUTEX_RECURSIVE () {1;}' unless defined(&SQLITE_MUTEX_RECURSIVE);
    eval 'sub SQLITE_MUTEX_STATIC_MASTER () {2;}' unless defined(&SQLITE_MUTEX_STATIC_MASTER);
    eval 'sub SQLITE_MUTEX_STATIC_MEM () {3;}' unless defined(&SQLITE_MUTEX_STATIC_MEM);
    eval 'sub SQLITE_MUTEX_STATIC_MEM2 () {4;}' unless defined(&SQLITE_MUTEX_STATIC_MEM2);
    eval 'sub SQLITE_MUTEX_STATIC_OPEN () {4;}' unless defined(&SQLITE_MUTEX_STATIC_OPEN);
    eval 'sub SQLITE_MUTEX_STATIC_PRNG () {5;}' unless defined(&SQLITE_MUTEX_STATIC_PRNG);
    eval 'sub SQLITE_MUTEX_STATIC_LRU () {6;}' unless defined(&SQLITE_MUTEX_STATIC_LRU);
    eval 'sub SQLITE_MUTEX_STATIC_LRU2 () {7;}' unless defined(&SQLITE_MUTEX_STATIC_LRU2);
    eval 'sub SQLITE_MUTEX_STATIC_PMEM () {7;}' unless defined(&SQLITE_MUTEX_STATIC_PMEM);
    eval 'sub SQLITE_MUTEX_STATIC_APP1 () {8;}' unless defined(&SQLITE_MUTEX_STATIC_APP1);
    eval 'sub SQLITE_MUTEX_STATIC_APP2 () {9;}' unless defined(&SQLITE_MUTEX_STATIC_APP2);
    eval 'sub SQLITE_MUTEX_STATIC_APP3 () {10;}' unless defined(&SQLITE_MUTEX_STATIC_APP3);
    eval 'sub SQLITE_MUTEX_STATIC_VFS1 () {11;}' unless defined(&SQLITE_MUTEX_STATIC_VFS1);
    eval 'sub SQLITE_MUTEX_STATIC_VFS2 () {12;}' unless defined(&SQLITE_MUTEX_STATIC_VFS2);
    eval 'sub SQLITE_MUTEX_STATIC_VFS3 () {13;}' unless defined(&SQLITE_MUTEX_STATIC_VFS3);
    eval 'sub SQLITE_TESTCTRL_FIRST () {5;}' unless defined(&SQLITE_TESTCTRL_FIRST);
    eval 'sub SQLITE_TESTCTRL_PRNG_SAVE () {5;}' unless defined(&SQLITE_TESTCTRL_PRNG_SAVE);
    eval 'sub SQLITE_TESTCTRL_PRNG_RESTORE () {6;}' unless defined(&SQLITE_TESTCTRL_PRNG_RESTORE);
    eval 'sub SQLITE_TESTCTRL_PRNG_RESET () {7;}' unless defined(&SQLITE_TESTCTRL_PRNG_RESET);
    eval 'sub SQLITE_TESTCTRL_BITVEC_TEST () {8;}' unless defined(&SQLITE_TESTCTRL_BITVEC_TEST);
    eval 'sub SQLITE_TESTCTRL_FAULT_INSTALL () {9;}' unless defined(&SQLITE_TESTCTRL_FAULT_INSTALL);
    eval 'sub SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS () {10;}' unless defined(&SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS);
    eval 'sub SQLITE_TESTCTRL_PENDING_BYTE () {11;}' unless defined(&SQLITE_TESTCTRL_PENDING_BYTE);
    eval 'sub SQLITE_TESTCTRL_ASSERT () {12;}' unless defined(&SQLITE_TESTCTRL_ASSERT);
    eval 'sub SQLITE_TESTCTRL_ALWAYS () {13;}' unless defined(&SQLITE_TESTCTRL_ALWAYS);
    eval 'sub SQLITE_TESTCTRL_RESERVE () {14;}' unless defined(&SQLITE_TESTCTRL_RESERVE);
    eval 'sub SQLITE_TESTCTRL_OPTIMIZATIONS () {15;}' unless defined(&SQLITE_TESTCTRL_OPTIMIZATIONS);
    eval 'sub SQLITE_TESTCTRL_ISKEYWORD () {16;}' unless defined(&SQLITE_TESTCTRL_ISKEYWORD);
    eval 'sub SQLITE_TESTCTRL_SCRATCHMALLOC () {17;}' unless defined(&SQLITE_TESTCTRL_SCRATCHMALLOC);
    eval 'sub SQLITE_TESTCTRL_INTERNAL_FUNCTIONS () {17;}' unless defined(&SQLITE_TESTCTRL_INTERNAL_FUNCTIONS);
    eval 'sub SQLITE_TESTCTRL_LOCALTIME_FAULT () {18;}' unless defined(&SQLITE_TESTCTRL_LOCALTIME_FAULT);
    eval 'sub SQLITE_TESTCTRL_EXPLAIN_STMT () {19;}' unless defined(&SQLITE_TESTCTRL_EXPLAIN_STMT);
    eval 'sub SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD () {19;}' unless defined(&SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD);
    eval 'sub SQLITE_TESTCTRL_NEVER_CORRUPT () {20;}' unless defined(&SQLITE_TESTCTRL_NEVER_CORRUPT);
    eval 'sub SQLITE_TESTCTRL_VDBE_COVERAGE () {21;}' unless defined(&SQLITE_TESTCTRL_VDBE_COVERAGE);
    eval 'sub SQLITE_TESTCTRL_BYTEORDER () {22;}' unless defined(&SQLITE_TESTCTRL_BYTEORDER);
    eval 'sub SQLITE_TESTCTRL_ISINIT () {23;}' unless defined(&SQLITE_TESTCTRL_ISINIT);
    eval 'sub SQLITE_TESTCTRL_SORTER_MMAP () {24;}' unless defined(&SQLITE_TESTCTRL_SORTER_MMAP);
    eval 'sub SQLITE_TESTCTRL_IMPOSTER () {25;}' unless defined(&SQLITE_TESTCTRL_IMPOSTER);
    eval 'sub SQLITE_TESTCTRL_PARSER_COVERAGE () {26;}' unless defined(&SQLITE_TESTCTRL_PARSER_COVERAGE);
    eval 'sub SQLITE_TESTCTRL_LAST () {26;}' unless defined(&SQLITE_TESTCTRL_LAST);
    eval 'sub SQLITE_STATUS_MEMORY_USED () {0;}' unless defined(&SQLITE_STATUS_MEMORY_USED);
    eval 'sub SQLITE_STATUS_PAGECACHE_USED () {1;}' unless defined(&SQLITE_STATUS_PAGECACHE_USED);
    eval 'sub SQLITE_STATUS_PAGECACHE_OVERFLOW () {2;}' unless defined(&SQLITE_STATUS_PAGECACHE_OVERFLOW);
    eval 'sub SQLITE_STATUS_SCRATCH_USED () {3;}' unless defined(&SQLITE_STATUS_SCRATCH_USED);
    eval 'sub SQLITE_STATUS_SCRATCH_OVERFLOW () {4;}' unless defined(&SQLITE_STATUS_SCRATCH_OVERFLOW);
    eval 'sub SQLITE_STATUS_MALLOC_SIZE () {5;}' unless defined(&SQLITE_STATUS_MALLOC_SIZE);
    eval 'sub SQLITE_STATUS_PARSER_STACK () {6;}' unless defined(&SQLITE_STATUS_PARSER_STACK);
    eval 'sub SQLITE_STATUS_PAGECACHE_SIZE () {7;}' unless defined(&SQLITE_STATUS_PAGECACHE_SIZE);
    eval 'sub SQLITE_STATUS_SCRATCH_SIZE () {8;}' unless defined(&SQLITE_STATUS_SCRATCH_SIZE);
    eval 'sub SQLITE_STATUS_MALLOC_COUNT () {9;}' unless defined(&SQLITE_STATUS_MALLOC_COUNT);
    eval 'sub SQLITE_DBSTATUS_LOOKASIDE_USED () {0;}' unless defined(&SQLITE_DBSTATUS_LOOKASIDE_USED);
    eval 'sub SQLITE_DBSTATUS_CACHE_USED () {1;}' unless defined(&SQLITE_DBSTATUS_CACHE_USED);
    eval 'sub SQLITE_DBSTATUS_SCHEMA_USED () {2;}' unless defined(&SQLITE_DBSTATUS_SCHEMA_USED);
    eval 'sub SQLITE_DBSTATUS_STMT_USED () {3;}' unless defined(&SQLITE_DBSTATUS_STMT_USED);
    eval 'sub SQLITE_DBSTATUS_LOOKASIDE_HIT () {4;}' unless defined(&SQLITE_DBSTATUS_LOOKASIDE_HIT);
    eval 'sub SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE () {5;}' unless defined(&SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE);
    eval 'sub SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL () {6;}' unless defined(&SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL);
    eval 'sub SQLITE_DBSTATUS_CACHE_HIT () {7;}' unless defined(&SQLITE_DBSTATUS_CACHE_HIT);
    eval 'sub SQLITE_DBSTATUS_CACHE_MISS () {8;}' unless defined(&SQLITE_DBSTATUS_CACHE_MISS);
    eval 'sub SQLITE_DBSTATUS_CACHE_WRITE () {9;}' unless defined(&SQLITE_DBSTATUS_CACHE_WRITE);
    eval 'sub SQLITE_DBSTATUS_DEFERRED_FKS () {10;}' unless defined(&SQLITE_DBSTATUS_DEFERRED_FKS);
    eval 'sub SQLITE_DBSTATUS_CACHE_USED_SHARED () {11;}' unless defined(&SQLITE_DBSTATUS_CACHE_USED_SHARED);
    eval 'sub SQLITE_DBSTATUS_CACHE_SPILL () {12;}' unless defined(&SQLITE_DBSTATUS_CACHE_SPILL);
    eval 'sub SQLITE_DBSTATUS_MAX () {12;}' unless defined(&SQLITE_DBSTATUS_MAX);
    eval 'sub SQLITE_STMTSTATUS_FULLSCAN_STEP () {1;}' unless defined(&SQLITE_STMTSTATUS_FULLSCAN_STEP);
    eval 'sub SQLITE_STMTSTATUS_SORT () {2;}' unless defined(&SQLITE_STMTSTATUS_SORT);
    eval 'sub SQLITE_STMTSTATUS_AUTOINDEX () {3;}' unless defined(&SQLITE_STMTSTATUS_AUTOINDEX);
    eval 'sub SQLITE_STMTSTATUS_VM_STEP () {4;}' unless defined(&SQLITE_STMTSTATUS_VM_STEP);
    eval 'sub SQLITE_STMTSTATUS_REPREPARE () {5;}' unless defined(&SQLITE_STMTSTATUS_REPREPARE);
    eval 'sub SQLITE_STMTSTATUS_RUN () {6;}' unless defined(&SQLITE_STMTSTATUS_RUN);
    eval 'sub SQLITE_STMTSTATUS_MEMUSED () {99;}' unless defined(&SQLITE_STMTSTATUS_MEMUSED);
    eval 'sub SQLITE_CHECKPOINT_PASSIVE () {0;}' unless defined(&SQLITE_CHECKPOINT_PASSIVE);
    eval 'sub SQLITE_CHECKPOINT_FULL () {1;}' unless defined(&SQLITE_CHECKPOINT_FULL);
    eval 'sub SQLITE_CHECKPOINT_RESTART () {2;}' unless defined(&SQLITE_CHECKPOINT_RESTART);
    eval 'sub SQLITE_CHECKPOINT_TRUNCATE () {3;}' unless defined(&SQLITE_CHECKPOINT_TRUNCATE);
    eval 'sub SQLITE_VTAB_CONSTRAINT_SUPPORT () {1;}' unless defined(&SQLITE_VTAB_CONSTRAINT_SUPPORT);
    eval 'sub SQLITE_ROLLBACK () {1;}' unless defined(&SQLITE_ROLLBACK);
    eval 'sub SQLITE_FAIL () {3;}' unless defined(&SQLITE_FAIL);
    eval 'sub SQLITE_REPLACE () {5;}' unless defined(&SQLITE_REPLACE);
    eval 'sub SQLITE_SCANSTAT_NLOOP () {0;}' unless defined(&SQLITE_SCANSTAT_NLOOP);
    eval 'sub SQLITE_SCANSTAT_NVISIT () {1;}' unless defined(&SQLITE_SCANSTAT_NVISIT);
    eval 'sub SQLITE_SCANSTAT_EST () {2;}' unless defined(&SQLITE_SCANSTAT_EST);
    eval 'sub SQLITE_SCANSTAT_NAME () {3;}' unless defined(&SQLITE_SCANSTAT_NAME);
    eval 'sub SQLITE_SCANSTAT_EXPLAIN () {4;}' unless defined(&SQLITE_SCANSTAT_EXPLAIN);
    eval 'sub SQLITE_SCANSTAT_SELECTID () {5;}' unless defined(&SQLITE_SCANSTAT_SELECTID);
    if(defined(&SQLITE_ENABLE_PREUPDATE_HOOK)) {
    }
    eval 'sub SQLITE_SERIALIZE_NOCOPY () {0x1;}' unless defined(&SQLITE_SERIALIZE_NOCOPY);
    eval 'sub SQLITE_DESERIALIZE_FREEONCLOSE () {1;}' unless defined(&SQLITE_DESERIALIZE_FREEONCLOSE);
    eval 'sub SQLITE_DESERIALIZE_RESIZEABLE () {2;}' unless defined(&SQLITE_DESERIALIZE_RESIZEABLE);
    eval 'sub SQLITE_DESERIALIZE_READONLY () {4;}' unless defined(&SQLITE_DESERIALIZE_READONLY);
    if(defined(&SQLITE_OMIT_FLOATING_POINT)) {
	undef(&double) if defined(&double);
    }
    if(defined(&__cplusplus)) {
    }
}
unless(defined(&_SQLITE3RTREE_H_)) {
    eval 'sub _SQLITE3RTREE_H_ () {1;}' unless defined(&_SQLITE3RTREE_H_);
    if(defined(&__cplusplus)) {
    }
    if(defined(&SQLITE_RTREE_INT_ONLY)) {
    } else {
    }
    eval 'sub NOT_WITHIN () {0;}' unless defined(&NOT_WITHIN);
    eval 'sub PARTLY_WITHIN () {1;}' unless defined(&PARTLY_WITHIN);
    eval 'sub FULLY_WITHIN () {2;}' unless defined(&FULLY_WITHIN);
    if(defined(&__cplusplus)) {
    }
}
if(!defined(&__SQLITESESSION_H_)  && defined(&SQLITE_ENABLE_SESSION)) {
    eval 'sub __SQLITESESSION_H_ () {1;}' unless defined(&__SQLITESESSION_H_);
    if(defined(&__cplusplus)) {
    }
    eval 'sub SQLITE_CHANGESETSTART_INVERT () {0x2;}' unless defined(&SQLITE_CHANGESETSTART_INVERT);
    eval 'sub SQLITE_CHANGESETAPPLY_NOSAVEPOINT () {0x1;}' unless defined(&SQLITE_CHANGESETAPPLY_NOSAVEPOINT);
    eval 'sub SQLITE_CHANGESETAPPLY_INVERT () {0x2;}' unless defined(&SQLITE_CHANGESETAPPLY_INVERT);
    eval 'sub SQLITE_CHANGESET_DATA () {1;}' unless defined(&SQLITE_CHANGESET_DATA);
    eval 'sub SQLITE_CHANGESET_NOTFOUND () {2;}' unless defined(&SQLITE_CHANGESET_NOTFOUND);
    eval 'sub SQLITE_CHANGESET_CONFLICT () {3;}' unless defined(&SQLITE_CHANGESET_CONFLICT);
    eval 'sub SQLITE_CHANGESET_CONSTRAINT () {4;}' unless defined(&SQLITE_CHANGESET_CONSTRAINT);
    eval 'sub SQLITE_CHANGESET_FOREIGN_KEY () {5;}' unless defined(&SQLITE_CHANGESET_FOREIGN_KEY);
    eval 'sub SQLITE_CHANGESET_OMIT () {0;}' unless defined(&SQLITE_CHANGESET_OMIT);
    eval 'sub SQLITE_CHANGESET_REPLACE () {1;}' unless defined(&SQLITE_CHANGESET_REPLACE);
    eval 'sub SQLITE_CHANGESET_ABORT () {2;}' unless defined(&SQLITE_CHANGESET_ABORT);
    eval 'sub SQLITE_SESSION_CONFIG_STRMSIZE () {1;}' unless defined(&SQLITE_SESSION_CONFIG_STRMSIZE);
    if(defined(&__cplusplus)) {
    }
}
unless(defined(&_FTS5_H)) {
    eval 'sub _FTS5_H () {1;}' unless defined(&_FTS5_H);
    if(defined(&__cplusplus)) {
    }
    eval 'sub FTS5_TOKENIZE_QUERY () {0x1;}' unless defined(&FTS5_TOKENIZE_QUERY);
    eval 'sub FTS5_TOKENIZE_PREFIX () {0x2;}' unless defined(&FTS5_TOKENIZE_PREFIX);
    eval 'sub FTS5_TOKENIZE_DOCUMENT () {0x4;}' unless defined(&FTS5_TOKENIZE_DOCUMENT);
    eval 'sub FTS5_TOKENIZE_AUX () {0x8;}' unless defined(&FTS5_TOKENIZE_AUX);
    eval 'sub FTS5_TOKEN_COLOCATED () {0x1;}' unless defined(&FTS5_TOKEN_COLOCATED);
    if(defined(&__cplusplus)) {
    }
}
1;
