From 2cbf50e8126905b57ba9d0d5aa4e238c817d5a03 Mon Sep 17 00:00:00 2001 From: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Thu, 21 Oct 2021 16:46:48 +0800 Subject: bpo-44220: Export PyStructSequence_UnnamedField in the limited API (GH-26331) --- Include/structseq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/structseq.h') diff --git a/Include/structseq.h b/Include/structseq.h index 8f51c89163..e89265a67c 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, -- cgit v1.2.1