summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/prepare_protocol.h
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2020-09-28 22:05:04 (GMT)
committerGitHub <noreply@github.com>2020-09-28 22:05:04 (GMT)
commitcb6db8b6ae47dccc1aa97830d0f05d29f31e0cbc (patch)
treee0a7552c5ccf9a124e72f8681095e8de961e27be /Modules/_sqlite/prepare_protocol.h
parentd332e7b8164c3c9c885b9e631f33d9517b628b75 (diff)
downloadcpython-cb6db8b6ae47dccc1aa97830d0f05d29f31e0cbc.zip
cpython-cb6db8b6ae47dccc1aa97830d0f05d29f31e0cbc.tar.gz
cpython-cb6db8b6ae47dccc1aa97830d0f05d29f31e0cbc.tar.bz2
bpo-41861: Convert _sqlite3 PrepareProtocolType to heap type (GH-22428)
Diffstat (limited to 'Modules/_sqlite/prepare_protocol.h')
-rw-r--r--Modules/_sqlite/prepare_protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_sqlite/prepare_protocol.h b/Modules/_sqlite/prepare_protocol.h
index 3998a55..d0f717c 100644
--- a/Modules/_sqlite/prepare_protocol.h
+++ b/Modules/_sqlite/prepare_protocol.h
@@ -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