diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-03-19 13:10:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 13:10:18 (GMT) |
commit | 29198ea1c6d58f87389136b0ac0b8b2318dbac24 (patch) | |
tree | 397e7f507defd165cc106b44feb864df50c47aab /Modules/_sqlite/row.h | |
parent | 943395fab925a11ea90d078e771cdfc4443e8c34 (diff) | |
download | cpython-29198ea1c6d58f87389136b0ac0b8b2318dbac24.zip cpython-29198ea1c6d58f87389136b0ac0b8b2318dbac24.tar.gz cpython-29198ea1c6d58f87389136b0ac0b8b2318dbac24.tar.bz2 |
bpo-8677: use PY_SSIZE_T_CLEAN in sqlite (GH-12434)
Modules/_sqlite/cursor.c uses "y#" format.
It didn't declare PY_SSIZE_T_CLEAN, but the argument is Py_ssize_t already.
Diffstat (limited to 'Modules/_sqlite/row.h')
-rw-r--r-- | Modules/_sqlite/row.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_sqlite/row.h b/Modules/_sqlite/row.h index d014109..4ad506f 100644 --- a/Modules/_sqlite/row.h +++ b/Modules/_sqlite/row.h @@ -23,6 +23,7 @@ #ifndef PYSQLITE_ROW_H #define PYSQLITE_ROW_H +#define PY_SSIZE_T_CLEAN #include "Python.h" typedef struct _Row |