Mercurial > cpython-lru_cache-weakref
diff Modules/_sqlite/statement.h @ 46166:a21854e510b4 legacy-trunk
Update sqlite3 module to match current version of pysqlite.
| author | Gerhard Häring <gh@ghaering.de> |
|---|---|
| date | Fri, 28 Mar 2008 20:08:36 +0000 |
| parents | b9d4ced23506 |
| children | 04d3ae52ff73 |
line wrap: on
line diff
--- a/Modules/_sqlite/statement.h Fri Mar 28 12:58:26 2008 +0000 +++ b/Modules/_sqlite/statement.h Fri Mar 28 20:08:36 2008 +0000 @@ -1,6 +1,6 @@ /* statement.h - definitions for the statement type * - * Copyright (C) 2005 Gerhard Häring <gh@ghaering.de> + * Copyright (C) 2005-2007 Gerhard Häring <gh@ghaering.de> * * This file is part of pysqlite. * @@ -46,8 +46,8 @@ int pysqlite_statement_create(pysqlite_Statement* self, pysqlite_Connection* connection, PyObject* sql); void pysqlite_statement_dealloc(pysqlite_Statement* self); -int pysqlite_statement_bind_parameter(pysqlite_Statement* self, int pos, PyObject* parameter); -void pysqlite_statement_bind_parameters(pysqlite_Statement* self, PyObject* parameters); +int pysqlite_statement_bind_parameter(pysqlite_Statement* self, int pos, PyObject* parameter, int allow_8bit_chars); +void pysqlite_statement_bind_parameters(pysqlite_Statement* self, PyObject* parameters, int allow_8bit_chars); int pysqlite_statement_recompile(pysqlite_Statement* self, PyObject* parameters); int pysqlite_statement_finalize(pysqlite_Statement* self);
