Skip to content

Commit

Permalink
Oops, fixed type signatures of bindText and bindBlob
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzux committed Nov 3, 2009
1 parent ce0decb commit dcc2621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sqlite3/Sqlite3.ooc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit dcc2621

Please sign in to comment.