mirror of https://github.com/mattn/go-sqlite3.git
remove type ZeroBlobLength
This commit is contained in:
parent
f9e79c0a39
commit
f238067266
|
@ -34,7 +34,6 @@ import (
|
||||||
|
|
||||||
const i64 = unsafe.Sizeof(int(0)) > 4
|
const i64 = unsafe.Sizeof(int(0)) > 4
|
||||||
|
|
||||||
type ZeroBlobLength int32
|
|
||||||
type SQLiteContext C.sqlite3_context
|
type SQLiteContext C.sqlite3_context
|
||||||
|
|
||||||
// ResultBool sets the result of an SQL function.
|
// 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.
|
// ResultZeroblob sets the result of an SQL function.
|
||||||
// See: sqlite3_result_zeroblob, http://sqlite.org/c3ref/result_blob.html
|
// 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))
|
C.sqlite3_result_zeroblob((*C.sqlite3_context)(c), C.int(n))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue