Skip to content

Commit f238067

Browse files
committed
remove type ZeroBlobLength
1 parent f9e79c0 commit f238067

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sqlite_context.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import (
3434

3535
const i64 = unsafe.Sizeof(int(0)) > 4
3636

37-
type ZeroBlobLength int32
3837
type SQLiteContext C.sqlite3_context
3938

4039
// ResultBool sets the result of an SQL function.
@@ -98,6 +97,6 @@ func (c *SQLiteContext) ResultText(s string) {
9897

9998
// ResultZeroblob sets the result of an SQL function.
10099
// See: sqlite3_result_zeroblob, http://sqlite.org/c3ref/result_blob.html
101-
func (c *SQLiteContext) ResultZeroblob(n ZeroBlobLength) {
100+
func (c *SQLiteContext) ResultZeroblob(n int) {
102101
C.sqlite3_result_zeroblob((*C.sqlite3_context)(c), C.int(n))
103102
}

0 commit comments

Comments
 (0)