aboutsummaryrefslogtreecommitdiff
path: root/callback.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.