diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-04-13 01:46:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-13 01:46:21 (GMT) |
commit | c88feceb449d6e85d7e17ec36559206094d10d81 (patch) | |
tree | cda7737ab74c0419b952e440b86e10a6101e3d7f /Doc/includes | |
parent | a304b136adda3575898d8b5debedcd48d5072272 (diff) | |
download | cpython-c88feceb449d6e85d7e17ec36559206094d10d81.zip cpython-c88feceb449d6e85d7e17ec36559206094d10d81.tar.gz cpython-c88feceb449d6e85d7e17ec36559206094d10d81.tar.bz2 |
Doc: define PY_SSIZE_T_CLEAN always (GH-12794)
Diffstat (limited to 'Doc/includes')
-rw-r--r-- | Doc/includes/custom.c | 1 | ||||
-rw-r--r-- | Doc/includes/custom2.c | 1 | ||||
-rw-r--r-- | Doc/includes/custom3.c | 1 | ||||
-rw-r--r-- | Doc/includes/custom4.c | 1 | ||||
-rw-r--r-- | Doc/includes/run-func.c | 1 | ||||
-rw-r--r-- | Doc/includes/sublist.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/Doc/includes/custom.c b/Doc/includes/custom.c index fb2c7b2..13d16f5 100644 --- a/Doc/includes/custom.c +++ b/Doc/includes/custom.c @@ -1,3 +1,4 @@ +#define PY_SSIZE_T_CLEAN #include <Python.h> typedef struct { diff --git a/Doc/includes/custom2.c b/Doc/includes/custom2.c index 51ab4b8..6477a19 100644 --- a/Doc/includes/custom2.c +++ b/Doc/includes/custom2.c @@ -1,3 +1,4 @@ +#define PY_SSIZE_T_CLEAN #include <Python.h> #include "structmember.h" diff --git a/Doc/includes/custom3.c b/Doc/includes/custom3.c index 09e8735..213d086 100644 --- a/Doc/includes/custom3.c +++ b/Doc/includes/custom3.c @@ -1,3 +1,4 @@ +#define PY_SSIZE_T_CLEAN #include <Python.h> #include "structmember.h" diff --git a/Doc/includes/custom4.c b/Doc/includes/custom4.c index 0994d8f..b0b2906 100644 --- a/Doc/includes/custom4.c +++ b/Doc/includes/custom4.c @@ -1,3 +1,4 @@ +#define PY_SSIZE_T_CLEAN #include <Python.h> #include "structmember.h" diff --git a/Doc/includes/run-func.c b/Doc/includes/run-func.c index 9caf1fd..392f86d 100644 --- a/Doc/includes/run-func.c +++ b/Doc/includes/run-func.c @@ -1,3 +1,4 @@ +#define PY_SSIZE_T_CLEAN #include <Python.h> int diff --git a/Doc/includes/sublist.c b/Doc/includes/sublist.c index 376dddf..76ff939 100644 --- a/Doc/includes/sublist.c +++ b/Doc/includes/sublist.c @@ -1,3 +1,4 @@ +#define PY_SSIZE_T_CLEAN #include <Python.h> typedef struct { |