diff options
author | Conor Branagan <conor.branagan@gmail.com> | 2017-03-04 18:15:00 -0500 |
---|---|---|
committer | Conor Branagan <conor.branagan@gmail.com> | 2017-03-04 18:37:04 -0500 |
commit | 9efa963d05cac8b780d1cb3abbd8493a94f1db82 (patch) | |
tree | 6c075e6971ff66ff98a6c6e8e31f5509de68aeb6 /vtable.go | |
parent | [vtable] Add pure Go example of GitHub repo vtable. (diff) | |
download | golite-9efa963d05cac8b780d1cb3abbd8493a94f1db82.tar.gz golite-9efa963d05cac8b780d1cb3abbd8493a94f1db82.tar.xz |
[vtable] Rename Context to SQLiteContext
To not conflict with core "context" package naming.
Diffstat (limited to 'vtable.go')
-rw-r--r-- | vtable.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -294,7 +294,7 @@ func goVEof(pCursor unsafe.Pointer) C.int { //export goVColumn func goVColumn(pCursor, cp unsafe.Pointer, col int) *C.char { vtc := lookupHandle(uintptr(pCursor)).(*sqliteVTabCursor) - c := (*Context)(cp) + c := (*SQLiteContext)(cp) err := vtc.vTabCursor.Column(c, col) if err != nil { return mPrintf("%s", err.Error()) @@ -349,7 +349,7 @@ type VTabCursor interface { // http://sqlite.org/vtab.html#xeof EOF() bool // http://sqlite.org/vtab.html#xcolumn - Column(c *Context, col int) error + Column(c *SQLiteContext, col int) error // http://sqlite.org/vtab.html#xrowid Rowid() (int64, error) } |