mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-41861: Convert _sqlite3 PrepareProtocolType to heap type (GH-22428)
This commit is contained in:
parent
d332e7b816
commit
cb6db8b6ae
5 changed files with 33 additions and 54 deletions
|
@ -31,12 +31,12 @@ typedef struct
|
|||
PyObject_HEAD
|
||||
} pysqlite_PrepareProtocol;
|
||||
|
||||
extern PyTypeObject pysqlite_PrepareProtocolType;
|
||||
extern PyTypeObject *pysqlite_PrepareProtocolType;
|
||||
|
||||
int pysqlite_prepare_protocol_init(pysqlite_PrepareProtocol* self, PyObject* args, PyObject* kwargs);
|
||||
void pysqlite_prepare_protocol_dealloc(pysqlite_PrepareProtocol* self);
|
||||
|
||||
int pysqlite_prepare_protocol_setup_types(void);
|
||||
int pysqlite_prepare_protocol_setup_types(PyObject *module);
|
||||
|
||||
#define UNKNOWN (-1)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue