mirror of
https://github.com/python/cpython.git
synced 2025-10-06 15:11:58 +00:00
bpo-41861: Convert _sqlite3 RowType and StatementType to heap types (GH-22444)
This commit is contained in:
parent
fa7ce08017
commit
9031bd4fa4
9 changed files with 72 additions and 119 deletions
|
@ -43,7 +43,7 @@ typedef struct
|
|||
PyObject* in_weakreflist; /* List of weak references */
|
||||
} pysqlite_Statement;
|
||||
|
||||
extern PyTypeObject pysqlite_StatementType;
|
||||
extern PyTypeObject *pysqlite_StatementType;
|
||||
|
||||
int pysqlite_statement_create(pysqlite_Statement* self, pysqlite_Connection* connection, PyObject* sql);
|
||||
void pysqlite_statement_dealloc(pysqlite_Statement* self);
|
||||
|
@ -55,6 +55,6 @@ int pysqlite_statement_finalize(pysqlite_Statement* self);
|
|||
int pysqlite_statement_reset(pysqlite_Statement* self);
|
||||
void pysqlite_statement_mark_dirty(pysqlite_Statement* self);
|
||||
|
||||
int pysqlite_statement_setup_types(void);
|
||||
int pysqlite_statement_setup_types(PyObject *module);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue