Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions sqlite3/llcppg.pub
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ sqlite3_context Context
sqlite3_destructor_type DestructorType
sqlite3_file File
sqlite3_filename Filename
sqlite3_index_constraint IndexConstraint
sqlite3_index_constraint_usage IndexConstraintUsage
sqlite3_index_info IndexInfo
sqlite3_index_orderby IndexOrderby
sqlite3_int64 Int64
sqlite3_io_methods IoMethods
sqlite3_loadext_entry LoadextEntry
Expand Down
30 changes: 16 additions & 14 deletions sqlite3/sqlite3.go
Original file line number Diff line number Diff line change
Expand Up @@ -1084,10 +1084,8 @@ func Config(__llgo_arg_0 c.Int, __llgo_va_list ...interface{}) c.Int
** ^Calls to sqlite3_db_config() return SQLITE_OK if and only if
** the call is considered successful.
*/
// llgo:link (*Sqlite3).DbConfig C.sqlite3_db_config
func (recv_ *Sqlite3) DbConfig(op c.Int, __llgo_va_list ...interface{}) c.Int {
return 0
}
//go:linkname DbConfig C.sqlite3_db_config
func DbConfig(__llgo_arg_0 *Sqlite3, op c.Int, __llgo_va_list ...interface{}) c.Int

type MemMethods struct {
XMalloc c.Pointer
Expand Down Expand Up @@ -5691,15 +5689,22 @@ type Module struct {
}

type IndexConstraint struct {
Unused [8]uint8
IColumn c.Int
Op c.Char
Usable c.Char
ITermOffset c.Int
}

type IndexOrderby struct {
Unused [8]uint8
IColumn c.Int
Desc c.Char
}

/* Outputs */

type IndexConstraintUsage struct {
Unused [8]uint8
ArgvIndex c.Int
Omit c.Char
}

/*
Expand Down Expand Up @@ -6449,9 +6454,8 @@ func (recv_ *Str) StrFinish() *c.Char {
** is recorded in the [sqlite3_str] object and can be recovered by a
** subsequent call to [sqlite3_str_errcode(X)].
*/
// llgo:link (*Str).StrAppendf C.sqlite3_str_appendf
func (recv_ *Str) StrAppendf(zFormat *c.Char, __llgo_va_list ...interface{}) {
}
//go:linkname StrAppendf C.sqlite3_str_appendf
func StrAppendf(__llgo_arg_0 *Str, zFormat *c.Char, __llgo_va_list ...interface{})

// llgo:link (*Str).StrVappendf C.sqlite3_str_vappendf
func (recv_ *Str) StrVappendf(zFormat *c.Char, __llgo_arg_1 c.VaList) {
Expand Down Expand Up @@ -7284,10 +7288,8 @@ func (recv_ *Sqlite3) WalCheckpointV2(zDb *c.Char, eMode c.Int, pnLog *c.Int, pn
** of parameters after C depend on which [virtual table configuration option]
** is used.
*/
// llgo:link (*Sqlite3).VtabConfig C.sqlite3_vtab_config
func (recv_ *Sqlite3) VtabConfig(op c.Int, __llgo_va_list ...interface{}) c.Int {
return 0
}
//go:linkname VtabConfig C.sqlite3_vtab_config
func VtabConfig(__llgo_arg_0 *Sqlite3, op c.Int, __llgo_va_list ...interface{}) c.Int

/*
** CAPI3REF: Determine The Virtual Table Conflict Policy
Expand Down
Loading