summaryrefslogtreecommitdiffstats
path: root/Include/structseq.h
diff options
context:
space:
mode:
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>2021-10-21 08:46:48 (GMT)
committerGitHub <noreply@github.com>2021-10-21 08:46:48 (GMT)
commit2cbf50e8126905b57ba9d0d5aa4e238c817d5a03 (patch)
treef587c7b135a5ef94b54ebdc7716ec81ef956131c /Include/structseq.h
parent7c4d96103c4e16161e9aed9a584c9857d0674099 (diff)
downloadcpython-2cbf50e8126905b57ba9d0d5aa4e238c817d5a03.zip
cpython-2cbf50e8126905b57ba9d0d5aa4e238c817d5a03.tar.gz
cpython-2cbf50e8126905b57ba9d0d5aa4e238c817d5a03.tar.bz2
bpo-44220: Export PyStructSequence_UnnamedField in the limited API (GH-26331)
Diffstat (limited to 'Include/structseq.h')
-rw-r--r--Include/structseq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/structseq.h b/Include/structseq.h
index 8f51c89..e89265a 100644
--- a/Include/structseq.h
+++ b/Include/structseq.h
@@ -19,7 +19,7 @@ typedef struct PyStructSequence_Desc {
int n_in_sequence;
} PyStructSequence_Desc;
-extern const char * const PyStructSequence_UnnamedField;
+PyAPI_DATA(const char * const) PyStructSequence_UnnamedField;
#ifndef Py_LIMITED_API
PyAPI_FUNC(void) PyStructSequence_InitType(PyTypeObject *type,