summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/row.h
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-03-19 13:10:18 (GMT)
committerGitHub <noreply@github.com>2019-03-19 13:10:18 (GMT)
commit29198ea1c6d58f87389136b0ac0b8b2318dbac24 (patch)
tree397e7f507defd165cc106b44feb864df50c47aab /Modules/_sqlite/row.h
parent943395fab925a11ea90d078e771cdfc4443e8c34 (diff)
downloadcpython-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.h1
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