diff Modules/_sqlite/statement.h @ 37381:91e9fb5cfe14 legacy-trunk

backport r243 from the pysqlite2 svn repository - lowers the required version of SQLite3 from 3.2.2 to 3.0.8, by providing an alternative to sqlite3_transfer_bindings. setup.py also handles the common (in debian and ubuntu, at least) case of a buggy sqlite3.h SQLITE_VERSION_NUMBER.
author Anthony Baxter <anthonybaxter@gmail.com>
date Sat, 01 Apr 2006 08:36:27 +0000
parents e546274d6503
children 7da4af95ebad
line wrap: on
line diff
--- a/Modules/_sqlite/statement.h	Sat Apr 01 08:35:18 2006 +0000
+++ b/Modules/_sqlite/statement.h	Sat Apr 01 08:36:27 2006 +0000
@@ -45,7 +45,10 @@
 int statement_create(Statement* self, Connection* connection, PyObject* sql);
 void statement_dealloc(Statement* self);
 
-int statement_recompile(Statement* self);
+int statement_bind_parameter(Statement* self, int pos, PyObject* parameter);
+void statement_bind_parameters(Statement* self, PyObject* parameters);
+
+int statement_recompile(Statement* self, PyObject* parameters);
 int statement_finalize(Statement* self);
 int statement_reset(Statement* self);
 void statement_mark_dirty(Statement* self);