diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-03-05 20:55:32 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-03-05 20:55:32 +0900 |
commit | f2380672661f925f4edfa24a7ee5583f8404692c (patch) | |
tree | c47d0560d006ca1bef67035cb7631b19a878dcd9 | |
parent | golint (diff) | |
download | golite-f2380672661f925f4edfa24a7ee5583f8404692c.tar.gz golite-f2380672661f925f4edfa24a7ee5583f8404692c.tar.xz |
remove type ZeroBlobLength
-rw-r--r-- | sqlite_context.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sqlite_context.go b/sqlite_context.go index 7652902..bfa03db 100644 --- a/sqlite_context.go +++ b/sqlite_context.go @@ -34,7 +34,6 @@ import ( const i64 = unsafe.Sizeof(int(0)) > 4 -type ZeroBlobLength int32 type SQLiteContext C.sqlite3_context // ResultBool sets the result of an SQL function. @@ -98,6 +97,6 @@ func (c *SQLiteContext) ResultText(s string) { // ResultZeroblob sets the result of an SQL function. // See: sqlite3_result_zeroblob, http://sqlite.org/c3ref/result_blob.html -func (c *SQLiteContext) ResultZeroblob(n ZeroBlobLength) { +func (c *SQLiteContext) ResultZeroblob(n int) { C.sqlite3_result_zeroblob((*C.sqlite3_context)(c), C.int(n)) } |