Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

native.fz


#
# autogenerated by fzextract.fz from /usr/include/sqlite3.h
#

module c is

################################### structs ####################################

  module sqlite3_mutex is
  module sqlite3_file(module pMethods Native_Ref /* from: struct sqlite3_io_methods * */) is
  module sqlite3_api_routines is
  module Fts5Tokenizer is
  module Fts5ExtensionApi(module iVersion i32 /* from: int */, module xUserData Native_Ref /* from: void *(*)(struct Fts5Context *) */, module xColumnCount Native_Ref /* from: int (*)(struct Fts5Context *) */, module xRowCount Native_Ref /* from: int (*)(struct Fts5Context *, long long *) */, module xColumnTotalSize Native_Ref /* from: int (*)(struct Fts5Context *, int, long long *) */, module xTokenize Native_Ref /* from: int (*)(struct Fts5Context *, char *, int, void *, int (*)(void *, int, char *, int, int, int)) */, module xPhraseCount Native_Ref /* from: int (*)(struct Fts5Context *) */, module xPhraseSize Native_Ref /* from: int (*)(struct Fts5Context *, int) */, module xInstCount Native_Ref /* from: int (*)(struct Fts5Context *, int *) */, module xInst Native_Ref /* from: int (*)(struct Fts5Context *, int, int *, int *, int *) */, module xRowid Native_Ref /* from: long long (*)(struct Fts5Context *) */, module xColumnText Native_Ref /* from: int (*)(struct Fts5Context *, int, char **, int *) */, module xColumnSize Native_Ref /* from: int (*)(struct Fts5Context *, int, int *) */, module xQueryPhrase Native_Ref /* from: int (*)(struct Fts5Context *, int, void *, int (*)(struct Fts5ExtensionApi *, struct Fts5Context *, void *)) */, module xSetAuxdata Native_Ref /* from: int (*)(struct Fts5Context *, void *, void (*)(void *)) */, module xGetAuxdata Native_Ref /* from: void *(*)(struct Fts5Context *, int) */, module xPhraseFirst Native_Ref /* from: int (*)(struct Fts5Context *, int, struct Fts5PhraseIter *, int *, int *) */, module xPhraseNext Native_Ref /* from: void (*)(struct Fts5Context *, struct Fts5PhraseIter *, int *, int *) */, module xPhraseFirstColumn Native_Ref /* from: int (*)(struct Fts5Context *, int, struct Fts5PhraseIter *, int *) */, module xPhraseNextColumn Native_Ref /* from: void (*)(struct Fts5Context *, struct Fts5PhraseIter *, int *) */, module xQueryToken Native_Ref /* from: int (*)(struct Fts5Context *, int, int, char **, int *) */, module xInstToken Native_Ref /* from: int (*)(struct Fts5Context *, int, int, char **, int *) */) is
  module Fts5Context is
  module Fts5PhraseIter(module a Native_Ref /* from: unsigned char * */, module b Native_Ref /* from: unsigned char * */) is
  module fts5_tokenizer(module xCreate Native_Ref /* from: int (*)(void *, char **, int, struct Fts5Tokenizer **) */, module xDelete Native_Ref /* from: void (*)(struct Fts5Tokenizer *) */, module xTokenize Native_Ref /* from: int (*)(struct Fts5Tokenizer *, void *, int, char *, int, int (*)(void *, int, char *, int, int, int)) */) is
  module fts5_api(module iVersion i32 /* from: int */, module xCreateTokenizer Native_Ref /* from: int (*)(struct fts5_api *, char *, void *, struct fts5_tokenizer *, void (*)(void *)) */, module xFindTokenizer Native_Ref /* from: int (*)(struct fts5_api *, char *, void **, struct fts5_tokenizer *) */, module xCreateFunction Native_Ref /* from: int (*)(struct fts5_api *, char *, void *, void (*)(struct Fts5ExtensionApi *, struct Fts5Context *, struct sqlite3_context *, int, struct sqlite3_value **), void (*)(void *)) */) is
  module sqlite3 is
  module sqlite3_blob is
  module sqlite3_backup is
  module sqlite3_context is
  module sqlite3_io_methods(module iVersion i32 /* from: int */, module xClose Native_Ref /* from: int (*)(struct sqlite3_file *) */, module xRead Native_Ref /* from: int (*)(struct sqlite3_file *, void *, int, long long) */, module xWrite Native_Ref /* from: int (*)(struct sqlite3_file *, void *, int, long long) */, module xTruncate Native_Ref /* from: int (*)(struct sqlite3_file *, long long) */, module xSync Native_Ref /* from: int (*)(struct sqlite3_file *, int) */, module xFileSize Native_Ref /* from: int (*)(struct sqlite3_file *, long long *) */, module xLock Native_Ref /* from: int (*)(struct sqlite3_file *, int) */, module xUnlock Native_Ref /* from: int (*)(struct sqlite3_file *, int) */, module xCheckReservedLock Native_Ref /* from: int (*)(struct sqlite3_file *, int *) */, module xFileControl Native_Ref /* from: int (*)(struct sqlite3_file *, int, void *) */, module xSectorSize Native_Ref /* from: int (*)(struct sqlite3_file *) */, module xDeviceCharacteristics Native_Ref /* from: int (*)(struct sqlite3_file *) */, module xShmMap Native_Ref /* from: int (*)(struct sqlite3_file *, int, int, int, void **) */, module xShmLock Native_Ref /* from: int (*)(struct sqlite3_file *, int, int, int) */, module xShmBarrier Native_Ref /* from: void (*)(struct sqlite3_file *) */, module xShmUnmap Native_Ref /* from: int (*)(struct sqlite3_file *, int) */, module xFetch Native_Ref /* from: int (*)(struct sqlite3_file *, long long, int, void **) */, module xUnfetch Native_Ref /* from: int (*)(struct sqlite3_file *, long long, void *) */) is
  module sqlite3_index_info(module nConstraint i32 /* from: int */, module aConstraint Native_Ref /* from: struct sqlite3_index_constraint * */, module nOrderBy i32 /* from: int */, module aOrderBy Native_Ref /* from: struct sqlite3_index_orderby * */, module aConstraintUsage Native_Ref /* from: struct sqlite3_index_constraint_usage * */, module idxNum i32 /* from: int */, module idxStr Native_Ref /* from: char * */, module needToFreeIdxStr i32 /* from: int */, module orderByConsumed i32 /* from: int */, module estimatedCost f64 /* from: double */, module estimatedRows i64 /* from: long long */, module idxFlags i32 /* from: int */, module colUsed u64 /* from: unsigned long long */) is
  module sqlite3_mem_methods(module xMalloc Native_Ref /* from: void *(*)(int) */, module xFree Native_Ref /* from: void (*)(void *) */, module xRealloc Native_Ref /* from: void *(*)(void *, int) */, module xSize Native_Ref /* from: int (*)(void *) */, module xRoundup Native_Ref /* from: int (*)(int) */, module xInit Native_Ref /* from: int (*)(void *) */, module xShutdown Native_Ref /* from: void (*)(void *) */, module pAppData Native_Ref /* from: void * */) is
  module sqlite3_module(module iVersion i32 /* from: int */, module xCreate Native_Ref /* from: int (*)(struct sqlite3 *, void *, int, char **, struct sqlite3_vtab **, char **) */, module xConnect Native_Ref /* from: int (*)(struct sqlite3 *, void *, int, char **, struct sqlite3_vtab **, char **) */, module xBestIndex Native_Ref /* from: int (*)(struct sqlite3_vtab *, struct sqlite3_index_info *) */, module xDisconnect Native_Ref /* from: int (*)(struct sqlite3_vtab *) */, module xDestroy Native_Ref /* from: int (*)(struct sqlite3_vtab *) */, module xOpen Native_Ref /* from: int (*)(struct sqlite3_vtab *, struct sqlite3_vtab_cursor **) */, module xClose Native_Ref /* from: int (*)(struct sqlite3_vtab_cursor *) */, module xFilter Native_Ref /* from: int (*)(struct sqlite3_vtab_cursor *, int, char *, int, struct sqlite3_value **) */, module xNext Native_Ref /* from: int (*)(struct sqlite3_vtab_cursor *) */, module xEof Native_Ref /* from: int (*)(struct sqlite3_vtab_cursor *) */, module xColumn Native_Ref /* from: int (*)(struct sqlite3_vtab_cursor *, struct sqlite3_context *, int) */, module xRowid Native_Ref /* from: int (*)(struct sqlite3_vtab_cursor *, long long *) */, module xUpdate Native_Ref /* from: int (*)(struct sqlite3_vtab *, int, struct sqlite3_value **, long long *) */, module xBegin Native_Ref /* from: int (*)(struct sqlite3_vtab *) */, module xSync Native_Ref /* from: int (*)(struct sqlite3_vtab *) */, module xCommit Native_Ref /* from: int (*)(struct sqlite3_vtab *) */, module xRollback Native_Ref /* from: int (*)(struct sqlite3_vtab *) */, module xFindFunction Native_Ref /* from: int (*)(struct sqlite3_vtab *, int, char *, void (**)(struct sqlite3_context *, int, struct sqlite3_value **), void **) */, module xRename Native_Ref /* from: int (*)(struct sqlite3_vtab *, char *) */, module xSavepoint Native_Ref /* from: int (*)(struct sqlite3_vtab *, int) */, module xRelease Native_Ref /* from: int (*)(struct sqlite3_vtab *, int) */, module xRollbackTo Native_Ref /* from: int (*)(struct sqlite3_vtab *, int) */, module xShadowName Native_Ref /* from: int (*)(char *) */, module xIntegrity Native_Ref /* from: int (*)(struct sqlite3_vtab *, char *, char *, int, char **) */) is
  module sqlite3_pcache_page(module pBuf Native_Ref /* from: void * */, module pExtra Native_Ref /* from: void * */) is
  module sqlite3_pcache is
  module sqlite3_mutex_methods(module xMutexInit Native_Ref /* from: int (*)(void) */, module xMutexEnd Native_Ref /* from: int (*)(void) */, module xMutexAlloc Native_Ref /* from: struct sqlite3_mutex *(*)(int) */, module xMutexFree Native_Ref /* from: void (*)(struct sqlite3_mutex *) */, module xMutexEnter Native_Ref /* from: void (*)(struct sqlite3_mutex *) */, module xMutexTry Native_Ref /* from: int (*)(struct sqlite3_mutex *) */, module xMutexLeave Native_Ref /* from: void (*)(struct sqlite3_mutex *) */, module xMutexHeld Native_Ref /* from: int (*)(struct sqlite3_mutex *) */, module xMutexNotheld Native_Ref /* from: int (*)(struct sqlite3_mutex *) */) is
  module sqlite3_pcache_methods2(module iVersion i32 /* from: int */, module pArg Native_Ref /* from: void * */, module xInit Native_Ref /* from: int (*)(void *) */, module xShutdown Native_Ref /* from: void (*)(void *) */, module xCreate Native_Ref /* from: struct sqlite3_pcache *(*)(int, int, int) */, module xCachesize Native_Ref /* from: void (*)(struct sqlite3_pcache *, int) */, module xPagecount Native_Ref /* from: int (*)(struct sqlite3_pcache *) */, module xFetch Native_Ref /* from: struct sqlite3_pcache_page *(*)(struct sqlite3_pcache *, unsigned int, int) */, module xUnpin Native_Ref /* from: void (*)(struct sqlite3_pcache *, struct sqlite3_pcache_page *, int) */, module xRekey Native_Ref /* from: void (*)(struct sqlite3_pcache *, struct sqlite3_pcache_page *, unsigned int, unsigned int) */, module xTruncate Native_Ref /* from: void (*)(struct sqlite3_pcache *, unsigned int) */, module xDestroy Native_Ref /* from: void (*)(struct sqlite3_pcache *) */, module xShrink Native_Ref /* from: void (*)(struct sqlite3_pcache *) */) is
  module sqlite3_pcache_methods(module pArg Native_Ref /* from: void * */, module xInit Native_Ref /* from: int (*)(void *) */, module xShutdown Native_Ref /* from: void (*)(void *) */, module xCreate Native_Ref /* from: struct sqlite3_pcache *(*)(int, int) */, module xCachesize Native_Ref /* from: void (*)(struct sqlite3_pcache *, int) */, module xPagecount Native_Ref /* from: int (*)(struct sqlite3_pcache *) */, module xFetch Native_Ref /* from: void *(*)(struct sqlite3_pcache *, unsigned int, int) */, module xUnpin Native_Ref /* from: void (*)(struct sqlite3_pcache *, void *, int) */, module xRekey Native_Ref /* from: void (*)(struct sqlite3_pcache *, void *, unsigned int, unsigned int) */, module xTruncate Native_Ref /* from: void (*)(struct sqlite3_pcache *, unsigned int) */, module xDestroy Native_Ref /* from: void (*)(struct sqlite3_pcache *) */) is
  module sqlite3_value is
  module sqlite3_stmt is
  module sqlite3_rtree_query_info(module pContext Native_Ref /* from: void * */, module nParam i32 /* from: int */, module aParam Native_Ref /* from: double * */, module pUser Native_Ref /* from: void * */, module xDelUser Native_Ref /* from: void (*)(void *) */, module aCoord Native_Ref /* from: double * */, module anQueue Native_Ref /* from: unsigned int * */, module nCoord i32 /* from: int */, module iLevel i32 /* from: int */, module mxLevel i32 /* from: int */, module iRowid i64 /* from: long long */, module rParentScore f64 /* from: double */, module eParentWithin i32 /* from: int */, module eWithin i32 /* from: int */, module rScore f64 /* from: double */, module apSqlParam Native_Ref /* from: struct sqlite3_value ** */) is
  module sqlite3_rtree_geometry(module pContext Native_Ref /* from: void * */, module nParam i32 /* from: int */, module aParam Native_Ref /* from: double * */, module pUser Native_Ref /* from: void * */, module xDelUser Native_Ref /* from: void (*)(void *) */) is
  module sqlite3_snapshot(module hidden Native_Ref /* from: unsigned char[48] */) is
  module sqlite3_str is
  module sqlite3_vtab(module pModule Native_Ref /* from: struct sqlite3_module * */, module nRef i32 /* from: int */, module zErrMsg Native_Ref /* from: char * */) is
  module sqlite3_vfs(module iVersion i32 /* from: int */, module szOsFile i32 /* from: int */, module mxPathname i32 /* from: int */, module pNext Native_Ref /* from: struct sqlite3_vfs * */, module zName Native_Ref /* from: char * */, module pAppData Native_Ref /* from: void * */, module xOpen Native_Ref /* from: int (*)(struct sqlite3_vfs *, char *, struct sqlite3_file *, int, int *) */, module xDelete Native_Ref /* from: int (*)(struct sqlite3_vfs *, char *, int) */, module xAccess Native_Ref /* from: int (*)(struct sqlite3_vfs *, char *, int, int *) */, module xFullPathname Native_Ref /* from: int (*)(struct sqlite3_vfs *, char *, int, char *) */, module xDlOpen Native_Ref /* from: void *(*)(struct sqlite3_vfs *, char *) */, module xDlError Native_Ref /* from: void (*)(struct sqlite3_vfs *, int, char *) */, module xDlSym Native_Ref /* from: void (*(*)(struct sqlite3_vfs *, void *, char *))(void) */, module xDlClose Native_Ref /* from: void (*)(struct sqlite3_vfs *, void *) */, module xRandomness Native_Ref /* from: int (*)(struct sqlite3_vfs *, int, char *) */, module xSleep Native_Ref /* from: int (*)(struct sqlite3_vfs *, int) */, module xCurrentTime Native_Ref /* from: int (*)(struct sqlite3_vfs *, double *) */, module xGetLastError Native_Ref /* from: int (*)(struct sqlite3_vfs *, int, char *) */, module xCurrentTimeInt64 Native_Ref /* from: int (*)(struct sqlite3_vfs *, long long *) */, module xSetSystemCall Native_Ref /* from: int (*)(struct sqlite3_vfs *, char *, void (*)(void)) */, module xGetSystemCall Native_Ref /* from: void (*(*)(struct sqlite3_vfs *, char *))(void) */, module xNextSystemCall Native_Ref /* from: char *(*)(struct sqlite3_vfs *, char *) */) is
  module sqlite3_vtab_cursor(module pVtab Native_Ref /* from: struct sqlite3_vtab * */) is

