mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
bpo-43916: Export the _PyStructSequence_InitType to fix build errors in the curses module (GH-25768)
This commit is contained in:
parent
251ffa9d2b
commit
558df90109
4 changed files with 5 additions and 3 deletions
|
|
@ -27,12 +27,10 @@ PyAPI_FUNC(void) PyStructSequence_InitType(PyTypeObject *type,
|
|||
PyAPI_FUNC(int) PyStructSequence_InitType2(PyTypeObject *type,
|
||||
PyStructSequence_Desc *desc);
|
||||
#endif
|
||||
#ifdef Py_BUILD_CORE
|
||||
extern int _PyStructSequence_InitType(
|
||||
PyAPI_FUNC(int) _PyStructSequence_InitType(
|
||||
PyTypeObject *type,
|
||||
PyStructSequence_Desc *desc,
|
||||
unsigned long tp_flags);
|
||||
#endif
|
||||
PyAPI_FUNC(PyTypeObject*) PyStructSequence_NewType(PyStructSequence_Desc *desc);
|
||||
|
||||
PyAPI_FUNC(PyObject *) PyStructSequence_New(PyTypeObject* type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue