aboutsummaryrefslogtreecommitdiff
path: root/callback.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* go fmt ./...Yasuhiro Matsumoto2024-01-251-4/+4
|
* update go version to 1.19Yasuhiro Matsumoto2024-01-251-4/+4
|
* Support returning any from callbacks (#1046)Phil Eaton2022-05-291-0/+19
| | | Support returning any from callbacks
* change angle bracket import to quotes (#868)Hanzhen Yi2021-10-261-1/+1
|
* Use go-pointer instead of uintptr hacks. (#814)mattn2020-08-261-28/+22
| | | | | | | | | | | | | * Use go-pointer instead of uintptr hacks. Fixes #791 * Do same of go-pointer * Drop older verion of Go * Fix build * Fix build
* Add build constraints for non cgoYasuhiro Matsumoto2019-11-181-1/+1
|
* Closes #597G.J.R. Timmer2019-08-221-3/+21
|
* all: fix cgo compile failures on tipKevin Burke2018-11-011-1/+1
| | | | | | | | Apparently the cgo typechecks get better on tip, so use C.int instead of Go integers. Build tip as part of the Travis build, so we can ensure that any errors are resolved before they get released to a wider audience.
* implementation of set_authorizer interfaceGrzegorz MarszaƂek2018-08-251-0/+6
|
* ADD: User authenticationGert-Jan Timmer2018-05-301-0/+10
| | | | | | | | * User Authentication Implementation * Rename file to conform to fileformat `sqlite3_*_omit.go` * Updated sqlite3-binding.* with new upgrade tool * Add: callbackRetNil required for error type return because of adding `RegisterFunc`s directly on the connection. * Add: TestCreateAuthDatabase
* Merge branch 'master' into mastermattn2017-08-301-0/+18
|\
| * Incorporate original PR 271 from https://github.com/brokensandalsJason Abbott2017-07-031-0/+18
| |
* | Add support for collation sequences implemented in Go.David Anderson2017-06-081-0/+6
|/ | | | | This allows Go programs to register custom comparison functions with sqlite, and ORDER BY that comparator.
* fix trace callback.Yasuhiro Matsumoto2016-11-081-2/+2
| | | | Close #352
* update amalgamation codeYasuhiro Matsumoto2016-08-111-0/+4
|
* callback: use handles rather than passing Go pointersIan Lance Taylor2016-01-291-3/+49
| | | | | | | | | The cgo pointer passing rules forbid passing a Go pointer to C if that pointer points to memory containing other Go pointers. This is true even if the Go pointer is converted to uintptr. This change fixes the code to use a handle instead, and to look up the handle in the callback function.
* fix #238Yasuhiro Matsumoto2015-09-161-2/+2
|
* use math.MaxInt32. related issue #238Yasuhiro Matsumoto2015-09-161-4/+3
|
* fix build on 32bit OSs. Close #238Yasuhiro Matsumoto2015-09-161-2/+4
|
* Implement support for aggregation functions implemented in Go.David Anderson2015-09-151-0/+47
|
* Add support for interface{} arguments in Go SQLite functions.David Anderson2015-08-211-0/+24
| | | | | This enabled support for functions like Foo(a interface{}) and Bar(a ...interface{}).
* Move argument converters to callback.go, and optimize return value handling.David Anderson2015-08-211-1/+199
| | | | | | A call now doesn't have to do any reflection, it just blindly invokes a bunch of argument and return value handlers to execute the translation, and the safety of the translation is determined at registration time.
* Implement support for passing Go functions as custom functions to SQLite.David Anderson2015-08-211-0/+20
Fixes #226.