############################ function declarations #############################

  # module sqlite3_win32_set_directory(type_ --error: unsigned long--, zValue mutate.array u8 /* from: void * */) i32 /* from: int */ => native
  # module sqlite3_win32_set_directory16(type_ --error: unsigned long--, zValue mutate.array u8 /* from: void * */) i32 /* from: int */ => native
  # module sqlite3_win32_set_directory8(type_ --error: unsigned long--, zValue mutate.array u8 /* from: char * */) i32 /* from: int */ => native
  module sqlite3_aggregate_context(_ Native_Ref /* from: struct sqlite3_context * */, nBytes i32 /* from: int */) Native_Ref /* from: void * */ => native
  module sqlite3_aggregate_count(_ Native_Ref /* from: struct sqlite3_context * */) i32 /* from: int */ => native
  module sqlite3_auto_extension(xEntryPoint F0 : Function unit unit) i32 /* from: int */ => native
  module sqlite3_autovacuum_pages(db Native_Ref /* from: struct sqlite3 * */, _ F1 : Function u32 /* from: unsigned int */ Native_Ref /* from: void * */ Native_Ref /* from: char * */ u32 /* from: unsigned int */ u32 /* from: unsigned int */ u32 /* from: unsigned int */, _ mutate.array u8 /* from: void * */, _ F3 : Function unit Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_backup_finish(p Native_Ref /* from: struct sqlite3_backup * */) i32 /* from: int */ => native
  module sqlite3_backup_init(pDest Native_Ref /* from: struct sqlite3 * */, zDestName mutate.array u8 /* from: char * */, pSource Native_Ref /* from: struct sqlite3 * */, zSourceName mutate.array u8 /* from: char * */) Native_Ref /* from: struct sqlite3_backup * */ => native
  module sqlite3_backup_pagecount(p Native_Ref /* from: struct sqlite3_backup * */) i32 /* from: int */ => native
  module sqlite3_backup_remaining(p Native_Ref /* from: struct sqlite3_backup * */) i32 /* from: int */ => native
  module sqlite3_backup_step(p Native_Ref /* from: struct sqlite3_backup * */, nPage i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_bind_blob(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */, _ mutate.array u8 /* from: void * */, n i32 /* from: int */, _ F4 : Function unit Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_bind_blob64(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */, _ mutate.array u8 /* from: void * */, _ u64 /* from: unsigned long long */, _ F4 : Function unit Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_bind_double(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */, _ f64 /* from: double */) i32 /* from: int */ => native
  module sqlite3_bind_int(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */, _ i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_bind_int64(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */, _ i64 /* from: long long */) i32 /* from: int */ => native
  module sqlite3_bind_null(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_bind_parameter_count(_ Native_Ref /* from: struct sqlite3_stmt * */) i32 /* from: int */ => native
  module sqlite3_bind_parameter_index(_ Native_Ref /* from: struct sqlite3_stmt * */, zName mutate.array u8 /* from: char * */) i32 /* from: int */ => native
  module sqlite3_bind_parameter_name(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */) Native_Ref /* from: char * */ => native
  module sqlite3_bind_pointer(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */, _ mutate.array u8 /* from: void * */, _ mutate.array u8 /* from: char * */, _ F4 : Function unit Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_bind_text(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */, _ mutate.array u8 /* from: char * */, _ i32 /* from: int */, _ F4 : Function unit Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_bind_text16(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */, _ mutate.array u8 /* from: void * */, _ i32 /* from: int */, _ F4 : Function unit Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_bind_text64(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */, _ mutate.array u8 /* from: char * */, _ u64 /* from: unsigned long long */, _ F4 : Function unit Native_Ref /* from: void * */, encoding u8 /* from: unsigned char */) i32 /* from: int */ => native
  module sqlite3_bind_value(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */, _ Native_Ref /* from: struct sqlite3_value * */) i32 /* from: int */ => native
  module sqlite3_bind_zeroblob(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */, n i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_bind_zeroblob64(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */, _ u64 /* from: unsigned long long */) i32 /* from: int */ => native
  module sqlite3_blob_bytes(_ Native_Ref /* from: struct sqlite3_blob * */) i32 /* from: int */ => native
  module sqlite3_blob_close(_ Native_Ref /* from: struct sqlite3_blob * */) i32 /* from: int */ => native
  module sqlite3_blob_open(_ Native_Ref /* from: struct sqlite3 * */, zDb mutate.array u8 /* from: char * */, zTable mutate.array u8 /* from: char * */, zColumn mutate.array u8 /* from: char * */, iRow i64 /* from: long long */, flags i32 /* from: int */, ppBlob Native_Ref /* from: struct sqlite3_blob ** */) i32 /* from: int */ => native
  module sqlite3_blob_read(_ Native_Ref /* from: struct sqlite3_blob * */, Z mutate.array u8 /* from: void * */, N i32 /* from: int */, iOffset i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_blob_reopen(_ Native_Ref /* from: struct sqlite3_blob * */, _ i64 /* from: long long */) i32 /* from: int */ => native
  module sqlite3_blob_write(_ Native_Ref /* from: struct sqlite3_blob * */, z mutate.array u8 /* from: void * */, n i32 /* from: int */, iOffset i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_busy_handler(_ Native_Ref /* from: struct sqlite3 * */, _ F1 : Function i32 /* from: int */ Native_Ref /* from: void * */ i32 /* from: int */, _ mutate.array u8 /* from: void * */) i32 /* from: int */ => native
  module sqlite3_busy_timeout(_ Native_Ref /* from: struct sqlite3 * */, ms i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_cancel_auto_extension(xEntryPoint F0 : Function unit unit) i32 /* from: int */ => native
  module sqlite3_changes(_ Native_Ref /* from: struct sqlite3 * */) i32 /* from: int */ => native
  module sqlite3_changes64(_ Native_Ref /* from: struct sqlite3 * */) i64 /* from: long long */ => native
  module sqlite3_clear_bindings(_ Native_Ref /* from: struct sqlite3_stmt * */) i32 /* from: int */ => native
  module sqlite3_close(_ Native_Ref /* from: struct sqlite3 * */) i32 /* from: int */ => native
  module sqlite3_close_v2(_ Native_Ref /* from: struct sqlite3 * */) i32 /* from: int */ => native
  module sqlite3_collation_needed(_ Native_Ref /* from: struct sqlite3 * */, _ mutate.array u8 /* from: void * */, _ F2 : Function unit Native_Ref /* from: void * */ Native_Ref /* from: struct sqlite3 * */ i32 /* from: int */ Native_Ref /* from: char * */) i32 /* from: int */ => native
  module sqlite3_collation_needed16(_ Native_Ref /* from: struct sqlite3 * */, _ mutate.array u8 /* from: void * */, _ F2 : Function unit Native_Ref /* from: void * */ Native_Ref /* from: struct sqlite3 * */ i32 /* from: int */ Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_column_blob(_ Native_Ref /* from: struct sqlite3_stmt * */, iCol i32 /* from: int */) Native_Ref /* from: void * */ => native
  module sqlite3_column_bytes(_ Native_Ref /* from: struct sqlite3_stmt * */, iCol i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_column_bytes16(_ Native_Ref /* from: struct sqlite3_stmt * */, iCol i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_column_count(pStmt Native_Ref /* from: struct sqlite3_stmt * */) i32 /* from: int */ => native
  module sqlite3_column_database_name(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */) Native_Ref /* from: char * */ => native
  module sqlite3_column_database_name16(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */) Native_Ref /* from: void * */ => native
  module sqlite3_column_decltype(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */) Native_Ref /* from: char * */ => native
  module sqlite3_column_decltype16(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */) Native_Ref /* from: void * */ => native
  module sqlite3_column_double(_ Native_Ref /* from: struct sqlite3_stmt * */, iCol i32 /* from: int */) f64 /* from: double */ => native
  module sqlite3_column_int(_ Native_Ref /* from: struct sqlite3_stmt * */, iCol i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_column_int64(_ Native_Ref /* from: struct sqlite3_stmt * */, iCol i32 /* from: int */) i64 /* from: long long */ => native
  module sqlite3_column_name(_ Native_Ref /* from: struct sqlite3_stmt * */, N i32 /* from: int */) Native_Ref /* from: char * */ => native
  module sqlite3_column_name16(_ Native_Ref /* from: struct sqlite3_stmt * */, N i32 /* from: int */) Native_Ref /* from: void * */ => native
  module sqlite3_column_origin_name(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */) Native_Ref /* from: char * */ => native
  module sqlite3_column_origin_name16(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */) Native_Ref /* from: void * */ => native
  module sqlite3_column_table_name(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */) Native_Ref /* from: char * */ => native
  module sqlite3_column_table_name16(_ Native_Ref /* from: struct sqlite3_stmt * */, _ i32 /* from: int */) Native_Ref /* from: void * */ => native
  module sqlite3_column_text(_ Native_Ref /* from: struct sqlite3_stmt * */, iCol i32 /* from: int */) Native_Ref /* from: unsigned char * */ => native
  module sqlite3_column_text16(_ Native_Ref /* from: struct sqlite3_stmt * */, iCol i32 /* from: int */) Native_Ref /* from: void * */ => native
  module sqlite3_column_type(_ Native_Ref /* from: struct sqlite3_stmt * */, iCol i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_column_value(_ Native_Ref /* from: struct sqlite3_stmt * */, iCol i32 /* from: int */) Native_Ref /* from: struct sqlite3_value * */ => native
  module sqlite3_commit_hook(_ Native_Ref /* from: struct sqlite3 * */, _ F1 : Function i32 /* from: int */ Native_Ref /* from: void * */, _ mutate.array u8 /* from: void * */) Native_Ref /* from: void * */ => native
  module sqlite3_compileoption_get(N i32 /* from: int */) Native_Ref /* from: char * */ => native
  module sqlite3_compileoption_used(zOptName mutate.array u8 /* from: char * */) i32 /* from: int */ => native
  module sqlite3_complete(sql mutate.array u8 /* from: char * */) i32 /* from: int */ => native
  module sqlite3_complete16(sql mutate.array u8 /* from: void * */) i32 /* from: int */ => native
  module sqlite3_config(_ i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_context_db_handle(_ Native_Ref /* from: struct sqlite3_context * */) Native_Ref /* from: struct sqlite3 * */ => native
  module sqlite3_create_collation(_ Native_Ref /* from: struct sqlite3 * */, zName mutate.array u8 /* from: char * */, eTextRep i32 /* from: int */, pArg mutate.array u8 /* from: void * */, xCompare F4 : Function i32 /* from: int */ Native_Ref /* from: void * */ i32 /* from: int */ Native_Ref /* from: void * */ i32 /* from: int */ Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_create_collation16(_ Native_Ref /* from: struct sqlite3 * */, zName mutate.array u8 /* from: void * */, eTextRep i32 /* from: int */, pArg mutate.array u8 /* from: void * */, xCompare F4 : Function i32 /* from: int */ Native_Ref /* from: void * */ i32 /* from: int */ Native_Ref /* from: void * */ i32 /* from: int */ Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_create_collation_v2(_ Native_Ref /* from: struct sqlite3 * */, zName mutate.array u8 /* from: char * */, eTextRep i32 /* from: int */, pArg mutate.array u8 /* from: void * */, xCompare F4 : Function i32 /* from: int */ Native_Ref /* from: void * */ i32 /* from: int */ Native_Ref /* from: void * */ i32 /* from: int */ Native_Ref /* from: void * */, xDestroy F5 : Function unit Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_create_filename(zDatabase mutate.array u8 /* from: char * */, zJournal mutate.array u8 /* from: char * */, zWal mutate.array u8 /* from: char * */, nParam i32 /* from: int */, azParam Native_Ref /* from: char ** */) Native_Ref /* from: char * */ => native
  module sqlite3_create_function(db Native_Ref /* from: struct sqlite3 * */, zFunctionName mutate.array u8 /* from: char * */, nArg i32 /* from: int */, eTextRep i32 /* from: int */, pApp mutate.array u8 /* from: void * */, xFunc F5 : Function unit Native_Ref /* from: struct sqlite3_context * */ i32 /* from: int */ Native_Ref /* from: struct sqlite3_value ** */, xStep F6 : Function unit Native_Ref /* from: struct sqlite3_context * */ i32 /* from: int */ Native_Ref /* from: struct sqlite3_value ** */, xFinal F7 : Function unit Native_Ref /* from: struct sqlite3_context * */) i32 /* from: int */ => native
  module sqlite3_create_function16(db Native_Ref /* from: struct sqlite3 * */, zFunctionName mutate.array u8 /* from: void * */, nArg i32 /* from: int */, eTextRep i32 /* from: int */, pApp mutate.array u8 /* from: void * */, xFunc F5 : Function unit Native_Ref /* from: struct sqlite3_context * */ i32 /* from: int */ Native_Ref /* from: struct sqlite3_value ** */, xStep F6 : Function unit Native_Ref /* from: struct sqlite3_context * */ i32 /* from: int */ Native_Ref /* from: struct sqlite3_value ** */, xFinal F7 : Function unit Native_Ref /* from: struct sqlite3_context * */) i32 /* from: int */ => native
  module sqlite3_create_function_v2(db Native_Ref /* from: struct sqlite3 * */, zFunctionName mutate.array u8 /* from: char * */, nArg i32 /* from: int */, eTextRep i32 /* from: int */, pApp mutate.array u8 /* from: void * */, xFunc F5 : Function unit Native_Ref /* from: struct sqlite3_context * */ i32 /* from: int */ Native_Ref /* from: struct sqlite3_value ** */, xStep F6 : Function unit Native_Ref /* from: struct sqlite3_context * */ i32 /* from: int */ Native_Ref /* from: struct sqlite3_value ** */, xFinal F7 : Function unit Native_Ref /* from: struct sqlite3_context * */, xDestroy F8 : Function unit Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_create_module(db Native_Ref /* from: struct sqlite3 * */, zName mutate.array u8 /* from: char * */, p Native_Ref /* from: struct sqlite3_module * */, pClientData mutate.array u8 /* from: void * */) i32 /* from: int */ => native
  module sqlite3_create_module_v2(db Native_Ref /* from: struct sqlite3 * */, zName mutate.array u8 /* from: char * */, p Native_Ref /* from: struct sqlite3_module * */, pClientData mutate.array u8 /* from: void * */, xDestroy F4 : Function unit Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_create_window_function(db Native_Ref /* from: struct sqlite3 * */, zFunctionName mutate.array u8 /* from: char * */, nArg i32 /* from: int */, eTextRep i32 /* from: int */, pApp mutate.array u8 /* from: void * */, xStep F5 : Function unit Native_Ref /* from: struct sqlite3_context * */ i32 /* from: int */ Native_Ref /* from: struct sqlite3_value ** */, xFinal F6 : Function unit Native_Ref /* from: struct sqlite3_context * */, xValue F7 : Function unit Native_Ref /* from: struct sqlite3_context * */, xInverse F8 : Function unit Native_Ref /* from: struct sqlite3_context * */ i32 /* from: int */ Native_Ref /* from: struct sqlite3_value ** */, xDestroy F9 : Function unit Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_data_count(pStmt Native_Ref /* from: struct sqlite3_stmt * */) i32 /* from: int */ => native
  module sqlite3_database_file_object(_ mutate.array u8 /* from: char * */) Native_Ref /* from: struct sqlite3_file * */ => native
  module sqlite3_db_cacheflush(_ Native_Ref /* from: struct sqlite3 * */) i32 /* from: int */ => native
  module sqlite3_db_config(_ Native_Ref /* from: struct sqlite3 * */, op i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_db_filename(db Native_Ref /* from: struct sqlite3 * */, zDbName mutate.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module sqlite3_db_handle(_ Native_Ref /* from: struct sqlite3_stmt * */) Native_Ref /* from: struct sqlite3 * */ => native
  module sqlite3_db_mutex(_ Native_Ref /* from: struct sqlite3 * */) Native_Ref /* from: struct sqlite3_mutex * */ => native
  module sqlite3_db_name(db Native_Ref /* from: struct sqlite3 * */, N i32 /* from: int */) Native_Ref /* from: char * */ => native
  module sqlite3_db_readonly(db Native_Ref /* from: struct sqlite3 * */, zDbName mutate.array u8 /* from: char * */) i32 /* from: int */ => native
  module sqlite3_db_release_memory(_ Native_Ref /* from: struct sqlite3 * */) i32 /* from: int */ => native
  module sqlite3_db_status(_ Native_Ref /* from: struct sqlite3 * */, op i32 /* from: int */, pCur mutate.array i32 /* from: int * */, pHiwtr mutate.array i32 /* from: int * */, resetFlg i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_declare_vtab(_ Native_Ref /* from: struct sqlite3 * */, zSQL mutate.array u8 /* from: char * */) i32 /* from: int */ => native
  module sqlite3_deserialize(db Native_Ref /* from: struct sqlite3 * */, zSchema mutate.array u8 /* from: char * */, pData mutate.array u32 /* from: unsigned char * */, szDb i64 /* from: long long */, szBuf i64 /* from: long long */, mFlags u32 /* from: unsigned int */) i32 /* from: int */ => native
  module sqlite3_drop_modules(db Native_Ref /* from: struct sqlite3 * */, azKeep Native_Ref /* from: char ** */) i32 /* from: int */ => native
  module sqlite3_enable_load_extension(db Native_Ref /* from: struct sqlite3 * */, onoff i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_enable_shared_cache(_ i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_errcode(db Native_Ref /* from: struct sqlite3 * */) i32 /* from: int */ => native
  module sqlite3_errmsg(_ Native_Ref /* from: struct sqlite3 * */) Native_Ref /* from: char * */ => native
  module sqlite3_errmsg16(_ Native_Ref /* from: struct sqlite3 * */) Native_Ref /* from: void * */ => native
  module sqlite3_error_offset(db Native_Ref /* from: struct sqlite3 * */) i32 /* from: int */ => native
  module sqlite3_errstr(_ i32 /* from: int */) Native_Ref /* from: char * */ => native
  module sqlite3_exec(_ Native_Ref /* from: struct sqlite3 * */, sql mutate.array u8 /* from: char * */, callback F2 : Function i32 /* from: int */ Native_Ref /* from: void * */ i32 /* from: int */ Native_Ref /* from: char ** */ Native_Ref /* from: char ** */, _ mutate.array u8 /* from: void * */, errmsg Native_Ref /* from: char ** */) i32 /* from: int */ => native
  module sqlite3_expanded_sql(pStmt Native_Ref /* from: struct sqlite3_stmt * */) Native_Ref /* from: char * */ => native
  module sqlite3_expired(_ Native_Ref /* from: struct sqlite3_stmt * */) i32 /* from: int */ => native
  module sqlite3_extended_errcode(db Native_Ref /* from: struct sqlite3 * */) i32 /* from: int */ => native
  module sqlite3_extended_result_codes(_ Native_Ref /* from: struct sqlite3 * */, onoff i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_file_control(_ Native_Ref /* from: struct sqlite3 * */, zDbName mutate.array u8 /* from: char * */, op i32 /* from: int */, _ mutate.array u8 /* from: void * */) i32 /* from: int */ => native
  module sqlite3_filename_database(_ mutate.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module sqlite3_filename_journal(_ mutate.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module sqlite3_filename_wal(_ mutate.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module sqlite3_finalize(pStmt Native_Ref /* from: struct sqlite3_stmt * */) i32 /* from: int */ => native
  module sqlite3_free(_ mutate.array u8 /* from: void * */) unit => native
  module sqlite3_free_filename(_ mutate.array u8 /* from: char * */) unit => native
  module sqlite3_free_table(result_ Native_Ref /* from: char ** */) unit => native
  module sqlite3_get_autocommit(_ Native_Ref /* from: struct sqlite3 * */) i32 /* from: int */ => native
  module sqlite3_get_auxdata(_ Native_Ref /* from: struct sqlite3_context * */, N i32 /* from: int */) Native_Ref /* from: void * */ => native
  module sqlite3_get_clientdata(_ Native_Ref /* from: struct sqlite3 * */, _ mutate.array u8 /* from: char * */) Native_Ref /* from: void * */ => native
  module sqlite3_get_table(db Native_Ref /* from: struct sqlite3 * */, zSql mutate.array u8 /* from: char * */, pazResult Native_Ref /* from: char *** */, pnRow mutate.array i32 /* from: int * */, pnColumn mutate.array i32 /* from: int * */, pzErrmsg Native_Ref /* from: char ** */) i32 /* from: int */ => native
  module sqlite3_global_recover i32 /* from: int */ => native
  module sqlite3_hard_heap_limit64(N i64 /* from: long long */) i64 /* from: long long */ => native
  module sqlite3_initialize i32 /* from: int */ => native
  module sqlite3_interrupt(_ Native_Ref /* from: struct sqlite3 * */) unit => native
  module sqlite3_is_interrupted(_ Native_Ref /* from: struct sqlite3 * */) i32 /* from: int */ => native
  module sqlite3_keyword_check(_ mutate.array u8 /* from: char * */, _ i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_keyword_count i32 /* from: int */ => native
  module sqlite3_keyword_name(_ i32 /* from: int */, _ Native_Ref /* from: char ** */, _ mutate.array i32 /* from: int * */) i32 /* from: int */ => native
  module sqlite3_last_insert_rowid(_ Native_Ref /* from: struct sqlite3 * */) i64 /* from: long long */ => native
  module sqlite3_libversion Native_Ref /* from: char * */ => native
  module sqlite3_libversion_number i32 /* from: int */ => native
  module sqlite3_limit(_ Native_Ref /* from: struct sqlite3 * */, id i32 /* from: int */, newVal i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_load_extension(db Native_Ref /* from: struct sqlite3 * */, zFile mutate.array u8 /* from: char * */, zProc mutate.array u8 /* from: char * */, pzErrMsg Native_Ref /* from: char ** */) i32 /* from: int */ => native
  module sqlite3_log(iErrCode i32 /* from: int */, zFormat mutate.array u8 /* from: char * */) unit => native
  module sqlite3_malloc(_ i32 /* from: int */) Native_Ref /* from: void * */ => native
  module sqlite3_malloc64(_ u64 /* from: unsigned long long */) Native_Ref /* from: void * */ => native
  module sqlite3_memory_alarm(_ F0 : Function unit Native_Ref /* from: void * */ i64 /* from: long long */ i32 /* from: int */, _ mutate.array u8 /* from: void * */, _ i64 /* from: long long */) i32 /* from: int */ => native
  module sqlite3_memory_highwater(resetFlag i32 /* from: int */) i64 /* from: long long */ => native
  module sqlite3_memory_used i64 /* from: long long */ => native
  module sqlite3_mprintf(_ mutate.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module sqlite3_msize(_ mutate.array u8 /* from: void * */) u64 /* from: unsigned long long */ => native
  module sqlite3_mutex_alloc(_ i32 /* from: int */) Native_Ref /* from: struct sqlite3_mutex * */ => native
  module sqlite3_mutex_enter(_ Native_Ref /* from: struct sqlite3_mutex * */) unit => native
  module sqlite3_mutex_free(_ Native_Ref /* from: struct sqlite3_mutex * */) unit => native
  module sqlite3_mutex_held(_ Native_Ref /* from: struct sqlite3_mutex * */) i32 /* from: int */ => native
  module sqlite3_mutex_leave(_ Native_Ref /* from: struct sqlite3_mutex * */) unit => native
  module sqlite3_mutex_notheld(_ Native_Ref /* from: struct sqlite3_mutex * */) i32 /* from: int */ => native
  module sqlite3_mutex_try(_ Native_Ref /* from: struct sqlite3_mutex * */) i32 /* from: int */ => native
  module sqlite3_next_stmt(pDb Native_Ref /* from: struct sqlite3 * */, pStmt Native_Ref /* from: struct sqlite3_stmt * */) Native_Ref /* from: struct sqlite3_stmt * */ => native
  module sqlite3_open(filename mutate.array u8 /* from: char * */, ppDb Native_Ref /* from: struct sqlite3 ** */) i32 /* from: int */ => native
  module sqlite3_open16(filename mutate.array u8 /* from: void * */, ppDb Native_Ref /* from: struct sqlite3 ** */) i32 /* from: int */ => native
  module sqlite3_open_v2(filename mutate.array u8 /* from: char * */, ppDb Native_Ref /* from: struct sqlite3 ** */, flags i32 /* from: int */, zVfs mutate.array u8 /* from: char * */) i32 /* from: int */ => native
  module sqlite3_os_end i32 /* from: int */ => native
  module sqlite3_os_init i32 /* from: int */ => native
  module sqlite3_overload_function(_ Native_Ref /* from: struct sqlite3 * */, zFuncName mutate.array u8 /* from: char * */, nArg i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_prepare(db Native_Ref /* from: struct sqlite3 * */, zSql mutate.array u8 /* from: char * */, nByte i32 /* from: int */, ppStmt Native_Ref /* from: struct sqlite3_stmt ** */, pzTail Native_Ref /* from: char ** */) i32 /* from: int */ => native
  module sqlite3_prepare16(db Native_Ref /* from: struct sqlite3 * */, zSql mutate.array u8 /* from: void * */, nByte i32 /* from: int */, ppStmt Native_Ref /* from: struct sqlite3_stmt ** */, pzTail Native_Ref /* from: void ** */) i32 /* from: int */ => native
  module sqlite3_prepare16_v2(db Native_Ref /* from: struct sqlite3 * */, zSql mutate.array u8 /* from: void * */, nByte i32 /* from: int */, ppStmt Native_Ref /* from: struct sqlite3_stmt ** */, pzTail Native_Ref /* from: void ** */) i32 /* from: int */ => native
  module sqlite3_prepare16_v3(db Native_Ref /* from: struct sqlite3 * */, zSql mutate.array u8 /* from: void * */, nByte i32 /* from: int */, prepFlags u32 /* from: unsigned int */, ppStmt Native_Ref /* from: struct sqlite3_stmt ** */, pzTail Native_Ref /* from: void ** */) i32 /* from: int */ => native
  module sqlite3_prepare_v2(db Native_Ref /* from: struct sqlite3 * */, zSql mutate.array u8 /* from: char * */, nByte i32 /* from: int */, ppStmt Native_Ref /* from: struct sqlite3_stmt ** */, pzTail Native_Ref /* from: char ** */) i32 /* from: int */ => native
  module sqlite3_prepare_v3(db Native_Ref /* from: struct sqlite3 * */, zSql mutate.array u8 /* from: char * */, nByte i32 /* from: int */, prepFlags u32 /* from: unsigned int */, ppStmt Native_Ref /* from: struct sqlite3_stmt ** */, pzTail Native_Ref /* from: char ** */) i32 /* from: int */ => native
  module sqlite3_profile(_ Native_Ref /* from: struct sqlite3 * */, xProfile F1 : Function unit Native_Ref /* from: void * */ Native_Ref /* from: char * */ u64 /* from: unsigned long long */, _ mutate.array u8 /* from: void * */) Native_Ref /* from: void * */ => native
  module sqlite3_progress_handler(_ Native_Ref /* from: struct sqlite3 * */, _ i32 /* from: int */, _ F2 : Function i32 /* from: int */ Native_Ref /* from: void * */, _ mutate.array u8 /* from: void * */) unit => native
  module sqlite3_randomness(N i32 /* from: int */, P mutate.array u8 /* from: void * */) unit => native
  module sqlite3_realloc(_ mutate.array u8 /* from: void * */, _ i32 /* from: int */) Native_Ref /* from: void * */ => native
  module sqlite3_realloc64(_ mutate.array u8 /* from: void * */, _ u64 /* from: unsigned long long */) Native_Ref /* from: void * */ => native
  module sqlite3_release_memory(_ i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_reset(pStmt Native_Ref /* from: struct sqlite3_stmt * */) i32 /* from: int */ => native
  module sqlite3_reset_auto_extension unit => native
  module sqlite3_result_blob(_ Native_Ref /* from: struct sqlite3_context * */, _ mutate.array u8 /* from: void * */, _ i32 /* from: int */, _ F3 : Function unit Native_Ref /* from: void * */) unit => native
  module sqlite3_result_blob64(_ Native_Ref /* from: struct sqlite3_context * */, _ mutate.array u8 /* from: void * */, _ u64 /* from: unsigned long long */, _ F3 : Function unit Native_Ref /* from: void * */) unit => native
  module sqlite3_result_double(_ Native_Ref /* from: struct sqlite3_context * */, _ f64 /* from: double */) unit => native
  module sqlite3_result_error(_ Native_Ref /* from: struct sqlite3_context * */, _ mutate.array u8 /* from: char * */, _ i32 /* from: int */) unit => native
  module sqlite3_result_error16(_ Native_Ref /* from: struct sqlite3_context * */, _ mutate.array u8 /* from: void * */, _ i32 /* from: int */) unit => native
  module sqlite3_result_error_code(_ Native_Ref /* from: struct sqlite3_context * */, _ i32 /* from: int */) unit => native
  module sqlite3_result_error_nomem(_ Native_Ref /* from: struct sqlite3_context * */) unit => native
  module sqlite3_result_error_toobig(_ Native_Ref /* from: struct sqlite3_context * */) unit => native
  module sqlite3_result_int(_ Native_Ref /* from: struct sqlite3_context * */, _ i32 /* from: int */) unit => native
  module sqlite3_result_int64(_ Native_Ref /* from: struct sqlite3_context * */, _ i64 /* from: long long */) unit => native
  module sqlite3_result_null(_ Native_Ref /* from: struct sqlite3_context * */) unit => native
  module sqlite3_result_pointer(_ Native_Ref /* from: struct sqlite3_context * */, _ mutate.array u8 /* from: void * */, _ mutate.array u8 /* from: char * */, _ F3 : Function unit Native_Ref /* from: void * */) unit => native
  module sqlite3_result_subtype(_ Native_Ref /* from: struct sqlite3_context * */, _ u32 /* from: unsigned int */) unit => native
  module sqlite3_result_text(_ Native_Ref /* from: struct sqlite3_context * */, _ mutate.array u8 /* from: char * */, _ i32 /* from: int */, _ F3 : Function unit Native_Ref /* from: void * */) unit => native
  module sqlite3_result_text16(_ Native_Ref /* from: struct sqlite3_context * */, _ mutate.array u8 /* from: void * */, _ i32 /* from: int */, _ F3 : Function unit Native_Ref /* from: void * */) unit => native
  module sqlite3_result_text16be(_ Native_Ref /* from: struct sqlite3_context * */, _ mutate.array u8 /* from: void * */, _ i32 /* from: int */, _ F3 : Function unit Native_Ref /* from: void * */) unit => native
  module sqlite3_result_text16le(_ Native_Ref /* from: struct sqlite3_context * */, _ mutate.array u8 /* from: void * */, _ i32 /* from: int */, _ F3 : Function unit Native_Ref /* from: void * */) unit => native
  module sqlite3_result_text64(_ Native_Ref /* from: struct sqlite3_context * */, _ mutate.array u8 /* from: char * */, _ u64 /* from: unsigned long long */, _ F3 : Function unit Native_Ref /* from: void * */, encoding u8 /* from: unsigned char */) unit => native
  module sqlite3_result_value(_ Native_Ref /* from: struct sqlite3_context * */, _ Native_Ref /* from: struct sqlite3_value * */) unit => native
  module sqlite3_result_zeroblob(_ Native_Ref /* from: struct sqlite3_context * */, n i32 /* from: int */) unit => native
  module sqlite3_result_zeroblob64(_ Native_Ref /* from: struct sqlite3_context * */, n u64 /* from: unsigned long long */) i32 /* from: int */ => native
  module sqlite3_rollback_hook(_ Native_Ref /* from: struct sqlite3 * */, _ F1 : Function unit Native_Ref /* from: void * */, _ mutate.array u8 /* from: void * */) Native_Ref /* from: void * */ => native
  module sqlite3_rtree_geometry_callback(db Native_Ref /* from: struct sqlite3 * */, zGeom mutate.array u8 /* from: char * */, xGeom F2 : Function i32 /* from: int */ Native_Ref /* from: struct sqlite3_rtree_geometry * */ i32 /* from: int */ Native_Ref /* from: double * */ Native_Ref /* from: int * */, pContext mutate.array u8 /* from: void * */) i32 /* from: int */ => native
  module sqlite3_rtree_query_callback(db Native_Ref /* from: struct sqlite3 * */, zQueryFunc mutate.array u8 /* from: char * */, xQueryFunc F2 : Function i32 /* from: int */ Native_Ref /* from: struct sqlite3_rtree_query_info * */, pContext mutate.array u8 /* from: void * */, xDestructor F4 : Function unit Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_serialize(db Native_Ref /* from: struct sqlite3 * */, zSchema mutate.array u8 /* from: char * */, piSize Native_Ref /* from: long long * */, mFlags u32 /* from: unsigned int */) Native_Ref /* from: unsigned char * */ => native
  module sqlite3_set_authorizer(_ Native_Ref /* from: struct sqlite3 * */, xAuth F1 : Function i32 /* from: int */ Native_Ref /* from: void * */ i32 /* from: int */ Native_Ref /* from: char * */ Native_Ref /* from: char * */ Native_Ref /* from: char * */ Native_Ref /* from: char * */, pUserData mutate.array u8 /* from: void * */) i32 /* from: int */ => native
  module sqlite3_set_auxdata(_ Native_Ref /* from: struct sqlite3_context * */, N i32 /* from: int */, _ mutate.array u8 /* from: void * */, _ F3 : Function unit Native_Ref /* from: void * */) unit => native
  module sqlite3_set_clientdata(_ Native_Ref /* from: struct sqlite3 * */, _ mutate.array u8 /* from: char * */, _ mutate.array u8 /* from: void * */, _ F3 : Function unit Native_Ref /* from: void * */) i32 /* from: int */ => native
  module sqlite3_set_last_insert_rowid(_ Native_Ref /* from: struct sqlite3 * */, _ i64 /* from: long long */) unit => native
  module sqlite3_shutdown i32 /* from: int */ => native
  module sqlite3_sleep(_ i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_snapshot_cmp(p1 Native_Ref /* from: struct sqlite3_snapshot * */, p2 Native_Ref /* from: struct sqlite3_snapshot * */) i32 /* from: int */ => native
  module sqlite3_snapshot_free(_ Native_Ref /* from: struct sqlite3_snapshot * */) unit => native
  module sqlite3_snapshot_get(db Native_Ref /* from: struct sqlite3 * */, zSchema mutate.array u8 /* from: char * */, ppSnapshot Native_Ref /* from: struct sqlite3_snapshot ** */) i32 /* from: int */ => native
  module sqlite3_snapshot_open(db Native_Ref /* from: struct sqlite3 * */, zSchema mutate.array u8 /* from: char * */, pSnapshot Native_Ref /* from: struct sqlite3_snapshot * */) i32 /* from: int */ => native
  module sqlite3_snapshot_recover(db Native_Ref /* from: struct sqlite3 * */, zDb mutate.array u8 /* from: char * */) i32 /* from: int */ => native
  module sqlite3_snprintf(_ i32 /* from: int */, _ mutate.array u8 /* from: char * */, _ mutate.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module sqlite3_soft_heap_limit(N i32 /* from: int */) unit => native
  module sqlite3_soft_heap_limit64(N i64 /* from: long long */) i64 /* from: long long */ => native
  module sqlite3_sourceid Native_Ref /* from: char * */ => native
  module sqlite3_sql(pStmt Native_Ref /* from: struct sqlite3_stmt * */) Native_Ref /* from: char * */ => native
  module sqlite3_status(op i32 /* from: int */, pCurrent mutate.array i32 /* from: int * */, pHighwater mutate.array i32 /* from: int * */, resetFlag i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_status64(op i32 /* from: int */, pCurrent Native_Ref /* from: long long * */, pHighwater Native_Ref /* from: long long * */, resetFlag i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_step(_ Native_Ref /* from: struct sqlite3_stmt * */) i32 /* from: int */ => native
  module sqlite3_stmt_busy(_ Native_Ref /* from: struct sqlite3_stmt * */) i32 /* from: int */ => native
  module sqlite3_stmt_explain(pStmt Native_Ref /* from: struct sqlite3_stmt * */, eMode i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_stmt_isexplain(pStmt Native_Ref /* from: struct sqlite3_stmt * */) i32 /* from: int */ => native
  module sqlite3_stmt_readonly(pStmt Native_Ref /* from: struct sqlite3_stmt * */) i32 /* from: int */ => native
  module sqlite3_stmt_scanstatus(pStmt Native_Ref /* from: struct sqlite3_stmt * */, idx i32 /* from: int */, iScanStatusOp i32 /* from: int */, pOut mutate.array u8 /* from: void * */) i32 /* from: int */ => native
  module sqlite3_stmt_scanstatus_reset(_ Native_Ref /* from: struct sqlite3_stmt * */) unit => native
  module sqlite3_stmt_scanstatus_v2(pStmt Native_Ref /* from: struct sqlite3_stmt * */, idx i32 /* from: int */, iScanStatusOp i32 /* from: int */, flags i32 /* from: int */, pOut mutate.array u8 /* from: void * */) i32 /* from: int */ => native
  module sqlite3_stmt_status(_ Native_Ref /* from: struct sqlite3_stmt * */, op i32 /* from: int */, resetFlg i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_str_append(_ Native_Ref /* from: struct sqlite3_str * */, zIn mutate.array u8 /* from: char * */, N i32 /* from: int */) unit => native
  module sqlite3_str_appendall(_ Native_Ref /* from: struct sqlite3_str * */, zIn mutate.array u8 /* from: char * */) unit => native
  module sqlite3_str_appendchar(_ Native_Ref /* from: struct sqlite3_str * */, N i32 /* from: int */, C u8 /* from: char */) unit => native
  module sqlite3_str_appendf(_ Native_Ref /* from: struct sqlite3_str * */, zFormat mutate.array u8 /* from: char * */) unit => native
  module sqlite3_str_errcode(_ Native_Ref /* from: struct sqlite3_str * */) i32 /* from: int */ => native
  module sqlite3_str_finish(_ Native_Ref /* from: struct sqlite3_str * */) Native_Ref /* from: char * */ => native
  module sqlite3_str_length(_ Native_Ref /* from: struct sqlite3_str * */) i32 /* from: int */ => native
  module sqlite3_str_new(_ Native_Ref /* from: struct sqlite3 * */) Native_Ref /* from: struct sqlite3_str * */ => native
  module sqlite3_str_reset(_ Native_Ref /* from: struct sqlite3_str * */) unit => native
  module sqlite3_str_value(_ Native_Ref /* from: struct sqlite3_str * */) Native_Ref /* from: char * */ => native
  module sqlite3_str_vappendf(_ Native_Ref /* from: struct sqlite3_str * */, zFormat mutate.array u8 /* from: char * */, _ Native_Ref /* from: struct __va_list_tag[1] */) unit => native
  module sqlite3_strglob(zGlob mutate.array u8 /* from: char * */, zStr mutate.array u8 /* from: char * */) i32 /* from: int */ => native
  module sqlite3_stricmp(_ mutate.array u8 /* from: char * */, _ mutate.array u8 /* from: char * */) i32 /* from: int */ => native
  module sqlite3_strlike(zGlob mutate.array u8 /* from: char * */, zStr mutate.array u8 /* from: char * */, cEsc u32 /* from: unsigned int */) i32 /* from: int */ => native
  module sqlite3_strnicmp(_ mutate.array u8 /* from: char * */, _ mutate.array u8 /* from: char * */, _ i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_system_errno(_ Native_Ref /* from: struct sqlite3 * */) i32 /* from: int */ => native
  module sqlite3_table_column_metadata(db Native_Ref /* from: struct sqlite3 * */, zDbName mutate.array u8 /* from: char * */, zTableName mutate.array u8 /* from: char * */, zColumnName mutate.array u8 /* from: char * */, pzDataType Native_Ref /* from: char ** */, pzCollSeq Native_Ref /* from: char ** */, pNotNull mutate.array i32 /* from: int * */, pPrimaryKey mutate.array i32 /* from: int * */, pAutoinc mutate.array i32 /* from: int * */) i32 /* from: int */ => native
  module sqlite3_test_control(op i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_thread_cleanup unit => native
  module sqlite3_threadsafe i32 /* from: int */ => native
  module sqlite3_total_changes(_ Native_Ref /* from: struct sqlite3 * */) i32 /* from: int */ => native
  module sqlite3_total_changes64(_ Native_Ref /* from: struct sqlite3 * */) i64 /* from: long long */ => native
  module sqlite3_trace(_ Native_Ref /* from: struct sqlite3 * */, xTrace F1 : Function unit Native_Ref /* from: void * */ Native_Ref /* from: char * */, _ mutate.array u8 /* from: void * */) Native_Ref /* from: void * */ => native
  module sqlite3_trace_v2(_ Native_Ref /* from: struct sqlite3 * */, uMask u32 /* from: unsigned int */, xCallback F2 : Function i32 /* from: int */ u32 /* from: unsigned int */ Native_Ref /* from: void * */ Native_Ref /* from: void * */ Native_Ref /* from: void * */, pCtx mutate.array u8 /* from: void * */) i32 /* from: int */ => native
  module sqlite3_transfer_bindings(_ Native_Ref /* from: struct sqlite3_stmt * */, _ Native_Ref /* from: struct sqlite3_stmt * */) i32 /* from: int */ => native
  module sqlite3_txn_state(_ Native_Ref /* from: struct sqlite3 * */, zSchema mutate.array u8 /* from: char * */) i32 /* from: int */ => native
  module sqlite3_unlock_notify(pBlocked Native_Ref /* from: struct sqlite3 * */, xNotify F1 : Function unit Native_Ref /* from: void ** */ i32 /* from: int */, pNotifyArg mutate.array u8 /* from: void * */) i32 /* from: int */ => native
  module sqlite3_update_hook(_ Native_Ref /* from: struct sqlite3 * */, _ F1 : Function unit Native_Ref /* from: void * */ i32 /* from: int */ Native_Ref /* from: char * */ Native_Ref /* from: char * */ i64 /* from: long long */, _ mutate.array u8 /* from: void * */) Native_Ref /* from: void * */ => native
  module sqlite3_uri_boolean(z mutate.array u8 /* from: char * */, zParam mutate.array u8 /* from: char * */, bDefault i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_uri_int64(_ mutate.array u8 /* from: char * */, _ mutate.array u8 /* from: char * */, _ i64 /* from: long long */) i64 /* from: long long */ => native
  module sqlite3_uri_key(z mutate.array u8 /* from: char * */, N i32 /* from: int */) Native_Ref /* from: char * */ => native
  module sqlite3_uri_parameter(z mutate.array u8 /* from: char * */, zParam mutate.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module sqlite3_user_data(_ Native_Ref /* from: struct sqlite3_context * */) Native_Ref /* from: void * */ => native
  module sqlite3_value_blob(_ Native_Ref /* from: struct sqlite3_value * */) Native_Ref /* from: void * */ => native
  module sqlite3_value_bytes(_ Native_Ref /* from: struct sqlite3_value * */) i32 /* from: int */ => native
  module sqlite3_value_bytes16(_ Native_Ref /* from: struct sqlite3_value * */) i32 /* from: int */ => native
  module sqlite3_value_double(_ Native_Ref /* from: struct sqlite3_value * */) f64 /* from: double */ => native
  module sqlite3_value_dup(_ Native_Ref /* from: struct sqlite3_value * */) Native_Ref /* from: struct sqlite3_value * */ => native
  module sqlite3_value_encoding(_ Native_Ref /* from: struct sqlite3_value * */) i32 /* from: int */ => native
  module sqlite3_value_free(_ Native_Ref /* from: struct sqlite3_value * */) unit => native
  module sqlite3_value_frombind(_ Native_Ref /* from: struct sqlite3_value * */) i32 /* from: int */ => native
  module sqlite3_value_int(_ Native_Ref /* from: struct sqlite3_value * */) i32 /* from: int */ => native
  module sqlite3_value_int64(_ Native_Ref /* from: struct sqlite3_value * */) i64 /* from: long long */ => native
  module sqlite3_value_nochange(_ Native_Ref /* from: struct sqlite3_value * */) i32 /* from: int */ => native
  module sqlite3_value_numeric_type(_ Native_Ref /* from: struct sqlite3_value * */) i32 /* from: int */ => native
  module sqlite3_value_pointer(_ Native_Ref /* from: struct sqlite3_value * */, _ mutate.array u8 /* from: char * */) Native_Ref /* from: void * */ => native
  module sqlite3_value_subtype(_ Native_Ref /* from: struct sqlite3_value * */) u32 /* from: unsigned int */ => native
  module sqlite3_value_text(_ Native_Ref /* from: struct sqlite3_value * */) Native_Ref /* from: unsigned char * */ => native
  module sqlite3_value_text16(_ Native_Ref /* from: struct sqlite3_value * */) Native_Ref /* from: void * */ => native
  module sqlite3_value_text16be(_ Native_Ref /* from: struct sqlite3_value * */) Native_Ref /* from: void * */ => native
  module sqlite3_value_text16le(_ Native_Ref /* from: struct sqlite3_value * */) Native_Ref /* from: void * */ => native
  module sqlite3_value_type(_ Native_Ref /* from: struct sqlite3_value * */) i32 /* from: int */ => native
  module sqlite3_vfs_find(zVfsName mutate.array u8 /* from: char * */) Native_Ref /* from: struct sqlite3_vfs * */ => native
  module sqlite3_vfs_register(_ Native_Ref /* from: struct sqlite3_vfs * */, makeDflt i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_vfs_unregister(_ Native_Ref /* from: struct sqlite3_vfs * */) i32 /* from: int */ => native
  module sqlite3_vmprintf(_ mutate.array u8 /* from: char * */, _ Native_Ref /* from: struct __va_list_tag[1] */) Native_Ref /* from: char * */ => native
  module sqlite3_vsnprintf(_ i32 /* from: int */, _ mutate.array u8 /* from: char * */, _ mutate.array u8 /* from: char * */, _ Native_Ref /* from: struct __va_list_tag[1] */) Native_Ref /* from: char * */ => native
  module sqlite3_vtab_collation(_ Native_Ref /* from: struct sqlite3_index_info * */, _ i32 /* from: int */) Native_Ref /* from: char * */ => native
  module sqlite3_vtab_config(_ Native_Ref /* from: struct sqlite3 * */, op i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_vtab_distinct(_ Native_Ref /* from: struct sqlite3_index_info * */) i32 /* from: int */ => native
  module sqlite3_vtab_in(_ Native_Ref /* from: struct sqlite3_index_info * */, iCons i32 /* from: int */, bHandle i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_vtab_in_first(pVal Native_Ref /* from: struct sqlite3_value * */, ppOut Native_Ref /* from: struct sqlite3_value ** */) i32 /* from: int */ => native
  module sqlite3_vtab_in_next(pVal Native_Ref /* from: struct sqlite3_value * */, ppOut Native_Ref /* from: struct sqlite3_value ** */) i32 /* from: int */ => native
  module sqlite3_vtab_nochange(_ Native_Ref /* from: struct sqlite3_context * */) i32 /* from: int */ => native
  module sqlite3_vtab_on_conflict(_ Native_Ref /* from: struct sqlite3 * */) i32 /* from: int */ => native
  module sqlite3_vtab_rhs_value(_ Native_Ref /* from: struct sqlite3_index_info * */, _ i32 /* from: int */, ppVal Native_Ref /* from: struct sqlite3_value ** */) i32 /* from: int */ => native
  module sqlite3_wal_autocheckpoint(db Native_Ref /* from: struct sqlite3 * */, N i32 /* from: int */) i32 /* from: int */ => native
  module sqlite3_wal_checkpoint(db Native_Ref /* from: struct sqlite3 * */, zDb mutate.array u8 /* from: char * */) i32 /* from: int */ => native
  module sqlite3_wal_checkpoint_v2(db Native_Ref /* from: struct sqlite3 * */, zDb mutate.array u8 /* from: char * */, eMode i32 /* from: int */, pnLog mutate.array i32 /* from: int * */, pnCkpt mutate.array i32 /* from: int * */) i32 /* from: int */ => native
  module sqlite3_wal_hook(_ Native_Ref /* from: struct sqlite3 * */, _ F1 : Function i32 /* from: int */ Native_Ref /* from: void * */ Native_Ref /* from: struct sqlite3 * */ Native_Ref /* from: char * */ i32 /* from: int */, _ mutate.array u8 /* from: void * */) Native_Ref /* from: void * */ => native

last changed: 2026-03-13