@@ -98,17 +98,23 @@ function sqlite3_bind_text(stmt::Ptr{Void},col::Int,value::AbstractString)
98
98
Cint, (Ptr{Void},Cint,Ptr{UInt8},Cint,Ptr{Void}),
99
99
stmt,col,value,sizeof (value),C_NULL )
100
100
end
101
- function sqlite3_bind_text (stmt:: Ptr{Void} ,col:: Int ,ptr:: Ptr ,len:: Int )
101
+ function sqlite3_bind_text (stmt:: Ptr{Void} ,col:: Int ,ptr:: Ptr{UInt8} ,len:: Int )
102
102
return ccall ( (:sqlite3_bind_text , sqlite3_lib),
103
103
Cint, (Ptr{Void},Cint,Ptr{UInt8},Cint,Ptr{Void}),
104
104
stmt,col,ptr,len,C_NULL )
105
105
end
106
106
# SQLITE_API int sqlite3_bind_text16(sqlite3_stmt*, int, const void*, int, void(*)(void*));
107
107
function sqlite3_bind_text16 (stmt:: Ptr{Void} ,col:: Int ,value:: UTF16String )
108
- return ccall ( (:sqlite3_bind_text , sqlite3_lib),
108
+ return ccall ( (:sqlite3_bind_text16 , sqlite3_lib),
109
109
Cint, (Ptr{Void},Cint,Ptr{UInt16},Cint,Ptr{Void}),
110
110
stmt,col,value,sizeof (value),C_NULL )
111
111
end
112
+ function sqlite3_bind_text16 (stmt:: Ptr{Void} ,col:: Int ,ptr:: Ptr{UInt16} ,len:: Int )
113
+ return ccall ( (:sqlite3_bind_text16 , sqlite3_lib),
114
+ Cint, (Ptr{Void},Cint,Ptr{UInt16},Cint,Ptr{Void}),
115
+ stmt,col,ptr,len,C_NULL )
116
+ end
117
+
112
118
# SQLITE_API int sqlite3_bind_blob(sqlite3_stmt*, int, const void*, int n, void(*)(void*));
113
119
function sqlite3_bind_blob (stmt:: Ptr{Void} ,col:: Int ,value)
114
120
return ccall ( (:sqlite3_bind_blob , sqlite3_lib),
0 commit comments