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';
    require 'stdint.ph';
    if(defined(&__cplusplus)) {
    }
    unless(defined(&SQLITE_EXTERN)) {
	eval 'sub SQLITE_EXTERN () { &extern;}' unless defined(&SQLITE_EXTERN);
    }
    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.7.13";}' unless defined(&SQLITE_VERSION);
    eval 'sub SQLITE_VERSION_NUMBER () {3007013;}' unless defined(&SQLITE_VERSION_NUMBER);
    eval 'sub SQLITE_SOURCE_ID () {"OpenBSD";}' unless defined(&SQLITE_SOURCE_ID);
    unless(defined(&SQLITE_OMIT_COMPILEOPTION_DIAGS)) {
    }
    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_ROW () {100;}' unless defined(&SQLITE_ROW);
    eval 'sub SQLITE_DONE () {101;}' unless defined(&SQLITE_DONE);
    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_LOCKED_SHAREDCACHE () {( &SQLITE_LOCKED | (1<<8));}' unless defined(&SQLITE_LOCKED_SHAREDCACHE);
    eval 'sub SQLITE_BUSY_RECOVERY () {( &SQLITE_BUSY | (1<<8));}' unless defined(&SQLITE_BUSY_RECOVERY);
    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_CORRUPT_VTAB () {( &SQLITE_CORRUPT | (1<<8));}' unless defined(&SQLITE_CORRUPT_VTAB);
    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_ABORT_ROLLBACK () {( &SQLITE_ABORT | (2<<8));}' unless defined(&SQLITE_ABORT_ROLLBACK);
    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_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_GET_LOCKPROXYFILE () {2;}' unless defined(&SQLITE_GET_LOCKPROXYFILE);
    eval 'sub SQLITE_SET_LOCKPROXYFILE () {3;}' unless defined(&SQLITE_SET_LOCKPROXYFILE);
    eval 'sub SQLITE_LAST_ERRNO () {4;}' unless defined(&SQLITE_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_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_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_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_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_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);
    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_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);
    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_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_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_LAST () {19;}' 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_MAX () {9;}' 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_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_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);
    if(defined(&SQLITE_OMIT_FLOATING_POINT)) {
	undef(&double) if defined(&double);
    }
    if(defined(&__cplusplus)) {
    }
}
1;
