diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2020-10-01 13:24:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 13:24:31 (GMT) |
commit | 9031bd4fa42dbb0f25aee9286154ad4bf60df3f8 (patch) | |
tree | ec8661b20d139b51b2d60e512502cbbe804d36a0 /Modules/_sqlite/statement.h | |
parent | fa7ce080175f65d678a7d5756c94f82887fc9803 (diff) | |
download | cpython-9031bd4fa42dbb0f25aee9286154ad4bf60df3f8.zip cpython-9031bd4fa42dbb0f25aee9286154ad4bf60df3f8.tar.gz cpython-9031bd4fa42dbb0f25aee9286154ad4bf60df3f8.tar.bz2 |
bpo-41861: Convert _sqlite3 RowType and StatementType to heap types (GH-22444)
Diffstat (limited to 'Modules/_sqlite/statement.h')
-rw-r--r-- | Modules/_sqlite/statement.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_sqlite/statement.h b/Modules/_sqlite/statement.h index 5002f02..b426036 100644 --- a/Modules/_sqlite/statement.h +++ b/Modules/_sqlite/statement.h @@ -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 |