diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2020-09-27 12:14:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-27 12:14:50 (GMT) |
commit | a937ab45d6af4f99ff16fec73d5d75d93c569456 (patch) | |
tree | 70d35f07786859efebeee60f9d3c959fcb97b021 /Modules/_sqlite/cache.h | |
parent | 00eb063b6600fdb4ba5cfb99da83cc1660ec69bf (diff) | |
download | cpython-a937ab45d6af4f99ff16fec73d5d75d93c569456.zip cpython-a937ab45d6af4f99ff16fec73d5d75d93c569456.tar.gz cpython-a937ab45d6af4f99ff16fec73d5d75d93c569456.tar.bz2 |
bpo-41861: Convert _sqlite3 cache and node static types to heap types (GH-22417)
Diffstat (limited to 'Modules/_sqlite/cache.h')
-rw-r--r-- | Modules/_sqlite/cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_sqlite/cache.h b/Modules/_sqlite/cache.h index 5290109..0afdf7f 100644 --- a/Modules/_sqlite/cache.h +++ b/Modules/_sqlite/cache.h @@ -59,8 +59,8 @@ typedef struct int decref_factory; } pysqlite_Cache; -extern PyTypeObject pysqlite_NodeType; -extern PyTypeObject pysqlite_CacheType; +extern PyTypeObject *pysqlite_NodeType; +extern PyTypeObject *pysqlite_CacheType; int pysqlite_node_init(pysqlite_Node* self, PyObject* args, PyObject* kwargs); void pysqlite_node_dealloc(pysqlite_Node* self); @@ -69,6 +69,6 @@ int pysqlite_cache_init(pysqlite_Cache* self, PyObject* args, PyObject* kwargs); void pysqlite_cache_dealloc(pysqlite_Cache* self); PyObject* pysqlite_cache_get(pysqlite_Cache* self, PyObject* args); -int pysqlite_cache_setup_types(void); +int pysqlite_cache_setup_types(PyObject *module); #endif |