summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/statement.h
diff options
context:
space:
mode:
authorAnthony Baxter <anthonybaxter@gmail.com>2006-04-01 08:36:27 (GMT)
committerAnthony Baxter <anthonybaxter@gmail.com>2006-04-01 08:36:27 (GMT)
commit07f5b35e190ab9be85143c6e8e1217d96bbf75ca (patch)
tree828ae2c9574ca54383e516403fec91352349ea2b /Modules/_sqlite/statement.h
parent7f6b67c2359d9b52b2eabc1e2ccff4cedb5c78b7 (diff)
downloadcpython-07f5b35e190ab9be85143c6e8e1217d96bbf75ca.zip
cpython-07f5b35e190ab9be85143c6e8e1217d96bbf75ca.tar.gz
cpython-07f5b35e190ab9be85143c6e8e1217d96bbf75ca.tar.bz2
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.
Diffstat (limited to 'Modules/_sqlite/statement.h')
-rw-r--r--Modules/_sqlite/statement.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/_sqlite/statement.h b/Modules/_sqlite/statement.h
index 8cf52eb..e45a0fc 100644
--- a/Modules/_sqlite/statement.h
+++ b/Modules/_sqlite/statement.h
@@ -45,7 +45,10 @@ extern PyTypeObject StatementType;
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);