Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Oops, fixed type signatures of bindText and bindBlob

  • Loading branch information...
commit dcc2621998798f53b792087939d82c12de1de782 1 parent ce0decb
@kuzux kuzux authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 sqlite3/Sqlite3.ooc
View
4 sqlite3/Sqlite3.ooc
@@ -23,11 +23,11 @@ SqliteStmt: cover from SqliteStmtStruct {
bindInt64: extern(sqlite3_bind_int64) func(Int, Int64) -> Int
bindNull: extern(sqlite3_bind_null) func(Int) -> Int
bindDouble: extern(sqlite3_bind_double) func(Int, Double) -> Int
- _bind_text: extern(sqlite3_bind_text) func(Int, String, Int, Pointer) -> Int
+ _bind_text: extern(sqlite3_bind_text) func(Int, String, Int, Func(Pointer)) -> Int
bindText: func(id: Int, text: String) -> Int {
return this _bind_text(id, text, -1, -1)
}
- _bind_blob: extern(sqlite3_bind_blob) func(Int, Pointer, Int, Pointer) -> Int
+ _bind_blob: extern(sqlite3_bind_blob) func(Int, Pointer, Int, Func(Pointer)) -> Int
bindBlob: func(id: Int, data: Pointer, size: Int) -> Int {
return this _bind_blob(id, data, size, -1)
}
Please sign in to comment.
Something went wrong with that request. Please try again.